OpenGL.GL.ARB.sparse_texture
OpenGL extension ARB.sparse_texture
This module customises the behaviour of the
OpenGL.raw.GL.ARB.sparse_texture to provide a more
Python-friendly API
Overview (from the spec)
Recent advances in application complexity and a desire for higher
resolutions have pushed texture sizes up considerably. Often, the amount
of physical memory available to a graphics processor is a limiting factor
in the performance of texture-heavy applications. Once the available
physical memory is exhausted, paging may occur bringing performance down
considerably - or worse, the application may fail. Nevertheless, the amount
of address space available to the graphics processor has increased to the
point where many gigabytes - or even terabytes of address space may be
usable even though that amount of physical memory is not present.
This extension allows the separation of the graphics processor's address
space (reservation) from the requirement that all textures must be
physically backed (commitment). This exposes a limited form of
virtualization for textures. Use cases include sparse (or partially
resident) textures, texture paging, on-demand and delayed loading of
texture assets and application controlled level of detail.
The official definition of this extension is available here:
http://www.opengl.org/registry/specs/ARB/sparse_texture.txt
Functions
Constants
GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB (37273)
GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB (37274)
GL_MAX_SPARSE_TEXTURE_SIZE_ARB (37272)
GL_MIN_SPARSE_LEVEL_ARB (37275)
GL_NUM_VIRTUAL_PAGE_SIZES_ARB (37288)
GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB (37289)
GL_TEXTURE_SPARSE_ARB (37286)
GL_VIRTUAL_PAGE_SIZE_INDEX_ARB (37287)
GL_VIRTUAL_PAGE_SIZE_X_ARB (37269)
GL_VIRTUAL_PAGE_SIZE_Y_ARB (37270)
GL_VIRTUAL_PAGE_SIZE_Z_ARB (37271)