KBspDraw Class Reference

Inheritance diagram for KBspDraw:
[legend]
Collaboration diagram for KBspDraw:
[legend]
List of all members.

Public Member Functions

 KBspDraw ()
virtual ~KBspDraw ()
s32 Init (KRender *pRender)
void End ()
virtual s32 LoadBSP (const char *pFileName)
virtual s32 CloseBSP ()
void Draw ()
void ActiveLightMaps (bool bActive)
bool IsActiveLightMaps ()
void ActiveWireFrame (bool bActive)
bool IsActiveWireFrame ()
s32 LoadShader (KRender *pRender)
s32 GetCurrentLoadedShader ()
s32 FinishLoad ()

Protected Member Functions

void DrawLeaf (u32 Leaf)
void DrawFaces ()
void DrawVisiblesLeaves (u32 CurrentLeaf)
void SortFacesByTextures ()
void DisplayLeaf (u32 LeafId)
s32 LoadShaders (KRender *pRender)
s32 LoadLightMaps (KRender *pRender)
void DestroyShaders ()
void DestroyLightMaps ()
bool IsBBoxInsideFrustum (KVector &Min, KVector Max)

Static Protected Member Functions

static int CumpareFunc (const void *pElem1, const void *pElem2)

Protected Attributes

KTEXTURE * m_pLightMapId
KSHADER * m_pShaderId
KRenderm_pRender
u32 m_nVertex
bool m_bUseLightMaps
bool m_bWireFrame
KLVertex2m_pVBuffer
bool m_bSwapRgb
u32 m_CurrentShaderId
u32 m_CurrentLightMapId
KCameram_pCamera
KPlane m_pCameraPlane [6]
KRenderFacem_pRenderFaces
KBspFaceListm_pSortedFaceList
KSkyDrawm_pSkyDraw
KSunDrawm_pSunDraw
s32 m_CurrentLoadedShader
bool * m_pVisibleFace

Detailed Description

Definition at line 33 of file BspDraw.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 25 20:02:27 2007 for Zythum Project by  doxygen 1.5.1-p1