diff options
author | quou <quou@disroot.org> | 2024-12-22 22:19:36 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-22 22:19:36 +1100 |
commit | 58245585cbe77e6c03ebe13f29e10393ff3c45b4 (patch) | |
tree | 6c3dcd8e9adcbc699318d4062bb2cf594116702e /vid_enums.h | |
parent | 82767020e84ec8c1af2e3817fc7efede5497c82d (diff) |
cute asset loading system
Diffstat (limited to 'vid_enums.h')
-rw-r--r-- | vid_enums.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/vid_enums.h b/vid_enums.h new file mode 100644 index 0000000..fca4f06 --- /dev/null +++ b/vid_enums.h @@ -0,0 +1,26 @@ +#ifndef vid_enums_h +#define vid_enums_h + +#define texture_format_xmacro() \ + x(r8i) \ + x(r16f) \ + x(r32f) \ + x(rg8i) \ + x(rg16f) \ + x(rg32f) \ + x(rgb8i) \ + x(rgb16f) \ + x(rgb32f) \ + x(rgba8i) \ + x(rgba16f) \ + x(rgba32f) \ + x(bc1) + +typedef enum { +#define x(n) texture_format_ ## n, + texture_format_xmacro() +#undef x + texture_format_count +} Texture_Format; + +#endif |