ShaderParamDef.Capabilities operator


v9.0 (2011)


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.

C# Syntax

// get accessor
Int32 rtn = ShaderParamDef.Capabilities;

See Also

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