From 58245585cbe77e6c03ebe13f29e10393ff3c45b4 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 22 Dec 2024 22:19:36 +1100 Subject: cute asset loading system --- vid_enums.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 vid_enums.h (limited to 'vid_enums.h') 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 -- cgit v1.2.3-54-g00ecf