Defines which polygon orientation will be culled, if any.
Defines which polygons are considered front-facing.
For pipelines with strip topologies
(GPUPrimitiveTopology#"line-strip" or GPUPrimitiveTopology#"triangle-strip"),
this determines the index buffer format and primitive restart value
0xFFFF or GPUIndexFormat#"uint32"/
It is not allowed on pipelines with non-strip topologies.
Note: Some implementations require knowledge of the primitive restart value to compile
pipeline state objects.
To use a strip-topology pipeline with an indexed draw call
(() or drawIndexedIndirect),
this must be set, and it must match the index buffer format used with the draw call
(set in setIndexBuffer).
See https://www.w3.org/TR/webgpu/#primitive-assembly for additional details.
The type of primitive to be constructed from the vertex inputs.
If true, indicates that depth clipping is disabled. Requires the GPUFeatureName#"depth-clip-control" feature to be enabled.
Generated using TypeDoc