GetProgramConstantCount Data Member Function

Returns the number of active constants for the specified shader program handle.

Prototype

int32 GetProgramConstantCount( uint64 p_nHandle )

Parameters

Parameter Type Parameter Name Documentation
uint64p_nHandleThe handle to the shader program. This can be acquired by calling the <Program> object's GetHandle() data interface.

Examples

Copy Text To Clipboard

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