Ocular Engine
|
Saves a Material object to an Ocular Material file (.omat) More...
#include <MaterialResourceSaver.hpp>
Public Member Functions | |
virtual bool | saveResource (Core::Resource *resource, Core::File const &file) override |
Public Member Functions inherited from Ocular::Core::AResourceSaver | |
AResourceSaver (std::string const &extension, ResourceType type) | |
virtual std::string | getSupportedFileType () const |
ResourceType | getResourceType () const |
Protected Member Functions | |
bool | validateResource (Core::Resource const *resource) const |
Protected Member Functions inherited from Ocular::Core::AResourceSaver | |
virtual bool | writeFile (Core::File const &file, std::vector< unsigned char > buffer, Endianness fileEndianness) |
Additional Inherited Members | |
Protected Attributes inherited from Ocular::Core::AResourceSaver | |
std::string | m_SupportedExtension |
ResourceType | m_Type |
|
overridevirtual |
[in] | resource | |
[in] | file |
Reimplemented from Ocular::Core::AResourceSaver.