nw::lyt::res::MaterialList Structure

Syntax

struct MaterialList
{
   ut::BinaryBlockHeader blockHeader;
   ut::ResU16 materialNum;
   ut::ResU8 padding[2];
};

Description

Material information list.

Define the material list accessed by a pane ahead of the pane.

res::DATABLOCKKIND_MATERIALLIST is specified for kind in blockHeader.

The following data structure follows this structure.

ut::ResU32 materialOffsetTable[materialNum]
Material material0
・ …

materialOffsetTable gives the offset to each instance of material information (from the start of the data block).

Member Variables

blockHeader ut::BinaryBlockHeader Header.
materialNum ut::ResU16 The number of materials.
padding ut::ResU8 (Not used.)

See Also

Layout

Revision History

2010/01/26
Initial version.

CONFIDENTIAL