GLPRIORITIZETEXTURES



GLPRIORITIZETEXTURES

NAME
C SPECIFICATION
PARAMETERS
DESCRIPTION
NOTES
ERRORS
ASSOCIATED GETS
SEE ALSO

NAME

glPrioritizeTextures − set texture residence priority

C SPECIFICATION

void glPrioritizeTextures( GLsizei n,

const GLuint *textures,

const GLclampf *priorities )

PARAMETERS

n

Specifies the number of textures to be prioritized.

textures

Specifies an array containing the names of the textures to be prioritized.

priorities

Specifies an array containing the texture priorities. A priority given in an element of priorities applies to the texture named by the corresponding element of textures.

DESCRIPTION

glPrioritizeTextures assigns the n texture priorities given in priorities to the n textures named in textures.

The GL establishes a ‘‘working set’’ of textures that are resident in texture memory. These textures may be bound to a texture target much more efficiently than textures that are not resident. By specifying a priority for each texture, glPrioritizeTextures allows applications to guide the GL implementation in determining which textures should be resident.

The priorities given in priorities are clamped to the range [0,1] before they are assigned. 0 indicates the lowest priority; textures with priority 0 are least likely to be resident. 1 indicates the highest priority; textures with priority 1 are most likely to be resident. However, textures are not guaranteed to be resident until they are used.

glPrioritizeTextures silently ignores attempts to prioritize texture 0, or any texture name that does not correspond to an existing texture.

glPrioritizeTextures does not require that any of the textures named by textures be bound to a texture target. glTexParameter may also be used to set a texture’s priority, but only if the texture is currently bound. This is the only way to set the priority of a default texture.

NOTES

glPrioritizeTextures is available only if the GL version is 1.1 or greater.

ERRORS

GL_INVALID_VALUE is generated if n is negative.

GL_INVALID_OPERATION is generated if glPrioritizeTextures is executed between the execution of glBegin and the corresponding execution of glEnd.

ASSOCIATED GETS

glGetTexParameter with parameter name GL_TEXTURE_PRIORITY retrieves the priority of a currently bound texture.

SEE ALSO

glAreTexturesResident(3G), glBindTexture(3G), glCopyTexImage1D(3G), glCopyTexImage2D(3G), glTexImage1D(3G), glTexImage2D(3G), glTexImage3D(3G), glTexParameter(3G)



More Linux Commands

manpages/kill.2.html
kill(2) - send signal to a process - Linux manual page......
The kill() system call can be used to send any signal to any process group or process. If pid is positive, then signal sig is sent to the process with the ID sp

manpages/XML::LibXML::SAX::Generator.3pm.html
XML::LibXML::SAX::Generator(3pm) - Generate SAX events from
THIS CLASS IS DEPRECATED ! Use XML::LibXML::SAX::Parser instead! This helper class allows you to generate SAX events from any XML::LibXML node, and all its sub-

manpages/line.1.html
line(1) - read one line (Commands - Linux manual page)......
The utility line copies one line (up to a newline) from standard input to standard output. It always prints at least a newline and returns an exit status of 1 o

manpages/Tk_Free3DBorder.3.html
Tk_Free3DBorder(3) - draw borders with three-dimensional app
These procedures provide facilities for drawing window borders in a way that produces a three-dimensional appearance. Tk_Alloc3DBorderFromObj allocates colors a

manpages/tgetnum.3ncurses.html
tgetnum(3ncurses) - direct curses interface to the terminfo
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the

manpages/inet_ntop.3.html
inet_ntop(3) - convert IPv4 and IPv6 addresses from binary t
This function converts the network address structure src in the af address family into a character string. The resulting string is copied to the buffer pointed

manpages/pdfunite.1.html
pdfunite(1) - Portable Document Format (PDF) page merger....
pdfunite merges several PDF (Portable Document Format) files in order of their occurence on command line to one PDF result file. Neither of the PDF-sourcefile1

manpages/SDL_WaitEvent.3.html
SDL_WaitEvent(3) - Waits indefinitely for the next available
Waits indefinitely for the next available event, returning 1, or 0 if there was an error while waiting for events. If event is not NULL, the next event is remov

manpages/XcmsTekHVC.3.html
XcmsTekHVC(3) - Xcms color structure - Linux manual page....
The XcmsColor structure contains a union of substructures, each supporting color specification encoding for a particular color space. SEE ALSO XcmsAllocColor(3)

manpages/HUGE_VALL.3.html
HUGE_VALL(3) - floating-point constants - Linux manual page
The macro INFINITY expands to a float constant representing positive infinity. The macro NAN expands to a float constant representing a quiet NaN (when supporte

manpages/setpci.8.html
setpci(8) - configure PCI devices - Linux manual page.......
setpci is a utility for querying and configuring PCI devices. All numbers are entered in hexadecimal notation. Root privileges are necessary for almost all oper

manpages/glGetMapfv.3gl.html
glGetMapfv(3gl) - return evaluator parameters (Man Page)....
glMap1 and glMap2 define evaluators. glGetMap returns evaluator parameters. target chooses a map, query selects a specific parameter, and v points to storage wh





We can't live, work or learn in freedom unless the software we use is free.