Interface IEffectCreationOptions
Hierarchy
- IEffectCreationOptions
Index
Properties
attributesSearch playground for attributes
Atrributes that will be used in the shader.
definesSearch playground for defines
Define statements that will be set in the shader.
fallbacksSearch playground for fallbacks
Possible fallbacks for this effect to improve performance when needed.
Optional index ParametersSearch playground for indexParameters
Parameters to be used with Babylons include syntax to iterate over an array (eg. {lights: 10})
Optional max Simultaneous LightsSearch playground for maxSimultaneousLights
Max number of lights that can be used in the shader.
Optional multi TargetSearch playground for multiTarget
Is this effect rendering to several color attachments ?
on CompiledSearch playground for onCompiled
Callback that will be called when the shader is compiled.
on ErrorSearch playground for onError
Callback that will be called if an error occurs during shader compilation.
Optional process Final CodeSearch playground for processFinalCode
If provided, will be called two times with the vertex and fragment code so that this code can be updated before it is compiled by the GPU
samplersSearch playground for samplers
Sampler texture variable names that will be set in the shader.
Optional transform Feedback VaryingsSearch playground for transformFeedbackVaryings
uniform Buffers NamesSearch playground for uniformBuffersNames
Uniform buffer variable names that will be set in the shader.
uniforms NamesSearch playground for uniformsNames
Uniform varible names that will be set in the shader.
Options to be used when creating an effect.