CL_ResourceSource_Surface3
Plugin interface for surface resources.
Overview
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)
Members with descriptions
CL_ResourceSource_Surface()-
Description:
- virtual
~CL_ResourceSource_Surface() -
Description:
- virtual const char *
get_name() -
Description:
- virtual bool
can_create( -
std::string file_extension, CL_ResourceOptions *options)
Description:
- virtual CL_SurfaceProvider *
create( -
std::string filename, CL_ResourceOptions *options, CL_ResourceManager *parent)
Description: