Pixel shader 3.0

broken image
broken image

If a valid PS 3.0 shader is loaded on a computer that does not have hardware support for PS 3.0, the shader is ignored. Yes, Kris replied there is right, according to the document: Using (Stream stm = File.Create(fileName)) String Extension = System.IO.Path.GetExtension(fileName).ToLower() Į(BitmapFrame.Create(bmp)) RenderTargetBitmap bmp = new RenderTargetBitmap(Width, Height, 96, 96, PixelFormats.Pbgra32) Int Width = ( int)CanvasControl.ActualWidth

broken image

Int Height = ( int)CanvasControl.ActualHeight SaveFileDialog dlg = new SaveFileDialog() Private void OnSaveSnapshot( object sender, RoutedEventArgs e) / /// Interaction logic for MainWindow.xaml /// public partial class MainWindow : Window