Package org.lwjgl.opengles
Class EXTTextureStorageCompression
- java.lang.Object
-
- org.lwjgl.opengles.EXTTextureStorageCompression
-
public class EXTTextureStorageCompression extends java.lang.ObjectNative 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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, int[] attrib_list)Array version of:TexStorageAttribs2DEXTstatic voidglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, java.nio.IntBuffer attrib_list)Behaves identically toTexStorage2D, except that additional flags can specified inattrib_list.static voidglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, int[] attrib_list)Array version of:TexStorageAttribs3DEXTstatic voidglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, java.nio.IntBuffer attrib_list)Behaves identically toTexStorage3D, except that additional flags can specified inattrib_list.static voidnglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, long attrib_list)Unsafe version of:TexStorageAttribs2DEXTstatic voidnglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, long attrib_list)Unsafe version of:TexStorageAttribs3DEXT
-
-
-
Field Detail
-
GL_SURFACE_COMPRESSION_EXT
New attributes accepted by theattrib_listargument ofTexStorageAttribs2DEXTandTexStorageAttribs3DEXT, and as thepnameargument toGetTexParameter*.
-
GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT
New attributes accepted by thepnameargument ofGetInternalformativ.
-
GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT, GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT
Accepted as attribute values forSURFACE_COMPRESSION_EXTbyTexStorageAttribs2DEXTandTexStorageAttribs3DEXT.
-
-
Method Detail
-
nglTexStorageAttribs2DEXT
public static void nglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, long attrib_list)Unsafe version of:TexStorageAttribs2DEXT
-
glTexStorageAttribs2DEXT
public static void glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, @Nullable java.nio.IntBuffer attrib_list)Behaves identically toTexStorage2D, except that additional flags can specified inattrib_list.
-
nglTexStorageAttribs3DEXT
public static void nglTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, long attrib_list)Unsafe version of:TexStorageAttribs3DEXT
-
glTexStorageAttribs3DEXT
public static void glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, @Nullable java.nio.IntBuffer attrib_list)Behaves identically toTexStorage3D, except that additional flags can specified inattrib_list.
-
glTexStorageAttribs2DEXT
public static void glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, @Nullable int[] attrib_list)Array version of:TexStorageAttribs2DEXT
-
glTexStorageAttribs3DEXT
public static void glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, @Nullable int[] attrib_list)Array version of:TexStorageAttribs3DEXT
-
-