GLMemory.readPixels
bool readPixels(void * writePointer = null)Reads the texture in #GstGLMemory into write_pointer if no buffer is bound to GL_PIXEL_PACK_BUFFER. Otherwise write_pointer is the byte offset into the currently bound GL_PIXEL_PACK_BUFFER buffer to store the result of glReadPixels. See the OpenGL specification for glReadPixels for more details.
Parameters
writePointer | the data pointer to pass to glReadPixels |
Returns
whether theread operation succeeded