C# Class Sanguosha.UI.Effects.ZoomBlurEffect

This is the implementation of an extensible framework ShaderEffect which loads a shader model 2 pixel shader. Dependecy properties declared in this class are mapped to registers as defined in the *.ps file being loaded below.
Inheritance: System.Windows.Media.Effects.ShaderEffect
Show file Open project: RagingBigFemaleBird/sgs

Public Properties

Property Type Description
BlurAmountProperty System.Windows.DependencyProperty
CenterProperty System.Windows.DependencyProperty
InputProperty System.Windows.DependencyProperty

Private Properties

Property Type Description

Public Methods

Method Description
ZoomBlurEffect ( ) : System

Creates an instance and updates the shader's variables to the default values.

Method Details

ZoomBlurEffect() public method

Creates an instance and updates the shader's variables to the default values.
public ZoomBlurEffect ( ) : System
return System

Property Details

BlurAmountProperty public static property

This property is mapped to the BlurAmount variable within the pixel shader.
public static DependencyProperty,System.Windows BlurAmountProperty
return System.Windows.DependencyProperty

CenterProperty public static property

This property is mapped to the CenterX variable within the pixel shader.
public static DependencyProperty,System.Windows CenterProperty
return System.Windows.DependencyProperty

InputProperty public static property

The explict input for this pixel shader.
public static DependencyProperty,System.Windows InputProperty
return System.Windows.DependencyProperty