Visualization Library v1.0.3A lightweight C++ OpenGL middleware for 2D/3D graphics |
[Download] [Tutorials] [All Classes] [Grouped Classes] |
The LoadWriterTGA class is a ResourceLoadWriter capable of reading TGA files. More...
#include <ioTGA.hpp>
Public Member Functions | |
LoadWriterTGA () | |
ref< ResourceDatabase > | loadResource (const String &path) const |
ref< ResourceDatabase > | loadResource (VirtualFile *file) const |
bool | writeResource (const String &path, ResourceDatabase *resource) const |
bool | writeResource (VirtualFile *file, ResourceDatabase *resource) const |
The LoadWriterTGA class is a ResourceLoadWriter capable of reading TGA files.
Definition at line 57 of file ioTGA.hpp.
vl::LoadWriterTGA::LoadWriterTGA | ( | ) | [inline] |
Definition at line 62 of file ioTGA.hpp.
References VL_DEBUG_SET_OBJECT_NAME.
ref<ResourceDatabase> vl::LoadWriterTGA::loadResource | ( | const String & | path ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 67 of file ioTGA.hpp.
References vl::loadTGA().
ref<ResourceDatabase> vl::LoadWriterTGA::loadResource | ( | VirtualFile * | file ) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 76 of file ioTGA.hpp.
References vl::loadTGA().
bool vl::LoadWriterTGA::writeResource | ( | const String & | path, |
ResourceDatabase * | resource | ||
) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 85 of file ioTGA.hpp.
References vl::ResourceDatabase::count(), vl::ResourceDatabase::get(), and vl::saveTGA().
bool vl::LoadWriterTGA::writeResource | ( | VirtualFile * | file, |
ResourceDatabase * | resource | ||
) | const [inline, virtual] |
Implements vl::ResourceLoadWriter.
Definition at line 93 of file ioTGA.hpp.
References vl::ResourceDatabase::count(), vl::ResourceDatabase::get(), and vl::saveTGA().