Beispiel #1
0
 /// <summary>
 /// Creates a PixelShader by loading the bytecode.
 /// </summary>
 static BandedSwirlEffect()
 {
     pixelShader           = new PixelShader();
     pixelShader.UriSource = EffectUriHelper.GetUri(nameof(BandedSwirlEffect));
 }
Beispiel #2
0
 static GrayscaleEffect()
 {
     pixelShader.UriSource = EffectUriHelper.GetUri(nameof(GrayscaleEffect));
 }