C# 클래스 Meshellator.Viewer.Framework.Rendering.Decorators.BlurComponent

// With thanks to Kyle Hayward's shadow mapping demo at http://graphicsrunner.blogspot.com/
파일 보기 프로젝트 열기: tgjones/meshellator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Dims int
Format Format
InputTexture SharpDX.Direct3D9.Texture
OutputTexture SharpDX.Direct3D9.Texture

공개 메소드들

메소드 설명
BlurComponent ( SharpDX.Direct3D9.Device graphics, int size ) : Meshellator.Viewer.Framework.Rendering.Effects
Draw ( ) : void

비공개 메소드들

메소드 설명
ComputeGaussian ( float n ) : float

Evaluates a single point on the gaussian falloff curve. Used for setting up the blur filter weightings.

DrawFullscreenQuad ( SharpDX.Direct3D9.Texture texture ) : void
DrawFullscreenQuad ( SharpDX.Direct3D9.Texture texture, SharpDX.Direct3D9.Texture renderTarget ) : void
SetBlurEffectParameters ( float dx, float dy, Vector4D &offsets, float &weights ) : void

Computes sample weightings and texture coordinate offsets for one pass of a separable gaussian blur filter.

메소드 상세

BlurComponent() 공개 메소드

public BlurComponent ( SharpDX.Direct3D9.Device graphics, int size ) : Meshellator.Viewer.Framework.Rendering.Effects
graphics SharpDX.Direct3D9.Device
size int
리턴 Meshellator.Viewer.Framework.Rendering.Effects

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

프로퍼티 상세

Dims 공개적으로 프로퍼티

public int Dims
리턴 int

Format 공개적으로 프로퍼티

public Format Format
리턴 Format

InputTexture 공개적으로 프로퍼티

public Texture,SharpDX.Direct3D9 InputTexture
리턴 SharpDX.Direct3D9.Texture

OutputTexture 공개적으로 프로퍼티

public Texture,SharpDX.Direct3D9 OutputTexture
리턴 SharpDX.Direct3D9.Texture