nw::gfx::res::ResGraphicsFile::ForeachUnresolvedReference Member Function

Syntax

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

Template Arguments

Name Description
TFunction This type of function object takes the referenced object as an argument.

Arguments

Name Description
in function The function object to be applied. Overload operator() to take each of the following as an argument ResTexture, ResReferenceShader, and ResReferenceLookupTable.

Return Values

None.

Description

All referenced objects inside ResGraphicsFile are traversed, and TFunction is applied if a reference object remains unresolved. This is a special version of the pointer.


CONFIDENTIAL