SDL2Surface.this

Create surface from RGBA data. Pixels data is <b>not</b> and not owned.

  1. this(SDL2 sdl2, SDL_Surface* surface, Owned owned)
  2. this(SDL2 sdl2, int width, int height, int depth, uint Rmask, uint Gmask, uint Bmask, uint Amask)
  3. this(SDL2 sdl2, void* pixels, int width, int height, int depth, int pitch, uint Rmask, uint Gmask, uint Bmask, uint Amask)
    class SDL2Surface
    this
    (,
    void* pixels
    ,
    int width
    ,
    int height
    ,
    int depth
    ,
    int pitch
    ,
    uint Rmask
    ,
    uint Gmask
    ,
    uint Bmask
    ,
    uint Amask
    )

Throws

SDL2Exception on error.

See Also

Meta