![]() |
Murl Engine API
Version 2018.3
|
An IFF chunk of a native animation storing "single" (non-indexed) key types. More...
#include <murl_resource_i_animation.h>
An IFF chunk of a native animation storing "single" (non-indexed) key types.
The data pointed to by the mKeysOffset member must be interpreted as an array of structs of the type defined for the respective FourCC chunk identifier, e.g. a chunk of type FOURCC_DIFFUSE contains a data block consisting of mNumberOfKeys consecutive Raw::ColorKey structures, with the data size in bytes equalling mNumberOfKeys*sizeof(Raw::ColorKey).
There can only be one chunk of a specific type for a single clip, hence the name SingleKeysChunk, e.g. it is not possible to have more than one key chunk of type FOURCC_POSITION per clip.
Public Attributes | |
UInt32 | mNumberOfKeys |
The number of keys in this chunk. | |
UInt32 | mKeysOffset |
An offset into the chunk where the key frame data is stored. See IffOffset(). | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
UInt32 | mFourCC |
The FourCC chunk identifier. More... | |
UInt32 | mSize |
The size of this chunk minus sizeof(IffChunk). More... | |
anonymous enum |
IFF identifiers.