GLPRIORITIZETEXTURES - Online Linux Manual PageSection : 3G
NAME"glPrioritizeTextures − set texture residence priority
C SPECIFICATIONvoid glPrioritizeTextures( GLsizei n, const GLuint *textures,
const GLclampf *priorities )
PARAMETERSn 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.
DESCRIPTIONglPrioritizeTextures 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.
NOTESglPrioritizeTextures is available only if the GL version is 1.1 or greater.
ERRORSGL_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 GETSglGetTexParameter with parameter name GL_TEXTURE_PRIORITY retrieves the priority of a currently bound texture.
SEE ALSOglAreTexturesResident(3G), glBindTexture(3G), glCopyTexImage1D(3G), glCopyTexImage2D(3G), glTexImage1D(3G), glTexImage2D(3G), glTexImage3D(3G), glTexParameter(3G) 0
Johanes Gumabo
Data Size : 9,484 byte
man-glPrioritizeTextures.3GBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 186,722
Visitor ID : :
Visitor IP : 3.12.146.108 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_escape_sequence|91|g___lPrioritizeTextures.3G|48|\1] |The priorities given in \f2priorities\fP are clamped to the range [0,\1]
)