![]() |
Murl Engine API
Version 2024.1
|
An IFF chunk storing additional information about a rectangle. More...
#include <murl_resource_i_atlas.h>
An IFF chunk storing additional information about a rectangle.
Public Types | |
enum | { FOURCC_CHUNK } |
IFF identifiers. More... | |
Public Attributes | |
UInt32 | mIndex |
The zero-based index of the rectangle. | |
SInt32 | mMaterialSlot |
The explicit material slot used for rendering, or -1 if undefined. | |
SInt32 | mParametersSlot |
The explicit parameters slot used for rendering, or -1 if undefined. | |
SInt32 | mTextureSlot |
The explicit texture slot used, or -1 if undefined. | |
UInt32 | mTextureSizeX |
The horizontal texture reference size. | |
UInt32 | mTextureSizeY |
The vertical texture reference size. | |
UInt32 | mNameOffset |
An offset into the chunk where the rectangle's name is stored. See IffOffset(). | |
UInt32 | mNameByteSize |
The size in bytes of the name string, including the terminating null character. | |
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. | |
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 RectangleInfoChunk. |