C# 클래스 FlatRedBall.Graphics.PostProcessing.Blur

Post processing effect which can be used to blur the screen.
상속: PostProcessingEffectBase
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 메소드들

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

보호된 메소드들

메소드 설명
SetEffectParameters ( Camera camera ) : void

비공개 메소드들

메소드 설명
Blur ( ) : System

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

DrawToCameraRenderTarget ( Camera camera, Microsoft.Xna.Framework.Graphics.Texture2D &texture, Color clearColor, Rectangle &sourceRectangle ) : void
SetSampleParameters ( ) : void

Calculates and sets the sampling parameters in the shader

메소드 상세

Draw() 공개 메소드

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

InitializeEffect() 공개 메소드

Loads the effect
public InitializeEffect ( ) : void
리턴 void

SetEffectParameters() 보호된 메소드

protected SetEffectParameters ( Camera camera ) : void
camera Camera
리턴 void

ToString() 공개 메소드

Reports this effect's name as a string
public ToString ( ) : string
리턴 string