pgUtil Class Reference
[pgUtil -- Utility module]

TODO. More...

#include <pg_util.h>

List of all members.

Public Member Functions

 pgDefineException (ExceptionInvalidArgument)
 pgDefineException (ExceptionInvalidData)

Static Public Member Functions

static u32 strlen (const char *str)
static u32 wcslen (const wchar_t *str)
static void charToWchar (wchar_t *buf, u32 buf_size, const char *str)
static const char * getBasename (const char *filename)
static const char * getExtension (const char *filename)
static void calcNormalAsTriangles (pgVec *normal, const pgPrim::PrimData *prim_data, u16 vert_num, bool is_smoothing)
static bool readPNGInfo (u16 *width, u16 *height, pgTex::TexFormat *format, const void *data, u32 data_size)
static bool readPNGImage (void *buf, u32 buf_size, u32 buf_line_size, const void *data, u32 data_size)
static void loadWindowsFont (const char *filename)
static void loadShader (pgID shd_id, const char *vert_file, const char *frag_file, u8 uni_num, u8 att_num, u8 tex_num)
static void loadPixelArtModel (const char *pxm_file, const char *png_file, r32 scale)
static void loadPixelArtModelAs (pgID res_id, const char *pxm_file, const char *png_file, r32 scale)
static void import3DS (const char *filename, pgID tex_id, bool has_normal, bool is_smoothing_normal, r32 scale)
static void import3DSAs (pgID res_id, const char *filename, pgID tex_id, bool has_normal, bool is_smoothing_normal, r32 scale)


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