Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# Ogre::RenderOperation Class Reference

'New' rendering operation using vertex buffers. More...

`#include <OgreRenderOperation.h>`

List of all members.

## Public Types

enum | OperationType { OT_POINT_LIST = 1, OT_LINE_LIST = 2, OT_LINE_STRIP = 3, OT_TRIANGLE_LIST = 4, OT_TRIANGLE_STRIP = 5, OT_TRIANGLE_FAN = 6 }
| The rendering operation type to perform. More...

## Public Methods

| RenderOperation ()

## Public Attributes

VertexData * | vertexData
| Vertex source data.
OperationType | operationType
| The type of operation to perform.
bool | useIndexes
| Specifies whether to use indexes to determine the vertices to use as input.
IndexData * | indexData
| Index data - only valid if useIndexes is true.
Renderable * | srcRenderable
| Debug pointer back to renderable which created this.

## Detailed Description

'New' rendering operation using vertex buffers.

Definition at line 35 of file OgreRenderOperation.h.

## Member Enumeration Documentation

enum Ogre::RenderOperation::OperationType

The rendering operation type to perform.

Enumeration values:

  OT_POINT_LIST | A list of points, 1 vertex per point.
  OT_LINE_LIST | A list of lines, 2 vertices per line.
  OT_LINE_STRIP | A strip of connected lines, 1 vertex per line plus 1 start vertex.
  OT_TRIANGLE_LIST | A list of triangles, 3 vertices per triangle.
  OT_TRIANGLE_STRIP | A strip of triangles, 3 vertices for the first triangle, and 1 per triangle after that.
  OT_TRIANGLE_FAN | A fan of triangles, 3 vertices for the first triangle, and 1 per triangle after that.

Definition at line 38 of file OgreRenderOperation.h.

## Constructor & Destructor Documentation

Ogre::RenderOperation::RenderOperation | ( |  | ) |

| Definition at line 71 of file OgreRenderOperation.h. References operationType, OT_TRIANGLE_LIST, and useIndexes.

## Member Data Documentation

IndexData* Ogre::RenderOperation::indexData

Index data - only valid if useIndexes is true.

Definition at line 66 of file OgreRenderOperation.h.

Referenced by Ogre::SubMesh::_getRenderOperation(), Ogre::RenderSystem::_render(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::Entity::EntityShadowRenderable::EntityShadowRenderable(), Ogre::ShadowCaster::generateShadowVolume(), Ogre::TerrainRenderable::getRenderOperation(), Ogre::BillboardSet::getRenderOperation(), Ogre::BorderPanelGuiElement::initialise(), Ogre::Rectangle2D::Rectangle2D(), Ogre::BspSceneManager::renderStaticGeometry(), Ogre::BspSceneManager::setWorldGeometry(), Ogre::WireBoundingBox::WireBoundingBox(), Ogre::BorderPanelGuiElement::~BorderPanelGuiElement(), and Ogre::Entity::EntityShadowRenderable::~EntityShadowRenderable().

OperationType Ogre::RenderOperation::operationType

The type of operation to perform.

Definition at line 57 of file OgreRenderOperation.h.

Referenced by Ogre::SubMesh::_getRenderOperation(), Ogre::RenderSystem::_render(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::TerrainRenderable::getRenderOperation(), Ogre::Frustum::getRenderOperation(), Ogre::BillboardSet::getRenderOperation(), Ogre::TTYGuiElement::initialise(), Ogre::TextAreaGuiElement::initialise(), Ogre::PanelGuiElement::initialise(), Ogre::BorderPanelGuiElement::initialise(), Ogre::Rectangle2D::Rectangle2D(), RenderOperation(), Ogre::BspSceneManager::setWorldGeometry(), and Ogre::WireBoundingBox::WireBoundingBox().

Renderable* Ogre::RenderOperation::srcRenderable

| Debug pointer back to renderable which created this. Definition at line 68 of file OgreRenderOperation.h. Referenced by Ogre::SceneManager::renderSingleObject().

bool Ogre::RenderOperation::useIndexes

Specifies whether to use indexes to determine the vertices to use as input.

If false, the vertices are simply read in sequence to define the primitives. If true, indexes are used instead to identify vertices anywhere in the buffer, and allowing vertices to be used more than once. If true, then the indexBuffer, indexStart and numIndexes properties must be valid.

Definition at line 63 of file OgreRenderOperation.h.

Referenced by Ogre::SubMesh::_getRenderOperation(), Ogre::RenderSystem::_render(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::TerrainRenderable::getRenderOperation(), Ogre::Frustum::getRenderOperation(), Ogre::BillboardSet::getRenderOperation(), Ogre::TTYGuiElement::initialise(), Ogre::TextAreaGuiElement::initialise(), Ogre::PanelGuiElement::initialise(), Ogre::BorderPanelGuiElement::initialise(), Ogre::Rectangle2D::Rectangle2D(), RenderOperation(), Ogre::BspSceneManager::setWorldGeometry(), and Ogre::WireBoundingBox::WireBoundingBox().

VertexData* Ogre::RenderOperation::vertexData

Vertex source data.

Definition at line 54 of file OgreRenderOperation.h.

Referenced by Ogre::SubMesh::_getRenderOperation(), Ogre::RenderSystem::_render(), Ogre::GLRenderSystem::_render(), Ogre::D3D9RenderSystem::_render(), Ogre::D3DRenderSystem::_render(), Ogre::TTYGuiElement::checkAndSetUpdateGeometry(), Ogre::TTYGuiElement::checkMemoryAllocation(), Ogre::TextAreaGuiElement::checkMemoryAllocation(), Ogre::Entity::EntityShadowRenderable::EntityShadowRenderable(), Ogre::BorderPanelGuiElement::getCellUVString(), Ogre::TerrainRenderable::getRenderOperation(), Ogre::SubEntity::getRenderOperation(), Ogre::Frustum::getRenderOperation(), Ogre::BillboardSet::getRenderOperation(), Ogre::TTYGuiElement::initialise(), Ogre::TextAreaGuiElement::initialise(), Ogre::PanelGuiElement::initialise(), Ogre::BorderPanelGuiElement::initialise(), Ogre::Entity::EntityShadowRenderable::rebindPositionBuffer(), Ogre::Rectangle2D::Rectangle2D(), Ogre::BorderPanelGuiElement::setCellUV(), Ogre::Rectangle2D::setCorners(), Ogre::WireBoundingBox::setupBoundingBoxVertices(), Ogre::BspSceneManager::setWorldGeometry(), Ogre::TextAreaGuiElement::updateColours(), Ogre::TextAreaGuiElement::updateGeometry(), Ogre::PanelGuiElement::updatePositionGeometry(), Ogre::BorderPanelGuiElement::updatePositionGeometry(), Ogre::PanelGuiElement::updateTextureGeometry(), Ogre::TTYGuiElement::updateWindowGeometry(), Ogre::WireBoundingBox::WireBoundingBox(), Ogre::BorderPanelGuiElement::~BorderPanelGuiElement(), Ogre::Entity::EntityShadowRenderable::~EntityShadowRenderable(), Ogre::PanelGuiElement::~PanelGuiElement(), Ogre::Rectangle2D::~Rectangle2D(), Ogre::TextAreaGuiElement::~TextAreaGuiElement(), Ogre::TTYGuiElement::~TTYGuiElement(), and Ogre::WireBoundingBox::~WireBoundingBox().

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

- OgreRenderOperation.h

Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:28 2004