LeviLamina
Loading...
Searching...
No Matches
TextureFormat.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5#include "mc/deps/core/image/ImageFormat.h"
6
7namespace mce {
8
9enum class TextureFormat : uint {
10 UnknownTextureFormat = 0,
11 R32g32b32a32Float = 2,
12 R16g16b16a16Float = 10,
13 R16g16b16a16Unorm = 11,
14 R32g32Float = 16,
15 R10g10b10a2Unorm = 24,
16 R11g11b10Float = 26,
17 R8g8b8a8Unorm = 28,
18 R8g8b8a8UnormSrgb = 29,
19 R16g16Float = 34,
20 R16g16Unorm = 35,
21 R16g16Uint = 36,
22 R16g16Snorm = 37,
23 D32Float = 40,
24 R32Float = 41,
25 R32Uint = 42,
26 R24g8Typeless = 44,
27 D24UnormS8Uint = 45,
28 R24UnormX8Typeless = 46,
29 R8g8Unorm = 49,
30 R8g8Snorm = 51,
31 R16Float = 54,
32 D16Unorm = 55,
33 R8Unorm = 61,
34 R8Uint = 62,
35 A8Unorm = 65,
36 Bc3Unorm = 77,
37 R5g6b5Unorm = 85,
38 R5g5b5a1Unorm = 86,
39 B8g8r8a8Unorm = 87,
40 B8g8r8a8UnormSrgb = 91,
41 Bc7Unorm = 98,
42 R4g4b4a4Unorm = 115,
43 S8Uint = 116,
44 Astc4x4 = 117,
45 Astc5x4 = 118,
46 Astc5x5 = 119,
47 Astc6x5 = 120,
48 Astc6x6 = 121,
49 Astc8x5 = 122,
50 Astc8x6 = 123,
51 Astc8x8 = 124,
52 Astc10x5 = 125,
53 Astc10x6 = 126,
54 Astc10x8 = 127,
55 Astc10x10 = 128,
56 Astc12x10 = 129,
57 Astc12x12 = 130,
58 Astc4x4Srgb = 131,
59 Astc5x4Srgb = 132,
60 Astc5x5Srgb = 133,
61 Astc6x5Srgb = 134,
62 Astc6x6Srgb = 135,
63 Astc8x5Srgb = 136,
64 Astc8x6Srgb = 137,
65 Astc8x8Srgb = 138,
66 Astc10x5Srgb = 139,
67 Astc10x6Srgb = 140,
68 Astc10x8Srgb = 141,
69 Astc10x10Srgb = 142,
70 Astc12x10Srgb = 143,
71 Astc12x12Srgb = 144,
72 R8g8b8Unorm = 145,
73};
74
75LLAPI mce::TextureFormat translateImageFormat(const mce::ImageFormat imageFormat);
76
77} // namespace mce