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