Esempio 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");
 }
Esempio 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");
 }
Esempio 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");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static PinchEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("Shaders/Pinch.ps");
 }
Esempio 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");
 }
Esempio 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");
 }