Object Hierarchy | Related C++ Class: ShaderArrayParameter
Inheritance
SIObject
Parameter
ShaderParameter
ShaderArrayParameter
Introduced
9.0 (2011)
Description
Represents an array parameter for a Shader. An array parameter is a special kind of ShaderParameter which contains a set of ShaderParameter objects. These types of parameters are useful for supporting a dynamic number of instances of parameters. For example, the Volume Effects shader includes an array parameter of light references labeled 'scatter_lights_input' that allows you to add any number of lights.
You get this object when you iterate over the ParameterCollection property (via Shader.Parameters) when the collection item is a shader array parameter.
These type of parameters can be defined using the ShaderArrayParamDef interface.
Methods
|
|
|
|
Properties
|
|
|
|
See Also
Examples
• See ShaderArrayParameter.1.pys
• See ShaderArrayParameter.2.js
Autodesk Softimage 2011