C# Class Fusion.Engine.Graphics.SsaoFilter

Inheritance: Fusion.Engine.Common.GameModule
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Свойство Type Description
Enum void
SetDefaultRenderStates void
SetViewport void
getFlags int
getSampleDirections System.Vector2[]
getSampleNumFlag System.Flags

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode 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 méthode

public CreateTargets ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Initialize() public méthode

/
public Initialize ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

Render() public méthode

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
Résultat void

RenderBlank() public méthode

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
Résultat void

RenderSsao() public méthode

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
Résultat void

SetDefaults() public méthode

public SetDefaults ( ) : void
Résultat void

SsaoFilter() public méthode

public SsaoFilter ( Game game ) : System
game Game
Résultat System