gpu-curtains
    Preparing search index...

    Defines the parameters used to build the BufferBinding of each type of lights.

    interface LightParams {
        max: number;
        label: string;
        params: Record<string, { type: WGSLVariableType; size: number }>;
    }
    Index

    Properties

    Properties

    max: number

    Maximum number for a given type of light.

    label: string

    Label for a given type of light.

    params: Record<string, { type: WGSLVariableType; size: number }>

    Parameters to use to build the BufferBinding for a given type of light.