nw::lyt::Material::ReserveMem Member Function
void ReserveMem(
u8 texMapNum,
u8 texSRTNum,
u8 texCoordGenNum,
u8 tevStageNum = 0,
bool allocAlpComp = false,
bool allocBlendMode = false
);
| 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. |
Allocates the region that holds the material settings.
CONFIDENTIAL