NAME

cgIsParameterGlobal - determine if a parameter is global

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsParameterGlobal(CGparameter param);

PARAMETERS

param

Specifies the parameter handle to check.

DESCRIPTION

cgIsParameterGlobal returns CG_TRUE if param is a global parameter and CG_FALSE otherwise.

RETURN VALUES

Returns CG_TRUE if param is global.

Returns CG_FALSE otherwise.

ERRORS

CG_INVALID_PARAM_HANDLE_ERROR is generated if the handle param is invalid.

SEE ALSO