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
파일 보기 프로젝트 열기: RagingBigFemaleBird/sgs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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