PagedGeometry  1.2.0
Forests::WindBatchedGeometry::WindSubBatch Class Reference

Wind chunck of Renderable geometry. More...

#include <WindBatchedGeometry.h>

Inheritance diagram for Forests::WindBatchedGeometry::WindSubBatch:

Public Member Functions

 WindSubBatch (WindBatchedGeometry *parent, Ogre::SubEntity *ent)
 Constructor.
 
void build ()
 Build (assemble a vertex/index buffers) geometry for rendering.
 
- Public Member Functions inherited from Forests::BatchedGeometry::SubBatch
 SubBatch (BatchedGeometry *parent, Ogre::SubEntity *ent)
 Constructor.
 
 ~SubBatch ()
 Destructor.
 
void 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)
 
void clear ()
 
void addSelfToRenderQueue (Ogre::RenderQueueGroup *rqg)
 
void getRenderOperation (Ogre::RenderOperation &op)
 
Ogre::Real getSquaredViewDepth (const Ogre::Camera *cam) const
 
const Ogre::LightListgetLights (void) const
 
void setMaterial (Ogre::MaterialPtr &mat)
 
void setMaterialName (const Ogre::String &mat, const Ogre::String &rg=Ogre::ResourceGroupManager::AUTODETECT_RESOURCE_GROUP_NAME)
 
const Ogre::StringgetMaterialName () const
 Get material name. Be careful, resource group name missing.
 
Ogre::TechniquegetTechnique () const
 
const Ogre::MaterialPtrgetMaterial (void) const
 
void getWorldTransforms (Ogre::Matrix4 *xform) const
 
const Ogre::QuaterniongetWorldOrientation (void) const
 
const Ogre::Vector3getWorldPosition (void) const
 
bool castsShadows (void) const
 
- Public Member Functions inherited from Ogre::Renderable
virtual void _updateCustomGpuParameter (const GpuProgramParameters::AutoConstantEntry &constantEntry, GpuProgramParameters *params) const
 
virtual bool getCastsShadows (void) const
 
const Vector4getCustomParameter (size_t index) const
 
virtual unsigned short getNumWorldTransforms (void) const
 
bool getPolygonModeOverrideable (void) const
 
const RenderSystemDataPtrgetRenderSystemData () const
 
bool getUseIdentityProjection (void) const
 
bool getUseIdentityView (void) const
 
const AnygetUserAny (void) const
 
UserObjectBindingsgetUserObjectBindings ()
 
const UserObjectBindingsgetUserObjectBindings () const
 
bool hasCustomParameter (size_t index) const
 
virtual void postRender (SceneManager *sm, RenderSystem *rsys)
 
virtual bool preRender (SceneManager *sm, RenderSystem *rsys)
 
void removeCustomParameter (size_t index)
 
void setCustomParameter (size_t index, const Vector4 &value)
 
void setPolygonModeOverrideable (bool override)
 
void setRenderSystemData (RenderSystemDataPtr val) const
 
void setUseIdentityProjection (bool useIdentityProjection)
 
void setUseIdentityView (bool useIdentityView)
 
void setUserAny (const Any &anything)
 

Additional Inherited Members

- Public Types inherited from Ogre::Renderable
typedef SharedPtr< RenderSystemDataRenderSystemDataPtr
 
- Public Attributes inherited from Forests::BatchedGeometry::SubBatch
Ogre::VertexDatam_pVertexData
 
Ogre::IndexDatam_pIndexData
 
- Protected Types inherited from Forests::BatchedGeometry::SubBatch
typedef std::vector< QueuedMeshTMeshQueue
 Queue of meshes for build batch of geometry.
 
- Protected Attributes inherited from Forests::BatchedGeometry::SubBatch
bool m_Built
 
bool m_RequireVertexColors
 
Ogre::SubMeshm_pSubMesh
 Ogre::SubMesh for Index/Vertex buffers manipulation.
 
BatchedGeometrym_pParentGeom
 
Ogre::MaterialPtr m_ptrMaterial
 
TMeshQueue m_queueMesh
 The list of meshes to be added to this batch.
 

Detailed Description

Wind chunck of Renderable geometry.