GetProgramUniformBufferIndex Data Member Function

Returns the index of the specified uniform buffer.

Prototype

int32 GetProgramUniformBufferIndex( uint64 p_iHandle, string p_sName )

Parameters

Parameter Type Parameter Name Documentation
uint64p_iHandleThe <Program> handle, which can be queried by calling the <Program> object's GetHandle() data interface.
stringp_sNameThe name of the uniform buffer, which must match the name of the uniform buffer in the GLSL source code.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.