GetProgramConstantInfoByIndex Data Member Function

Populates a <ProgramConstantInfo> object with information about the constant at the specified index.

Prototype

int32 GetProgramConstantInfoByIndex( uint64 p_iHandle, int32 p_nIndex, ProgramConstantInfo p_oInfo )

Parameters

Parameter Type Parameter Name Documentation
uint64p_iHandleThe <Program> handle, which can be queried by calling the <Program> object's GetHandle() data interface.
int32p_nIndexThe index of the shader constant to query.
<ProgramConstantInfo>p_oInfoA pointer to a <ProgramConstantInfo> object.

Examples

Copy Text To Clipboard

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