xoreos
0.0.5
|
#include <meshquad.h>
Public Member Functions | |
MeshQuad () | |
Public Member Functions inherited from Graphics::Mesh::Mesh | |
Mesh (GLuint type=GL_TRIANGLES, GLuint hint=GL_STATIC_DRAW) | |
~Mesh () | |
VertexBuffer * | getVertexBuffer () |
IndexBuffer * | getIndexBuffer () |
void | setName (const Common::UString &name) |
const Common::UString & | getName () const |
void | setType (GLuint type) |
GLuint | getType () const |
void | setHint (GLuint hint) |
GLuint | getHint () const |
void | init () |
General mesh initialisation, queuing the mesh for GL resource creation. More... | |
void | initGL () |
void | updateGL () |
void | destroyGL () |
void | renderImmediate () |
void | renderBind () |
Follows the steps of renderImmediate, but broken into different functions. More... | |
void | render () |
void | renderUnbind () |
void | useIncrement () |
void | useDecrement () |
uint32 | useCount () const |
const glm::vec3 & | getCentre () const |
float | getRadius () const |
Public Member Functions inherited from Graphics::GLContainer | |
GLContainer () | |
~GLContainer () | |
void | rebuild () |
void | destroy () |
Public Member Functions inherited from Graphics::Queueable | |
Queueable () | |
virtual | ~Queueable () |
virtual bool | operator< (const Queueable &q) const |
Additional Inherited Members | |
Protected Member Functions inherited from Graphics::Mesh::Mesh | |
virtual void | doRebuild () |
Initialise GL components with data taken from vertex buffers. More... | |
virtual void | doDestroy () |
Free GL resources. More... | |
Protected Member Functions inherited from Graphics::Queueable | |
bool | isInQueue (QueueType queue) const |
void | addToQueue (QueueType queue) |
void | removeFromQueue (QueueType queue) |
void | lockQueue (QueueType queue) |
void | unlockQueue (QueueType queue) |
void | sortQueue (QueueType queue) |
Protected Attributes inherited from Graphics::Mesh::Mesh | |
VertexBuffer | _vertexBuffer |
IndexBuffer | _indexBuffer |
GLuint | _type |
GLuint | _hint |
Definition at line 34 of file meshquad.h.
Graphics::Mesh::MeshQuad::MeshQuad | ( | ) |
Definition at line 31 of file meshquad.cpp.
References Graphics::Mesh::Mesh::_vertexBuffer, Graphics::VertexBuffer::getData(), Graphics::VertexBuffer::setVertexDeclLinear(), Graphics::VPOSITION, and Graphics::VTCOORD.