C# Class Nez.BloomPostProcessor

Inheritance: PostProcessor
显示文件 Open project: prime31/Nez

Public Methods

Method Description
BloomPostProcessor ( int executionOrder ) : System
onAddedToScene ( ) : void
onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void
process ( RenderTarget2D source, RenderTarget2D destination ) : void
setBloomSettings ( BloomSettings settings ) : void

sets the settings used by the bloom and blur shaders

updateBlurEffectDeltas ( ) : void

updates the Effect with the new vertical and horizontal deltas

Method Details

BloomPostProcessor() public method

public BloomPostProcessor ( int executionOrder ) : System
executionOrder int
return System

onAddedToScene() public method

public onAddedToScene ( ) : void
return void

onSceneBackBufferSizeChanged() public method

public onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
return void

process() public method

public process ( RenderTarget2D source, RenderTarget2D destination ) : void
source Microsoft.Xna.Framework.Graphics.RenderTarget2D
destination Microsoft.Xna.Framework.Graphics.RenderTarget2D
return void

setBloomSettings() public method

sets the settings used by the bloom and blur shaders
public setBloomSettings ( BloomSettings settings ) : void
settings BloomSettings Settings.
return void

updateBlurEffectDeltas() public method

updates the Effect with the new vertical and horizontal deltas
public updateBlurEffectDeltas ( ) : void
return void