目次
-
SDL 3.0 API(機能別)
-
イベント処理
- SDL_CommonEvent
SDL_CommonEvent
全イベントの共通フィールドの構造体(event.common.*)
ヘッダ
SDL3/SDL_events.h
フィールド
Uint32
type
イベントの種類
Uint32
reserved
予約
Uint64
timestamp
イベントのナノ秒単位のタイムスタンプ. SDL_GetTicksNS()で設定
バージョン
SDL 3.2.0以降
SDL Wikiへのリンク
SDL_CommonEvent - SDL Wiki