NAME
    cgGetFirstPass - get the first pass in a technique

SYNOPSIS
      #include <Cg/cg.h>

      CGpass cgGetFirstPass( CGtechnique tech );

PARAMETERS
    tech    The technique from which to retrieve the first pass.

RETURN VALUES
    cgGetFirstPass returns a the first CGpass object in tech. If tech
    contains no passs, NULL is returned.

DESCRIPTION
    cgGetFirstPass is used to begin iteration over all of the passs
    contained within a technique. See the cgGetNextPass manpage for more
    information.

EXAMPLES
    *to-be-written*

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

HISTORY
    cgGetFirstPass was introduced in Cg 1.4.

SEE ALSO
    the cgGetNextPass manpage, the cgGetNamedPass manpage, the cgIsPass
    manpage

