/// <summary> /// Creates an instance of the shader from the included pixel shader. /// </summary> static MagnifyEffect() { pixelShader = new PixelShader(); pixelShader.UriSource = Global.MakePackUri("Shaders/Magnify.ps"); }
/// <summary> /// Creates an instance of the shader from the included pixel shader. /// </summary> static PinchEffect() { pixelShader.UriSource = Global.MakePackUri("Shaders/Pinch.ps"); }