Provides script language access to C++ objects of this type.
Class Hierarchy | Type » Node » VariableNode » SubroutineBindNode |
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AddVariation | Adds a variation to the <SubroutineBindNode>. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Int32Array> | ShaderStages | Returns a pointer to the <Int32Array> object that stores the shader stage associated with each subroutine variation. The count of this <Int32Array> is equal to all the variations for all the shader stages in the <Program> for which this object is performing subroutine binding. |
<StrList> | Variations | Returns a pointer to the <StrList> object that stores each subroutine variation. The count of this <StrList> is equal to all the variations for all the shader stages in the <Program> for which this object is performing subroutine binding. |