nw::gfx::res::ResGraphicsFile::ForeachModelMaterial Member Function

Syntax

template <typename TFunction>
void ForeachModelMaterial(
     TFunction * function
);

Template Arguments

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

Arguments

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

Return Values

None.

Description

Traverses all ResModel and ResMaterial objects in ResGraphicsFile and applies TFunction. This is a special version of the pointer.


CONFIDENTIAL