#include <pg_draw_mgr.h>
Public Member Functions | |
| pgDefineException (ExceptionCalcFontDrawWidthFailed) | |
| pgDefineException (ExceptionCreateFreeTypeFailed) | |
| pgDefineException (ExceptionDestroyFreeTypeFailed) | |
| pgDefineException (ExceptionFontFinalizerFailed) | |
| pgDefineException (ExceptionFontInitializerFailed) | |
| pgDefineException (ExceptionInvalidArgument) | |
| pgDefineException (ExceptionInvalidCall) | |
| pgDefineException (ExceptionNotFound) | |
| pgDefineException (ExceptionNotInitialized) | |
| pgDefineException (ExceptionSameIDExists) | |
| pgDefineException (ExceptionTextureInitializerFailed) | |
Static Public Member Functions | |
| static bool | isShaderAvailable () |
| static u16 | getMaxTextureLength () |
| static u16 | getValidTextureLength (u16 length) |
| static u16 | getTexturePixelSize (pgTex::TexFormat format) |
| static bool | isCreated () |
| static void | createAfterRes () |
| static void | destroyBeforeRes () |
| static bool | isRender () |
| static void | setRender (bool is_render) |
| static bool | hasScreen (pgID scr_id) |
| static pgScr * | getScreen (pgID scr_id) |
| static pgScr * | newScreen (pgID scr_id) |
| static void | deleteScreen (pgID scr_id) |
| static pgScr * | getFirstScreenN () |
| static pgScr * | getLastScreenN () |
| static bool | hasTexture (pgID tex_id) |
| static pgTex * | getTexture (pgID tex_id) |
| static pgTex * | newTexture (pgID tex_id, u16 width, u16 height, pgTex::TexFormat format) |
| static pgTex * | newTexture (pgID tex_id, u16 width, u16 height, pgTex::TexFormat format, const void *image, u32 image_size) |
| static void | deleteTexture (pgID tex_id) |
| static pgTex * | getFirstTextureN () |
| static pgTex * | getLastTextureN () |
| static u16 | getFontIndexNum (pgID font_id) |
| static pgID | getFontID () |
| static u16 | getFontIndex () |
| static void | setFont (pgID font_id, u16 font_index) |
| static u16 | getFontSize () |
| static u16 | setFontSize (u16 font_size) |
| static u16 | calcFontDrawWidth (const char *str,...) |
| static u16 | calcFontDrawWidth (const wchar_t *str,...) |
| static bool | hasShader (pgID shd_id) |
| static pgShd * | getShader (pgID shd_id) |
| static pgShd * | newShader (pgID shd_id, const char *vert_code, const char *frag_code, u8 uni_num, u8 att_num, u8 tex_num) |
| static void | deleteShader (pgID shd_id) |
| static pgShd * | getFirstShaderN () |
| static pgShd * | getLastShaderN () |
| static bool | hasLightSet (pgID lts_id) |
| static pgLts * | getLightSet (pgID lts_id) |
| static pgLts * | newLightSet (pgID lts_id) |
| static void | deleteLightSet (pgID lts_id) |
| static pgLts * | getFirstLightSetN () |
| static pgLts * | getLastLightSetN () |
| static void | deleteAllVramObjForSystem () |
| static void | renderForSystem () |
Static Public Attributes | |
| static const pgID | INVISIBLE_SCREEN_ID |
| static const pgID | DEFAULT_3D_SCREEN_ID |
| static const pgID | DEFAULT_2D_SCREEN_ID |
| static const pgID | DEFAULT_LIGHT_SET_ID |
| static const pgID | DEFAULT_SHADER_ID |
| static const u32 | MAX_RENDER_INTERVAL_MSEC_TIME = 100 |
Friends | |
| class | pgTex |
| class | pgFont |
| class | pgShd |
| class | pgLts |
| class | pgScr |
1.5.8