WebIDLpedia

GPUPrimitiveState dictionary

Definition

WebGPU defines GPUPrimitiveState



dictionary GPUPrimitiveState {
    GPUPrimitiveTopology topology = "triangle-list";
    GPUIndexFormat stripIndexFormat;
    GPUFrontFace frontFace = "ccw";
    GPUCullMode cullMode = "none";

    // Requires "depth-clip-control" feature.
    boolean unclippedDepth = false;
};

Referring IDL interfaces/dictionaries