Version: 2023.2

VertexAttributeFormat

enumeration

切换到手册

描述

VertexAttribute 的数据类型。

Mesh 顶点的各个分量可以使用不同的数据类型。例如,顶点法线可以存储为 32 位浮点数或 16 位浮点数。

另请参阅:VertexAttributeMesh.GetVertexAttributeFormatMesh.GetVertexAttributesVertexAttributeDescriptor

变量

Float3232 位浮点数。
Float1616 位浮点数。
UNorm88 位无符号标准化数字。
SNorm88 位有符号标准化数字。
UNorm1616 位无符号标准化数字。
SNorm1616 位有符号标准化数字。
UInt88 位无符号整数。
SInt88 位有符号整数。
UInt1616 位无符号整数。
SInt1616 位有符号整数。
UInt3232 位无符号整数。
SInt3232 位有符号整数。

Did you find this page useful? Please give it a rating: