Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class EXTSparseTexture

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the EXT_sparse_texture extension.

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.

Requires GLES 3.1.

Field Summary

Modifier and TypeField and Description
public static final int
GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

public static final int
GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

public static final int
GL_MAX_SPARSE_TEXTURE_SIZE_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

public static final int
GL_NUM_SPARSE_LEVELS_EXT

Accepted by the pname parameter of GetTexParameter{if}v, GetTexParameterIi{u}vOES, and GetTexParameterIi{u}vEXT.

public static final int
GL_NUM_VIRTUAL_PAGE_SIZES_EXT

Accepted by the pname parameter to GetInternalformativ.

public static final int
GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

public static final int
GL_TEXTURE_2D

Accepted by the target parameter to GetInternalformativ.

public static final int
GL_TEXTURE_2D_ARRAY

Accepted by the target parameter to GetInternalformativ.

public static final int
GL_TEXTURE_3D

Accepted by the target parameter to GetInternalformativ.

public static final int
GL_TEXTURE_CUBE_MAP

Accepted by the target parameter to GetInternalformativ.

public static final int
GL_TEXTURE_CUBE_MAP_ARRAY_OES

Accepted by the target parameter to GetInternalformativ.

public static final int
GL_TEXTURE_SPARSE_EXT

Accepted by the pname parameter to TexParameter{if}{v}, GetTexParameter{if}v, TexParameterI{u}ivOES, GetTexParameterI{u}ivOES TexParameterI{u}ivEXT, and GetTexParameterI{u}ivEXT.

public static final int
GL_VIRTUAL_PAGE_SIZE_INDEX_EXT

Accepted by the pname parameter to TexParameter{if}{v}, GetTexParameter{if}v, TexParameterI{u}ivOES, GetTexParameterI{u}ivOES TexParameterI{u}ivEXT, and GetTexParameterI{u}ivEXT.

public static final int
GL_VIRTUAL_PAGE_SIZE_X_EXT

Accepted by the pname parameter to GetInternalformativ.

public static final int
GL_VIRTUAL_PAGE_SIZE_Y_EXT

Accepted by the pname parameter to GetInternalformativ.

public static final int
GL_VIRTUAL_PAGE_SIZE_Z_EXT

Accepted by the pname parameter to GetInternalformativ.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXTback to summary
public static final int GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXTback to summary
public static final int GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

GL_MAX_SPARSE_TEXTURE_SIZE_EXTback to summary
public static final int GL_MAX_SPARSE_TEXTURE_SIZE_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

GL_NUM_SPARSE_LEVELS_EXTback to summary
public static final int GL_NUM_SPARSE_LEVELS_EXT

Accepted by the pname parameter of GetTexParameter{if}v, GetTexParameterIi{u}vOES, and GetTexParameterIi{u}vEXT.

GL_NUM_VIRTUAL_PAGE_SIZES_EXTback to summary
public static final int GL_NUM_VIRTUAL_PAGE_SIZES_EXT

Accepted by the pname parameter to GetInternalformativ.

GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXTback to summary
public static final int GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT

Accepted by the pname parameter to GetIntegerv, GetFloatv, GetInteger64v, and GetBooleanv.

GL_TEXTURE_2Dback to summary
public static final int GL_TEXTURE_2D

Accepted by the target parameter to GetInternalformativ.

GL_TEXTURE_2D_ARRAYback to summary
public static final int GL_TEXTURE_2D_ARRAY

Accepted by the target parameter to GetInternalformativ.

GL_TEXTURE_3Dback to summary
public static final int GL_TEXTURE_3D

Accepted by the target parameter to GetInternalformativ.

GL_TEXTURE_CUBE_MAPback to summary
public static final int GL_TEXTURE_CUBE_MAP

Accepted by the target parameter to GetInternalformativ.

GL_TEXTURE_CUBE_MAP_ARRAY_OESback to summary
public static final int GL_TEXTURE_CUBE_MAP_ARRAY_OES

Accepted by the target parameter to GetInternalformativ.

GL_TEXTURE_SPARSE_EXTback to summary
public static final int GL_TEXTURE_SPARSE_EXT

Accepted by the pname parameter to TexParameter{if}{v}, GetTexParameter{if}v, TexParameterI{u}ivOES, GetTexParameterI{u}ivOES TexParameterI{u}ivEXT, and GetTexParameterI{u}ivEXT.

GL_VIRTUAL_PAGE_SIZE_INDEX_EXTback to summary
public static final int GL_VIRTUAL_PAGE_SIZE_INDEX_EXT

Accepted by the pname parameter to TexParameter{if}{v}, GetTexParameter{if}v, TexParameterI{u}ivOES, GetTexParameterI{u}ivOES TexParameterI{u}ivEXT, and GetTexParameterI{u}ivEXT.

GL_VIRTUAL_PAGE_SIZE_X_EXTback to summary
public static final int GL_VIRTUAL_PAGE_SIZE_X_EXT

Accepted by the pname parameter to GetInternalformativ.

GL_VIRTUAL_PAGE_SIZE_Y_EXTback to summary
public static final int GL_VIRTUAL_PAGE_SIZE_Y_EXT

Accepted by the pname parameter to GetInternalformativ.

GL_VIRTUAL_PAGE_SIZE_Z_EXTback to summary
public static final int GL_VIRTUAL_PAGE_SIZE_Z_EXT

Accepted by the pname parameter to GetInternalformativ.

Constructor Detail

EXTSparseTextureback to summary
protected EXTSparseTexture()

Method Detail

glTexPageCommitmentARBback to summary
public static native void glTexPageCommitmentARB(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, boolean commit)