nw::gfx::res::ResGraphicsFile::Setup Member Function

Syntax

Result Setup(
     os::IAllocator * allocator,
     ResGraphicsFile graphicsFile
);

Arguments

Name Description
in allocator Allocator.
in graphicsFile The graphics resource requiring reference resolution.

Return Values

Returns RESOURCE_RESULT_OK if all references in the file have been resolved. Returns a flag indicating the unresolved content type if unresolved external references remain.

Description

Initializes file contents. Generates commands and resolves external references using the file given by argument.


CONFIDENTIAL