Function PixelFormat.getRGBA
Wraps SDL_GetRGBA
which converts a pixel uint
value to a comprehensible dsdl
struct, based on
the pixel format defined by the dsdl
Parameters
Name | Description |
---|---|
pixel | the pixel uint value to convert |
Returns
the dsdl
struct of the given pixel
value