Returns the index of the specified uniform buffer.
int32 GetProgramUniformBufferIndex( uint64 p_iHandle, string p_sName )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint64 | p_iHandle | The <Program> handle, which can be queried by calling the <Program> object's GetHandle() data interface. |
string | p_sName | The name of the uniform buffer, which must match the name of the uniform buffer in the GLSL source code. |
None published. Please look for an example in the Scenome Scripting Language code base.