C# Class Nez.BloomPostProcessor

Inheritance: PostProcessor
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

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

public BloomPostProcessor ( int executionOrder ) : System
executionOrder int
Résultat System

onAddedToScene() public méthode

public onAddedToScene ( ) : void
Résultat void

onSceneBackBufferSizeChanged() public méthode

public onSceneBackBufferSizeChanged ( int newWidth, int newHeight ) : void
newWidth int
newHeight int
Résultat void

process() public méthode

public process ( RenderTarget2D source, RenderTarget2D destination ) : void
source Microsoft.Xna.Framework.Graphics.RenderTarget2D
destination Microsoft.Xna.Framework.Graphics.RenderTarget2D
Résultat void

setBloomSettings() public méthode

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

updateBlurEffectDeltas() public méthode

updates the Effect with the new vertical and horizontal deltas
public updateBlurEffectDeltas ( ) : void
Résultat void