コード例 #1
0
        static ToonShader()
        {
            pixelShader = PixelShaderUtility.LoadPixelShader <ToonShader>();

            // Just saying hardware only for now since our drop of sw doesn't have sin/cos in
            // it, and thus we can't validate against that.
#if !SILVERLIGHT
            // TODO:
            pixelShader.ShaderRenderMode = ShaderRenderMode.HardwareOnly;
#endif
        }
コード例 #2
0
 static BrightExtract()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <BrightExtract>();
 }
コード例 #3
0
 static Pinch()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Pinch>();
 }
コード例 #4
0
 static ColorKeyAlpha()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ColorKeyAlpha>();
 }
コード例 #5
0
 static InvertColor()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <InvertColor>();
 }
コード例 #6
0
 static Bloom()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Bloom>();
 }
コード例 #7
0
ファイル: Magnify.cs プロジェクト: AlexMacocian/WpfExtended
 static Magnify()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Magnify>();
 }
コード例 #8
0
 static Monochrome()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Monochrome>();
 }
コード例 #9
0
ファイル: Sharpen.cs プロジェクト: AlexMacocian/WpfExtended
 static Sharpen()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Sharpen>();
 }
コード例 #10
0
ファイル: Swirl.cs プロジェクト: AlexMacocian/WpfExtended
 static Swirl()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Swirl>();
 }
コード例 #11
0
 static LightStreak()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <LightStreak>();
 }
コード例 #12
0
 static SmoothMagnify()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <SmoothMagnify>();
 }
コード例 #13
0
 static BandedSwirl()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <BandedSwirl>();
 }
コード例 #14
0
ファイル: Ripple.cs プロジェクト: AlexMacocian/WpfExtended
 static Ripple()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Ripple>();
 }
コード例 #15
0
 static ContrastAdjust()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ContrastAdjust>();
 }
コード例 #16
0
 static ToneMapping()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ToneMapping>();
 }
コード例 #17
0
 static GrowablePoissonDisk()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <GrowablePoissonDisk>();
 }
コード例 #18
0
ファイル: Embossed.cs プロジェクト: AlexMacocian/WpfExtended
 static Embossed()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Embossed>();
 }
コード例 #19
0
 static DirectionalBlur()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <DirectionalBlur>();
 }
コード例 #20
0
ファイル: Pixelate.cs プロジェクト: AlexMacocian/WpfExtended
 static Pixelate()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Pixelate>();
 }
コード例 #21
0
ファイル: ColorTone.cs プロジェクト: AlexMacocian/WpfExtended
 static ColorTone()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ColorTone>();
 }