nw::gfx::res::ResGraphicsFile::ForeachModelMaterial Member Function
template <typename TFunction>
void ForeachModelMaterial(
TFunction * function
);
| Name | Description |
|---|---|
TFunction |
The type of the function (object) that takes ResIndexStream as an argument. |
| Name | Description | |
|---|---|---|
| in | function | The function (object) to apply. |
Traverses all ResModel and ResMaterial objects in ResGraphicsFile and applies TFunction. This is a special version of the pointer.
CONFIDENTIAL