Class Mesh
Represents a collection of vertices and indices used to describe arbitrary geometry.
public class Mesh : IDisposable
- Inheritance
-
Mesh
- Implements
- Inherited Members
Constructors
Properties
- Bounds
Gets or sets the axis-aligned bounding box of the mesh vertices.
- DrawMode
Gets or sets a value specifying the draw mode to use for rendering the mesh.
- ElementArray
Gets the handle to the element array object.
- ElementArrayType
Gets or sets a value specifying the type of the elements in the element array object.
- VertexArray
Gets the handle to the vertex array object.
- VertexBuffer
Gets the handle to the vertex buffer object.
- VertexCount
Gets or sets the number of vertices in the mesh vertex buffer.
Methods
- Draw()
Renders primitives from mesh vertex array data.
- EnsureElementArray()
Ensures the element array object is initialized.