43 INTERNAL_R8_UNORM = 0x8229,
44 INTERNAL_RG8_UNORM = 0x822B,
45 INTERNAL_RGB8_UNORM = 0x8051,
46 INTERNAL_RGBA8_UNORM = 0x8058,
48 INTERNAL_R16_UNORM = 0x822A,
49 INTERNAL_RG16_UNORM = 0x822C,
50 INTERNAL_RGB16_UNORM = 0x8054,
51 INTERNAL_RGBA16_UNORM = 0x805B,
53 INTERNAL_RGB10A2_UNORM = 0x8059,
56 INTERNAL_R8_SNORM = 0x8F94,
57 INTERNAL_RG8_SNORM = 0x8F95,
58 INTERNAL_RGB8_SNORM = 0x8F96,
59 INTERNAL_RGBA8_SNORM = 0x8F97,
61 INTERNAL_R16_SNORM = 0x8F98,
62 INTERNAL_RG16_SNORM= 0x8F99,
63 INTERNAL_RGB16_SNORM= 0x8F9A,
64 INTERNAL_RGBA16_SNORM = 0x8F9B,
67 INTERNAL_R8U = 0x8232,
68 INTERNAL_RG8U = 0x8238,
69 INTERNAL_RGB8U = 0x8D7D,
70 INTERNAL_RGBA8U = 0x8D7C,
72 INTERNAL_R16U = 0x8234,
73 INTERNAL_RG16U = 0x823A,
74 INTERNAL_RGB16U = 0x8D77,
75 INTERNAL_RGBA16U = 0x8D76,
77 INTERNAL_R32U = 0x8236,
78 INTERNAL_RG32U = 0x823C,
79 INTERNAL_RGB32U = 0x8D71,
80 INTERNAL_RGBA32U = 0x8D70,
82 INTERNAL_RGB10A2U = 0x906F,
85 INTERNAL_R8I = 0x8231,
86 INTERNAL_RG8I = 0x8237,
87 INTERNAL_RGB8I = 0x8D8F,
88 INTERNAL_RGBA8I = 0x8D8E,
90 INTERNAL_R16I = 0x8233,
91 INTERNAL_RG16I = 0x8239,
92 INTERNAL_RGB16I = 0x8D89,
93 INTERNAL_RGBA16I = 0x8D88,
95 INTERNAL_R32I = 0x8235,
96 INTERNAL_RG32I = 0x823B,
97 INTERNAL_RGB32I = 0x8D83,
98 INTERNAL_RGBA32I = 0x8D82,
101 INTERNAL_R16F = 0x822D,
102 INTERNAL_RG16F = 0x822F,
103 INTERNAL_RGB16F = 0x881B,
104 INTERNAL_RGBA16F = 0x881A,
106 INTERNAL_R32F = 0x822E,
107 INTERNAL_RG32F = 0x8230,
108 INTERNAL_RGB32F = 0x8815,
109 INTERNAL_RGBA32F = 0x8814,
112 INTERNAL_SR8 = 0x8FBD,
113 INTERNAL_SRG8 = 0x8FBE,
114 INTERNAL_SRGB8 = 0x8C41,
115 INTERNAL_SRGB8_ALPHA8 = 0x8C43,
118 INTERNAL_RGB9E5 = 0x8C3D,
119 INTERNAL_RG11B10F = 0x8C3A,
120 INTERNAL_RG3B2 = 0x2A10,
121 INTERNAL_R5G6B5 = 0x8D62,
122 INTERNAL_RGB5A1 = 0x8057,
123 INTERNAL_RGBA4 = 0x8056,
126 INTERNAL_LA4 = 0x8043,
127 INTERNAL_L8 = 0x8040,
128 INTERNAL_A8 = 0x803C,
129 INTERNAL_LA8 = 0x8045,
130 INTERNAL_L16 = 0x8042,
131 INTERNAL_A16 = 0x803E,
132 INTERNAL_LA16 = 0x8048,
135 INTERNAL_D16 = 0x81A5,
136 INTERNAL_D24 = 0x81A6,
137 INTERNAL_D24S8 = 0x88F0,
138 INTERNAL_D32 = 0x81A7,
139 INTERNAL_D32F = 0x8CAC,
140 INTERNAL_D32FS8X24 = 0x8CAD,
143 INTERNAL_RGB_DXT1 = 0x83F0,
144 INTERNAL_RGBA_DXT1 = 0x83F1,
145 INTERNAL_RGBA_DXT3 = 0x83F2,
146 INTERNAL_RGBA_DXT5 = 0x83F3,
147 INTERNAL_R_ATI1N_UNORM = 0x8DBB,
148 INTERNAL_R_ATI1N_SNORM = 0x8DBC,
149 INTERNAL_RG_ATI2N_UNORM = 0x8DBD,
150 INTERNAL_RG_ATI2N_SNORM = 0x8DBE,
151 INTERNAL_RGB_BP_UNSIGNED_FLOAT = 0x8E8F,
152 INTERNAL_RGB_BP_SIGNED_FLOAT = 0x8E8E,
153 INTERNAL_RGB_BP_UNORM = 0x8E8C,
154 INTERNAL_RGB_PVRTC_4BPPV1 = 0x8C00,
155 INTERNAL_RGB_PVRTC_2BPPV1 = 0x8C01,
156 INTERNAL_RGBA_PVRTC_4BPPV1 = 0x8C02,
157 INTERNAL_RGBA_PVRTC_2BPPV1 = 0x8C03,
158 INTERNAL_RGBA_PVRTC_4BPPV2 = 0x9137,
159 INTERNAL_RGBA_PVRTC_2BPPV2 = 0x9138,
160 INTERNAL_ATC_RGB = 0x8C92,
161 INTERNAL_ATC_RGBA_EXPLICIT_ALPHA = 0x8C93,
162 INTERNAL_ATC_RGBA_INTERPOLATED_ALPHA = 0x87EE,
164 INTERNAL_RGB_ETC = 0x8D64,
165 INTERNAL_RGB_ETC2 = 0x9274,
166 INTERNAL_RGBA_PUNCHTHROUGH_ETC2 = 0x9276,
167 INTERNAL_RGBA_ETC2 = 0x9278,
168 INTERNAL_R11_EAC = 0x9270,
169 INTERNAL_SIGNED_R11_EAC = 0x9271,
170 INTERNAL_RG11_EAC = 0x9272,
171 INTERNAL_SIGNED_RG11_EAC = 0x9273,
173 INTERNAL_RGBA_ASTC_4x4 = 0x93B0,
174 INTERNAL_RGBA_ASTC_5x4 = 0x93B1,
175 INTERNAL_RGBA_ASTC_5x5 = 0x93B2,
176 INTERNAL_RGBA_ASTC_6x5 = 0x93B3,
177 INTERNAL_RGBA_ASTC_6x6 = 0x93B4,
178 INTERNAL_RGBA_ASTC_8x5 = 0x93B5,
179 INTERNAL_RGBA_ASTC_8x6 = 0x93B6,
180 INTERNAL_RGBA_ASTC_8x8 = 0x93B7,
181 INTERNAL_RGBA_ASTC_10x5 = 0x93B8,
182 INTERNAL_RGBA_ASTC_10x6 = 0x93B9,
183 INTERNAL_RGBA_ASTC_10x8 = 0x93BA,
184 INTERNAL_RGBA_ASTC_10x10 = 0x93BB,
185 INTERNAL_RGBA_ASTC_12x10 = 0x93BC,
186 INTERNAL_RGBA_ASTC_12x12 = 0x93BD,
189 INTERNAL_SRGB_DXT1 = 0x8C4C,
190 INTERNAL_SRGB_ALPHA_DXT1 = 0x8C4C,
191 INTERNAL_SRGB_ALPHA_DXT3 = 0x8C4E,
192 INTERNAL_SRGB_ALPHA_DXT5 = 0x8C4F,
193 INTERNAL_SRGB_BP_UNORM = 0x8E8D,
194 INTERNAL_SRGB_PVRTC_2BPPV1 = 0x8A54,
195 INTERNAL_SRGB_PVRTC_4BPPV1 = 0x8A55,
196 INTERNAL_SRGB_ALPHA_PVRTC_2BPPV1 = 0x8A56,
197 INTERNAL_SRGB_ALPHA_PVRTC_4BPPV1 = 0x8A57,
198 INTERNAL_SRGB_ALPHA_PVRTC_2BPPV2 = 0x93F0,
199 INTERNAL_SRGB_ALPHA_PVRTC_4BPPV2 = 0x93F1,
200 INTERNAL_SRGB8_ETC2 = 0x9275,
201 INTERNAL_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 0x9277,
202 INTERNAL_SRGB8_ALPHA8_ETC2_EAC = 0x9279,
203 INTERNAL_SRGB8_ALPHA8_ASTC_4x4 = 0x93D0,
204 INTERNAL_SRGB8_ALPHA8_ASTC_5x4 = 0x93D1,
205 INTERNAL_SRGB8_ALPHA8_ASTC_5x5 = 0x93D2,
206 INTERNAL_SRGB8_ALPHA8_ASTC_6x5 = 0x93D3,
207 INTERNAL_SRGB8_ALPHA8_ASTC_6x6 = 0x93D4,
208 INTERNAL_SRGB8_ALPHA8_ASTC_8x5 = 0x93D5,
209 INTERNAL_SRGB8_ALPHA8_ASTC_8x6 = 0x93D6,
210 INTERNAL_SRGB8_ALPHA8_ASTC_8x8 = 0x93D7,
211 INTERNAL_SRGB8_ALPHA8_ASTC_10x5 = 0x93D8,
212 INTERNAL_SRGB8_ALPHA8_ASTC_10x6 = 0x93D9,
213 INTERNAL_SRGB8_ALPHA8_ASTC_10x8 = 0x93DA,
214 INTERNAL_SRGB8_ALPHA8_ASTC_10x10 = 0x93DB,
215 INTERNAL_SRGB8_ALPHA8_ASTC_12x10 = 0x93DC,
216 INTERNAL_SRGB8_ALPHA8_ASTC_12x12 = 0x93DD
222 EXTERNAL_RED = 0x1903,
223 EXTERNAL_RG = 0x8227,
224 EXTERNAL_RGB= 0x1907,
225 EXTERNAL_BGR = 0x80E0,
226 EXTERNAL_RGBA = 0x1908,
227 EXTERNAL_BGRA = 0x80E1,
228 EXTERNAL_RED_INTEGER = 0x8D94,
229 EXTERNAL_RG_INTEGER = 0x8228,
230 EXTERNAL_RGB_INTEGER = 0x8D98,
231 EXTERNAL_BGR_INTEGER = 0x8D9A,
232 EXTERNAL_RGBA_INTEGER = 0x8D99,
233 EXTERNAL_BGRA_INTEGER = 0x8D9B,
234 EXTERNAL_DEPTH = 0x1902,
235 EXTERNAL_DEPTH_STENCIL = 0x84F9,
237 EXTERNAL_LUMINANCE = 0x1909,
238 EXTERNAL_ALPHA = 0x1906,
239 EXTERNAL_LUMINANCE_ALPHA = 0x190A,
253 TYPE_UINT32_RGB9_E5 = 0x8C3E,
254 TYPE_UINT32_RG11B10F = 0x8C3B,
255 TYPE_UINT8_RG3B2 = 0x8032,
256 TYPE_UINT8_RG3B2_REV = 0x8362,
257 TYPE_UINT16_RGB5A1 = 0x8034,
258 TYPE_UINT16_RGB5A1_REV = 0x8366,
259 TYPE_UINT16_R5G6B5 = 0x8363,
260 TYPE_UINT16_R5G6B5_REV = 0x8364,
261 TYPE_UINT16_RGBA4 = 0x8033,
262 TYPE_UINT16_RGBA4_REV = 0x8365,
263 TYPE_UINT32_RGB10A2 = 0x8036,
264 TYPE_UINT32_RGB10A2_REV = 0x8368
270 TARGET_1D_ARRAY = 0x8C18,
272 TARGET_2D_ARRAY = 0x8C1A,
274 TARGET_CUBE = 0x8513,
275 TARGET_CUBE_ARRAY = 0x9009
280 SWIZZLE_RED = 0x1903,
281 SWIZZLE_GREEN = 0x1904,
282 SWIZZLE_BLUE = 0x1905,
283 SWIZZLE_ALPHA = 0x1906,
284 SWIZZLE_ZERO = 0x0000,
285 SWIZZLE_ONE = 0x0001,
290 internalFormat Internal;
291 externalFormat External;
298 target
const & translate(gli::target Target)
const;
299 format
const & translate(gli::format Format)
const;
300 gli::format find(internalFormat internalFormat, externalFormat externalFormat, typeFormat type);
303 std::array<format, FORMAT_COUNT> Translation;
307 #include "./core/gl.inl"
OpenGL Image (gli.g-truc.net)
OpenGL Image (gli.g-truc.net)