MovieDef::VisitResources

MovieDef::VisitResources
virtual void VisitResources(ResourceVisitor* pvisitor, unsigned visitMask = ResVisit_AllImages) = 0;
Description

VisitResources enumerates resources such as fonts and images within the MovieDef, by calling ResourceVisitor::Visit for each resource. VisitResources will enumerate only the resources loaded from the file or created during loading; it will not report resources dynamically created by the instance. This function is primarily used by the GFxExport tool implementation.

Parameters
Parameters 
Description 
ResourceVisitor* pvisitor 
A pointer to ResourceVisitor abstract class whose Visit function will be called for each resource. 
unsigned visitMask = ResVisit_AllImages 
A bit mask defining the type of resources to be enumerated described by VisitResourceMask; includes values such as ResVisit_Fonts, ResVisit_Bitmaps, and so on.