Implementation of CEGUI::GeometryBuffer for the Null engine.
More...
List of all members.
Protected Types |
typedef std::vector< Vertex > | VertexList |
| type of container used to queue the geometry
|
Detailed Description
Implementation of CEGUI::GeometryBuffer for the Null engine.
Member Function Documentation
void CEGUI::NullGeometryBuffer::appendGeometry |
( |
const Vertex *const |
vbuff, |
|
|
uint |
vertex_count |
|
) |
| |
|
virtual |
void CEGUI::NullGeometryBuffer::appendVertex |
( |
const Vertex & |
vertex | ) |
|
|
virtual |
Texture* CEGUI::NullGeometryBuffer::getActiveTexture |
( |
| ) |
const |
|
virtual |
Return a pointer to the currently active Texture object. This may return 0 if no texture is set.
- Returns:
- Pointer the Texture object that is currently active, or 0 if texturing is not being used.
Implements CEGUI::GeometryBuffer.
uint CEGUI::NullGeometryBuffer::getBatchCount |
( |
| ) |
const |
|
virtual |
Return the number of batches of geometry that this GeometryBuffer has split the vertices into.
- Note:
- How batching is done will be largely implementation specific, although it would be reasonable to expect that you will have at least one batch of geometry per texture switch.
- Returns:
- The number of batches of geometry held by the GeometryBuffer.
Implements CEGUI::GeometryBuffer.
uint CEGUI::NullGeometryBuffer::getVertexCount |
( |
| ) |
const |
|
virtual |
void CEGUI::NullGeometryBuffer::setActiveTexture |
( |
Texture * |
texture | ) |
|
|
virtual |
Set the active texture to be used with all subsequently added vertices.
- Parameters:
-
texture | Pointer to a Texture object that shall be used for subsequently added vertices. This may be 0, in which case texturing will be disabled for subsequently added vertices. |
Implements CEGUI::GeometryBuffer.
void CEGUI::NullGeometryBuffer::setPivot |
( |
const Vector3 & |
p | ) |
|
|
virtual |
Set the pivot point to be used when applying the rotations.
- Parameters:
-
p | Vector3 describing the location of the pivot point to be used when applying the rotation to the geometry. |
Implements CEGUI::GeometryBuffer.
void CEGUI::NullGeometryBuffer::setRenderEffect |
( |
RenderEffect * |
effect | ) |
|
|
virtual |
void CEGUI::NullGeometryBuffer::setRotation |
( |
const Vector3 & |
r | ) |
|
|
virtual |
Set the rotations to be applied to the geometry in the buffer when it is subsequently rendered.
- Parameters:
-
r | Vector3 describing the rotation factors to be used. |
Implements CEGUI::GeometryBuffer.
void CEGUI::NullGeometryBuffer::setTranslation |
( |
const Vector3 & |
v | ) |
|
|
virtual |
Set the translation to be applied to the geometry in the buffer when it is subsequently rendered.
- Parameters:
-
v | Vector3 describing the three axis translation vector to be used. |
Implements CEGUI::GeometryBuffer.