C# Class CoreLib.Effects.GammaTransferEffect

Inheritance: Windows.UI.Xaml.DependencyObject, ICompositionEffect
显示文件 Open project: liquidboy/X

Public Properties

Property Type Description
BlueExponentProperty Windows.UI.Xaml.DependencyProperty
GreenExponentProperty Windows.UI.Xaml.DependencyProperty
RedExponentProperty Windows.UI.Xaml.DependencyProperty
SourceProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Draw ( ) : Task
Initialize ( UIElement attachedElement ) : void
InitializeResources ( ) : Task
Uninitialize ( ) : void

Private Methods

Method Description
BlueExponentChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
CreateBrush ( ) : void
CreateEffect ( ) : void
CreateImageFactory ( UIElement element ) : void
CreateSpriteVisual ( ) : void
CreateSurface ( ) : Task
GetElementHeight ( ) : float
GetElementWidth ( ) : float
GreenExponentChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
Insert ( ) : void
RedExponentChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
UpdateBlueExponent ( ) : void
UpdateGreenExponent ( ) : void
UpdateRedExponent ( ) : void
UpdateSpriteVisual ( ) : void

Method Details

Draw() public method

public Draw ( ) : Task
return Task

Initialize() public method

public Initialize ( UIElement attachedElement ) : void
attachedElement Windows.UI.Xaml.UIElement
return void

InitializeResources() public method

public InitializeResources ( ) : Task
return Task

Uninitialize() public method

public Uninitialize ( ) : void
return void

Property Details

BlueExponentProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml BlueExponentProperty
return Windows.UI.Xaml.DependencyProperty

GreenExponentProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml GreenExponentProperty
return Windows.UI.Xaml.DependencyProperty

RedExponentProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml RedExponentProperty
return Windows.UI.Xaml.DependencyProperty

SourceProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml SourceProperty
return Windows.UI.Xaml.DependencyProperty