GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of GLCLIENTACTIVETEXTUREARB

GLCLIENTACTIVETEXTUREARB

Index
 

NAME

glClientActiveTextureARB - select active texture unit

 

C SPECIFICATION

void f3glClientActiveTextureARBfP( GLenum fItexturefP )


delim $$  

PARAMETERS

f2texturefP
Specifies which texture unit to make active. The number of texture units is implementation dependent, but must be at least two. f2texturefP must be one of %f3GL_TEXTUREfP$i$f3_ARBfP where 0 (<= $ i $ < %f3GL_MAX_TEXTURE_UNITS_ARBfP, which is an implementation-dependent value. The initial value is %f3GL_TEXTURE0_ARBfP.
 

DESCRIPTION

%f3glClientActiveTextureARBfP selects the vertex array client state parameters to be modified by %f3glTexCoordPointerfP, and enabled or disabled with %f3glEnableClientStatefP or %f3glDisableClientStatefP, respectively, when called with a parameter of %f3GL_TEXTURE_COORD_ARRAYfP.  

NOTES

%f3glClientActiveTextureARBfP is supported only if %f3GL_ARB_multitexturefP is included in the string returned by %f3glGetStringfP when called with the argument %f3GL_EXTENSIONSfP. %f3glClientActiveTextureARBfP sets %f3GL_CLIENT_ACTIVE_TEXTURE_ARBfP to the active texture unit.  

ERRORS

%f3GL_INVALID_ENUMfP is generated if f2texturefP is not one of %f3GL_TEXTUREfP$i$f3_ARBfP, where 0 (<= $ i $ < %f3GL_MAX_TEXTURE_UNITS_ARBfP.  

SEE ALSO

%f3glActiveTextureARB(3G)fP, %f3glDisableClientState(3G)fP, %f3glEnableClientState(3G)fP, %f3glMultiTexCoordARB(3G)fP, %f3glTexCoordPointer(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
SEE ALSO