API

Interface ICustomShaderOptions

Defines the options associated with the creation of a custom shader for a shadow generator.

interface ICustomShaderOptions {
    attributes?: string[];
    defines?: string[];
    samplers?: string[];
    shaderName: string;
    uniforms?: string[];
}
Index
attributes?: string[]

The list of attribute names used in the shader

defines?: string[]

The list of defines used in the shader

samplers?: string[]

The list of sampler names used in the shader

shaderName: string

Gets or sets the custom shader name to use

uniforms?: string[]

The list of uniform names used in the shader