NAME

glActiveTextureARB - select active texture unit

C SPECIFICATION

void ggllAAccttiivveeTTeexxttuurreeAARRBB( 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

ggllAAccttiivveeTTeexxttuurreeAARRBB selects which texture unit subsequent texture state calls will affect. The number of texture units an implementation supports is implementation dependent, but must be at least 2.

Vertex arrays are client-side GL resources, which are selected by the ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB routine.

NOTES

ggllAAccttiivveeTTeexxttuurreeAARRBB is only supported if GGLL__AARRBB__mmuullttiitteexxttuurree is included in the string returned by ggllGGeettSSttrriinngg when called with the argument GGLL__EEXXTTEENNSSIIOONNSS.

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

ggllCClliieennttAAccttiivveeTTeexxttuurreeAARRBB((33GG)), ggllGGeettIInntteeggeerrvv((33GG)), ggllMMuullttiiTTeexxCCoooorrddAARRBB((33GG)), ggllTTeexxPPaarraammeetteerr((33GG))