Skip to content

TSdlInitFlag

Initialization flags for SdlInit and/or SdlInitSubSystem.

These are the flags which may be passed to SdlInit. You should specify the subsystems which you will be using in your application.

Definition

Unit: Neslib.Sdl3.Basics

type TSdlInitFlag = (Audio, Video, Joystick, Haptick, Gamepad, Events, Sensor, Camera)

See Also

Enumeration Values

Audio = 4

The audio subsystem. Implies TSdlInitFlag.Events.

Enables the functionality in the Neslib.Sdl3.Audio unit.


Video = 5

The video subsystem. Implies TSdlInitFlag.Events. Should be initialized on the main thread.

Enables the functionality in the Neslib.Sdl3.Video unit.


Joystick = 9

The joystick subsystem. Implies TSdlInitFlag.Events. Should be initialized on the same thread as TSdlInitFlag.Video on Windows if you don't set TSdlHints.JoystickThread.

Enables the joystick functionality in the Neslib.Sdl3.Events unit.


Haptick = 12

The haptick (force feedback) subsystem.


Gamepad = 13

The gamepad subsystem. Implies TSdlInitFlag.Joystick.

Enables the gamepad functionality in the Neslib.Sdl3.Events unit.


Events = 14

The events subsystem.

Enables the functionality in the Neslib.Sdl3.Events unit.


Sensor = 15

The sensor subsystem. Implies TSdlInitFlag.Events.

Enables the sensor functionality in the Neslib.Sdl3.Events unit.


Camera = 16

The camera subsystem. Implies TSdlInitFlag.Events.

Enables the functionality in the Neslib.Sdl3.Camera and Neslib.Sdl3.Events units.