Cg OpenGL Runtime API cgGLRegisterStates(3)
NAME
cgGLRegisterStates - registers graphics pass states for CgFX
files
SYNOPSIS
#include
void cgGLRegisterStates( CGcontext context );
PARAMETERS
context The context in which to register the states.
RETURN VALUES
None.
DESCRIPTION
cgGLRegisterStates registers a set of states for the passes
in a CgFX effect file. These states correspond to the set
of OpenGL state that is relevant and/or useful to be setting
in passes in effect files. See the Cg User's Guide for
complete documentation of the states that are made available
after calling cgGLRegisterStates.
EXAMPLES
to-be-written
ERORS
CGINVALIDCONTEXTHANDLEROR is generated if context is
not a valid context.
HISTORY
cgGLRegisterStates was introduced in Cg 1.4.
SEE ALSO
cgCreateState, cgSetPassState, cgResetPassState,
cgCallStateValidateCallback, cgD3D9RegisterStates
Cg Toolkit 2.1 Last change: 1
|