The OpenD Programming Language

Image.getRgbaBytes

this is here for interop with arsd.image. where can be a TrueColorImage's data member if you pass in a buffer, it will put it right there. length must be width*height*4 already if you pass null, it will allocate a new one.

class Image
ubyte[]
getRgbaBytes
(
ubyte[] where = null
)

Meta