Constructs an RGB(A) dsdl2.Surface from an array of pixels
array of pixel data (copied internally)
size (width and height) of the dsdl2.Surface in pixels
skips in bytes per line/row of the dsdl2.Surface
an RGB(A) dsdl2.PixelFormat
dsdl2.SDLException if allocation failed
See Implementation
Constructs an RGB(A) dsdl2.Surface from an array of pixels