The Joe Engine
Joe's engine programming playground
|
The Mesh Component class. More...
#include <MeshComponent.h>
Public Member Functions | |
MeshComponent () | |
Default constructor. More... | |
MeshComponent (int h, JE_MESH_BUFFER_TYPE t) | |
Constructor. More... | |
MeshComponent (int v, int i, JE_MESH_BUFFER_TYPE t) | |
Constructor. More... | |
~MeshComponent () | |
Destructor (default). More... | |
int | GetVertexHandle () const |
Vertex handle Getter. More... | |
int | GetIndexHandle () const |
Index handle Getter. More... | |
The Mesh Component class.
Contains the necessary mesh info to be attached to a particular entity. These handles are used to access mesh data managed by the MeshBufferManager class.
|
inline |
Default constructor.
Constructs components with invalid vertex/index buffer handles and triangle type.
|
inline |
Constructor.
Constructs component with specified vertex buffer handle and type. The index buffer will have the same value as the vertex buffer.
|
inline |
Constructor.
Constructs component with specified vertex / index buffer handles and type.
|
inline |
Destructor (default).
|
inline |
Index handle Getter.
Returns the component's index buffer handle.
|
inline |
Vertex handle Getter.
Returns the component's vertex buffer handle.