NAME

cgGetConnectedParameter - gets the connected source parameter

SYNOPSIS

  #include <Cg/cg.h>

  CGparameter cgGetConnectedParameter( CGparameter param );

PARAMETERS

param

The destination parameter.

RETURN VALUES

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

DESCRIPTION

Returns the source parameter of a connection to param.

EXAMPLES

to-be-written

ERRORS

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

HISTORY

cgGetConnectedParameter was introduced in Cg 1.2.

SEE ALSO

cgConnectParameter, cgGetConnectedToParameter