summaryrefslogtreecommitdiff
path: root/vid_enums.h
blob: 170b864a5bf77f8960ebbfb34ab5d40857e0ab05 (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
27
28
29
30
31
32
33
#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(rgba8i_srgb) \
	x(bgra8i_srgb) \
	x(rgba16f) \
	x(rgba32f) \
	x(bc1) \
	x(bc4) \
	x(bc5) \
	x(d16) \
	x(d24s8) \
	x(d32)

typedef enum {
#define x(n) texture_format_ ## n,
	texture_format_xmacro()
#undef x
	texture_format_count
} Texture_Format;

#endif