nw::gfx::res::ResGraphicsFile::ForeachMaterial Member Function
template <typename TFunction>
void ForeachMaterial(
TFunction function
);
| Name | Description |
|---|---|
TFunction |
The type of the function (object) that takes ResMaterial as an argument. |
| Name | Description | |
|---|---|---|
| in | function | The function (object) to apply. |
Goes though all instances of ResMaterial in ResGraphicsFile and applies TFunction.
CONFIDENTIAL