OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Thread-safe buffer for storing Hardware index buffer. More...
#include <OgreLodBuffer.h>
Public Member Functions | |
void | fillBuffer (Ogre::v1::IndexData *data) |
Fills the buffer from an Ogre::IndexData. More... | |
Public Attributes | |
Ogre::SharedPtr< unsigned char > | indexBuffer |
if NULL, then the previous Lod level's buffer is used. (compression) More... | |
size_t | indexBufferSize |
size of the index buffer in bytes More... | |
size_t | indexCount |
index count from indexStart. More... | |
size_t | indexSize |
Index size: 2 or 4 byte/index is supported only. More... | |
size_t | indexStart |
Offset from the start of the indexBuffer. More... | |
Thread-safe buffer for storing Hardware index buffer.
void Ogre::LodIndexBuffer::fillBuffer | ( | Ogre::v1::IndexData * | data | ) |
Fills the buffer from an Ogre::IndexData.
Call this on Ogre main thread only
Ogre::SharedPtr<unsigned char> Ogre::LodIndexBuffer::indexBuffer |
if NULL, then the previous Lod level's buffer is used. (compression)
size_t Ogre::LodIndexBuffer::indexBufferSize |
size of the index buffer in bytes
size_t Ogre::LodIndexBuffer::indexCount |
index count from indexStart.
size_t Ogre::LodIndexBuffer::indexSize |
Index size: 2 or 4 byte/index is supported only.
size_t Ogre::LodIndexBuffer::indexStart |
Offset from the start of the indexBuffer.