|
| | RectangleMesh (const std::string &name) |
| | Constructor. More...
|
| |
| | RectangleMesh (const RectangleMesh &other, const std::string &newName) |
| | Copy constructor. More...
|
| |
| bool | load (const float size) |
| | Load this rectangle. More...
|
| |
| bool | load (const glm::vec2 &size) |
| | Load this rectangle using differing dimensions. More...
|
| |
| bool | load (const float size, const glm::vec2 &min, const glm::vec2 &max) |
| | Load rectangle from specific part of texture. More...
|
| |
| bool | load (const glm::vec2 &size, const glm::vec2 &min, const glm::vec2 &max) |
| | Load rectangle from specific part of texture. More...
|
| |
| const glm::vec2 & | getSize () const |
| | Get the size. More...
|
| |
| | Mesh (const std::string &name) |
| | Constructor. More...
|
| |
| | Mesh (const Mesh &other, const std::string &newName) |
| | Copy constructor. More...
|
| |
| bool | load (const void *vertexData, const uint32 vertexBytes, const uint32 vertexComponents, const void *indexData=nullptr, const uint16 indexSize=0, const uint32 indexAmount=0) |
| | Load mesh from memory. More...
|
| |
| bool | load (const std::vector< Vertex > &vertexArray, const std::vector< unsigned int > &indexArray) |
| | Load mesh from memory using default vertex format. More...
|
| |
| void | draw () const |
| | Draw this mesh. More...
|
| |
| void | destroy () |
| | Destroy this mesh. More...
|
| |
| const std::pair< glm::vec3, glm::vec3 > & | getBounds () const |
| | Get the bounds of this mesh. More...
|
| |
| unsigned int | getVertexAmount () const |
| | Get the vertex amount. More...
|
| |
| uint16 | getVertexSize () const |
| | Get the total vertex size. More...
|
| |
| void * | getVertexOffset (const VertexComponent component) const |
| | Get the byte offset for the given component. More...
|
| |
| bool | hasVertexComponent (const uint32 component) const |
| | Check if this mesh has a vertex component. More...
|
| |
| unsigned int | getElementAmount () const |
| | Get the element (index) amount. More...
|
| |
| uint16 | getElementSize () const |
| | Get the element size. More...
|
| |
| unsigned int | getElementEnum () const |
| | Get the element type OpenGL enum. More...
|
| |
| const VertexBuffer & | getIndexBuffer () const |
| | Returns index buffer. More...
|
| |
| const VertexBuffer & | getVertexBuffer () const |
| | Returns vertex buffer. More...
|
| |
| void | updateBounds (const glm::vec3 &min, const glm::vec3 &max) |
| | Manually update the bounds of this mesh. More...
|
| |
| | Resource (const std::string &name) |
| | Constructor. More...
|
| |
| virtual | ~Resource ()=0 |
| | Virtual destructor. More...
|
| |
| const std::string & | getName () const |
| | Get the name of this resource. More...
|
| |
| void | setPersistence (const unsigned short level) |
| | Set the persistence level. More...
|
| |
| unsigned short | getPersistence () const |
| | Get the persistence level. More...
|
| |
| WeakReference< Resource > | getReference () const |
| | Get a weak reference to the bound object. More...
|
| |
| | SerializeInfo () |
| |
| void | setSerializePackage (const uint16 package) |
| |
| uint16 | getSerializePackage () const |
| |
| void | setShouldSerialize (const bool set) |
| |
| bool | shouldSerialize () const |
| |
| void | setLightSerializeable (const bool set) |
| |
| bool | isLightSerializeable () const |
| |
Definition at line 35 of file RectangleMesh.hpp.