Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include "vl/Object.hpp"#include "vl/String.hpp"#include <vector>#include <algorithm>Classes | |
| class | vl::ResourceDatabase |
| The ResourceDatabase class contains and manipulates a set of resources. More... | |
Namespaces | |
| namespace | vl |
| Visualization Library namespace. | |
Functions | |
| ref< ResourceDatabase > | vl::loadResource (const String &path, bool quick=true) |
| Loads the specified resource. Equivalent to VisualizationLibrary::loadWriterManager()->loadResource(const String& path, bool quick). | |
| ref< ResourceDatabase > | vl::loadResource (VirtualFile *file, bool quick=true) |
| Loads the specified resource. Equivalent to VisualizationLibrary::loadWriterManager()->loadResource(VirtualFile* file). | |
| bool | vl::canLoad (const String &path) |
| Returns true if there is a ResourceLoadWriter registered to load the specified path or extension. | |
| bool | vl::canLoad (VirtualFile *file) |
| Returns true if there is a ResourceLoadWriter registered to load the specified file. | |
| bool | vl::canWrite (const String &path) |
| Returns true if there is a ResourceLoadWriter registered to write the specified path or extension. | |
| bool | vl::canWrite (VirtualFile *file) |
| Returns true if there is a ResourceLoadWriter registered to write the specified file. | |