menu
GpuPrimitiveState
import { GpuPrimitiveState } from "destack:gpu/binding";
Primitive-state descriptor.
1export struct GpuPrimitiveState {2 topology: GpuPrimitiveTopology;3 stripIndexFormat: GpuIndexFormat;4 frontFace: GpuFrontFace;5 cullMode: GpuCullMode;6 unclippedDepth: boolean;7 polygonMode: GpuPolygonMode;8 conservative: boolean;9}Members
topology: GpuPrimitiveTopologyPrimitive topology selector.
stripIndexFormat: GpuIndexFormatStrip index format selector when one strip topology uses indices.
frontFace: GpuFrontFaceFront-face winding selector.
cullMode: GpuCullModeFace-culling selector.
unclippedDepth: booleanWhether unclipped depth is enabled.
polygonMode: GpuPolygonModePolygon rasterization selector.
conservative: booleanWhether conservative rasterization is enabled.