Contents

isRasterizationEnabled

A Boolean value that determines whether the pipeline rasterizes primitives.

Declaration

var isRasterizationEnabled: Bool { get set }

Discussion

The default value is true, indicating that primitives are rasterized. If the value is false, 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 false, no fragments are processed and the vertex shader function needs to return void.

See Also

Specifying rasterization and visibility state