Returns the index of the specified subroutine uniform.
int32 GetProgramSubroutineUniformIndex( int64 p_iHandle, int32 p_eStage, string p_sName )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int64 | 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. |
string | p_sName | The name of the subroutine uniform to query. |
None published. Please look for an example in the Simdify Scripting Language code base.