12 entt::meta_factory<texture_format>{}
13 .type(
"texture_format"_hs)
18 .data<texture_format::BC1>(
"BC1"_hs)
23 .data<texture_format::BC2>(
"BC2"_hs)
28 .data<texture_format::BC3>(
"BC3"_hs)
33 .data<texture_format::BC4>(
"BC4"_hs)
38 .data<texture_format::BC5>(
"BC5"_hs)
43 .data<texture_format::BC6H>(
"BC6H"_hs)
48 .data<texture_format::BC7>(
"BC7"_hs)
51 entt::attribute{
"pretty_name",
"BC7 (BC7 RGB 4-7 bits per color channel, 0-8 bits alpha)"},
53 .data<texture_format::ETC1>(
"ETC1"_hs)
58 .data<texture_format::ETC2>(
"ETC2"_hs)
63 .data<texture_format::ETC2A>(
"ETC2A"_hs)
68 .data<texture_format::ETC2A1>(
"ETC2A1"_hs)
73 .data<texture_format::PTC12>(
"PTC12"_hs)
78 .data<texture_format::PTC14>(
"PTC14"_hs)
83 .data<texture_format::PTC12A>(
"PTC12A"_hs)
88 .data<texture_format::PTC14A>(
"PTC14A"_hs)
93 .data<texture_format::PTC22>(
"PTC22"_hs)
98 .data<texture_format::PTC24>(
"PTC24"_hs)
103 .data<texture_format::ATC>(
"ATC"_hs)
108 .data<texture_format::ATCE>(
"ATCE"_hs)
111 entt::attribute{
"pretty_name",
"ATCE (ATCE RGBA 8 BPP explicit alpha)"},
113 .data<texture_format::ATCI>(
"ATCI"_hs)
116 entt::attribute{
"pretty_name",
"ATCI (ATCI RGBA 8 BPP interpolated alpha)"},
118 .data<texture_format::ASTC4x4>(
"ASTC4x4"_hs)
123 .data<texture_format::ASTC5x4>(
"ASTC5x4"_hs)
128 .data<texture_format::ASTC5x5>(
"ASTC5x5"_hs)
133 .data<texture_format::ASTC6x5>(
"ASTC6x5"_hs)
138 .data<texture_format::ASTC6x6>(
"ASTC6x6"_hs)
143 .data<texture_format::ASTC8x5>(
"ASTC8x5"_hs)
148 .data<texture_format::ASTC8x6>(
"ASTC8x6"_hs)
153 .data<texture_format::ASTC8x8>(
"ASTC8x8"_hs)
158 .data<texture_format::ASTC10x5>(
"ASTC10x5"_hs)
163 .data<texture_format::ASTC10x6>(
"ASTC10x6"_hs)
168 .data<texture_format::ASTC10x8>(
"ASTC10x8"_hs)
173 .data<texture_format::ASTC10x10>(
"ASTC10x10"_hs)
178 .data<texture_format::ASTC12x10>(
"ASTC12x10"_hs)
183 .data<texture_format::ASTC12x12>(
"ASTC12x12"_hs)
188 .data<texture_format::Unknown>(
"Unknown"_hs)
193 .data<texture_format::R1>(
"R1"_hs)
198 .data<texture_format::A8>(
"A8"_hs)
203 .data<texture_format::R8>(
"R8"_hs)
208 .data<texture_format::R8I>(
"R8I"_hs)
213 .data<texture_format::R8U>(
"R8U"_hs)
218 .data<texture_format::R8S>(
"R8S"_hs)
223 .data<texture_format::R16>(
"R16"_hs)
228 .data<texture_format::R16I>(
"R16I"_hs)
233 .data<texture_format::R16U>(
"R16U"_hs)
238 .data<texture_format::R16F>(
"R16F"_hs)
243 .data<texture_format::R16S>(
"R16S"_hs)
248 .data<texture_format::R32I>(
"R32I"_hs)
253 .data<texture_format::R32U>(
"R32U"_hs)
258 .data<texture_format::R32F>(
"R32F"_hs)
263 .data<texture_format::RG8>(
"RG8"_hs)
268 .data<texture_format::RG8I>(
"RG8I"_hs)
273 .data<texture_format::RG8U>(
"RG8U"_hs)
278 .data<texture_format::RG8S>(
"RG8S"_hs)
283 .data<texture_format::RG16>(
"RG16"_hs)
288 .data<texture_format::RG16I>(
"RG16I"_hs)
293 .data<texture_format::RG16U>(
"RG16U"_hs)
298 .data<texture_format::RG16F>(
"RG16F"_hs)
303 .data<texture_format::RG16S>(
"RG16S"_hs)
308 .data<texture_format::RG32I>(
"RG32I"_hs)
313 .data<texture_format::RG32U>(
"RG32U"_hs)
318 .data<texture_format::RG32F>(
"RG32F"_hs)
323 .data<texture_format::RGB8>(
"RGB8"_hs)
328 .data<texture_format::RGB8I>(
"RGB8I"_hs)
333 .data<texture_format::RGB8U>(
"RGB8U"_hs)
338 .data<texture_format::RGB8S>(
"RGB8S"_hs)
343 .data<texture_format::RGB9E5F>(
"RGB9E5F"_hs)
348 .data<texture_format::BGRA8>(
"BGRA8"_hs)
353 .data<texture_format::RGBA8>(
"RGBA8"_hs)
358 .data<texture_format::RGBA8I>(
"RGBA8I"_hs)
363 .data<texture_format::RGBA8U>(
"RGBA8U"_hs)
368 .data<texture_format::RGBA8S>(
"RGBA8S"_hs)
373 .data<texture_format::RGBA16>(
"RGBA16"_hs)
378 .data<texture_format::RGBA16I>(
"RGBA16I"_hs)
383 .data<texture_format::RGBA16U>(
"RGBA16U"_hs)
388 .data<texture_format::RGBA16F>(
"RGBA16F"_hs)
393 .data<texture_format::RGBA16S>(
"RGBA16S"_hs)
398 .data<texture_format::RGBA32I>(
"RGBA32I"_hs)
403 .data<texture_format::RGBA32U>(
"RGBA32U"_hs)
408 .data<texture_format::RGBA32F>(
"RGBA32F"_hs)
413 .data<texture_format::B5G6R5>(
"B5G6R5"_hs)
418 .data<texture_format::R5G6B5>(
"R5G6B5"_hs)
423 .data<texture_format::BGRA4>(
"BGRA4"_hs)
428 .data<texture_format::RGBA4>(
"RGBA4"_hs)
433 .data<texture_format::BGR5A1>(
"BGR5A1"_hs)
438 .data<texture_format::RGB5A1>(
"RGB5A1"_hs)
443 .data<texture_format::RGB10A2>(
"RGB10A2"_hs)
448 .data<texture_format::RG11B10F>(
"RG11B10F"_hs)
453 .data<texture_format::UnknownDepth>(
"UnknownDepth"_hs)
458 .data<texture_format::D16>(
"D16"_hs)
463 .data<texture_format::D24>(
"D24"_hs)
468 .data<texture_format::D24S8>(
"D24S8"_hs)
473 .data<texture_format::D32>(
"D32"_hs)
478 .data<texture_format::D16F>(
"D16F"_hs)
483 .data<texture_format::D24F>(
"D24F"_hs)
488 .data<texture_format::D32F>(
"D32F"_hs)
493 .data<texture_format::D0S8>(
"D0S8"_hs)
498 .data<texture_format::Count>(
"Count"_hs)
504 entt::meta_factory<texture_info>{}
505 .type(
"texture_info"_hs)
510 .data<nullptr, &texture_info::format>(
"format"_hs)
515 .data<nullptr, &texture_info::storageSize>(
"storageSize"_hs)
522 .data<nullptr, &texture_info::width>(
"width"_hs)
527 .data<nullptr, &texture_info::height>(
"height"_hs)
532 .data<nullptr, &texture_info::depth>(
"depth"_hs)
537 .data<nullptr, &texture_info::numMips>(
"numMips"_hs)
542 .data<nullptr, &texture_info::bitsPerPixel>(
"bitsPerPixel"_hs)
547 .data<nullptr, &texture_info::cubeMap>(
"cubeMap"_hs)
554 entt::meta_factory<texture>{}
560 .data<nullptr, &texture::info>(
"info"_hs)