How do I access the frame/depth/texture memory directly?

Answer

You don't. OpenGL does not provide any interface for accessing this memory directly. You can get access to the contents of those buffers by using glReadPixels() but it is slow. There has been much debate over whether this is a good thing or a bad thing, but the reasons are basically irrelevant. You can't get direct access through OpenGL. Access to these buffers belongs in the windowing system (through DirectDraw or something similar) and not in OpenGL. Currently Windows does not provide any means to access this information.

All opengl Questions

Ask your interview questions on opengl

Write Your comment or Questions if you want the answers on opengl from opengl Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---