NAME
cgGetParameterContext - get a parameter's parent context
SYNOPSIS
#include <Cg/cg.h> CGcontext cgGetParameterContext( CGparameter param );PARAMETERS
- param
The parameter.
RETURN VALUES
Returns a CGcontext handle to the parent context. In the event of an error NULL is returned.
DESCRIPTION
cgGetParameterContext allows the application to retrieve a handle to the context a given parameter belongs to.
EXAMPLES
to-be-written
ERRORS
CG_INVALID_CONTEXT_HANDLE_ERROR is generated if context does not refer to a valid context.
HISTORY
cgGetParameterContext was introduced in Cg 1.2.
SEE ALSO