Surface.this

Creates an RGB surface given at least a width and a height

  1. this(int width, int height, int depth = 32, uint flags = 0, uint Rmask = 0, uint Gmask = 0, uint Bmask = 0, uint Amask = 0)
    class Surface
    this
    (
    int width
    ,
    int height
    ,
    int depth = 32
    ,
    uint flags = 0
    ,
    uint Rmask = 0
    ,
    uint Gmask = 0
    ,
    uint Bmask = 0
    ,
    uint Amask = 0
    )
  2. this(int width, int height, uint format, int depth = 32, uint flags = 0)
  3. this(Surface src, SDL_PixelFormat* fmt, uint flags = 0)
  4. this(Surface src, uint fmt, uint flags = 0)
  5. this(string bmpFilePath)
  6. this(SDL_Surface* alreadyExisting)

Meta