pgDrawMgr Class Reference
[pgDraw -- Graphics module]

TODO. More...

#include <pg_draw_mgr.h>

List of all members.

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 pgScrgetScreen (pgID scr_id)
static pgScrnewScreen (pgID scr_id)
static void deleteScreen (pgID scr_id)
static pgScrgetFirstScreenN ()
static pgScrgetLastScreenN ()
static bool hasTexture (pgID tex_id)
static pgTexgetTexture (pgID tex_id)
static pgTexnewTexture (pgID tex_id, u16 width, u16 height, pgTex::TexFormat format)
static pgTexnewTexture (pgID tex_id, u16 width, u16 height, pgTex::TexFormat format, const void *image, u32 image_size)
static void deleteTexture (pgID tex_id)
static pgTexgetFirstTextureN ()
static pgTexgetLastTextureN ()
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 pgShdgetShader (pgID shd_id)
static pgShdnewShader (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 pgShdgetFirstShaderN ()
static pgShdgetLastShaderN ()
static bool hasLightSet (pgID lts_id)
static pgLtsgetLightSet (pgID lts_id)
static pgLtsnewLightSet (pgID lts_id)
static void deleteLightSet (pgID lts_id)
static pgLtsgetFirstLightSetN ()
static pgLtsgetLastLightSetN ()
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


Detailed Description

TODO.
The documentation for this class was generated from the following file:

Generated on Sat Aug 15 11:24:38 2009 for Pogolyn by  doxygen 1.5.8