Sets a program constant meta-data value for a constant that is resident on the GPU. It should be noted that this is a debug only feature, and that incorrect alterations to GL state may cause undefined behavior.
int32 SetProgramConstantInfo( uint64 p_nHandle., ProgramConstantInfo p_oSrcInfo )
Parameter Type | Parameter Name | Documentation |
---|---|---|
uint64 | p_nHandle. | The handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface. |
<ProgramConstantInfo> | p_oSrcInfo | A pointer to the <ProgramConstantInfo> object that contains the values you wish to set. |
None published. Please look for an example in the Scenome Scripting Language code base.