Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
FlatTerrainShader2Stage 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.
 
- Public Member Functions inherited from W3DShaderInterface
Int getNumPasses (void)
 
virtual Int shutdown (void)
 

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 1502 of file W3DShaderManager.cpp.

Member Function Documentation

◆ init()

Int FlatTerrainShader2Stage::init ( void )
virtual

perform any one time initialization and validation

Implements W3DShaderInterface.

Definition at line 3250 of file W3DShaderManager.cpp.

◆ reset()

void FlatTerrainShader2Stage::reset ( void )
virtual

do any custom resetting necessary to bring W3D in sync.

Reimplemented from W3DShaderInterface.

Definition at line 3266 of file W3DShaderManager.cpp.

◆ set()

Int FlatTerrainShader2Stage::set ( Int pass)
virtual

setup shader for the specified rendering pass.

Reimplemented from W3DShaderInterface.

Definition at line 3282 of file W3DShaderManager.cpp.


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