C# Class Fusion.Engine.Graphics.DofFilter

Inheritance: Fusion.Engine.Common.GameModule
显示文件 Open project: demiurghg/FusionEngine Class Usage Examples

Public Methods

Method Description
DofFilter ( Game game ) : System

Initialize ( ) : void

/

Render ( GameTime gameTime, RenderTarget2D temp, RenderTarget2D hdrImage, ShaderResource depthBuffer, RenderWorld renderWorld ) : void

Applies DOF effect

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
EnumAction ( PipelineState ps, Flags flag ) : void

LoadContent ( ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DofFilter() public method

public DofFilter ( Game game ) : System
game Game
return System

Initialize() public method

/
public Initialize ( ) : void
return void

Render() public method

Applies DOF effect
public Render ( GameTime gameTime, RenderTarget2D temp, RenderTarget2D hdrImage, ShaderResource depthBuffer, RenderWorld renderWorld ) : void
gameTime Fusion.Engine.Common.GameTime
temp RenderTarget2D
hdrImage RenderTarget2D
depthBuffer Fusion.Drivers.Graphics.ShaderResource
renderWorld RenderWorld
return void