nw::lyt::Material::ReserveMem Member Function

Syntax

void ReserveMem(
     u8 texMapNum,
     u8 texSRTNum,
     u8 texCoordGenNum,
     u8 tevStageNum = 0,
     bool    allocAlpComp        = false,
     bool    allocBlendMode      = false
);

Arguments

Name Description
texMapNum The number of textures that can be stored.
texSRTNum The number of texture SRT conversion matrices that can be stored.
texCoordGenNum The number of texture coordinate generations that can be stored.
tevStageNum The number of TEV stages that can be stored.
allocAlpComp Specify true to allocate memory for alpha compare settings.
allocBlendMode Specify true to allocate memory for blend mode settings.

Return Values

None.

Description

Allocates the region that holds the material settings.

Revision History

2009/09/18
Initial version.

CONFIDENTIAL