#include <pg_rend.h>

Public Member Functions | |
| pgDefineException (ExceptionInvalidArgument) | |
| pgDefineException (ExceptionInvalidCall) | |
| pgDefineException (ExceptionNotInitialized) | |
| bool | isActive () const |
| void | setActive (bool is_active) |
Protected Member Functions | |
| void | init (pgPrim *prim, u32 body_size, u32 data_size) |
| void | init (pgPrim *prim, u32 body_size, u32 data_size, void *rend_data) |
| pgPrim * | getPrim () const |
| template<class T > | |
| T * | getRendBody () |
| template<class T > | |
| T * | getRendData (u16 index) |
Static Protected Member Functions | |
| static void | renderAllocBuffer (pgVec **pos_buf, pgCol **col_buf, r32 **uv_buf, pgVec **normal_buf, const pgPrim *prim, bool has_pos_buf, bool has_col_buf, bool has_uv_buf, bool has_normal_buf) |
| static const pgMat & | renderGetPrimWorld (const pgPrim *prim) |
| static pgTex * | renderGetPrimTextureN (const pgPrim *prim) |
| static pgCol | renderGetPrimFinalColor (const pgPrim *prim) |
| static bool | renderIsTextureUVAdjustNeeded (pgTex *tex) |
| static void | renderGetTextureParam (r32 *u_param_a, r32 *u_param_b, r32 *v_param_a, r32 *v_param_b, const pgTex *tex) |
| static void | renderCalcColorBuffer (pgCol *col_buf, const pgPrim *prim) |
| static void | renderCalcUVBuffer (r32 *uv_buf, const pgPrim *prim) |
| static void | renderSetTexture (pgTex *tex1, pgTex *tex2, pgTex *tex3, bool is_bilinear) |
| static void | renderSetVertexPointer (u32 stride, const r32 *vert) |
| static void | renderSetColorPointer (u32 stride, const u8 *color) |
| static void | renderSetTexCoordPointer (u32 stride, const r32 *uv) |
| static void | renderSetTexture (const pgPrim *prim) |
| static void | renderSetVertexPointer (const pgPrim *prim) |
| static void | renderSetColorPointer (const pgPrim *prim) |
| static void | renderSetTexCoordPointer (const pgPrim *prim) |
| static void | renderDrawArrays (u8 prim_mode, u16 first, u16 count) |
| static u32 | renderGetShaderUniformLocation (const pgShd *shd, u8 index) |
| static u32 | renderGetShaderAttribLocation (const pgShd *shd, u8 index) |
| static u32 | renderGetShaderTextureLocation (const pgShd *shd, u8 index) |
| static void | renderSetShader (pgShd *shd) |
| static void | renderSetUniform_s32 (u32 location, s32 uniform) |
| static void | renderSetUniform_r32 (u32 location, r32 uniform) |
| static void | renderSetUniform_localToScreen (const pgShd *shd) |
| static void | renderSetAttribPointer_r32 (u32 location, u8 size, u32 stride, const r32 *attrib) |
| static void | renderSetAttribPointer_vertex (const pgShd *shd, u32 stride, const r32 *vert) |
| static void | renderSetAttribPointer_color (const pgShd *shd, u32 stride, const u8 *color) |
| static void | renderSetAttribPointer_texCoord (const pgShd *shd, u32 stride, const r32 *uv) |
| static void | renderSetAttribPointer_vertex (const pgShd *shd, const pgPrim *prim) |
| static void | renderSetAttribPointer_color (const pgShd *shd, const pgPrim *prim) |
| static void | renderSetAttribPointer_texCoord (const pgShd *shd, const pgPrim *prim) |
| static void | renderDisableAttribPointers (const pgShd *shd) |
| static void | renderCallPrimRenderWithDestroyingBuffer (pgPrim *prim, const pgMat &view) |
Friends | |
| class | pgPrim |
1.5.8