Base class for resources. More...
Inherited by Polycode::Cubemap, Polycode::GLSLProgram, Polycode::Material, Polycode::Shader, and Polycode::Texture.
Public members | |
| |
static const int | RESOURCE_TEXTURE = 0 |
static const int | RESOURCE_MATERIAL = 1 |
static const int | RESOURCE_SHADER = 2 |
static const int | RESOURCE_PROGRAM = 3 |
static const int | RESOURCE_MESH = 5 |
static const int | RESOURCE_CUBEMAP = 6 |
Resource (int type) | |
virtual | ~Resource () |
const String & | getResourceName () const |
int | getResourceType () const |
void | setResourceName (const String &newName) |
void | setResourcePath (const String &path) |
const String & | getResourcePath () const |
Base class for resources.
All resources that are managed by the ResourceManager subclass this.