Ocular Engine
|
Protected Member Functions | |
virtual bool | saveFile (Core::File const &file, std::vector< Core::Color > const &pixels, unsigned const width, unsigned const height) |
![]() | |
virtual bool | isFileValid (Core::File &file) |
virtual bool | isResourceValid (Core::Resource *resource) |
![]() | |
virtual bool | writeFile (Core::File const &file, std::vector< unsigned char > buffer, Endianness fileEndianness) |
Additional Inherited Members | |
![]() | |
TextureResourceSaver (std::string const &extension) | |
virtual bool | saveResource (Core::Resource *resource, Core::File const &file) |
![]() | |
AResourceSaver (std::string const &extension, ResourceType type) | |
virtual std::string | getSupportedFileType () const |
ResourceType | getResourceType () const |
![]() | |
std::string | m_SupportedExtension |
ResourceType | m_Type |
|
protectedvirtual |
See TextureResourceSaver::saveFile
[in] | file | File to write to. This file has already been verified to exist and be writeable. |
[in] | pixels | Texture pixel data to write to the file. |
[in] | width | Width of the texture. |
[in] | height | Height of the texture. |
Implements Ocular::Graphics::TextureResourceSaver.