#include <GXWater.h>
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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001