Is it possible to get something drawn using the default .net paint methods (System.Drawing methods) for a SharpDX Texture2D object so that I can display it as a texture? Preferably using SharpDX tools.
If so, how?
edit: what I'm trying so far:
Bitmap b = new Bitmap(100,100); MemoryStream ms = new MemoryStream(); b.Save(ms, System.Drawing.Imaging.ImageFormat.Png); Texture2D tex = Texture2D.Load(g.device, ms);
source share