OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::LodIndexBuffer Struct Reference

Thread-safe buffer for storing Hardware index buffer. More...

#include <OgreLodBuffer.h>

+ Collaboration diagram for Ogre::LodIndexBuffer:

Public Member Functions

void fillBuffer (Ogre::IndexData *data)
 if NULL, then the previous Lod level's buffer is used. (compression) More...
 

Public Attributes

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

Detailed Description

Thread-safe buffer for storing Hardware index buffer.

Definition at line 38 of file OgreLodBuffer.h.

Member Function Documentation

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

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

Member Data Documentation

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

size of the index buffer in bytes

Definition at line 43 of file OgreLodBuffer.h.

size_t Ogre::LodIndexBuffer::indexBufferSize

Offset from the start of the indexBuffer.

Definition at line 42 of file OgreLodBuffer.h.

size_t Ogre::LodIndexBuffer::indexCount

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

Definition at line 40 of file OgreLodBuffer.h.

size_t Ogre::LodIndexBuffer::indexSize

Definition at line 39 of file OgreLodBuffer.h.

size_t Ogre::LodIndexBuffer::indexStart

index count from indexStart.

Definition at line 41 of file OgreLodBuffer.h.


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