Murl::Resource::IAtlas::Iff::RectangleInfoChunk Struct Reference

An IFF chunk storing additional information about a rectangle. More...

#include "murl_resource_i_atlas.h"

Inheritance diagram for Murl::Resource::IAtlas::Iff::RectangleInfoChunk:

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

- 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 storing additional information about a rectangle.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.


The four character code identifying this chunk as a RectangleInfoChunk.

The documentation for this struct was generated from the following file:
  • murl_resource_i_atlas.h

Copyright © 2011-2024 Spraylight GmbH.