Version: 2020.1
LanguageEnglish
  • C#

VertexAttributeFormat

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Data type of a VertexAttribute.

Individual components of a Mesh vertex can use different data types. For example, a vertex normal could be stored as either 32-bit float, or 16-bit float numbers.

See Also: VertexAttribute, Mesh.GetVertexAttributeFormat, Mesh.GetVertexAttributes, VertexAttributeDescriptor.

Properties

Float3232-bit float number.
Float1616-bit float number.
UNorm88-bit unsigned normalized number.
SNorm88-bit signed normalized number.
UNorm1616-bit unsigned normalized number.
SNorm1616-bit signed normalized number.
UInt88-bit unsigned integer.
SInt88-bit signed integer.
UInt1616-bit unsigned integer.
SInt1616-bit signed integer.
UInt3232-bit unsigned integer.
SInt3232-bit signed integer.

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