NAME

cgIsTechniqueValidated - indicates whether the technique has passed validation

SYNOPSIS

  #include <Cg/cg.h>

  CGbool cgIsTechniqueValidated(CGtechnique technique);

PARAMETERS

technique

Specifies the technique handle.

DESCRIPTION

cgIsTechniqueValidated returns CG_TRUE if the technique has previously passes validation via a call to the "cgValidateTechnique" document. CG_FALSE is returned both if validation hasn't been attempted as well as if the technique has failed a validation attempt.

ERRORS

CG_INVALID_TECHNIQUE_HANDLE_ERROR is generated if technique does not refer to a valid technique.

SEE ALSO

the "cgValidateTechnique" document, the "CallStateValidateCallback" document