I want to use opengl to draw some stuff, not to the screen but to a data buffer instead. Is this possible? IE:
glSetDrawTarget(data,GL_RGBA|GL_UNSIGNED_INT_8_8_8_8);//this is the line I cannot figuro out how to do
//and now my buffer is full of custom data
glSetDrawTarget(NULL,NULL);//reset to screen?
Related Article:Using classes to retrieve data in c++
is a C++ discussion thread by dilequeno that has 3 replies, was last updated 1 year ago and has been tagged with the keywords: class, data, mining, object.