GLMemory.readPixels

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.

class GLMemory
bool
readPixels
(
void* writePointer = null
)

Parameters

writePointer void*

the data pointer to pass to glReadPixels

Return Value

Type: bool

whether theread operation succeeded