Populates a <ProgramConstantInfo> object with information about the constant at the specified index.
int32 GetProgramConstantInfoByIndex( uint64 p_iHandle, int32 p_nIndex, ProgramConstantInfo p_oInfo )
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_nIndex | The index of the shader constant to query. |
<ProgramConstantInfo> | p_oInfo | A pointer to a <ProgramConstantInfo> object. |
None published. Please look for an example in the Scenome Scripting Language code base.