nw::gfx::res::ResGraphicsFile::ForeachMaterial Member Function

Syntax

template <typename TFunction>
void ForeachMaterial(
     TFunction function
);

Template Arguments

Name Description
TFunction The type of the function (object) that takes ResMaterial as an argument.

Arguments

Name Description
in function The function (object) to apply.

Return Values

None.

Description

Goes though all instances of ResMaterial in ResGraphicsFile and applies TFunction.


CONFIDENTIAL