Package org.lwjgl.opengles
Class EXTTextureStorageCompression
java.lang.Object
org.lwjgl.opengles.EXTTextureStorageCompression
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
FieldsModifier and TypeFieldDescriptionstatic final int
New attributes accepted by thepname
argument ofGetInternalformativ
.static final int
New attributes accepted by theattrib_list
argument ofTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
, and as thepname
argument toGetTexParameter*
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.static final int
Accepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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, 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, 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 Details
-
GL_SURFACE_COMPRESSION_EXT
public static final int GL_SURFACE_COMPRESSION_EXTNew attributes accepted by theattrib_list
argument ofTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
, and as thepname
argument toGetTexParameter*
.- See Also:
-
GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT
public static final int GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXTNew attributes accepted by thepname
argument ofGetInternalformativ
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT
public static final int GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXTAccepted as attribute values forSURFACE_COMPRESSION_EXT
byTexStorageAttribs2DEXT
andTexStorageAttribs3DEXT
.- See Also:
-
-
Method Details
-
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 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 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
-