SDL_ConvertPixels

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
  1. int SDL_ConvertPixels(int width, int height, uint src_format, const(void)* src, int src_pitch, uint dst_format, void* dst, int dst_pitch)
    extern (C) @nogc nothrow
    static if(staticBinding)
    int
    SDL_ConvertPixels
    (
    int width
    ,
    int height
    ,,
    const(void)* src
    ,,,
    void* dst
    ,)
  2. pSDL_ConvertPixels SDL_ConvertPixels;

Meta