C# 클래스 Fusion.Engine.Graphics.SsaoFilter

상속: Fusion.Engine.Common.GameModule
파일 보기 프로젝트 열기: demiurghg/FusionEngine 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Enum void
SetDefaultRenderStates void
SetViewport void
getFlags int
getSampleDirections System.Vector2[]
getSampleNumFlag System.Flags

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Enum ( PipelineState ps, ShaderFlags flags ) : void

SetDefaultRenderStates ( ) : void

Sets default render state

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

메소드 상세

CreateTargets() 공개 메소드

public CreateTargets ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Initialize() 공개 메소드

/
public Initialize ( ) : void
리턴 void

LoadContent() 공개 메소드

public LoadContent ( ) : void
리턴 void

Render() 공개 메소드

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
리턴 void

RenderBlank() 공개 메소드

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
리턴 void

RenderSsao() 공개 메소드

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
리턴 void

SetDefaults() 공개 메소드

public SetDefaults ( ) : void
리턴 void

SsaoFilter() 공개 메소드

public SsaoFilter ( Game game ) : System
game Game
리턴 System