Sets the value of the specified <Str> object to the value of the subroutine uniform at the specified index.
int32 GetProgramSubroutineUniformName( uint64 p_iHandle, int32 p_eStage, int32 p_nIndex, Str p_oName )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint64 | p_iHandle | The <Program> handle, which can be queried by calling the <Program> object's GetHandle() data interface. |
int32 | p_eStage | A value from the ShaderStage enumeration for the shader stage to query. Please see APP_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | p_nIndex | The index of the subroutine uniform to query. |
<Str> | p_oName | A pointer to a <Str> object that stores the name of the subroutine uniform at the specified index. |
None published. Please look for an example in the Simdify Scripting Language code base.