Instance Property

rasterizationEnabled

Determines whether primitives are rasterized.

Declaration

@property(readwrite, nonatomic, getter=isRasterizationEnabled) BOOL rasterizationEnabled;

Discussion

The default value is YES, indicating that primitives are rasterized. If the value is NO, then primitives are dropped prior to rasterization (i.e. rasterization is disabled). Disabling rasterization may be useful to gather data from vertex-only transformations.

When this value is NO, no fragments are processed and the vertex shader function must return void.

See Also

Specifying Rasterization and Visibility State

sampleCount

The number of samples in each fragment.

alphaToCoverageEnabled

Indicates whether the alpha channel fragment output for colorAttachments is read and used to compute a sample coverage mask.

alphaToOneEnabled

Indicates whether the alpha channel values for colorAttachments are forced to 1.0, which is the largest representable value.

inputPrimitiveTopology

Indicates the type of primitive topology being rendered.

rasterSampleCount

The number of samples in each fragment.

MTLPrimitiveTopologyClass

The primitive topologies available for rendering.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software