Eidolon
|
#include <OgreRenderTypes.h>
Classes | |
struct | TextVertex |
Public Member Functions | |
TextRenderable (const std::string &name, Ogre::SceneManager *mgr) | |
virtual | ~TextRenderable () |
virtual void | setOverlay (bool isOverlay) |
virtual void | setFont (const std::string &fontname) throw (RenderException) |
![]() | |
OgreBaseRenderable (const std::string &name, const std::string &matname, Ogre::RenderOperation::OperationType opType, Ogre::SceneManager *mgr) throw (RenderException) | |
virtual | ~OgreBaseRenderable () |
void | setParentObjects (Figure *parent, OgreRenderScene *scene) |
void | setDepthSorting (bool val) |
Mutex * | getMutex () |
virtual void | createBuffers (size_t numVerts, size_t numInds, bool deferCreate=false) |
Create the hardware buffers with the given number of vertices and indices (NOTE: must be executed in renderer thread) More... | |
virtual void | destroyBuffers () |
Delete the hardware and local buffers (NOTE: must be executed in renderer thread) More... | |
virtual void | getRenderOperation (Ogre::RenderOperation &op) |
Vertex * | getLocalVertBuff () |
Get (and allocate if needed) the local memory vertex buffer of the same size as the hardware buffer. More... | |
indexval * | getLocalIndBuff () |
Get (and allocate if needed) the local memory index buffer of the same size as the hardware buffer. More... | |
void | commitBuffers (bool commitVert=true, bool commitInd=true) |
Copy the local buffers to the hardware buffers (NOTE: must be executed in renderer thread) More... | |
void | commitMatrices (const Matrix< Vertex > *verts, const IndexMatrix *inds) |
Copy the data from matrices to the hardware buffers (NOTE: must be executed in renderer thread) More... | |
void | deleteLocalVertBuff () |
void | deleteLocalIndBuff () |
void | fillDefaultData (bool deferFill=false) |
size_t | numVertices () const |
size_t | numIndices () const |
Ogre::RenderOperation::OperationType | opType () const |
Ogre::HardwareVertexBufferSharedPtr | getVertexBuffer () const |
Ogre::HardwareIndexBufferSharedPtr | getIndexBuffer () const |
virtual const Ogre::MaterialPtr & | getMaterial () const |
virtual void | setMaterial (const Ogre::MaterialPtr &m) |
virtual void | setMaterial (const std::string &m) throw (RenderException) |
virtual void | getWorldTransforms (Ogre::Matrix4 *xform) const |
virtual Ogre::Real | getSquaredViewDepth (const Ogre::Camera *cam) const |
virtual const Ogre::LightList & | getLights () const |
virtual const Ogre::String & | getMovableType () const |
virtual const Ogre::AxisAlignedBox & | getBoundingBox () const |
virtual Ogre::Real | getBoundingRadius () const |
virtual void | setBoundingBox (vec3 minv, vec3 maxv) |
Public Attributes | |
std::string | text |
std::string | fontname |
std::string | internalMatName |
color | col |
VAlignType | valign |
HAlignType | halign |
real | textHeight |
real | spaceWidth |
bool | updateCols |
bool | updateGeom |
bool | isOverlay |
bool | isCameraAligned |
Ogre::HardwareVertexBufferSharedPtr | colBuf |
Ogre::Font * | fontobj |
Protected Member Functions | |
void | updateColors () |
void | updateGeometry () |
virtual void | _notifyCurrentCamera (Ogre::Camera *cam) |
virtual void | _updateRenderQueue (Ogre::RenderQueue *queue) |
virtual void | visitRenderables (Ogre::Renderable::Visitor *visitor, bool debugRenderables) |
Static Protected Attributes | |
static const short | POS_TEX_BINDING =0 |
static const short | COLOUR_BINDING =1 |
![]() | |
static Ogre::HardwareBuffer::Usage | vertexBufferUsage =Ogre::HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY |
Sets vertex buffer to be write only. More... | |
static Ogre::HardwareBuffer::Usage | indexBufferUsage =Ogre::HardwareBuffer::HBU_DYNAMIC_WRITE_ONLY |
Sets index buffer to be write only. More... | |
Additional Inherited Members | |
![]() | |
Figure * | parent |
Parent figure this renderable is used by. More... | |
OgreRenderScene * | scene |
The root scene which renders this object. More... | |
Ogre::VertexData * | vertexData |
Ogre::HardwareVertexBufferSharedPtr | vertBuf |
Ogre::IndexData * | indexData |
Ogre::RenderOperation::OperationType | _opType |
bool | deferFillOp |
size_t | _numVertices |
size_t | _numIndices |
Vertex * | localVertBuff |
Vertex buffer in main memory used to stage data before being committed to video memory. More... | |
indexval * | localIndBuff |
Index buffer in main memory used to stage data before being committed to video memory. More... | |
Ogre::MaterialPtr | mat |
Ogre::AxisAlignedBox | aabb |
Ogre::Real | boundRad |
Ogre::String | movableType |
vec3 | lastCamPos |
bool | depthSorting |
Mutex | mutex |
|
inline |
|
inlinevirtual |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
|
inlinevirtual |
|
protected |
|
protected |
|
inlineprotectedvirtual |
Reimplemented from OgreBaseRenderable.
color col |
Ogre::HardwareVertexBufferSharedPtr colBuf |
|
staticprotected |
std::string fontname |
Ogre::Font* fontobj |
HAlignType halign |
std::string internalMatName |
bool isCameraAligned |
bool isOverlay |
|
staticprotected |
real spaceWidth |
std::string text |
real textHeight |
bool updateCols |
bool updateGeom |
VAlignType valign |