OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::LodIndexBuffer Struct Reference

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...
 

Detailed Description

Thread-safe buffer for storing Hardware index buffer.

Member Function Documentation

◆ fillBuffer()

void Ogre::LodIndexBuffer::fillBuffer ( Ogre::v1::IndexData data)

Fills the buffer from an Ogre::IndexData.

Call this on Ogre main thread only

Member Data Documentation

◆ indexBuffer

Ogre::SharedPtr<unsigned char> Ogre::LodIndexBuffer::indexBuffer

if NULL, then the previous Lod level's buffer is used. (compression)

◆ indexBufferSize

size_t Ogre::LodIndexBuffer::indexBufferSize

size of the index buffer in bytes

◆ indexCount

size_t Ogre::LodIndexBuffer::indexCount

index count from indexStart.

◆ indexSize

size_t Ogre::LodIndexBuffer::indexSize

Index size: 2 or 4 byte/index is supported only.

◆ indexStart

size_t Ogre::LodIndexBuffer::indexStart

Offset from the start of the indexBuffer.


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