Home | All Classes | Grouped Classes | Index | Search
Resource type handler class. More...
Derived from:
none
Derived by:
none
Group: Core (Resources)
#include <ClanLib/core.h>
Construction:
Constructs and registers a resource type. |
Attributes:
Returns the resource type name. | |
resource_types static | Global static list of all registered resource types. |
Operations:
Connect resource data to resource. |
Detailed description:
CL_ResourceType interface is used to attach resource data to a resource of a given resource type.
When a CL_ResourceType object is constructed, it will register itself as a handler for the given resource type, and when a resource file is loaded, the resource manager will ask the CL_ResourceType object to connect CL_ResourceData objects to matching resources.