nw::lyt::res::Material Structure

Syntax

struct Material
{
   char name[MaterialNameStrMax];
   Color colors[MatColorMax];
   MaterialResourceNum resNum;
};

Description

Material information.

The following structures containting detailed information follows this structure.

TexMap resTexMaps[texNum]
TexSRT texSRTs[texSRTNum]
TexCoordGen texCoordGen[texCoordGenNum]
TevStage tevStages[tevStageNum]
AlphaCompare alphaCompare
BlendMode blendMode

How many instances of detailed information are stored is determined by the value of resNum.

Member Variables

name The name.
colors Color information.
resNum The number of detailed settings.

See Also

MaterialList

Revision History

2010/01/26
Initial version.

CONFIDENTIAL