C# Class Sanguosha.UI.Effects.MonochromeEffect

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
Afficher le fichier Open project: RagingBigFemaleBird/sgs Class Usage Examples

Méthodes publiques

Свойство Type Description
FilterColorProperty System.Windows.DependencyProperty
InputProperty System.Windows.DependencyProperty
StrengthProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
CoerceStrength object

Méthodes publiques

Méthode Description
MonochromeEffect ( ) : System

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

Private Methods

Méthode Description
CoerceStrength ( DependencyObject d, object value ) : object

Method Details

MonochromeEffect() public méthode

Creates an instance and updates the shader's variables to the default values.
public MonochromeEffect ( ) : System
Résultat System

Property Details

FilterColorProperty public_oe static_oe property

Gets or sets the FilterColor variable within the shader.
public static DependencyProperty,System.Windows FilterColorProperty
Résultat System.Windows.DependencyProperty

InputProperty public_oe static_oe property

Gets or sets the Input of the shader.
public static DependencyProperty,System.Windows InputProperty
Résultat System.Windows.DependencyProperty

StrengthProperty public_oe static_oe property

Gets or sets the Strength variable within the shader.
public static DependencyProperty,System.Windows StrengthProperty
Résultat System.Windows.DependencyProperty