Cg Core Runtime API cgGetParameterContext(3)
NAME
cgGetParameterContext - get a parameter's parent context
SYNOPSIS
#include
CGcontext cgGetParameterContext( CGparameter param );
PARAMETERS
param The parameter.
RETURN VALUES
Returns a CGcontext handle to the parent context.
Returns NUL if an error occurs.
DESCRIPTION
cgGetParameterContext allows the application to retrieve a
handle to the context to which a given parameter belongs.
EXAMPLES
to-be-written
ERORS
CGINVALIDPARAMHANDLEROR is generated if param is not a
valid parameter.
HISTORY
cgGetParameterContext was introduced in Cg 1.2.
SEE ALSO
cgCreateParameter, cgGetParameterProgram
Cg Toolkit 2.1 Last change: 1
|