Populates a <ProgramConstantInfo> object with information about the specified program constant.
int32 GetProgramConstantInfo( uint64 p_iHandle, string p_sName, 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. |
string | p_sName | The name of the shader constant. This must match the name of the shader constant in the GLSL code. |
<ProgramConstantInfo> | p_oInfo | A pointer to a <ProgramConstantInfo> object. |
None published. Please look for an example in the Scenome Scripting Language code base.