This reference page is linked to from the following overview topics: Softimage 2013.
#include <xsi_shaderstructparamdef.h>
Represents the Structure specialization of a shader parameter definition.
This object allows you to access the sub-elements contained by this shader parameter (ShaderStructParamDef::GetSubParamDefs, which returns a list of sub parameter definitions in a ShaderParamDefContainer).
To create a ShaderStructParamDef object, specify the siShaderDataTypeStructure shader parameter type in the call to ShaderParamDefContainer::AddParamDef or ShaderParamDefContainer::AddArrayParamDef.
Public Member Functions |
|
ShaderStructParamDef () | |
~ShaderStructParamDef () | |
ShaderStructParamDef (const CRef &in_ref) | |
ShaderStructParamDef (const ShaderStructParamDef &in_obj) | |
bool | IsA (siClassID in_ClassID) const |
siClassID | GetClassID () const |
ShaderStructParamDef & | operator= (const ShaderStructParamDef &in_obj) |
ShaderStructParamDef & | operator= (const CRef &in_ref) |
ShaderParamDefContainer | GetSubParamDefs () const |
Default constructor.
~ShaderStructParamDef | ( | ) |
Default destructor.
ShaderStructParamDef | ( | const CRef & | in_ref | ) |
Constructor.
in_ref | constant reference object. |
ShaderStructParamDef | ( | const ShaderStructParamDef & | in_obj | ) |
Copy constructor.
in_obj | constant class object. |
bool IsA | ( | siClassID | in_ClassID | ) | const [virtual] |
Returns true if a given class type is compatible with this API class.
in_ClassID | class type. |
Reimplemented from ShaderParamDef.
siClassID GetClassID | ( | ) | const [virtual] |
ShaderStructParamDef& operator= | ( | const ShaderStructParamDef & | in_obj | ) |
Creates an object from another object. The newly created object is set to empty if the input object is not compatible.
in_obj | constant class object. |
ShaderStructParamDef& operator= | ( | const CRef & | in_ref | ) |
Creates an object from a reference object. The newly created object is set to empty if the input reference object is not compatible.
in_ref | constant class object. |
Reimplemented from ShaderParamDef.
ShaderParamDefContainer GetSubParamDefs | ( | ) | const |
Returns a ShaderParamDefContainer containing the sub parameter definitions for this struct parameter, which you can use to add new sub-parameters.