Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
FlatTerrainShaderPixelShader Class Reference

regular terrain shader that should work on all multi-texture video cards (slowest version) More...

Inherits W3DShaderInterface.

Public Member Functions

virtual Int set (Int pass)
 setup shader for the specified rendering pass.
 
virtual Int init (void)
 perform any one time initialization and validation
 
virtual void reset (void)
 do any custom resetting necessary to bring W3D in sync.
 
virtual Int shutdown (void)
 release resources used by shader
 
- Public Member Functions inherited from W3DShaderInterface
Int getNumPasses (void)
 

Public Attributes

DWORD m_dwBasePixelShader
 handle to terrain D3D pixel shader
 
DWORD m_dwBaseNoise1PixelShader
 handle to terrain/single noise D3D pixel shader
 
DWORD m_dwBaseNoise2PixelShader
 handle to terrain/double noise D3D pixel shader
 
DWORD m_dwBase0PixelShader
 handle to terrain only pixel shader
 

Additional Inherited Members

- Protected Attributes inherited from W3DShaderInterface
Int m_numPasses
 release resources used by shader
 

Detailed Description

regular terrain shader that should work on all multi-texture video cards (slowest version)

Definition at line 1511 of file W3DShaderManager.cpp.

Member Function Documentation

◆ init()

Int FlatTerrainShaderPixelShader::init ( void )
virtual

perform any one time initialization and validation

Implements W3DShaderInterface.

Definition at line 3497 of file W3DShaderManager.cpp.

◆ reset()

void FlatTerrainShaderPixelShader::reset ( void )
virtual

do any custom resetting necessary to bring W3D in sync.

Reimplemented from W3DShaderInterface.

Definition at line 3710 of file W3DShaderManager.cpp.

◆ set()

Int FlatTerrainShaderPixelShader::set ( Int pass)
virtual

setup shader for the specified rendering pass.

Reimplemented from W3DShaderInterface.

Definition at line 3556 of file W3DShaderManager.cpp.

◆ shutdown()

Int FlatTerrainShaderPixelShader::shutdown ( void )
virtual

release resources used by shader

Reimplemented from W3DShaderInterface.

Definition at line 3475 of file W3DShaderManager.cpp.

Member Data Documentation

◆ m_dwBase0PixelShader

DWORD FlatTerrainShaderPixelShader::m_dwBase0PixelShader

handle to terrain only pixel shader

Definition at line 1517 of file W3DShaderManager.cpp.

◆ m_dwBaseNoise1PixelShader

DWORD FlatTerrainShaderPixelShader::m_dwBaseNoise1PixelShader

handle to terrain/single noise D3D pixel shader

Definition at line 1515 of file W3DShaderManager.cpp.

◆ m_dwBaseNoise2PixelShader

DWORD FlatTerrainShaderPixelShader::m_dwBaseNoise2PixelShader

handle to terrain/double noise D3D pixel shader

Definition at line 1516 of file W3DShaderManager.cpp.

◆ m_dwBasePixelShader

DWORD FlatTerrainShaderPixelShader::m_dwBasePixelShader

handle to terrain D3D pixel shader

Definition at line 1514 of file W3DShaderManager.cpp.


The documentation for this class was generated from the following file: