PDA

View Full Version : Off-screen Rendering for C# display



keepdash
05-08-2012, 11:04 PM
Hi! I want to use OpenGL in C# but I don't want to use the C# wrapped OpenGL.

So, is it possible using the FBO off-screen rendering get the image buffer and draw it in the C# window?

I know the efficiency much be low during the device to host to device data transfer..

Or if there is any better way to do this?

Thank you.

carsten neumann
05-09-2012, 08:27 AM
I want to use OpenGL in C# but I don't want to use the C# wrapped OpenGL.


ok, it's your own life that you are making hard after all... ;)

You can use glReadPixels to transfer the FBO contents to main memory.