Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CGXWater Class Reference

#include <GXWater.h>

List of all members.

Public Methods

 CGXWater ()
 ~CGXWater ()
bool Init (CGXDeviceContainer *pDevice, float fSideSize, UINT uSideSize)
bool DrawPrimitive ()
void SetColor (DWORD dwNewColor)
DWORD GetColor ()
void SetMatrices (D3DXMATRIX *pViewMatrix, D3DXMATRIX *pProjectionMatrix)
void SetEyePos (D3DXVECTOR3 *pEyePos)
float GetWaterLevel ()
bool SetWaterLevel (float fLevel)
void GetReflectionMatrix (D3DXMATRIX *pInOut)
void SetReflectionTexture (IDirect3DTexture8 *pTexture)
IDirect3DTexture8 * GetReflectionTexture ()
void GetClipPlane (float *pOut)

Protected Methods

void Cleanup ()
bool InitShader ()

Protected Attributes

DWORD m_dwColor
CGXDeviceContainer * m_pDevice
IDirect3DTexture8 * m_pReflectionTexture
DWORD m_dwShader
CGXLand m_Water
D3DXMATRIX m_mViewMatrix
D3DXMATRIX m_mProjectionMatrix
D3DXVECTOR4 m_vEyePos
float m_fWaterLevel
float m_fSideSize


Constructor & Destructor Documentation

CGXWater::CGXWater (    ) 
 

CGXWater::~CGXWater (    ) 
 


Member Function Documentation

void CGXWater::Cleanup (    )  [protected]
 

bool CGXWater::DrawPrimitive (    ) 
 

void CGXWater::GetClipPlane (  float *    pOut ) 
 

DWORD CGXWater::GetColor (    ) 
 

void CGXWater::GetReflectionMatrix (  D3DXMATRIX *    pInOut ) 
 

IDirect3DTexture8 * CGXWater::GetReflectionTexture (    ) 
 

float CGXWater::GetWaterLevel (    )  [inline]
 

bool CGXWater::Init (  CGXDeviceContainer *    pDevice,
float    fSideSize,
UINT    uSideSize
) 
 

bool CGXWater::InitShader (    )  [protected]
 

void CGXWater::SetColor (  DWORD    dwNewColor ) 
 

void CGXWater::SetEyePos (  D3DXVECTOR3 *    pEyePos ) 
 

void CGXWater::SetMatrices (  D3DXMATRIX *    pViewMatrix,
D3DXMATRIX *    pProjectionMatrix
) 
 

void CGXWater::SetReflectionTexture (  IDirect3DTexture8 *    pTexture ) 
 

bool CGXWater::SetWaterLevel (  float    fLevel ) 
 


Member Data Documentation

CGXLand CGXWater::m_Water [protected]
 

DWORD CGXWater::m_dwColor [protected]
 

DWORD CGXWater::m_dwShader [protected]
 

float CGXWater::m_fSideSize [protected]
 

float CGXWater::m_fWaterLevel [protected]
 

D3DXMATRIX CGXWater::m_mProjectionMatrix [protected]
 

D3DXMATRIX CGXWater::m_mViewMatrix [protected]
 

CGXDeviceContainer* CGXWater::m_pDevice [protected]
 

IDirect3DTexture8* CGXWater::m_pReflectionTexture [protected]
 

D3DXVECTOR4 CGXWater::m_vEyePos [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu May 23 17:51:01 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001