diff options
Diffstat (limited to 'gfx/src/core/constants.h')
-rw-r--r-- | gfx/src/core/constants.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gfx/src/core/constants.h b/gfx/src/core/constants.h new file mode 100644 index 0000000..a6a3b94 --- /dev/null +++ b/gfx/src/core/constants.h | |||
@@ -0,0 +1,9 @@ | |||
1 | #pragma once | ||
2 | |||
3 | // Shaders vertex attribute locations must match the channels here. | ||
4 | #define GFX_POSITION_CHANNEL 0 | ||
5 | #define GFX_NORMAL_CHANNEL 1 | ||
6 | #define GFX_TANGENT_CHANNEL 2 | ||
7 | #define GFX_TEXCOORDS_CHANNEL 3 | ||
8 | #define GFX_JOINTS_CHANNEL 4 | ||
9 | #define GFX_WEIGHTS_CHANNEL 5 | ||