get_data
Description:
Copies the pixel data from a cogl texture to system memory.
Note:
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
Parameters:
this |
a |
format |
the PixelFormat to store the texture as. |
rowstride |
the rowstride of |
data |
memory location to write the this's contents, or |
Returns:
the size of the texture data in bytes |