summaryrefslogtreecommitdiff
path: root/Runtime/Graphics/VertexAttribute.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-11-02 09:30:25 +0800
committerchai <chaifix@163.com>2021-11-02 09:30:25 +0800
commitb7511abf1a1f302b5c7ebf50faaf65b62d7bb6ed (patch)
tree7265398e248b55ede4b3550ec47660be334bf1ff /Runtime/Graphics/VertexAttribute.h
parenta11097e51fcaef4488218411f2d7b3ee34550000 (diff)
* TextMesh
Diffstat (limited to 'Runtime/Graphics/VertexAttribute.h')
-rw-r--r--Runtime/Graphics/VertexAttribute.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Runtime/Graphics/VertexAttribute.h b/Runtime/Graphics/VertexAttribute.h
index 2757c70..ae6d178 100644
--- a/Runtime/Graphics/VertexAttribute.h
+++ b/Runtime/Graphics/VertexAttribute.h
@@ -12,11 +12,12 @@
enum VertexAttrFormat
{
VertexAttrFormat_Float = 0, // position\normal\tangent\uv\uv2\uv3\uv4
- VertexAttrFormat_Float16 = 1,
- VertexAttrFormat_Color = 2, // color
- VertexAttrFormat_Byte = 3,
+ VertexAttrFormat_Float16,
+ VertexAttrFormat_Color, // color
+ VertexAttrFormat_Byte,
+ VertexAttrFormat_Unsigned_Byte,
- VertexAttrFormat_Count = 4
+ VertexAttrFormat_Count
};
struct VertexAttributeDescriptor