Ocular Engine
Ocular::Graphics::MaterialResourceSaver Class Reference

Saves a Material object to an Ocular Material file (.omat) More...

#include <MaterialResourceSaver.hpp>

Inheritance diagram for Ocular::Graphics::MaterialResourceSaver:
Ocular::Core::AResourceSaver

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
 

Detailed Description

Saves a Material object to an Ocular Material file (.omat)

Member Function Documentation

bool Ocular::Graphics::MaterialResourceSaver::saveResource ( Core::Resource resource,
Core::File const &  file 
)
overridevirtual
Parameters
[in]resource
[in]file

Reimplemented from Ocular::Core::AResourceSaver.


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