Polycode
Polycode::Resource Class Reference

Base class for resources. More...

Inherited by Polycode::Cubemap, Polycode::GLSLProgram, Polycode::Material, Polycode::Shader, and Polycode::Texture.

List of all members.

Public members

Available 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 StringgetResourceName () const
int getResourceType () const
void setResourceName (const String &newName)
void setResourcePath (const String &path)
const StringgetResourcePath () const

Detailed Description

Base class for resources.

All resources that are managed by the ResourceManager subclass this.