NAME
glClientActiveTextureARB
- select active texture unit
C SPECIFICATION
void ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB(
GLenum _t_e_x_t_u_r_e )
delim $$
PARAMETERS
-
_t_e_x_t_u_r_e
-
Specifies which texture unit to make active. The number
of texture units is implementation dependent, but must be at least
two. _t_e_x_t_u_r_e must be one of GGLL__TTEEXXTTUURREE$i$__AARRBB
where 0 <= $ i $ < GGLL__MMAAXX__TTEEXXTTUURREE__UUNNIITTSS__AARRBB, which is an
implementation-dependent value. The initial value is
GGLL__TTEEXXTTUURREE00__AARRBB.
DESCRIPTION
ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB selects the vertex array client state parameters to be modified by
ggllTTeexxCCoooorrddPPooiinntteerr, and enabled or disabled with
ggllEEnnaabblleeCClliieennttSSttaattee or ggllDDiissaabblleeCClliieennttSSttaattee, respectively,
when called with a parameter of GGLL__TTEEXXTTUURREE__CCOOOORRDD__AARRRRAAYY.
NOTES
ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB is supported only if GGLL__AARRBB__mmuullttiitteexxttuurree is included in the
string returned by ggllGGeettSSttrriinngg when called with the argument
GGLL__EEXXTTEENNSSIIOONNSS.
ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB sets GGLL__CCLLIIEENNTT__AACCTTIIVVEE__TTEEXXTTUURREE__AARRBB to the active texture unit.
ERRORS
GGLL__IINNVVAALLIIDD__EENNUUMM is generated if _t_e_x_t_u_r_e is not one of
GGLL__TTEEXXTTUURREE$i$__AARRBB, where
0 <= $ i $ < GGLL__MMAAXX__TTEEXXTTUURREE__UUNNIITTSS__AARRBB.
SEE ALSO
ggllAAccttiivveeTTeexxttuurreeAARRBB((33GG)),
ggllDDiissaabblleeCClliieennttSSttaattee((33GG)),
ggllEEnnaabblleeCClliieennttSSttaattee((33GG)),
ggllMMuullttiiTTeexxCCoooorrddAARRBB((33GG)),
ggllTTeexxCCoooorrddPPooiinntteerr((33GG))