Interface used to by the Terrain instance to allocate GPU buffers. More...
#include <OgreTerrain.h>
Interface used to by the Terrain instance to allocate GPU buffers.
Definition at line 533 of file OgreTerrain.h.
Ogre::Terrain::GpuBufferAllocator::GpuBufferAllocator | ( | ) |
Definition at line 536 of file OgreTerrain.h.
|
virtual |
Definition at line 537 of file OgreTerrain.h.
|
pure virtual |
Allocate (or reuse) vertex buffers for a terrain LOD.
numVertices | The total number of vertices |
destPos | Pointer to a vertex buffer for positions, to be bound |
destDelta | Pointer to a vertex buffer for deltas, to be bound |
Implemented in Ogre::Terrain::DefaultGpuBufferAllocator.
Free any buffers we're holding.
Implemented in Ogre::Terrain::DefaultGpuBufferAllocator.
|
pure virtual |
Free (or return to the pool) vertex buffers for terrain.
Implemented in Ogre::Terrain::DefaultGpuBufferAllocator.
|
pure virtual |
Get a shared index buffer for a given number of settings.
batchSize | The batch size along one edge |
vdatasize | The size of the referenced vertex data along one edge |
vertexIncrement | The number of vertices to increment for each new indexed row / column |
xoffset | The x offset from the start of vdatasize, at that resolution |
yoffset | The y offset from the start of vdatasize, at that resolution |
numSkirtRowsCols | Number of rows and columns of skirts |
skirtRowColSkip | The number of rows / cols to skip in between skirts |
Implemented in Ogre::Terrain::DefaultGpuBufferAllocator.
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.