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 one of the connected destination parameters to param. (CGparameter)0 is returned if an error is thrown.

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 does not refer to a valid parameter.

HISTORY

cgGetNumConnectedToParameters was introduced in Cg 1.2.

SEE ALSO

cgConnectParameter, cgGetConnectedParameter