Go to the documentation of this file.
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);
VertexDeclaration * vertexDeclaration
Declaration of the vertex to be used in this operation.
Geometry held in main memory.
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
bool mDeleteDclBinding
Whether this class should delete the declaration and binding.
vector< HardwareAnimationData >::type HardwareAnimationDataList
size_t indexStart
Index in the buffer to start from for this operation.
size_t indexCount
The number of indexes to use from the buffer.
unsigned short targetBufferIndex
Base definition of a hardware buffer manager.
HardwareAnimationDataList hwAnimationDataList
VertexElements used for hardware morph / pose animation.
HardwareIndexBufferSharedPtr indexBuffer
Pointer to the HardwareIndexBuffer to use, must be specified if useIndexes = true.
size_t vertexCount
The number of vertices used in this operation.
#define OGRE_FREE(ptr, category)
Free the memory allocated with OGRE_MALLOC or OGRE_ALLOC_T. Category is required to be restated to en...
VertexCacheProfiler(unsigned int cachesize=16, CacheType cachetype=FIFO)
Shared pointer implementation used to share index buffers.
#define OGRE_ALLOC_T(T, count, category)
Allocate a block of memory for a primitive type, and indicate the category of usage.
HardwareVertexBufferSharedPtr hardwareShadowVolWBuffer
Additional shadow volume vertex buffer storage.
Struct used to hold hardware morph / pose vertex data information.
Summary class collecting together vertex source information.
Records the state of all the vertex buffer bindings required to provide a vertex declaration with the...
VertexElementType
Vertex element type, used to identify the base types of the vertex contents.
This class declares the format of a set of vertex inputs, which can be issued to the rendering API th...
Shared pointer implementation used to share vertex buffers.
size_t hwAnimDataItemsUsed
Number of hardware animation data items used.
vector< HardwareBuffer::Usage >::type BufferUsageList
Define a list of usage flags.
size_t vertexStart
The base vertex index to start from.
HardwareBufferManagerBase * mMgr
float Real
Software floating point type.
Summary class collecting together index data source information.
VertexBufferBinding * vertexBufferBinding
The vertex buffer bindings to be used.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.