From f0807fc44dde14531759306317611bab87c8fccf Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 19 Oct 2020 09:13:58 +0800 Subject: +gamelab proj --- Runtime/Shaders/ShaderChannel.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Runtime/Shaders/ShaderChannel.h (limited to 'Runtime/Shaders/ShaderChannel.h') 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 -- cgit v1.1-26-g67d0