savePNGRaw

Wraps IMG_SavePNG_RW which saves a dsdl2.Surface image into a buffer of PNG file format

@safe @trusted
static if(bindSDLImage)
void[]
savePNGRaw

Parameters

surface Surface

given dsdl2.Surface of the image to save

Return Value

Type: void[]

dsdl2.SDLException if failed to save

Meta