Describes the vertex format used by a IModelGeometry.
[Flags]
|
|||||
enum
|
ModelVertexFormat
|
This is the vertex element usage pattern of a geometry buffer:
Position
|
= 0
|
Geometry
buffer
stores
vertex
position
in
Position
at
index
Remarks: This is a pseudo flag. Vertex positions are always stored. See also: Semantic.Position |
---|---|---|
Normal
|
= 0x01
|
Geometry
buffer
stores
vertex
normal
vectors
in
Normal
at
index
See also: Semantic.Normal |
TangentX
|
= 0x02
|
Geometry
buffer
stores
vertex
tangent
vectors
(along
texture
X-axis
in
Tangent
at
index
See also: Semantic.TangentX |
TangentY
|
= 0x04
|
Geometry
buffer
stores
vertex
tangent
vectors
(along
texture
Y-axis)
in
Tangent
at
index
See also: Semantic.TangentY |
Albedo
|
= 0x08
|
Geometry
buffer
stores
vertex
albedo
colors
(red,
green
and
blue
channels)
and
transparency
(alpha
channel)
in
Color
at
index
See also: Semantic.Texture |
TextureCoords
|
= 0x10
|
Geometry
buffer
stores
texture
coordinates
in
TextureCoords
at
index
See also: Semantic.TextureCoords |