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

Inherits W3DFilterInterface.

Public Member Functions

virtual Int init (void)
 perform any one time initialization and validation
 
virtual Bool preRender (Bool &skipRender, CustomScenePassModes &scenePassMode)
 Set up at start of render. Only applies to screen filter shaders.
 
virtual Bool postRender (enum FilterModes mode, Coord2D &scrollDelta, Bool &doExtraRender)
 Called after render. Only applies to screen filter shaders.
 
virtual Bool setup (enum FilterModes mode)
 Called when the filter is started, one time before the first prerender.
 
- Public Member Functions inherited from W3DFilterInterface
virtual Int shutdown (void)
 

Protected Member Functions

virtual Int set (enum FilterModes mode)
 setup shader for the specified rendering pass.
 
virtual void reset (void)
 do any custom resetting necessary to bring W3D in sync.
 

Detailed Description

Definition at line 126 of file W3DShaderManager.cpp.

Member Function Documentation

◆ init()

Int ScreenDefaultFilter::init ( void )
virtual

perform any one time initialization and validation

Implements W3DFilterInterface.

Definition at line 149 of file W3DShaderManager.cpp.

◆ postRender()

Bool ScreenDefaultFilter::postRender ( enum FilterModes mode,
Coord2D & scrollDelta,
Bool & doExtraRender )
virtual

Called after render. Only applies to screen filter shaders.

Reimplemented from W3DFilterInterface.

Definition at line 191 of file W3DShaderManager.cpp.

◆ preRender()

Bool ScreenDefaultFilter::preRender ( Bool & skipRender,
CustomScenePassModes & scenePassMode )
virtual

Set up at start of render. Only applies to screen filter shaders.

Reimplemented from W3DFilterInterface.

Definition at line 180 of file W3DShaderManager.cpp.

◆ reset()

void ScreenDefaultFilter::reset ( void )
protectedvirtual

do any custom resetting necessary to bring W3D in sync.

Implements W3DFilterInterface.

Definition at line 257 of file W3DShaderManager.cpp.

◆ set()

Int ScreenDefaultFilter::set ( enum FilterModes mode)
protectedvirtual

setup shader for the specified rendering pass.

Implements W3DFilterInterface.

Definition at line 241 of file W3DShaderManager.cpp.

◆ setup()

virtual Bool ScreenDefaultFilter::setup ( enum FilterModes mode)
inlinevirtual

Called when the filter is started, one time before the first prerender.

Reimplemented from W3DFilterInterface.

Definition at line 132 of file W3DShaderManager.cpp.


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