From b7511abf1a1f302b5c7ebf50faaf65b62d7bb6ed Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 2 Nov 2021 09:30:25 +0800 Subject: * TextMesh --- Runtime/Graphics/VertexAttribute.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'Runtime/Graphics/VertexAttribute.h') 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 -- cgit v1.1-26-g67d0