Visible chunk of geometry.
Definition at line 28 of file BatchedGeometry.h.
|
| static void | _buildIdentiryOrientation (const QueuedMesh &queuedMesh, const Ogre::Vector3 &parentGeomCenter, const std::vector< Ogre::VertexDeclaration::VertexElementList > &vertexBufferElements, std::vector< Ogre::uchar * > &vertexBuffers, Ogre::VertexData *dst) |
| |
| static void | _buildFullTransform (const QueuedMesh &queuedMesh, const Ogre::Vector3 &parentGeomCenter, const std::vector< Ogre::VertexDeclaration::VertexElementList > &vertexBufferElements, std::vector< Ogre::uchar * > &vertexBuffers, Ogre::VertexData *dst) |
| |
◆ TMeshQueue
◆ SubBatch()
| BatchedGeometry::SubBatch::SubBatch |
( |
BatchedGeometry * |
parent, |
|
|
Ogre::SubEntity * |
ent |
|
) |
| |
◆ ~SubBatch()
| BatchedGeometry::SubBatch::~SubBatch |
( |
| ) |
|
◆ _buildFullTransform()
| void BatchedGeometry::SubBatch::_buildFullTransform |
( |
const QueuedMesh & |
queuedMesh, |
|
|
const Ogre::Vector3 & |
parentGeomCenter, |
|
|
const std::vector< Ogre::VertexDeclaration::VertexElementList > & |
vertexBufferElements, |
|
|
std::vector< Ogre::uchar * > & |
vertexBuffers, |
|
|
Ogre::VertexData * |
dst |
|
) |
| |
|
staticprivate |
◆ _buildIdentiryOrientation()
| void BatchedGeometry::SubBatch::_buildIdentiryOrientation |
( |
const QueuedMesh & |
queuedMesh, |
|
|
const Ogre::Vector3 & |
parentGeomCenter, |
|
|
const std::vector< Ogre::VertexDeclaration::VertexElementList > & |
vertexBufferElements, |
|
|
std::vector< Ogre::uchar * > & |
vertexBuffers, |
|
|
Ogre::VertexData * |
dst |
|
) |
| |
|
staticprivate |
◆ addSelfToRenderQueue()
| void BatchedGeometry::SubBatch::addSelfToRenderQueue |
( |
Ogre::RenderQueueGroup * |
rqg | ) |
|
◆ addSubEntity()
| void BatchedGeometry::SubBatch::addSubEntity |
( |
Ogre::SubEntity * |
ent, |
|
|
const Ogre::Vector3 & |
position, |
|
|
const Ogre::Quaternion & |
orientation, |
|
|
const Ogre::Vector3 & |
scale, |
|
|
const Ogre::ColourValue & |
color = Ogre::ColourValue::White, |
|
|
void * |
userData = NULL |
|
) |
| |
◆ build()
| void BatchedGeometry::SubBatch::build |
( |
| ) |
|
|
virtual |
Build (assemble a vertex/index buffers) geometry for rendering.
Definition at line 578 of file BatchedGeometry.cpp.
◆ castsShadows()
| bool Forests::BatchedGeometry::SubBatch::castsShadows |
( |
void |
| ) |
const |
|
inline |
◆ clear()
| void BatchedGeometry::SubBatch::clear |
( |
| ) |
|
◆ getLights()
| const Ogre::LightList & BatchedGeometry::SubBatch::getLights |
( |
void |
| ) |
const |
◆ getMaterial()
| const Ogre::MaterialPtr & Forests::BatchedGeometry::SubBatch::getMaterial |
( |
void |
| ) |
const |
|
inline |
◆ getMaterialName()
| const Ogre::String & Forests::BatchedGeometry::SubBatch::getMaterialName |
( |
| ) |
const |
|
inline |
Get material name. Be careful, resource group name missing.
Definition at line 95 of file BatchedGeometry.h.
◆ getRenderOperation()
| void BatchedGeometry::SubBatch::getRenderOperation |
( |
Ogre::RenderOperation & |
op | ) |
|
◆ getSquaredViewDepth()
| Real BatchedGeometry::SubBatch::getSquaredViewDepth |
( |
const Ogre::Camera * |
cam | ) |
const |
◆ getTechnique()
| Ogre::Technique * Forests::BatchedGeometry::SubBatch::getTechnique |
( |
| ) |
const |
|
inline |
◆ getWorldOrientation()
| const Ogre::Quaternion & Forests::BatchedGeometry::SubBatch::getWorldOrientation |
( |
void |
| ) |
const |
|
inline |
◆ getWorldPosition()
| const Ogre::Vector3 & Forests::BatchedGeometry::SubBatch::getWorldPosition |
( |
void |
| ) |
const |
|
inline |
◆ getWorldTransforms()
| void Forests::BatchedGeometry::SubBatch::getWorldTransforms |
( |
Ogre::Matrix4 * |
xform | ) |
const |
|
inline |
◆ setMaterial()
| void Forests::BatchedGeometry::SubBatch::setMaterial |
( |
Ogre::MaterialPtr & |
mat | ) |
|
|
inline |
◆ setMaterialName()
| void Forests::BatchedGeometry::SubBatch::setMaterialName |
( |
const Ogre::String & |
mat, |
|
|
const Ogre::String & |
rg = Ogre::ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME |
|
) |
| |
|
inline |
◆ m_Built
| bool Forests::BatchedGeometry::SubBatch::m_Built |
|
protected |
◆ m_pBestTechnique
| Ogre::Technique* Forests::BatchedGeometry::SubBatch::m_pBestTechnique |
|
private |
◆ m_pIndexData
| Ogre::IndexData* Forests::BatchedGeometry::SubBatch::m_pIndexData |
◆ m_pParentGeom
◆ m_pSubMesh
| Ogre::SubMesh* Forests::BatchedGeometry::SubBatch::m_pSubMesh |
|
protected |
Ogre::SubMesh for Index/Vertex buffers manipulation.
Definition at line 124 of file BatchedGeometry.h.
◆ m_ptrMaterial
| Ogre::MaterialPtr Forests::BatchedGeometry::SubBatch::m_ptrMaterial |
|
protected |
◆ m_pVertexData
| Ogre::VertexData* Forests::BatchedGeometry::SubBatch::m_pVertexData |
◆ m_queueMesh
| TMeshQueue Forests::BatchedGeometry::SubBatch::m_queueMesh |
|
protected |
◆ m_RequireVertexColors
| bool Forests::BatchedGeometry::SubBatch::m_RequireVertexColors |
|
protected |
The documentation for this class was generated from the following files: