NAME
cgGetNumConnectedToParameters - gets the number of connected destination parameters
SYNOPSIS
#include <Cg/cg.h> int cgGetNumConnectedToParameters(CGparameter param);PARAMETERS
- param
Specifies the source parameter.
DESCRIPTION
cgGetNumConnectedToParameters returns the number of destination parameters connected to the source parameter param. It's primarily used with cgGetConnectedToParameter.
RETURN VALUES
Returns one of the connected destination parameters to param. (CGparameter)0 is returned if an error is thrown.
ERRORS
CG_INVALID_PARAM_HANDLE_ERROR is generated if param does not refer to a valid parameter.
SEE ALSO