|
ClanLib
2.3.7
|
Shared Graphic Context Data. More...
#include <shared_gc_data.h>
Static Public Member Functions | |
| static void | add_disposable (CL_DisposableObject *disposable) |
| Add disposable. More... | |
| static void | add_ref () |
| Add ref. More... | |
| static bool | add_texture (CL_Texture &texture, const CL_String &filename, const CL_VirtualDirectory &virtual_directory=CL_VirtualDirectory(), const CL_ImageImportDescription &import_desc=CL_ImageImportDescription()) |
| Add texture to the shared texture cache. More... | |
| static void | dispose_objects () |
| Dispose objects. More... | |
| static CL_Signal_v0 & | func_gc_destruction_imminent () |
| Func gc destruction imminent. More... | |
| static std::vector < CL_GraphicContextProvider * > & | get_gc_providers () |
| static CL_SharedGCData * | get_instance () |
| Get Instance. More... | |
| static CL_Texture | load_texture (CL_GraphicContext &gc, const CL_String &filename, const CL_VirtualDirectory &virtual_directory=CL_VirtualDirectory(), const CL_ImageImportDescription &import_desc=CL_ImageImportDescription()) |
| Load texture. More... | |
| static void | release_ref () |
| Release ref. More... | |
| static void | remove_disposable (CL_DisposableObject *disposable) |
| Remove disposable. More... | |
| static void | unload_all_textures () |
| Unload all textures. More... | |
| static void | unload_texture (const CL_String &filename, const CL_VirtualDirectory &virtual_directory=CL_VirtualDirectory(), const CL_ImageImportDescription &import_desc=CL_ImageImportDescription()) |
| Unload texture. More... | |
Shared Graphic Context Data.
|
static |
Add disposable.
| disposable | = Disposable Object |
|
static |
Add ref.
|
static |
Add texture to the shared texture cache.
| texture | = Texture |
| filename | = String |
| virtual_directory | = Virtual Directory |
| import_desc | = Import Description |
|
static |
Dispose objects.
|
static |
Func gc destruction imminent.
|
static |
|
static |
Get Instance.
|
static |
Load texture.
| gc | = Graphic Context |
| filename | = String |
| virtual_directory | = Virtual Directory |
|
static |
Release ref.
|
static |
Remove disposable.
| disposable | = Disposable Object |
|
static |
Unload all textures.
|
static |
Unload texture.
| filename | = String |
| virtual_directory | = Virtual Directory |
1.8.4