C# Класс 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.
Наследование: System.Windows.Media.Effects.ShaderEffect
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FilterColorProperty System.Windows.DependencyProperty
InputProperty System.Windows.DependencyProperty
StrengthProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
CoerceStrength object

Открытые методы

Метод Описание
MonochromeEffect ( ) : System

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

Приватные методы

Метод Описание
CoerceStrength ( DependencyObject d, object value ) : object

Описание методов

MonochromeEffect() публичный Метод

Creates an instance and updates the shader's variables to the default values.
public MonochromeEffect ( ) : System
Результат System

Описание свойств

FilterColorProperty публичное статическое свойство

Gets or sets the FilterColor variable within the shader.
public static DependencyProperty,System.Windows FilterColorProperty
Результат System.Windows.DependencyProperty

InputProperty публичное статическое свойство

Gets or sets the Input of the shader.
public static DependencyProperty,System.Windows InputProperty
Результат System.Windows.DependencyProperty

StrengthProperty публичное статическое свойство

Gets or sets the Strength variable within the shader.
public static DependencyProperty,System.Windows StrengthProperty
Результат System.Windows.DependencyProperty