NAME

cgGetConnectedParameter - gets the connected source parameter

SYNOPSIS

  #include <Cg/cg.h>

  CGparameter cgGetConnectedParameter(CGparameter param);

PARAMETERS

param

Specifies the destination parameter.

DESCRIPTION

Returns the source parameter of a connection to param.

RETURN VALUES

Returns the connected source parameter if param is connected to one. Otherwise (CGparameter)0 is returned.

ERRORS

CG_INVALID_PARAM_HANDLE_ERROR is generated if param does not refer to a valid parameter.

SEE ALSO

cgConnectParameter, and cgGetConnectedToParameter