ClanSoft logo
ClanSoft logo

    CL_ResourceSource_Surface

Plugin interface for surface resources.

Description

CL_ResourceSource_Surface is a plugin interface for the surface resource type.

Applications and libraries can inherit this class to add their own customized surface sources. Just as any other plugin in ClanLib, the application or library has to keep one global instance of each plugin - otherwise the resource manager will not be able to use the new resource source.

Class members

CL_ResourceSource_Surface()
virtual ~CL_ResourceSource_Surface()
virtual const char *get_name()
virtual bool can_create( std::string file_extension, CL_ResourceOptions *options)
virtual CL_SurfaceProvider *create( std::string filename, CL_ResourceOptions *options, CL_ResourceManager *parent)

See Also

None


Back to index



This page was built using the Perceps documentation system.