libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Ship::ResourceFactoryBinaryGuiTextureV0 Class Referencefinal

Factory for deserializing version-0 binary GuiTexture resources from archive files. More...

#include <GuiTextureFactory.h>

Inheritance diagram for Ship::ResourceFactoryBinaryGuiTextureV0:
[legend]
Collaboration diagram for Ship::ResourceFactoryBinaryGuiTextureV0:
[legend]

Public Member Functions

std::shared_ptr< IResourceReadResource (std::shared_ptr< File > file, std::shared_ptr< Ship::ResourceInitData > initData) override
 Reads a GuiTexture resource from a binary archive file.
 
- Public Member Functions inherited from Ship::ResourceFactory
virtual std::shared_ptr< IResourceReadResource (std::shared_ptr< File > file, std::shared_ptr< ResourceInitData > initData)=0
 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.
 

Detailed Description

Factory for deserializing version-0 binary GuiTexture resources from archive files.

Member Function Documentation

◆ ReadResource()

std::shared_ptr< IResource > Ship::ResourceFactoryBinaryGuiTextureV0::ReadResource ( std::shared_ptr< File file,
std::shared_ptr< Ship::ResourceInitData initData 
)
override

Reads a GuiTexture resource from a binary archive file.

Parameters
fileThe archive file containing the texture data.
initDataInitialization metadata for the resource.
Returns
A shared pointer to the deserialized GuiTexture resource.

The documentation for this class was generated from the following file: