|
|
|
|
@ -1201,6 +1201,15 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
*/ |
|
|
|
|
CompressedRGBS3tcDxt1 = GL_COMPRESSED_RGB_S3TC_DXT1_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT1 compressed sRGB. **Available only for 2D, 2D array, cube map |
|
|
|
|
* and cube map array textures.** |
|
|
|
|
* @requires_extension Extension @gl_extension{EXT,texture_compression_s3tc} |
|
|
|
|
* @requires_es_extension Extension @gl_extension{EXT,texture_compression_s3tc_srgb} |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_s3tc_srgb} |
|
|
|
|
*/ |
|
|
|
|
CompressedSRGBS3tcDxt1 = GL_COMPRESSED_SRGB_S3TC_DXT1_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT1 compressed RGBA. **Available only on 2D, 2D array, cube map |
|
|
|
|
* and cube map array textures.** |
|
|
|
|
@ -1210,6 +1219,15 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
*/ |
|
|
|
|
CompressedRGBAS3tcDxt1 = GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT1 compressed sRGB + linear alpha. **Available only for 2D, 2D |
|
|
|
|
* array, cube map and cube map array textures.** |
|
|
|
|
* @requires_extension Extension @gl_extension{EXT,texture_compression_s3tc} |
|
|
|
|
* @requires_es_extension Extension @gl_extension{EXT,texture_compression_s3tc_srgb} |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_s3tc_srgb} |
|
|
|
|
*/ |
|
|
|
|
CompressedSRGBAlphaS3tcDxt1 = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT3 compressed RGBA. **Available only on 2D, 2D array, cube map |
|
|
|
|
* and cube map array textures.** |
|
|
|
|
@ -1219,6 +1237,15 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
*/ |
|
|
|
|
CompressedRGBAS3tcDxt3 = GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT3 compressed sRGB + linear alpha. **Available only for 2D, 2D |
|
|
|
|
* array, cube map and cube map array textures.** |
|
|
|
|
* @requires_extension Extension @gl_extension{EXT,texture_compression_s3tc} |
|
|
|
|
* @requires_es_extension Extension @gl_extension{EXT,texture_compression_s3tc_srgb} |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_s3tc_srgb} |
|
|
|
|
*/ |
|
|
|
|
CompressedSRGBAlphaS3tcDxt3 = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT5 compressed RGBA. **Available only on 2D, 2D array, cube map |
|
|
|
|
* and cube map array textures.** |
|
|
|
|
@ -1228,6 +1255,15 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
*/ |
|
|
|
|
CompressedRGBAS3tcDxt5 = GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* S3TC DXT5 compressed sRGB + linear alpha. **Available only for 2D, 2D |
|
|
|
|
* array, cube map and cube map array textures.** |
|
|
|
|
* @requires_extension Extension @gl_extension{EXT,texture_compression_s3tc} |
|
|
|
|
* @requires_es_extension Extension @gl_extension{EXT,texture_compression_s3tc_srgb} |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_s3tc_srgb} |
|
|
|
|
*/ |
|
|
|
|
CompressedSRGBAlphaS3tcDxt5 = GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT, |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_TARGET_WEBGL |
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 4x4 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
|