Window.surface

Wraps SDL_GetWindowSurface which gets the window's surface for software rendering

  1. inout(Surface) surface()
    class Window
    inout @property @trusted
    inout(Surface)
    surface
    ()
  2. void surface(typeof(null) _)

Return Value

Type: inout(Surface)

dsdl2.Surface proxy to the window's surface

Throws

dsdl2.SDLException if failed to get the window's surface

Meta