gpu-curtains
    Preparing search index...

    Interface VertexBufferAttributeLayout

    Defines a vertex buffer attribute layout, i.e. its component size, typed array constructor, format, type and whether it is normalized.

    interface VertexBufferAttributeLayout {
        size: number;
        typedArrayConstructor: TypedArrayConstructor;
        format: GPUVertexFormat;
        type: string;
        normalized: boolean;
    }
    Index

    Properties

    size: number

    Size of the vertex buffer attribute component.

    typedArrayConstructor: TypedArrayConstructor

    Typed array constructor used by that vertex buffer attribute.

    format: GPUVertexFormat

    Vertex format used by that vertex buffer attribute.

    type: string

    WGSLBaseVariableType used by that vertex buffer attribute.

    normalized: boolean

    Whether that vertex buffer attribute should be normalized.