Interface ICustomShaderOptions
interface ICustomShaderOptions {
attributes?: string[];
defines?: string[];
samplers?: string[];
shaderName: string;
uniforms?: string[];
}
attributes?: string[];
defines?: string[];
samplers?: string[];
shaderName: string;
uniforms?: string[];
}
Properties
Optionalattributes
attributes?: string[]
The list of attribute names used in the shader
Optionaldefines
defines?: string[]
The list of defines used in the shader
Optionalsamplers
samplers?: string[]
The list of sampler names used in the shader
shader Name
shaderName: string
Gets or sets the custom shader name to use
Optionaluniforms
uniforms?: string[]
The list of uniform names used in the shader
Defines the options associated with the creation of a custom shader for a shadow generator.