28 #ifndef __VertexIndexData_H__
29 #define __VertexIndexData_H__
131 void prepareForShadowVolume(
void);
198 void closeGapsInBindings(
void);
208 void removeUnusedBuffers(
void);
235 ushort allocateHardwareAnimationElements(
ushort count,
bool animateNormals);
276 void optimiseVertexCacheTriList(
void);
293 : size ( cachesize ), tail (0), buffersize (0), hit (0), miss (0)
304 void reset() { hit = 0; miss = 0; tail = 0; buffersize = 0; }
305 void flush() { tail = 0; buffersize = 0; }
317 bool inCache(
unsigned int index);
vector< HardwareAnimationData >::type HardwareAnimationDataList
#define OGRE_ALLOC_T(T, count, category)
Allocate a block of memory for a primitive type, and indicate the category of usage.
float Real
Software floating point type.
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
Struct used to hold hardware morph / pose vertex data information.
size_t indexStart
Index in the buffer to start from for this operation.
Shared pointer implementation used to share vertex buffers.
size_t vertexCount
The number of vertices used in this operation.
VertexCacheProfiler(unsigned int cachesize=16, CacheType cachetype=FIFO)
Shared pointer implementation used to share index buffers.
unsigned short targetBufferIndex
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
vector< HardwareBuffer::Usage >::type BufferUsageList
Define a list of usage flags.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Summary class collecting together index data source information.
Base definition of a hardware buffer manager.
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
HardwareVertexBufferSharedPtr hardwareShadowVolWBuffer
Additional shadow volume vertex buffer storage.
Summary class collecting together vertex source information.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
size_t indexCount
The number of indexes to use from the buffer.
Geometry held in main memory.
#define OGRE_FREE(ptr, category)
Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to en...
HardwareBufferManagerBase * mMgr
size_t vertexStart
The base vertex index to start from.
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.