Name
cgGetNumConnectedToParameters - gets the number of connected destination parameters
Synopsis
#include <Cg/cg.h> int cgGetNumConnectedToParameters( CGparameter param );Parameters
- param
- The source parameter.
Return Values
Returns the number of destination parameters connected to param.
Returns 0 if an error occurs.
Description
cgGetNumConnectedToParameters returns the number of destination parameters connected to the source parameter param. It's primarily used with cgGetConnectedToParameter.
Examples
to-be-written
Errors
CG_INVALID_PARAM_HANDLE_ERROR is generated if param is not a valid parameter.
History
cgGetNumConnectedToParameters was introduced in Cg 1.2.
See Also
cgConnectParameter, cgGetConnectedParameter, cgGetConnectedToParameter