Texture.getMemory

Returns the pixel of this Texture or null if this Texture isn't valid. If memory is not null and has the same width and height as the Texture, it is used to store the pixel data. Otherwise it <b>allocates</b> GC memory.

class Texture
final const
void[]
getMemory
(
void[] memory = null
)

Meta