Murl::Resource::IImage::Iff::StreamChunk Struct Reference

An IFF chunk containing a single image data stream. More...

#include "murl_resource_i_image.h"

Inheritance diagram for Murl::Resource::IImage::Iff::StreamChunk:

Public Types

enum  { FOURCC_CHUNK }
 IFF identifiers. More...
 

Public Attributes

UInt32 mStreamIndex
 The actual MIP level (0 equals the base level).
 
UInt32 mPixelSizeX
 The horizontal size of the base level image in pixels.
 
UInt32 mPixelSizeY
 The vertical size of the base level image in pixels.
 
UInt32 mNativePixelFormat
 The image's native pixel format, from the IEnums::PixelFormat enumeration.
 
UInt32 mBinaryPixelFormat
 The image's binary pixel format, from the IEnums::PixelFormat enumeration.
 
UInt32 mVideoStreamFormat
 The video stream format, from the IEnums::VideoStreamFormat enumeration.
 
UInt32 mDataOffset
 An offset into the chunk where the stream's MIP level chunks are stored. See IffOffset().
 
UInt32 mDataByteSize
 The size in bytes of the MIP level chunk 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 a single image data stream.

Regular 2D images only have a single image stream chunk. Cube map images store six stream chunks, and 2D arrays and 3D images store an arbitrary number of chunks, depending on their array size / Z dimension.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

IFF identifiers.

Enumerator
FOURCC_CHUNK 

The four character code identifying this chunk as a StreamChunk.


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


Copyright © 2011-2024 Spraylight GmbH.