summaryrefslogtreecommitdiff
path: root/vid_enums.h
blob: fca4f0687dba935b33dd9f3fdb80bab653d70318 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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