Cg Core Runtime API cgIsTechniqueValidated(3)
NAME
cgIsTechniqueValidated - indicates whether the technique has
passed validation
SYNOPSIS
#include
CGbool cgIsTechniqueValidated( CGtechnique tech );
PARAMETERS
tech The technique handle.
RETURN VALUES
Returns CGTRUE if the technique has previously passes
validation via a call to cgValidateTechnique.
Returns CGFALSE if validation hasn't been attempted or the
technique has failed a validation attempt.
DESCRIPTION
cgIsTechniqueValidated returns CGTRUE if the technique has
previously passes validation via a call to
cgValidateTechnique. CGFALSE is returned both if
validation hasn't been attempted as well as if the technique
has failed a validation attempt.
EXAMPLES
to-be-written
ERORS
CGINVALIDTECHNIQUEHANDLEROR is generated if tech is
not a valid technique.
HISTORY
cgIsTechniqueValidated was introduced in Cg 1.4.
SEE ALSO
cgValidateTechnique, cgCallStateValidateCallback
Cg Toolkit 2.1 Last change: 1
|