Surface.this
- this(SDL_Surface* sdlSurface, bool isOwner, void* userRef)
- this(uint[2] size, PixelFormat rgbPixelFormat)
- this(void[] pixels, uint[2] size, size_t pitch, PixelFormat rgbPixelFormat)
- this(uint[2] size, ubyte bitDepth, Palette palette)
- this(void[] pixels, uint[2] size, size_t pitch, ubyte bitDepth, Palette palette)
dsdl2 surface Surface
constructorsdestructorsfunctionsvariables
Constructs a blank RGB(A) dsdl2.Surface with a set width, height, and dsdl2.PixelFormat that wraps SDL_CreateRGBSurface