示例#1
0
 /// <summary>
 /// Creates a PixelShader by loading the bytecode.
 /// </summary>
 static BandedSwirlEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/BandedSwirl.ps");
 }
示例#2
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ColorToneEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/ColorTone.ps");
 }
示例#3
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static MonochromeEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Monochrome.ps");
 }
示例#4
0
 /// <summary>
 /// Statict Constructor
 /// </summary>
 static LogoDisplacerEffect()
 {
     _pixelShader.UriSource = Global.MakePackUri("ShaderSource/LogoDisplacerEffect.ps");
 }
示例#5
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static DirectionalBlurEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/DirectionalBlur.ps");
 }
示例#6
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static MagnifyEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Magnify.ps");
 }
示例#7
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static BrightExtractEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/BrightExtract.ps");
 }
示例#8
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ZoomBlurEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/ZoomBlur.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static GrowablePoissonDiskEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/GrowablePoissonDisk.ps");
 }
示例#10
0
 static SkinBloodEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/HatchingEffect.ps");
 }
示例#11
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static PixelateEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Pixelate.ps");
 }
示例#12
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static LightStreakEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/LightStreak.ps");
 }
示例#13
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ContrastAdjustEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/ContrastAdjust.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static EmbossedEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Embossed.ps");
 }
示例#15
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static SharpenEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Sharpen.ps");
 }
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ColorKeyAlphaEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/ColorKeyAlpha.ps");
 }
示例#17
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static RippleEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Ripple.ps");
 }
示例#18
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static GloomEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/Gloom.ps");
 }
示例#19
0
 /// <summary>
 /// Creates an instance of the shader from the included pixel shader.
 /// </summary>
 static ToneMappingEffect()
 {
     pixelShader.UriSource = Global.MakePackUri("ShaderSource/ToneMapping.ps");
 }