ShaderParamDef.Capabilities operator

Introduced

v9.0 (2011)

Categories

ICE Shaders

Description

Returns a Long number (see siCapabilities) which is a bitfield of all the parameter's capabilities. For convenience, the texturable capability is exposed directly as a property.

To set the texturable, inspectable, and animatable capabilities on the shader parameter definition, you need to set them on the ShaderParamDefOptions object before calling the ShaderParamDefContainer.AddParamDef or ShaderParamDefContainer.AddArrayParamDef methods.

See Also

ShaderParamDef.Texturable Parameter.Animatable Parameter.Capabilities ShaderParamDefOptions.SetAnimatable ShaderParamDefOptions.SetTexturable ShaderParamDefOptions.SetInspectable