Surface.this

Make an new Surface of the given memory, 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)
  4. this(void* memory, uint width, uint height, ubyte depth = 32, const Masks masks = Masks.init)
    struct Surface
    @nogc
    this
    nothrow
    (
    void* memory
    ,
    uint width
    ,
    uint height
    ,
    ubyte depth = 32
    ,
    )

Meta