summaryrefslogtreecommitdiff
path: root/Runtime/Shaders/ShaderChannel.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-10-19 09:13:58 +0800
committerchai <chaifix@163.com>2020-10-19 09:13:58 +0800
commitf0807fc44dde14531759306317611bab87c8fccf (patch)
tree6e78fed61c16a70cda5fa732635f89f9faac9720 /Runtime/Shaders/ShaderChannel.h
parent639b34294ffc20721c66db46e59e07d9100ac4b8 (diff)
+gamelab proj
Diffstat (limited to 'Runtime/Shaders/ShaderChannel.h')
-rw-r--r--Runtime/Shaders/ShaderChannel.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Runtime/Shaders/ShaderChannel.h b/Runtime/Shaders/ShaderChannel.h
new file mode 100644
index 0000000..d0d2e0a
--- /dev/null
+++ b/Runtime/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