Crazy Eddie's GUI System
${CEGUI_VERSION}
|
Public Member Functions | |
OpenGLGeometryBufferBase_wrapper (::CEGUI::OpenGLRendererBase &owner) | |
virtual void | appendGeometry (::CEGUI::Vertex const *const vbuff, ::CEGUI::uint vertex_count) |
void | default_appendGeometry (::CEGUI::Vertex const *const vbuff, ::CEGUI::uint vertex_count) |
virtual void | appendVertex (::CEGUI::Vertex const &vertex) |
void | default_appendVertex (::CEGUI::Vertex const &vertex) |
virtual ::CEGUI::Texture * | getActiveTexture () const |
Return a pointer to the currently active Texture object. This may return 0 if no texture is set. More... | |
::CEGUI::Texture * | default_getActiveTexture () const |
virtual ::CEGUI::uint | getBatchCount () const |
Return the number of batches of geometry that this GeometryBuffer has split the vertices into. More... | |
::CEGUI::uint | default_getBatchCount () const |
virtual ::CEGUI::RenderEffect * | getRenderEffect () |
Return the RenderEffect object that is assigned to this GeometryBuffer or 0 if none. | |
::CEGUI::RenderEffect * | default_getRenderEffect () |
virtual ::CEGUI::uint | getVertexCount () const |
Return the total number of vertices currently held by this GeometryBuffer object. More... | |
::CEGUI::uint | default_getVertexCount () const |
virtual bool | isClippingActive () const |
bool | default_isClippingActive () const |
void | performBatchManagement () |
virtual void | reset () |
Clear all buffered data and reset the GeometryBuffer to the default state. | |
void | default_reset () |
virtual void | setActiveTexture (::CEGUI::Texture *texture) |
void | default_setActiveTexture (::CEGUI::Texture *texture) |
virtual void | setClippingActive (bool const active) |
Set whether clipping will be active for subsequently added vertices. More... | |
void | default_setClippingActive (bool const active) |
virtual void | setClippingRegion (::CEGUI::Rectf const ®ion) |
void | default_setClippingRegion (::CEGUI::Rectf const ®ion) |
virtual void | setPivot (::CEGUI::Vector3f const &p) |
void | default_setPivot (::CEGUI::Vector3f const &p) |
virtual void | setRenderEffect (::CEGUI::RenderEffect *effect) |
void | default_setRenderEffect (::CEGUI::RenderEffect *effect) |
virtual void | setRotation (::CEGUI::Quaternion const &r) |
void | default_setRotation (::CEGUI::Quaternion const &r) |
virtual void | setTranslation (::CEGUI::Vector3f const &t) |
void | default_setTranslation (::CEGUI::Vector3f const &t) |
void | updateMatrix () const |
virtual void | draw () const |
Draw the geometry buffered within this GeometryBuffer object. | |
![]() | |
OpenGLGeometryBufferBase (OpenGLRendererBase &owner) | |
Constructor. | |
void | setTranslation (const Vector3f &t) |
Set the translation to be applied to the geometry in the buffer when it is subsequently rendered. More... | |
void | setRotation (const Quaternion &r) |
Set the rotations to be applied to the geometry in the buffer when it is subsequently rendered. More... | |
void | setPivot (const Vector3f &p) |
Set the pivot point to be used when applying the rotations. More... | |
void | setClippingRegion (const Rectf ®ion) |
Set the clipping region to be used when rendering this buffer. | |
void | appendVertex (const Vertex &vertex) |
Append a single vertex to the buffer. More... | |
void | appendGeometry (const Vertex *const vbuff, uint vertex_count) |
Append a number of vertices from an array to the GeometryBuffer. More... | |
void | setActiveTexture (Texture *texture) |
Set the active texture to be used with all subsequently added vertices. More... | |
void | setRenderEffect (RenderEffect *effect) |
Set the RenderEffect to be used by this GeometryBuffer. More... | |
const mat4Pimpl * | getMatrix () const |
return the GL modelview matrix used for this buffer. | |
OpenGLGeometryBufferBase (OpenGLRendererBase &owner) | |
Constructor. | |
void | setTranslation (const Vector3f &t) |
Set the translation to be applied to the geometry in the buffer when it is subsequently rendered. More... | |
void | setRotation (const Quaternion &r) |
Set the rotations to be applied to the geometry in the buffer when it is subsequently rendered. More... | |
void | setPivot (const Vector3f &p) |
Set the pivot point to be used when applying the rotations. More... | |
void | setClippingRegion (const Rectf ®ion) |
Set the clipping region to be used when rendering this buffer. | |
void | appendVertex (const Vertex &vertex) |
Append a single vertex to the buffer. More... | |
void | appendGeometry (const Vertex *const vbuff, uint vertex_count) |
Append a number of vertices from an array to the GeometryBuffer. More... | |
void | setActiveTexture (Texture *texture) |
Set the active texture to be used with all subsequently added vertices. More... | |
void | reset () |
Clear all buffered data and reset the GeometryBuffer to the default state. | |
Texture * | getActiveTexture () const |
Return a pointer to the currently active Texture object. This may return 0 if no texture is set. More... | |
uint | getVertexCount () const |
Return the total number of vertices currently held by this GeometryBuffer object. More... | |
uint | getBatchCount () const |
Return the number of batches of geometry that this GeometryBuffer has split the vertices into. More... | |
void | setRenderEffect (RenderEffect *effect) |
Set the RenderEffect to be used by this GeometryBuffer. More... | |
RenderEffect * | getRenderEffect () |
Return the RenderEffect object that is assigned to this GeometryBuffer or 0 if none. | |
void | setClippingActive (const bool active) |
Set whether clipping will be active for subsequently added vertices. More... | |
bool | isClippingActive () const |
const mat4Pimpl * | getMatrix () const |
return the GL modelview matrix used for this buffer. | |
![]() | |
virtual | ~GeometryBuffer () |
Destructor. | |
virtual void | setBlendMode (const BlendMode mode) |
Set the blend mode option to use when rendering this GeometryBuffer. More... | |
virtual BlendMode | getBlendMode () const |
Return the blend mode that is set to be used for this GeometryBuffer. More... | |
virtual | ~GeometryBuffer () |
Destructor. | |
virtual void | setBlendMode (const BlendMode mode) |
Set the blend mode option to use when rendering this GeometryBuffer. More... | |
virtual BlendMode | getBlendMode () const |
Return the blend mode that is set to be used for this GeometryBuffer. More... | |
Additional Inherited Members | |
![]() | |
typedef std::vector< BatchInfo > | BatchList |
type of container that tracks BatchInfos. | |
typedef std::vector< GLVertex > | VertexList |
type of container used to queue the geometry | |
typedef std::vector< BatchInfo > | BatchList |
type of container that tracks BatchInfos. | |
typedef std::vector< GLVertex > | VertexList |
type of container used to queue the geometry | |
![]() | |
void | performBatchManagement () |
perform batch management operations prior to adding new geometry. | |
void | updateMatrix () const |
update cached matrix | |
void | performBatchManagement () |
perform batch management operations prior to adding new geometry. | |
void | updateMatrix () const |
update cached matrix | |
![]() | |
GeometryBuffer () | |
Constructor. | |
GeometryBuffer () | |
Constructor. | |
![]() | |
OpenGLRendererBase * | d_owner |
OpenGLRendererBase that owns the GeometryBuffer. | |
OpenGLTexture * | d_activeTexture |
last texture that was set as active | |
BatchList | d_batches |
list of texture batches added to the geometry buffer | |
VertexList | d_vertices |
container where added geometry is stored. | |
Rectf | d_clipRect |
rectangular clip region | |
bool | d_clippingActive |
whether clipping will be active for the current batch | |
Vector3f | d_translation |
translation vector | |
Quaternion | d_rotation |
rotation quaternion | |
Vector3f | d_pivot |
pivot point for rotation | |
RenderEffect * | d_effect |
RenderEffect that will be used by the GeometryBuffer. | |
mat4Pimpl * | d_matrix |
model matrix cache - we use double because gluUnproject takes double | |
bool | d_matrixValid |
true when d_matrix is valid and up to date | |
![]() | |
BlendMode | d_blendMode |
The BlendMode to use when rendering this GeometryBuffer. | |
|
inlinevirtual |
Return a pointer to the currently active Texture object. This may return 0 if no texture is set.
Reimplemented from CEGUI::OpenGLGeometryBufferBase.
References CEGUI::OpenGLGeometryBufferBase::getActiveTexture().
|
inlinevirtual |
Return the number of batches of geometry that this GeometryBuffer has split the vertices into.
Reimplemented from CEGUI::OpenGLGeometryBufferBase.
References CEGUI::OpenGLGeometryBufferBase::getBatchCount().
|
inlinevirtual |
Return the total number of vertices currently held by this GeometryBuffer object.
Reimplemented from CEGUI::OpenGLGeometryBufferBase.
References CEGUI::OpenGLGeometryBufferBase::getVertexCount(), and CEGUI::OpenGLGeometryBufferBase::performBatchManagement().
|
inlinevirtual |
Set whether clipping will be active for subsequently added vertices.
active |
|
Reimplemented from CEGUI::OpenGLGeometryBufferBase.
References CEGUI::OpenGLGeometryBufferBase::setClippingActive(), CEGUI::OpenGLGeometryBufferBase::setClippingRegion(), CEGUI::OpenGLGeometryBufferBase::setPivot(), CEGUI::OpenGLGeometryBufferBase::setRenderEffect(), CEGUI::OpenGLGeometryBufferBase::setRotation(), CEGUI::OpenGLGeometryBufferBase::setTranslation(), and CEGUI::OpenGLGeometryBufferBase::updateMatrix().