|
|
|
|
@ -1334,7 +1334,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc4x4 = GL_COMPRESSED_RGBA_ASTC_4x4_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc4x4 = GL_COMPRESSED_RGBA_ASTC_4x4, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 4x4 blocks. **Available only on 2D, |
|
|
|
|
@ -1348,7 +1352,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc4x4 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc4x4 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 5x4 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1362,7 +1370,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc5x4 = GL_COMPRESSED_RGBA_ASTC_5x4_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc5x4 = GL_COMPRESSED_RGBA_ASTC_5x4, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 5x4 blocks. **Available only on 2D, |
|
|
|
|
@ -1376,7 +1388,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc5x4 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc5x4 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 5x5 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1390,7 +1406,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc5x5 = GL_COMPRESSED_RGBA_ASTC_5x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc5x5 = GL_COMPRESSED_RGBA_ASTC_5x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 5x5 blocks. **Available only on 2D, |
|
|
|
|
@ -1404,7 +1424,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc5x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc5x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 6x5 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1418,7 +1442,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc6x5 = GL_COMPRESSED_RGBA_ASTC_6x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc6x5 = GL_COMPRESSED_RGBA_ASTC_6x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 6x5 blocks. **Available only on 2D, |
|
|
|
|
@ -1432,7 +1460,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc6x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc6x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 6x6 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1446,7 +1478,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc6x6 = GL_COMPRESSED_RGBA_ASTC_6x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc6x6 = GL_COMPRESSED_RGBA_ASTC_6x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 6x6 blocks. **Available only on 2D, |
|
|
|
|
@ -1460,7 +1496,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc6x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc6x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 8x5 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1474,7 +1514,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc8x5 = GL_COMPRESSED_RGBA_ASTC_8x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc8x5 = GL_COMPRESSED_RGBA_ASTC_8x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 8x5 blocks. **Available only on 2D, |
|
|
|
|
@ -1488,7 +1532,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc8x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc8x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 8x6 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1502,7 +1550,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc8x6 = GL_COMPRESSED_RGBA_ASTC_8x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc8x6 = GL_COMPRESSED_RGBA_ASTC_8x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 8x6 blocks. **Available only on 2D, |
|
|
|
|
@ -1516,7 +1568,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc8x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc8x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 8x8 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1530,7 +1586,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc8x8 = GL_COMPRESSED_RGBA_ASTC_8x8_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc8x8 = GL_COMPRESSED_RGBA_ASTC_8x8, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 8x8 blocks. **Available only on 2D, |
|
|
|
|
@ -1544,7 +1604,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc8x8 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc8x8 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 10x5 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1558,7 +1622,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc10x5 = GL_COMPRESSED_RGBA_ASTC_10x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc10x5 = GL_COMPRESSED_RGBA_ASTC_10x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 10x5 blocks. **Available only on |
|
|
|
|
@ -1572,7 +1640,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc10x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc10x5 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 10x6 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1586,7 +1658,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc10x6 = GL_COMPRESSED_RGBA_ASTC_10x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc10x6 = GL_COMPRESSED_RGBA_ASTC_10x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 10x6 blocks. **Available only on |
|
|
|
|
@ -1600,7 +1676,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc10x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc10x6 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 10x8 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1614,7 +1694,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc10x8 = GL_COMPRESSED_RGBA_ASTC_10x8_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc10x8 = GL_COMPRESSED_RGBA_ASTC_10x8, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 10x8 blocks. **Available only on |
|
|
|
|
@ -1628,7 +1712,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc10x8 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc10x8 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 10x10 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1642,7 +1730,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc10x10 = GL_COMPRESSED_RGBA_ASTC_10x10_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc10x10 = GL_COMPRESSED_RGBA_ASTC_10x10, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 10x10 blocks. **Available only on |
|
|
|
|
@ -1656,7 +1748,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc10x10 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc10x10 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 12x10 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1670,7 +1766,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc12x10 = GL_COMPRESSED_RGBA_ASTC_12x10_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc12x10 = GL_COMPRESSED_RGBA_ASTC_12x10, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 12x10 blocks. **Available only on |
|
|
|
|
@ -1684,7 +1784,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc12x10 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc12x10 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed RGBA with 12x12 blocks. **Available only on 2D, 3D, 2D |
|
|
|
|
@ -1698,7 +1802,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedRGBAAstc12x12 = GL_COMPRESSED_RGBA_ASTC_12x12_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedRGBAAstc12x12 = GL_COMPRESSED_RGBA_ASTC_12x12, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* ASTC compressed sRGB with alpha with 12x12 blocks. **Available only on |
|
|
|
|
@ -1712,7 +1820,11 @@ enum class TextureFormat: GLenum {
|
|
|
|
|
* for 3D textures and HDR profile |
|
|
|
|
* @requires_webgl_extension Extension @webgl_extension{WEBGL,compressed_texture_astc} |
|
|
|
|
*/ |
|
|
|
|
#if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) || defined(MAGNUM_TARGET_WEBGL) |
|
|
|
|
CompressedSRGB8Alpha8Astc12x12 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR, |
|
|
|
|
#else |
|
|
|
|
CompressedSRGB8Alpha8Astc12x12 = GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12, |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#if defined(DOXYGEN_GENERATING_OUTPUT) || defined(MAGNUM_TARGET_GLES) |
|
|
|
|
/**
|
|
|
|
|
|