C# Class Fusion.Engine.Graphics.SsaoFilter

Inheritance: Fusion.Engine.Common.GameModule
Datei anzeigen Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Property Type Description
Enum void
SetDefaultRenderStates void
SetViewport void
getFlags int
getSampleDirections System.Vector2[]
getSampleNumFlag System.Flags

Public Methods

Method Description
CreateTargets ( ) : void

Initialize ( ) : void

/

LoadContent ( ) : void

Render ( StereoEye stereoEye, Camera camera, ShaderResource depthBuffer, ShaderResource wsNormals ) : void

Performs luminance measurement, tonemapping, applies bloom.

RenderBlank ( System.Matrix view, System.Matrix projection, ShaderResource depthBuffer, ShaderResource wsNormals ) : void
RenderSsao ( RenderTargetSurface ssaoDst, StereoEye stereoEye, Camera camera, DepthStencil2D depthSource, RenderTarget2D normalsSource ) : void

Performs good-old StretchRect to destination buffer with blending.

SetDefaults ( ) : void

SsaoFilter ( Game game ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Enum ( PipelineState ps, ShaderFlags flags ) : void

SetDefaultRenderStates ( ) : void

Sets default render state

SetViewport ( RenderTargetSurface dst ) : void
getFlags ( ) : int
getSampleDirections ( ) : System.Vector2[]
getSampleNumFlag ( ) : Flags

Method Details

CreateTargets() public method

public CreateTargets ( ) : void
return void

Dispose() protected method

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

Initialize() public method

/
public Initialize ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

Render() public method

Performs luminance measurement, tonemapping, applies bloom.
public Render ( StereoEye stereoEye, Camera camera, ShaderResource depthBuffer, ShaderResource wsNormals ) : void
stereoEye StereoEye
camera Camera
depthBuffer Fusion.Drivers.Graphics.ShaderResource
wsNormals Fusion.Drivers.Graphics.ShaderResource
return void

RenderBlank() public method

public RenderBlank ( System.Matrix view, System.Matrix projection, ShaderResource depthBuffer, ShaderResource wsNormals ) : void
view System.Matrix
projection System.Matrix
depthBuffer Fusion.Drivers.Graphics.ShaderResource
wsNormals Fusion.Drivers.Graphics.ShaderResource
return void

RenderSsao() public method

Performs good-old StretchRect to destination buffer with blending.
public RenderSsao ( RenderTargetSurface ssaoDst, StereoEye stereoEye, Camera camera, DepthStencil2D depthSource, RenderTarget2D normalsSource ) : void
ssaoDst Fusion.Drivers.Graphics.RenderTargetSurface
stereoEye StereoEye
camera Camera
depthSource DepthStencil2D
normalsSource RenderTarget2D
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

SsaoFilter() public method

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