Function PixelFormat.mapRGBA
Wraps SDL_MapRGBA which converts a dsdl to its pixel uint value according to the pixel format
defined by the dsdl
Parameters
| Name | Description |
|---|---|
| color | the dsdl struct to convert |
Returns
the converted pixel value