summaryrefslogtreecommitdiff
path: root/Runner/Shaders/ShaderChannel.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-09-10 20:30:31 +0800
committerchai <chaifix@163.com>2020-09-10 20:30:31 +0800
commit639b34294ffc20721c66db46e59e07d9100ac4b8 (patch)
tree7e1d45b536fa35e9f1559e468ea66fca99524573 /Runner/Shaders/ShaderChannel.h
*init
Diffstat (limited to 'Runner/Shaders/ShaderChannel.h')
-rw-r--r--Runner/Shaders/ShaderChannel.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Runner/Shaders/ShaderChannel.h b/Runner/Shaders/ShaderChannel.h
new file mode 100644
index 0000000..d0d2e0a
--- /dev/null
+++ b/Runner/Shaders/ShaderChannel.h
@@ -0,0 +1,27 @@
+#ifndef SHADER_CHANNEL_H
+#define SHADER_CHANNEL_H
+
+enum ShaderChannel
+{
+ ShaderChannel_Position = 0,
+ ShaderChannel_Normal = 1,
+ ShaderChannel_Tangent = 2,
+ ShaderChannel_Color = 3,
+ ShaderChannel_TexCoord0 = 4,
+ ShaderChannel_TexCoord1 = 5,
+
+ ShaderChannel_Count = 6,
+};
+
+// Vertex attributes locations
+enum VertexAttrLocs
+{
+ VertexAttrLocs_Position = 0,
+ VertexAttrLocs_Normal = 1,
+ VertexAttrLocs_Tangent = 2,
+ VertexAttrLocs_Color = 3,
+ VertexAttrLocs_TexCoord0 = 4,
+ VertexAttrLocs_TexCoord1 = 5,
+};
+
+#endif \ No newline at end of file