EffectCreationOptions

Options to be used when creating an effect.

Hierarchy

  • EffectCreationOptions

Index

Properties

attributes

attributes: string[]

Atrributes that will be used in the shader.

defines

defines: any

Define statements that will be set in the shader.

fallbacks

Possible fallbacks for this effect to improve performance when needed.

indexParameters

indexParameters: any

Parameters to be used with Babylons include syntax to iterate over an array (eg. {lights: 10})

maxSimultaneousLights

maxSimultaneousLights: number

Max number of lights that can be used in the shader.

onCompiled

onCompiled: Nullable<function>

Callback that will be called when the shader is compiled.

onError

onError: Nullable<function>

Callback that will be called if an error occurs during shader compilation.

samplers

samplers: string[]

Sampler texture variable names that will be set in the shader.

transformFeedbackVaryings

transformFeedbackVaryings: Nullable<string[]>

uniformBuffersNames

uniformBuffersNames: string[]

Uniform buffer varible names that will be set in the shader.

uniformsNames

uniformsNames: string[]

Uniform varible names that will be set in the shader.

Generated using TypeDoc