![]() I am coding in C++/VCL environment so I do not have pure WinAPI/GDI knwoledge (VCL do it for me but the code should be very similar the names and operands passed might vary a bit but not too much). So no SwapBuffers(hdc) as in standard GL app anymore. ![]() ![]() Simply convert/copy the raw image data into GDI compatible bitmap and then simply draw it onto desktop canvas. Ĭopy the image into Desktop (using GDI Bitmap) If the window is invisible it will not react to mouse or keyboard events. Using invisible window with the same resolution as your desktop. Render stuff off screen into bitmap by OpenGL You can combine GDI and OpenGL together to achieve your goal. ![]() But the window does not need to be visible on the screen. Well if you want OpenGL you need a window period. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |