ClanSoft logo
ClanSoft logo

    CL_Res_Surface

The surface resource type.

Parents: public CL_ResourceType

Description

This class is used to load surface resources from a resource source (datafile or script file).

Use the CL_ResourceManager to get an instance to the resource source, and then call one of the static functions here to load the resource:

 CL_ResourceManager res_manager("my_datafile.dat", true);
 CL_Surface *my_surface = CL_Res_Surface::load("my_surface", res_manager);
 

Class members

static CL_Surface *load(
        CL_String res_id,
        CL_ResourceManager &manager)
CL_Res_Surface()

See Also

None


Back to index



This page was built using the Perceps documentation system.