OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#include <OgreVertexShadowMapHelper.h>
Classes | |
struct | Geometry |
Public Types | |
typedef vector< Geometry >::type | GeometryVec |
Static Public Member Functions | |
static bool | findFirstAppearance (const GeometryVec &geom, const VertexData *vertexBuffer, size_t &outVaoIdx) |
static void | optimizeForShadowMapping (const VertexShadowMapHelper::GeometryVec &inGeom, VertexShadowMapHelper::GeometryVec &outGeom) |
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shadow mapping, and stores them as new Vaos in outVao. | |
static void | useSameGeoms (const GeometryVec &inGeom, GeometryVec &outGeom) |
|
static |
|
static |
Reads all the vertex & index buffer from all the LOD levels in inVao, optimizes the buffers for shadow mapping, and stores them as new Vaos in outVao.
vaoManager | VaoManager. Required for buffer management. |
inVao | Input Vao to clone and optimize. |
outVao | Output vao to store the cloned, optimized version. |
|
static |