Ejemplo n.º 1
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static InvertColorEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("Shaders/InvertColor.ps");
 }
 /// <summary>
 /// Creates a PixelShader by loading the bytecode.
 /// </summary>
 static BandedSwirlEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("Shaders/BandedSwirl.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static LightStreakEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/LightStreak.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static SmoothMagnifyEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("Shaders/SmoothMagnify.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static EmbossedEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/Embossed.ps");
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Creates a PixelShader by loading the bytecode.
 /// </summary>
 static ToonShaderEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("Shaders/ToonShader.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ContrastAdjustEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/ContrastAdjust.ps");
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static GloomEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/Gloom.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ZoomBlurEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("Shaders/ZoomBlur.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static GrowablePoissonDiskEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/GrowablePoissonDisk.ps");
 }
Ejemplo n.º 11
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static PinchEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/Pinch.ps");
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ColorToneEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/ColorTone.ps");
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static BrightExtractEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/BrightExtract.ps");
 }