#include <cl.h>
Data Fields | |
GLuint | width |
GLuint | height |
GLenum | format |
GLenum | type |
void * | data |
CLimage image;
clDefaultImage(image);
glDrawPixels(image.width, image.height, image.format, image.type, image.data);
glReadPixels(0, 0, image->width, image->height, image.format, image.type, image.data);
For more information on CLimage
members consult the OpenGL documentation for glDrawPixels()
, glReadPixels()
, and glCopyPixels()
.
Definition at line 377 of file cl.h.