Optional cullOptional frontDefines which polygons are considered front-facing.
Optional stripFor pipelines with strip topologies
(GPUPrimitiveTopology "line-strip" or GPUPrimitiveTopology "triangle-strip"),
this determines the index buffer format and primitive restart value
(GPUIndexFormat "uint16"/0xFFFF or GPUIndexFormat "uint32"/0xFFFFFFFF).
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.
Optional topologyThe type of primitive to be constructed from the vertex inputs.
Optional unclippedIf true, indicates that depth clipping is disabled.
Requires the GPUFeatureName "depth-clip-control" feature to be enabled.
Generated using TypeDoc
Defines which polygon orientation will be culled, if any.