Welcome. I have the following problem. I have a function written in C++, and it returns an array of RGB pixels representing a single image. Each subsequent call to this function returns a new array representing the next frame of an animation. I want to display this animation frame by frame in a window, and I want this to be as fast as possible.
I have used GDI+ but have not been able to get satisfactory efficiency. I have therefore become interested in the DirectX and Vulkan libraries. Unfortunately for me, but at first glance, these libraries seem downright overwhelming to learn. Moreover, the tutorials I found focus on 3d graphics, which I don't need because, as I wrote earlier, I only want to display a series of RGB pixel arrays.
And this is where my question comes in.
Is there a boilerplate project on Github or anywhere else that I could use? If not, does anyone here know of a tutorial that, without going into learning 3D graphics, would help me to learn DirectX or Vulkan enough so that I could write the code I need myself? Thank you in advance for your reply.