- <init>
Creates a new mesh with no VertexBuffer.
- setBuffer
Sets the VertexBuffer on the mesh. This will update the vertex/triangle counts
if needed.
- getBuffer
Get the VertexBuffer stored on this mesh with the given type.
- updateBound
Updates the bounding volume of this mesh. The method does nothing if the mesh
has no Type#Position b
- getVertexCount
Returns the number of vertices on this mesh. The value is computed based on the
position buffer, whi
- setMode
Change the Mesh's mode. By default the mode is Mode#Triangles.
- setStatic
Indicates to the GPU that this mesh will not be modified (a hint). Sets the
usage mode to Usage#Stat
- getFloatBuffer
Get the VertexBuffer data stored on this mesh in float format.
- getMode
Returns the mesh mode
- updateCounts
Update the #getVertexCount() and #getTriangleCount() counts for this mesh based
on the current data.
- getTriangleCount
Returns the triangle count for the given LOD level.
- clearBuffer
Unsets the VertexBuffer set on this mesh with the given type. Does nothing if
the vertex buffer type