SetProgramConstantInfo Data Member Function

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.

Prototype

int32 SetProgramConstantInfo( uint64 p_nHandle., ProgramConstantInfo p_oSrcInfo )

Parameters

Parameter Type Parameter Name Documentation
uint64p_nHandle.The handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface.
<ProgramConstantInfo>p_oSrcInfoA pointer to the <ProgramConstantInfo> object that contains the values you wish to set.

Examples

Copy Text To Clipboard

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