xoreos  0.0.5
Public Member Functions | List of all members
Graphics::Mesh::MeshQuad Class Reference

#include <meshquad.h>

Inheritance diagram for Graphics::Mesh::MeshQuad:
Inheritance graph
[legend]
Collaboration diagram for Graphics::Mesh::MeshQuad:
Collaboration graph
[legend]

Public Member Functions

 MeshQuad ()
 
- Public Member Functions inherited from Graphics::Mesh::Mesh
 Mesh (GLuint type=GL_TRIANGLES, GLuint hint=GL_STATIC_DRAW)
 
 ~Mesh ()
 
VertexBuffergetVertexBuffer ()
 
IndexBuffergetIndexBuffer ()
 
void setName (const Common::UString &name)
 
const Common::UStringgetName () 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
 

Detailed Description

Definition at line 34 of file meshquad.h.

Constructor & Destructor Documentation

◆ MeshQuad()

Graphics::Mesh::MeshQuad::MeshQuad ( )

The documentation for this class was generated from the following files: