Murl::Resource::IMesh::Iff::DeformBufferChunk Struct Reference
An IFF chunk containing deforming data for a given vertex buffer. More...
#include "murl_resource_i_mesh.h"
Inheritance diagram for Murl::Resource::IMesh::Iff::DeformBufferChunk:
Public Types | |
enum | { FOURCC_CHUNK } |
IFF identifiers. More... | |
Public Attributes | |
UInt32 | mVertexBufferIndex |
The global index of the vertex buffer this deform buffer refers to. | |
UInt32 | mDeformBufferIndex |
The local (wrt. the target vertex buffer) deform buffer index. | |
UInt32 | mByteStride |
The byte stride of the deform information block. | |
UInt32 | mIndexType |
The type of indices, from the IEnums::IndexType enumeration. | |
UInt32 | mEntryDataOffset |
An offset into the chunk where the deform entry data is stored. See IffOffset(). | |
UInt32 | mEntryDataByteSize |
The size in bytes of the entry data. | |
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). | |
Detailed Description
An IFF chunk containing deforming data for a given vertex buffer.
For a single vertex buffer to be deformed, there can be any number of individual deform buffers identified by their mDeformBufferIndex. Each deform buffer can contain any number of deform entries in its payload, which can be accessed at the location pointed to by mEntryDataOffset.
Member Enumeration Documentation
◆ anonymous enum
anonymous enum |
IFF identifiers.
Enumerator | |
---|---|
FOURCC_CHUNK | The four character code identifying this chunk as a DeformBufferChunk. |
The documentation for this struct was generated from the following file:
- murl_resource_i_mesh.h