gpu-curtains
    Preparing search index...

    Interface GeometryOptions

    Options used to create a geometry.

    interface GeometryOptions {
        instancesCount: number;
        verticesOrder?: GPUFrontFace;
        topology: GPUPrimitiveTopology;
        vertexBuffers: VertexBufferParams[];
        mapBuffersAtCreation: boolean;
    }
    Index

    Properties

    instancesCount: number

    Number of geometry instances to draw.

    verticesOrder?: GPUFrontFace

    Vertices order sent to the render pipeline.

    topology: GPUPrimitiveTopology

    Topology to use with this Geometry, sent to the render pipeline. Whether to draw triangles, lines or points (see https://www.w3.org/TR/webgpu/#enumdef-gpuprimitivetopology).

    vertexBuffers: VertexBufferParams[]

    Array of VertexBufferParams used to create VertexBuffer on geometry creation.

    mapBuffersAtCreation: boolean

    Whether to map the vertex buffers at creation.