OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::v1::StaticGeometry::MaterialBucket Class Reference

A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD). More...

#include <OgreStaticGeometry.h>

+ Inheritance diagram for Ogre::v1::StaticGeometry::MaterialBucket:

Public Types

typedef vector< GeometryBucket * >::type GeometryBucketList
 list of Geometry Buckets in this region
 
typedef VectorIterator< GeometryBucketListGeometryIterator
 Iterator over geometry.
 

Public Member Functions

 MaterialBucket (LODBucket *parent, const String &materialName)
 
virtual ~MaterialBucket ()
 
void addRenderables (RenderQueue *queue, uint8 group, size_t materialLod)
 Add children to the render queue.
 
void assign (QueuedGeometry *qsm)
 Assign geometry to this bucket.
 
void build ()
 Build.
 
void dump (std::ofstream &of) const
 Dump contents for diagnostics.
 
TechniquegetCurrentTechnique (void) const
 Get the current Technique.
 
GeometryIterator getGeometryIterator (void)
 Get an iterator over the contained geometry.
 
const MaterialPtrgetMaterial (void) const
 Get the material for this bucket.
 
const StringgetMaterialName (void) const
 Get the material name.
 
LODBucketgetParent (void)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 

Detailed Description

A MaterialBucket is a collection of smaller buckets with the same Material (and implicitly the same LOD).

Member Typedef Documentation

◆ GeometryBucketList

◆ GeometryIterator

Constructor & Destructor Documentation

◆ MaterialBucket()

Ogre::v1::StaticGeometry::MaterialBucket::MaterialBucket ( LODBucket parent,
const String materialName 
)

◆ ~MaterialBucket()

virtual Ogre::v1::StaticGeometry::MaterialBucket::~MaterialBucket ( )
virtual

Member Function Documentation

◆ addRenderables()

void Ogre::v1::StaticGeometry::MaterialBucket::addRenderables ( RenderQueue queue,
uint8  group,
size_t  materialLod 
)

Add children to the render queue.

◆ assign()

void Ogre::v1::StaticGeometry::MaterialBucket::assign ( QueuedGeometry qsm)

Assign geometry to this bucket.

◆ build()

void Ogre::v1::StaticGeometry::MaterialBucket::build ( )

Build.

◆ dump()

void Ogre::v1::StaticGeometry::MaterialBucket::dump ( std::ofstream &  of) const

Dump contents for diagnostics.

◆ getCurrentTechnique()

Technique * Ogre::v1::StaticGeometry::MaterialBucket::getCurrentTechnique ( void  ) const
inline

Get the current Technique.

◆ getGeometryIterator()

GeometryIterator Ogre::v1::StaticGeometry::MaterialBucket::getGeometryIterator ( void  )

Get an iterator over the contained geometry.

◆ getMaterial()

const MaterialPtr & Ogre::v1::StaticGeometry::MaterialBucket::getMaterial ( void  ) const
inline

Get the material for this bucket.

◆ getMaterialName()

const String & Ogre::v1::StaticGeometry::MaterialBucket::getMaterialName ( void  ) const
inline

Get the material name.

◆ getParent()

LODBucket * Ogre::v1::StaticGeometry::MaterialBucket::getParent ( void  )
inline

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
void  
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [2/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [3/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ operator new[]() [2/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char file,
int  line,
const char func 
)
inlineinherited

array operator new, with debug line info


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