Murl::Resource::IAtlas::Iff::RectanglesChunk Struct Reference

An IFF chunk of a native atlas resource storing multiple rectangles. More...

#include "murl_resource_i_atlas.h"

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

Public Types

enum  { FOURCC_CHUNK_CROPPED , FOURCC_CHUNK_EXTENDED }
 IFF identifiers. More...
 

Public Attributes

UInt32 mNumberOfRectangles
 The total number of rectangles in this chunk.
 
UInt32 mRectanglesOffset
 An offset into the chunk where the rectangles' data is 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).
 

Detailed Description

An IFF chunk of a native atlas resource storing multiple rectangles.

The data pointed to by mRectanglesOffset must be interpreted as a pointer to an array of Raw::Rectangle structs, with the data size in bytes equalling mNumberOfRectangles*sizeof(Raw::Rectangle).

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_CHUNK_CROPPED 

The four character code identifying this chunk as a RectanglesChunk.


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


Copyright © 2011-2024 Spraylight GmbH.