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

CGXSky Class Reference

#include <GXSky.h>

List of all members.

Public Methods

 CGXSky ()
virtual ~CGXSky ()
virtual void Cleanup ()
virtual bool SetSkyColors (D3DXCOLOR *pLowerColor, D3DXCOLOR *pUpperColor)
virtual void GetSkyColors (D3DXCOLOR *pLowerColor, D3DXCOLOR *pUpperColor)
virtual bool Init (CGXDeviceContainer *pDevice, UINT uTextureSize, UINT uVertexCount, float fRadius, float fCloudyFactor)
virtual bool DrawPrimitive (D3DXMATRIX *pMat)

Protected Methods

virtual bool InitTexture (UINT uSize)
virtual bool InitShader ()
virtual bool InitGeometry (float fRadius, UINT uVertCount)
virtual bool ReverseTriangles ()
virtual bool SetTextureCoords ()

Protected Attributes

IDirect3DVertexBuffer8 * m_pVB
IDirect3DIndexBuffer8 * m_pIB
IDirect3DTexture8 * m_pTexture
CGXDeviceContainerm_pDevice
D3DXCOLOR m_LowerColor
D3DXCOLOR m_UpperColor
DWORD m_dwShader
UINT m_uIndexCount
UINT m_uVertexCount
float m_fCloudyFactor


Constructor & Destructor Documentation

CGXSky::CGXSky  
 

CGXSky::~CGXSky   [virtual]
 


Member Function Documentation

void CGXSky::Cleanup   [virtual]
 

bool CGXSky::DrawPrimitive D3DXMATRIX *    pMat [virtual]
 

void CGXSky::GetSkyColors D3DXCOLOR *    pLowerColor,
D3DXCOLOR *    pUpperColor
[virtual]
 

bool CGXSky::Init CGXDeviceContainer   pDevice,
UINT    uTextureSize,
UINT    uVertexCount,
float    fRadius,
float    fCloudyFactor
[virtual]
 

bool CGXSky::InitGeometry float    fRadius,
UINT    uVertCount
[protected, virtual]
 

bool CGXSky::InitShader   [protected, virtual]
 

bool CGXSky::InitTexture UINT    uSide [protected, virtual]
 

bool CGXSky::ReverseTriangles   [protected, virtual]
 

bool CGXSky::SetSkyColors D3DXCOLOR *    pLowerColor,
D3DXCOLOR *    pUpperColor
[virtual]
 

bool CGXSky::SetTextureCoords   [protected, virtual]
 


Member Data Documentation

D3DXCOLOR CGXSky::m_LowerColor [protected]
 

D3DXCOLOR CGXSky::m_UpperColor [protected]
 

DWORD CGXSky::m_dwShader [protected]
 

float CGXSky::m_fCloudyFactor [protected]
 

CGXDeviceContainer* CGXSky::m_pDevice [protected]
 

IDirect3DIndexBuffer8* CGXSky::m_pIB [protected]
 

IDirect3DTexture8* CGXSky::m_pTexture [protected]
 

IDirect3DVertexBuffer8* CGXSky::m_pVB [protected]
 

UINT CGXSky::m_uIndexCount [protected]
 

UINT CGXSky::m_uVertexCount [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