39 virtual std::shared_ptr<IResource>
ReadResource(std::shared_ptr<File> file,
40 std::shared_ptr<ResourceInitData> initData) = 0;
54 std::shared_ptr<Ship::ResourceInitData> initData) = 0;
Abstract factory interface for deserializing a specific resource type and format.
Definition ResourceFactory.h:27
virtual std::shared_ptr< IResource > ReadResource(std::shared_ptr< File > file, std::shared_ptr< ResourceInitData > initData)=0
Deserializes a File into an IResource.
virtual bool FileHasValidFormatAndReader(std::shared_ptr< File > file, std::shared_ptr< Ship::ResourceInitData > initData)=0
Validates that the file's format tag and reader type are compatible with this factory.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14