C# Class FlatRedBall.Graphics.PostProcessing.DirectionalBlur

Post processing to implement directional blur.
Inheritance: PostProcessingEffectBase
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( Camera camera, Microsoft.Xna.Framework.Graphics.Texture2D &screenTexture, Rectangle &baseRectangle, Color clearColor ) : void

Draws the effect

InitializeEffect ( ) : void

Loads the effect

ToString ( ) : string

Reports this effect's name as a string

Méthodes protégées

Méthode Description
SetEffectParameters ( Camera camera ) : void

Private Methods

Méthode Description
DirectionalBlur ( ) : System

Internal Constructor (so this class can't be instantiated externally)

SetSampleParameters ( ) : void

Calculates and sets the sampling parameters in the shader

Method Details

Draw() public méthode

Draws the effect
public Draw ( Camera camera, Microsoft.Xna.Framework.Graphics.Texture2D &screenTexture, Rectangle &baseRectangle, Color clearColor ) : void
camera Camera
screenTexture Microsoft.Xna.Framework.Graphics.Texture2D The screen texture
baseRectangle Microsoft.Xna.Framework.Rectangle The rectangle to draw to
clearColor Color The background color
Résultat void

InitializeEffect() public méthode

Loads the effect
public InitializeEffect ( ) : void
Résultat void

SetEffectParameters() protected méthode

protected SetEffectParameters ( Camera camera ) : void
camera Camera
Résultat void

ToString() public méthode

Reports this effect's name as a string
public ToString ( ) : string
Résultat string