NAME
    cgGetFirstTechnique - get the first technique in an effect

SYNOPSIS
      #include <Cg/cg.h>

      CGtechnique cgGetFirstTechnique( CGeffect effect );

PARAMETERS
    effect  The effect from which to retrieve the first technique.

RETURN VALUES
    cgGetFirstTechnique returns a the first CGtechnique object in effect. If
    effect contains no techniques, NULL is returned.

DESCRIPTION
    cgGetFirstTechnique is used to begin iteration over all of the
    techniques contained within a effect. See the cgGetNextTechnique manpage
    for more information.

EXAMPLES
    *to-be-written*

ERRORS
    CG_INVALID_EFFECT_HANDLE_ERROR is generated if effect does not refer to
    a valid effect.

HISTORY
    cgGetFirstTechnique was introduced in Cg 1.4.

SEE ALSO
    the cgGetNextTechnique manpage, the cgGetNamedTechnique manpage, the
    cgIsTechnique manpage

