OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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)
 if NULL, then the previous Lod level's buffer is used. (compression)
 

Public Attributes

Ogre::SharedPtr< unsigned charindexBuffer
 size of the index buffer in bytes
 
size_t indexBufferSize
 Offset from the start of the indexBuffer.
 
size_t indexCount
 Index size: 2 or 4 byte/index is supported only.
 
size_t indexSize
 
size_t indexStart
 index count from indexStart.
 

Detailed Description

Thread-safe buffer for storing Hardware index buffer.

Member Function Documentation

◆ fillBuffer()

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

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

Member Data Documentation

◆ indexBuffer

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

size of the index buffer in bytes

◆ indexBufferSize

size_t Ogre::LodIndexBuffer::indexBufferSize

Offset from the start of the indexBuffer.

◆ indexCount

size_t Ogre::LodIndexBuffer::indexCount

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

◆ indexSize

size_t Ogre::LodIndexBuffer::indexSize

◆ indexStart

size_t Ogre::LodIndexBuffer::indexStart

index count from indexStart.


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