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

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

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: string; size: number }>

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