RVTDocs.com

VertexFormatBits

Enumeration
Description:
Vertex format (i.e., the type of data associated with a vertex) represented as a number.
Remarks:
VertexFormatBits can be used to specify the vertex format in the creation of the following objects:
  1. EffectInstance
  2. VertexFormat
VertexFormatBits is not to be confused with VertexFormat. The latter type of object is associated with low-level graphics functionality and may become invalid. VertexFormat is needed to submit a set of vertex and index buffers for rendering (see DrawContext).
Syntax
public enum VertexFormatBits
VertexFormatBits Enumeration Members:
Name Description
1 Vertex format consisting of a position.
3 Vertex format consisting of a position and a normal vector.
5 Vertex format consisting of a position and a color.
7 Vertex format consisting of a position, a normal vector, and a color.