glAreTexturesResident

determine if textures are loaded in texture memory

Signature

glAreTexturesResident( GLsizei ( n ) , const GLuint * ( textures ) , GLboolean * ( residences ) )-> GLboolean
glAreTexturesResident( n , textures , residences ) -> <class 'ctypes.c_ubyte'>
Allow both Pythonic and C-style calls to glAreTexturesResident

        glAreTexturesResident( arrays.GLuintArray( textures) )

    or

        glAreTexturesResident( int(n), arrays.GLuintArray( textures), arrays.GLuboolean( output) )

    or

        glAreTexturesResident( int(n), arrays.GLuintArray( textures) )

    returns the output arrays.GLubooleanArray
    

Parameters

VariablesDescription
n
Specifies the number of textures to be queried.
textures
Specifies an array containing the names of the textures to be queried.
residences
Specifies an array in which the texture residence status is returned. The residence status of a texture named by an element of textures is returned in the corresponding element of residences .

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glAreTexturesResident
{LGPL} VisionEgg VisionEgg/Textures.py Lines: 488