nw::gfx::res::ResGraphicsFile::ForeachUnresolvedReferenceShader Member Function

Syntax

template <typename TFunction>
void ForeachUnresolvedReferenceShader(
     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

All ResShader objects inside ResGraphicsFile are traversed, and TFunction is applied if a ReferenceShader remains unresolved.


CONFIDENTIAL