Surface.this

Make a new Surface of the given width, height and depth.

  1. this(SDL_Surface* srfc)
  2. this(string filename)
  3. this(uint width, uint height, ubyte depth = 32, const Masks masks = Masks.init)
    struct Surface
    @nogc
    this
    nothrow
    (
    uint width
    ,
    uint height
    ,
    ubyte depth = 32
    ,
    )
  4. this(void* memory, uint width, uint height, ubyte depth = 32, const Masks masks = Masks.init)

Meta