Revision as of 02:16, 24 December 2020 by MoKaLux (talk | contribs) (remove language stuff)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.06
Class: RenderTarget


Returns buffer containing color and alpha data from provided rectangle.

(buffer) = RenderTarget:getPixels(x,y,w,h)


x: (number) x coordinate of pixel
y: (number) y coordinate of pixel
w: (number) width of rectangle to include in buffer
h: (number) height of rectangle to include in buffer

Return values

Returns (buffer) buffer with color and alpha data