Contents

fragmentFunctionDescriptor

Assigns the shader function that this pipeline executes for each fragment.

Declaration

@NSCopying var fragmentFunctionDescriptor: MTL4FunctionDescriptor? { get set }

Discussion

When you don’t specify a fragment function, you need to disable rasterization by setting property isRasterizationEnabled to false.