Copies the pixel data from a cogl texture to system memory.
Don't pass the value of get_rowstride as the rowstride
argument, the rowstride should be the rowstride you want for the destination data
buffer not the rowstride of the source
texture
this |
a |
format |
the PixelFormat to store the texture as. |
rowstride |
the rowstride of |
data |
memory location to write the this's contents, or |
the size of the texture data in bytes |