GetProgramConstantInfo Data Member Function

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

Prototype

int32 GetProgramConstantInfo( uint64 p_iHandle, string p_sName, 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.
stringp_sNameThe name of the shader constant. This must match the name of the shader constant in the GLSL code.
<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.