opengl - Where does glCopyTexImage2D save its pixels to? -


name glcopyteximage2d — copy pixels 2d texture image  c specification void glcopyteximage2d(glenum  target,  glint  level,  glenum  internalformat,  glint  x,  glint  y,  glsizei  width,  glsizei  height,  glint  border); 

apparently, pixels must stored somewhere, where? function returns void , not use pointer parameter.

so, glcopyteximage2d save pixels to?

into texture specify target (e.g. gl_texture_2d, mean bound 2d texture). after using can use glgetteximage fetch pixels texture own buffer.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -