one of the SDL_PixelFormat values.
a bits per pixel value; usually 15, 16, or 32.
a pointer filled in with the red mask for the format.
a pointer filled in with the green mask for the format.
a pointer filled in with the blue mask for the format.
a pointer filled in with the alpha mask for the format.
true on success or false on failure; call SDL_GetError() for more information.
Threadsafety: It is safe to call this function from any thread.
Convert one of the enumerated pixel formats to a bpp value and RGBA masks.