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