Interface PrimitiveState

Descriptor of the primitive state of a render pipeline.

See

https://www.w3.org/TR/webgpu/#dictdef-gpuprimitivestate

Hierarchy

  • PrimitiveState

Properties

cullMode?: CullMode

The face culling mode. Default to None

frontFace?: FrontFace

The front face. Default to CCW

indexFormat?: IndexFormat

The index format. Defaults to UInt16

The primitive topology. Defaults to Triangles

Generated using TypeDoc