Class DisplayEvent

D abstract class that wraps SDL_DISPLAYEVENT SDL_Events (from SDL 2.0.9)

class DisplayEvent
  : Event ;

Fields

NameTypeDescription
sdlEvent sdl.events.SDL_EventInternal SDL_Event struct

Properties

NameTypeDescription
sdlEventType[get] uintGets the SDL_EventType of the underlying SDL_Event
timestamp[get] inout(uint)Proxy to the timestamp of the dsdl2.Event

Methods

NameDescription
fromSDL (sdlEvent) Turns a vanilla SDL_Event from bindbc-sdl to dsdl2.Event