![]() |
Murl Engine API
Version 2025.1
|
An IFF chunk containing morphing data for a given vertex buffer. More...
#include <murl_resource_i_mesh.h>
An IFF chunk containing morphing data for a given vertex buffer.
For a single vertex buffer to be morphed, there can be any number of individual morph buffers identified by their mMorphBufferIndex.
Public Types | |
| enum | { FOURCC_CHUNK } |
| IFF identifiers. More... | |
Public Attributes | |
| UInt32 | mVertexBufferIndex |
| The global index of the vertex buffer this morph buffer refers to. | |
| UInt32 | mMorphBufferIndex |
| The local (wrt. the target vertex buffer) morph buffer index. | |
| UInt32 | mNumberOfVertices |
| The total number of vertices that get morphed. | |
| UInt32 | mByteStride |
| The byte stride of the morph information block. | |
| UInt32 | mIndexType |
| The type of indices, from the IEnums::IndexType enumeration. | |
| UInt32 | mVertexDataOffset |
| An offset into the chunk where the vertex morph data is stored. See IffOffset(). | |
| UInt32 | mIndexDataOffset |
| An offset into the chunk where the affected vertex indices are stored. See IffOffset(). | |
Additional Inherited Members | |
Public Member Functions inherited from Murl::Util::IffChunk | |
| template<class DataType > | |
| DataType * | IffOffset (UInt32 byteOffset) const |
| Get a typed pointer from an offset relative to the chunk. More... | |
| void | SetFourCC (UInt32 fourCC) |
| Set the chunk identifier. More... | |
| UInt32 | GetFourCC () const |
| Get the chunk identifier. More... | |
| void | SetChunkSize (UInt32 size) |
| Set the chunk size. More... | |
| UInt32 | GetChunkSize () const |
| Get the chunk size. More... | |
| UInt32 | GetRawSize () const |
| Get the chunk size minus sizeof(IffChunk). More... | |
Protected Attributes inherited from Murl::Util::IffChunk | |
| UInt32 | mFourCC |
| The FourCC chunk identifier. | |
| UInt32 | mSize |
| The size of this chunk minus sizeof(IffChunk). | |
| anonymous enum |
IFF identifiers.
| Enumerator | |
|---|---|
| FOURCC_CHUNK | The four character code identifying this chunk as a MorphBufferChunk. |