|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
#include <VertexFactory.h>
Public Member Functions | |
| std::shared_ptr< Ship::IResource > | ReadResource (std::shared_ptr< Ship::File > file, std::shared_ptr< Ship::ResourceInitData > initData) override |
| Deserializes a File into an IResource. | |
Additional Inherited Members | |
Protected Member Functions inherited from Ship::ResourceFactoryBinary | |
| bool | FileHasValidFormatAndReader (std::shared_ptr< File > file, std::shared_ptr< Ship::ResourceInitData > initData) override |
| Validates that the file uses the binary format and contains a BinaryReader. | |
|
overridevirtual |
Deserializes a File into an IResource.
Called by ResourceLoader after it has selected this factory as the best match for the file's (format, type, version) triple.
| file | Raw file data with a populated Reader (BinaryReader or XMLDocument). |
| initData | Metadata parsed from the file header. |
Implements Ship::ResourceFactory.