Package org.lwjgl.opengles
Class EXTTextureStorageCompression
- java.lang.Object
-
- org.lwjgl.opengles.EXTTextureStorageCompression
-
public class EXTTextureStorageCompression extends java.lang.Object
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
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
glTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, int[] attrib_list)
Array version of:TexStorageAttribs2DEXT
static void
glTexStorageAttribs2DEXT(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 void
glTexStorageAttribs3DEXT(int target, int levels, int internalformat, int width, int height, int depth, int[] attrib_list)
Array version of:TexStorageAttribs3DEXT
static void
glTexStorageAttribs3DEXT(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 void
nglTexStorageAttribs2DEXT(int target, int levels, int internalformat, int width, int height, long attrib_list)
Unsafe version of:TexStorageAttribs2DEXT
static void
nglTexStorageAttribs3DEXT(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_list
argument ofTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
, and as thepname
argument toGetTexParameter*
.
-
GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT
New attributes accepted by thepname
argument 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_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.
-
-
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
-
-