Exemplo n.º 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
        }
Exemplo n.º 2
0
 static BrightExtract()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <BrightExtract>();
 }
Exemplo n.º 3
0
 static Pinch()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Pinch>();
 }
Exemplo n.º 4
0
 static ColorKeyAlpha()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ColorKeyAlpha>();
 }
Exemplo n.º 5
0
 static InvertColor()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <InvertColor>();
 }
Exemplo n.º 6
0
 static Bloom()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Bloom>();
 }
Exemplo n.º 7
0
 static Magnify()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Magnify>();
 }
Exemplo n.º 8
0
 static Monochrome()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Monochrome>();
 }
Exemplo n.º 9
0
 static Sharpen()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Sharpen>();
 }
Exemplo n.º 10
0
 static Swirl()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Swirl>();
 }
Exemplo n.º 11
0
 static LightStreak()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <LightStreak>();
 }
Exemplo n.º 12
0
 static SmoothMagnify()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <SmoothMagnify>();
 }
Exemplo n.º 13
0
 static BandedSwirl()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <BandedSwirl>();
 }
Exemplo n.º 14
0
 static Ripple()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Ripple>();
 }
Exemplo n.º 15
0
 static ContrastAdjust()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ContrastAdjust>();
 }
Exemplo n.º 16
0
 static ToneMapping()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ToneMapping>();
 }
Exemplo n.º 17
0
 static GrowablePoissonDisk()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <GrowablePoissonDisk>();
 }
Exemplo n.º 18
0
 static Embossed()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Embossed>();
 }
Exemplo n.º 19
0
 static DirectionalBlur()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <DirectionalBlur>();
 }
Exemplo n.º 20
0
 static Pixelate()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <Pixelate>();
 }
Exemplo n.º 21
0
 static ColorTone()
 {
     pixelShader = PixelShaderUtility.LoadPixelShader <ColorTone>();
 }