Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class EXTTextureStorageCompression

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.system.*

Native bindings to the EXT_texture_storage_compression extension.

Applications may wish to take advantage of framebuffer compression. Some platforms may support framebuffer compression at fixed bitrates. Such compression algorithms generally produce results that are visually lossless, but the results are typically not bit-exact when compared to a non-compressed result.

This extension enables applications to opt-in to compression for immutable textures.

Requires GLES 3.0.

Field Summary

Modifier and TypeField and Description
public static final int
GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT

New attributes accepted by the pname argument of GetInternalformativ.

public static final int
GL_SURFACE_COMPRESSION_EXT

New attributes accepted by the attrib_list argument of TexStorageAttribs2DEXT and TexStorageAttribs3DEXT, and as the pname argument to GetTexParameter*.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, IntBuffer attrib_list)

Behaves identically to TexStorage2D, except that additional flags can specified in attrib_list.

public static void
glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, int[] attrib_list)

Array version of: TexStorageAttribs2DEXT

public static void
glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, IntBuffer attrib_list)

Behaves identically to TexStorage3D, except that additional flags can specified in attrib_list.

public static void
glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, int[] attrib_list)

Array version of: TexStorageAttribs3DEXT

public static native void
nglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, long attrib_list)

Unsafe version of: TexStorageAttribs2DEXT

public static native void
nglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, long attrib_list)

Unsafe version of: TexStorageAttribs3DEXT

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXTback to summary
public static final int GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT

New attributes accepted by the pname argument of GetInternalformativ.

GL_SURFACE_COMPRESSION_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_EXT

New attributes accepted by the attrib_list argument of TexStorageAttribs2DEXT and TexStorageAttribs3DEXT, and as the pname argument to GetTexParameter*.

GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXTback to summary
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT

Accepted as attribute values for SURFACE_COMPRESSION_EXT by TexStorageAttribs2DEXT and TexStorageAttribs3DEXT.

Constructor Detail

EXTTextureStorageCompressionback to summary
protected EXTTextureStorageCompression()

Method Detail

glTexStorageAttribs2DEXTback to summary
public static void glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, IntBuffer attrib_list)

Behaves identically to TexStorage2D, except that additional flags can specified in attrib_list.

glTexStorageAttribs2DEXTback to summary
public static void glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, int[] attrib_list)

Array version of: TexStorageAttribs2DEXT

glTexStorageAttribs3DEXTback to summary
public static void glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, IntBuffer attrib_list)

Behaves identically to TexStorage3D, except that additional flags can specified in attrib_list.

glTexStorageAttribs3DEXTback to summary
public static void glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, int[] attrib_list)

Array version of: TexStorageAttribs3DEXT

nglTexStorageAttribs2DEXTback to summary
public static native void nglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, long attrib_list)

Unsafe version of: TexStorageAttribs2DEXT

nglTexStorageAttribs3DEXTback to summary
public static native void nglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, long attrib_list)

Unsafe version of: TexStorageAttribs3DEXT