1
DotNet / How to show an image on a window?
« on: April 20, 2019, 12:51:03 pm »
I am making a program to explore the Mandelbrot set in C#. The function I have (called renderset) works fine and spits out an image of the specific area you want. I would like to display this onscreen but I can't figure out how. I have tried to make it into a texture and then convert that into a sprite and display it but that doesn't work. (My window opens but is completely black) Does anybody know a better way to do this or how to fix my current method.
Thanks for any help
Link to code: https://pastebin.com/0jNnJY9A
Thanks for any help
Link to code: https://pastebin.com/0jNnJY9A