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 GLACTIVETEXTUREARB

GLACTIVETEXTUREARB

Index
 

NAME

glActiveTextureARB - select active texture unit

 

C SPECIFICATION

void f3glActiveTextureARBfP( 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 intial value is %f3GL_TEXTURE0_ARBfP.
 

DESCRIPTION

%f3glActiveTextureARBfP 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 %f3glClientActiveTextureARBfP routine.  

NOTES

%f3glActiveTextureARBfP is only supported if %f3GL_ARB_multitexturefP is included in the string returned by %f3glGetStringfP when called with the argument %f3GL_EXTENSIONSfP.  

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

%f3glClientActiveTextureARB(3G)fP, %f3glGetIntegerv(3G)fP, %f3glMultiTexCoordARB(3G)fP, %f3glTexParameter(3G)fP


 

Index

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
SEE ALSO