package vendor:sdl2

Index

Types (176)
Constants (592)
Variables (0)

This section is empty.

Procedures (772)
Procedure Groups (0)

This section is empty.

Types

AudioCVT ¶

AudioCVT :: struct #packed {
	needed:       i32,
	// *< Set to 1 if conversion possible 
	src_format:   AudioFormat,
	// *< Source audio format 
	dst_format:   AudioFormat,
	// *< Target audio format 
	rate_incr:    f64,
	// *< Rate conversion increment 
	buf:          [^]u8,
	// *< Buffer to hold entire audio data 
	len:          i32,
	// *< Length of original audio buffer 
	len_cvt:      i32,
	// *< Length of converted audio buffer 
	len_mult:     i32,
	// *< buffer must be len*len_mult big 
	len_ratio:    f64,
	// *< Given len, final size is len*len_ratio 
	filters:      [10]AudioFilter,
	// *< NULL-terminated list of filter functions 
	filter_index: i32,
}

AudioCallback ¶

AudioCallback :: proc "cdecl" (userdata: rawptr, stream: [^]u8, len: i32)

AudioDeviceEvent ¶

AudioDeviceEvent :: struct {
	type:      EventType,
	// *< ::SDL_AUDIODEVICEADDED, or ::SDL_AUDIODEVICEREMOVED 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     u32,
	// *< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event 
	iscapture: u8,
	// *< zero if an output device, non-zero if a capture device. 
	_:         u8,
	_:         u8,
	_:         u8,
}

AudioDeviceID ¶

AudioDeviceID :: distinct u32

AudioFilter ¶

AudioFilter :: proc "cdecl" (cvt: ^AudioCVT, format: AudioFormat)

AudioFormat ¶

AudioFormat :: distinct u16
 

* * \brief Audio format flags. * * These are what the 16 bits in SDL_AudioFormat currently mean... * (Unspecified bits are always zero). * * \verbatim ++-----------------------sample is signed if set || || ++-----------sample is bigendian if set || || || || ++---sample is float if set || || || || || || +---sample bit size---+ || || || | | 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 \endverbatim * * There are macros in SDL 2.0 and later to query these bits.

AudioSpec ¶

AudioSpec :: struct {
	freq:     i32,
	// *< DSP frequency -- samples per second 
	format:   AudioFormat,
	// *< Audio data format 
	channels: u8,
	// *< Number of channels: 1 mono, 2 stereo 
	silence:  u8,
	// *< Audio buffer silence value (calculated) 
	samples:  u16,
	// *< Audio buffer size in sample FRAMES (total samples divided by channel count) 
	padding:  u16,
	// *< Necessary for some compile environments 
	size:     u32,
	// *< Audio buffer size in bytes (calculated) 
	callback: AudioCallback,
	// *< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). 
	userdata: rawptr,
}
 

* * The calculated values in this structure are calculated by SDL_OpenAudio(). * * For multi-channel audio, the default SDL channel mapping is: * 2: FL FR (stereo) * 3: FL FR LFE (2.1 surround) * 4: FL FR BL BR (quad) * 5: FL FR FC BL BR (quad + center) * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR) * 7: FL FR FC LFE BC SL SR (6.1 surround) * 8: FL FR FC LFE BL BR SL SR (7.1 surround)

AudioStatus ¶

AudioStatus :: enum i32 {
	STOPPED = 0, 
	PLAYING, 
	PAUSED, 
}

AudioStream ¶

AudioStream :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}
 

this is opaque to the outside world.

BlendFactor ¶

BlendFactor :: enum i32 {
	ZERO                = 1,  // *< 0, 0, 0, 0
	ONE                 = 2,  // *< 1, 1, 1, 1
	SRC_COLOR           = 3,  // *< srcR, srcG, srcB, srcA
	ONE_MINUS_SRC_COLOR = 4,  // *< 1-srcR, 1-srcG, 1-srcB, 1-srcA
	SRC_ALPHA           = 5,  // *< srcA, srcA, srcA, srcA
	ONE_MINUS_SRC_ALPHA = 6,  // *< 1-srcA, 1-srcA, 1-srcA, 1-srcA
	DST_COLOR           = 7,  // *< dstR, dstG, dstB, dstA
	ONE_MINUS_DST_COLOR = 8,  // *< 1-dstR, 1-dstG, 1-dstB, 1-dstA
	DST_ALPHA           = 9,  // *< dstA, dstA, dstA, dstA
	ONE_MINUS_DST_ALPHA = 10, // *< 1-dstA, 1-dstA, 1-dstA, 1-dstA
}
 

* * \brief The normalized factor used to multiply pixel components

BlendMode ¶

BlendMode :: enum i32 {
	NONE    = 0,          // *< no blending
	                        dstRGBA = srcRGBA
	BLEND   = 1,          // *< alpha blending
	                        dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA))
	                        dstA = srcA + (dstA * (1-srcA))
	ADD     = 2,          // *< additive blending
	                        dstRGB = (srcRGB * srcA) + dstRGB
	                        dstA = dstA
	MOD     = 4,          // *< color modulate
	                        dstRGB = srcRGB * dstRGB
	                        dstA = dstA
	MUL     = 8,          // *< color multiply
	                        dstRGB = (srcRGB * dstRGB) + (dstRGB * (1-srcA))
	                        dstA = (srcA * dstA) + (dstA * (1-srcA))
	INVALID = 2147483647, 
}
 

* * \brief The blend mode used in SDL_RenderCopy() and drawing operations.

BlendOperation ¶

BlendOperation :: enum i32 {
	ADD          = 1, // *< dst + src: supported by all renderers
	SUBTRACT     = 2, // *< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES
	REV_SUBTRACT = 3, // *< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES
	MINIMUM      = 4, // *< min(dst, src) : supported by D3D11
	MAXIMUM      = 5, // *< max(dst, src) : supported by D3D11
}
 

* * \brief The blend operation used when combining source and destination pixel components

BlitMap ¶

BlitMap :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

Color ¶

Color :: struct {
	r,
	g,
	b,
	a: u8,
}

CommonEvent ¶

CommonEvent :: struct {
	type:      EventType,
	timestamp: u32,
}

ControllerAxisEvent ¶

ControllerAxisEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYAXISMOTION 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	axis:      u8,
	// *< The joystick axis index 
	_:         u8,
	_:         u8,
	_:         u8,
	value:     i16,
	// *< The axis value (range: -32768 to 32767) 
	_:         u16,
}

ControllerButtonEvent ¶

ControllerButtonEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYBUTTONDOWN or ::SDL_JOYBUTTONUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	button:    u8,
	// *< The joystick button index 
	state:     u8,
	// *< ::SDL_PRESSED or ::SDL_RELEASED 
	_:         u8,
	_:         u8,
}

ControllerDeviceEvent ¶

ControllerDeviceEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     i32,
}

ControllerSensorEvent ¶

ControllerSensorEvent :: struct {
	type:      EventType,
	// *< ::SDL_CONTROLLERSENSORUPDATE 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	sensor:    i32,
	// *< The type of the sensor, one of the values of ::SDL_SensorType 
	data:      [3]f32,
}

ControllerTouchpadEvent ¶

ControllerTouchpadEvent :: struct {
	type:      EventType,
	// *< ::SDL_CONTROLLERTOUCHPADDOWN or ::SDL_CONTROLLERTOUCHPADMOTION or ::SDL_CONTROLLERTOUCHPADUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	touchpad:  i32,
	// *< The index of the touchpad 
	finger:    i32,
	// *< The index of the finger on the touchpad 
	x:         f32,
	// *< Normalized in the range 0...1 with 0 being on the left 
	y:         f32,
	// *< Normalized in the range 0...1 with 0 being at the top 
	pressure:  f32,
}

Cursor ¶

Cursor :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

DisplayEvent ¶

DisplayEvent :: struct {
	type:      EventType,
	// *< ::SDL_DISPLAYEVENT 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	display:   u32,
	// *< The associated display index 
	event:     DisplayEventID,
	// *< ::SDL_DisplayEventID 
	_:         u8,
	_:         u8,
	_:         u8,
	data1:     i32,
}

DisplayEventID ¶

DisplayEventID :: enum u8 {
	NONE,         // *< Never used
	ORIENTATION,  // *< Display orientation has changed to data1
	CONNECTED,    // *< Display has been added to the system
	DISCONNECTED, // *< Display has been removed from the system
}

DisplayMode ¶

DisplayMode :: struct {
	format:       u32,
	// *< pixel format 
	w:            i32,
	// *< width, in screen coordinates 
	h:            i32,
	// *< height, in screen coordinates 
	refresh_rate: i32,
	// *< refresh rate (or zero for unspecified) 
	driverdata:   rawptr,
}

DisplayOrientation ¶

DisplayOrientation :: enum i32 {
	UNKNOWN,           // *< The display orientation can't be determined
	LANDSCAPE,         // *< The display is in landscape mode, with the right side up, relative to portrait mode
	LANDSCAPE_FLIPPED, // *< The display is in landscape mode, with the left side up, relative to portrait mode
	PORTRAIT,          // *< The display is in portrait mode
	PORTRAIT_FLIPPED,  // *< The display is in portrait mode, upside down
}

DollarGestureEvent ¶

DollarGestureEvent :: struct {
	type:       EventType,
	// *< ::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD 
	timestamp:  u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	touchId:    TouchID,
	// *< The touch device id 
	gestureId:  GestureID,
	numFingers: u32,
	error:      f32,
	x:          f32,
	// *< Normalized center of gesture 
	y:          f32,
}
 

* * \brief Dollar Gesture Event (event.dgesture.*)

DropEvent ¶

DropEvent :: struct {
	type:      EventType,
	// *< ::SDL_DROPBEGIN or ::SDL_DROPFILE or ::SDL_DROPTEXT or ::SDL_DROPCOMPLETE 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	file:      cstring,
	// *< The file name, which should be freed with SDL_free(), is NULL on begin/complete 
	windowID:  u32,
}

Event ¶

Event :: struct #raw_union {
	type:      EventType,
	// *< Event type, shared with all events 
	common:    CommonEvent,
	// *< Common event data 
	display:   DisplayEvent,
	// *< Display event data 
	window:    WindowEvent,
	// *< Window event data 
	key:       KeyboardEvent,
	// *< Keyboard event data 
	edit:      TextEditingEvent,
	// *< Text editing event data 
	text:      TextInputEvent,
	// *< Text input event data 
	motion:    MouseMotionEvent,
	// *< Mouse motion event data 
	button:    MouseButtonEvent,
	// *< Mouse button event data 
	wheel:     MouseWheelEvent,
	// *< Mouse wheel event data 
	jaxis:     JoyAxisEvent,
	// *< Joystick axis event data 
	jball:     JoyBallEvent,
	// *< Joystick ball event data 
	jhat:      JoyHatEvent,
	// *< Joystick hat event data 
	jbutton:   JoyButtonEvent,
	// *< Joystick button event data 
	jdevice:   JoyDeviceEvent,
	// *< Joystick device change event data 
	caxis:     ControllerAxisEvent,
	// *< Game Controller axis event data 
	cbutton:   ControllerButtonEvent,
	// *< Game Controller button event data 
	cdevice:   ControllerDeviceEvent,
	// *< Game Controller device event data 
	ctouchpad: ControllerTouchpadEvent,
	// *< Game Controller touchpad event data 
	csensor:   ControllerSensorEvent,
	// *< Game Controller sensor event data 
	adevice:   AudioDeviceEvent,
	// *< Audio device event data 
	sensor:    SensorEvent,
	// *< Sensor event data 
	quit:      QuitEvent,
	// *< Quit request event data 
	user:      UserEvent,
	// *< Custom event data 
	syswm:     SysWMEvent,
	// *< System dependent window event data 
	tfinger:   TouchFingerEvent,
	// *< Touch finger event data 
	mgesture:  MultiGestureEvent,
	// *< Gesture event data 
	dgesture:  DollarGestureEvent,
	// *< Gesture event data 
	drop:      DropEvent,
	// *< Drag and drop event data 
	padding:   [56]u8,
}

EventFilter ¶

EventFilter :: proc "cdecl" (userdata: rawptr, event: ^Event) -> i32

EventType ¶

EventType :: enum u32 {
	FIRSTEVENT               = 0,     // *< Unused (do not remove)
	// Application events 
	QUIT                     = 256,   // *< User-requested quit
	// These application events have special meaning on iOS, see README-ios.md for details 
	APP_TERMINATING,                  // *< The application is being terminated by the OS
	                             Called on iOS in applicationWillTerminate()
	                             Called on Android in onDestroy()
	APP_LOWMEMORY,                    // *< The application is low on memory, free memory if possible.
	                             Called on iOS in applicationDidReceiveMemoryWarning()
	                             Called on Android in onLowMemory()
	APP_WILLENTERBACKGROUND,          // *< The application is about to enter the background
	                             Called on iOS in applicationWillResignActive()
	                             Called on Android in onPause()
	APP_DIDENTERBACKGROUND,           // *< The application did enter the background and may not get CPU for some time
	                             Called on iOS in applicationDidEnterBackground()
	                             Called on Android in onPause()
	APP_WILLENTERFOREGROUND,          // *< The application is about to enter the foreground
	                             Called on iOS in applicationWillEnterForeground()
	                             Called on Android in onResume()
	APP_DIDENTERFOREGROUND,           // *< The application is now interactive
	                             Called on iOS in applicationDidBecomeActive()
	                             Called on Android in onResume()
	LOCALECHANGED,                    // *< The user's locale preferences have changed.
	// Display events 
	DISPLAYEVENT             = 336,   // *< Display state change
	// Window events 
	WINDOWEVENT              = 512,   // *< Window state change
	SYSWMEVENT,                       // *< System specific event
	// Keyboard events 
	KEYDOWN                  = 768,   // *< Key pressed
	KEYUP,                            // *< Key released
	TEXTEDITING,                      // *< Keyboard text editing (composition)
	TEXTINPUT,                        // *< Keyboard text input
	KEYMAPCHANGED,                    // *< Keymap changed due to a system event such as an
	                             input language or keyboard layout change.
	// Mouse events 
	MOUSEMOTION              = 1024,  // *< Mouse moved
	MOUSEBUTTONDOWN,                  // *< Mouse button pressed
	MOUSEBUTTONUP,                    // *< Mouse button released
	MOUSEWHEEL,                       // *< Mouse wheel motion
	// Joystick events 
	JOYAXISMOTION            = 1536,  // *< Joystick axis motion
	JOYBALLMOTION,                    // *< Joystick trackball motion
	JOYHATMOTION,                     // *< Joystick hat position change
	JOYBUTTONDOWN,                    // *< Joystick button pressed
	JOYBUTTONUP,                      // *< Joystick button released
	JOYDEVICEADDED,                   // *< A new joystick has been inserted into the system
	JOYDEVICEREMOVED,                 // *< An opened joystick has been removed
	// Game controller events 
	CONTROLLERAXISMOTION     = 1616,  // *< Game controller axis motion
	CONTROLLERBUTTONDOWN,             // *< Game controller button pressed
	CONTROLLERBUTTONUP,               // *< Game controller button released
	CONTROLLERDEVICEADDED,            // *< A new Game controller has been inserted into the system
	CONTROLLERDEVICEREMOVED,          // *< An opened Game controller has been removed
	CONTROLLERDEVICEREMAPPED,         // *< The controller mapping was updated
	CONTROLLERTOUCHPADDOWN,           // *< Game controller touchpad was touched
	CONTROLLERTOUCHPADMOTION,         // *< Game controller touchpad finger was moved
	CONTROLLERTOUCHPADUP,             // *< Game controller touchpad finger was lifted
	CONTROLLERSENSORUPDATE,           // *< Game controller sensor was updated
	// Touch events 
	FINGERDOWN               = 1792, 
	FINGERUP, 
	FINGERMOTION, 
	// Gesture events 
	DOLLARGESTURE            = 2048, 
	DOLLARRECORD, 
	MULTIGESTURE, 
	// Clipboard events 
	CLIPBOARDUPDATE          = 2304,  // *< The clipboard changed
	// Drag and drop events 
	DROPFILE                 = 4096,  // *< The system requests a file open
	DROPTEXT,                         // *< text/plain drag-and-drop event
	DROPBEGIN,                        // *< A new set of drops is beginning (NULL filename)
	DROPCOMPLETE,                     // *< Current set of drops is now complete (NULL filename)
	// Audio hotplug events 
	AUDIODEVICEADDED         = 4352,  // *< A new audio device is available
	AUDIODEVICEREMOVED,               // *< An audio device has been removed.
	// Sensor events 
	SENSORUPDATE             = 4608,  // *< A sensor was updated
	// Render events 
	RENDER_TARGETS_RESET     = 8192,  // *< The render targets have been reset and their contents need to be updated
	RENDER_DEVICE_RESET,              // *< The device has been reset and all textures need to be recreated
	// Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use,
	// 	*  and should be allocated with SDL_RegisterEvents()
	USEREVENT                = 32768, 
	// *
	// 	*  This last event is only for bounding internal arrays
	LASTEVENT                = 65535, 
}

FPoint ¶

FPoint :: struct {
	x: f32,
	y: f32,
}

FRect ¶

FRect :: struct {
	x,
	y: f32,
	w,
	h: f32,
}

Finger ¶

Finger :: struct {
	id:       FingerID,
	x:        f32,
	y:        f32,
	pressure: f32,
}

FingerID ¶

FingerID :: distinct i64

FlashOperation ¶

FlashOperation :: enum i32 {
	CANCEL,        // *< Cancel any window flash state
	BRIEFLY,       // *< Flash the window briefly to get attention
	UNTIL_FOCUSED, // *< Flash the window until it gets focus
}

GLContext ¶

GLContext :: distinct rawptr

GLContextResetNotification ¶

GLContextResetNotification :: enum i32 {
	NO_NOTIFICATION = 0, 
	LOSE_CONTEXT    = 1, 
}

GLattr ¶

GLattr :: enum i32 {
	RED_SIZE, 
	GREEN_SIZE, 
	BLUE_SIZE, 
	ALPHA_SIZE, 
	BUFFER_SIZE, 
	DOUBLEBUFFER, 
	DEPTH_SIZE, 
	STENCIL_SIZE, 
	ACCUM_RED_SIZE, 
	ACCUM_GREEN_SIZE, 
	ACCUM_BLUE_SIZE, 
	ACCUM_ALPHA_SIZE, 
	STEREO, 
	MULTISAMPLEBUFFERS, 
	MULTISAMPLESAMPLES, 
	ACCELERATED_VISUAL, 
	RETAINED_BACKING, 
	CONTEXT_MAJOR_VERSION, 
	CONTEXT_MINOR_VERSION, 
	CONTEXT_EGL, 
	CONTEXT_FLAGS, 
	CONTEXT_PROFILE_MASK, 
	SHARE_WITH_CURRENT_CONTEXT, 
	FRAMEBUFFER_SRGB_CAPABLE, 
	CONTEXT_RELEASE_BEHAVIOR, 
	CONTEXT_RESET_NOTIFICATION, 
	CONTEXT_NO_ERROR, 
}

GLcontextFlag ¶

GLcontextFlag :: enum i32 {
	DEBUG_FLAG              = 1, 
	FORWARD_COMPATIBLE_FLAG = 2, 
	ROBUST_ACCESS_FLAG      = 4, 
	RESET_ISOLATION_FLAG    = 8, 
}

GLcontextReleaseFlag ¶

GLcontextReleaseFlag :: enum i32 {
	NONE  = 0, 
	FLUSH = 1, 
}

GLprofile ¶

GLprofile :: enum i32 {
	CORE          = 1, 
	COMPATIBILITY = 2, 
	ES            = 4, // *< GLX_CONTEXT_ES2_PROFILE_BIT_EXT
}

GameController ¶

GameController :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

GameControllerAxis ¶

GameControllerAxis :: enum i32 {
	INVALID      = -1, 
	LEFTX, 
	LEFTY, 
	RIGHTX, 
	RIGHTY, 
	TRIGGERLEFT, 
	TRIGGERRIGHT, 
	MAX, 
}

GameControllerBindType ¶

GameControllerBindType :: enum i32 {
	NONE   = 0, 
	BUTTON, 
	AXIS, 
	HAT, 
}

GameControllerButton ¶

GameControllerButton :: enum i32 {
	INVALID       = -1, 
	A, 
	B, 
	X, 
	Y, 
	BACK, 
	GUIDE, 
	START, 
	LEFTSTICK, 
	RIGHTSTICK, 
	LEFTSHOULDER, 
	RIGHTSHOULDER, 
	DPAD_UP, 
	DPAD_DOWN, 
	DPAD_LEFT, 
	DPAD_RIGHT, 
	MISC1,              // Xbox Series X share button, PS5 microphone button, Nintendo Switch Pro capture button, Amazon Luna microphone button
	PADDLE1,            // Xbox Elite paddle P1
	PADDLE2,            // Xbox Elite paddle P3
	PADDLE3,            // Xbox Elite paddle P2
	PADDLE4,            // Xbox Elite paddle P4
	TOUCHPAD,           // PS4/PS5 touchpad button
	MAX, 
}

GameControllerButtonBind ¶

GameControllerButtonBind :: struct {
	bindType: GameControllerBindType,
	value:    struct #raw_union {
		button: i32,
		axis:   i32,
		hat:    struct {
			hat:      i32,
			hat_mask: i32,
		},
	},
}

GameControllerType ¶

GameControllerType :: enum i32 {
	UNKNOWN             = 0, 
	XBOX360, 
	XBOXONE, 
	PS3, 
	PS4, 
	NINTENDO_SWITCH_PRO, 
	VIRTUAL, 
	PS5, 
	AMAZON_LUNA, 
	GOOGLE_STADIA, 
}

GestureID ¶

GestureID :: distinct i64

Haptic ¶

Haptic :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

HapticCondition ¶

HapticCondition :: struct {
	// Header 
	type:        HapticType,
	// *< ::SDL_HAPTIC_SPRING, ::SDL_HAPTIC_DAMPER,
	// 	                         ::SDL_HAPTIC_INERTIA or ::SDL_HAPTIC_FRICTION 
	direction:   HapticDirection,
	// Replay 
	length:      u32,
	// *< Duration of the effect. 
	delay:       u16,
	// Trigger 
	button:      u16,
	// *< Button that triggers the effect. 
	interval:    u16,
	// Condition 
	right_sat:   [3]u16,
	// *< Level when joystick is to the positive side; max 0xFFFF. 
	left_sat:    [3]u16,
	// *< Level when joystick is to the negative side; max 0xFFFF. 
	right_coeff: [3]i16,
	// *< How fast to increase the force towards the positive side. 
	left_coeff:  [3]i16,
	// *< How fast to increase the force towards the negative side. 
	deadband:    [3]u16,
	// *< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. 
	center:      [3]i16,
}

HapticConstant ¶

HapticConstant :: struct {
	// Header 
	type:          HapticType,
	// *< ::SDL_HAPTIC_CONSTANT 
	direction:     HapticDirection,
	// Replay 
	length:        u32,
	// *< Duration of the effect. 
	delay:         u16,
	// Trigger 
	button:        u16,
	// *< Button that triggers the effect. 
	interval:      u16,
	// Constant 
	level:         i16,
	// Envelope 
	attack_length: u16,
	// *< Duration of the attack. 
	attack_level:  u16,
	// *< Level at the start of the attack. 
	fade_length:   u16,
	// *< Duration of the fade. 
	fade_level:    u16,
}

HapticCustom ¶

HapticCustom :: struct {
	// Header 
	type:          HapticType,
	// *< ::SDL_HAPTIC_CUSTOM 
	direction:     HapticDirection,
	// Replay 
	length:        u32,
	// *< Duration of the effect. 
	delay:         u16,
	// Trigger 
	button:        u16,
	// *< Button that triggers the effect. 
	interval:      u16,
	// Custom 
	channels:      u8,
	// *< Axes to use, minimum of one. 
	period:        u16,
	// *< Sample periods. 
	samples:       u16,
	// *< Amount of samples. 
	data:          [^]u16,
	// Envelope 
	attack_length: u16,
	// *< Duration of the attack. 
	attack_level:  u16,
	// *< Level at the start of the attack. 
	fade_length:   u16,
	// *< Duration of the fade. 
	fade_level:    u16,
}

HapticDirection ¶

HapticDirection :: struct {
	type: HapticDirectionType,
	// *< The type of encoding. 
	dir:  [3]i32,
}

HapticDirectionType ¶

HapticDirectionType :: enum u8 {
	POLAR         = 0, 
	CARTESIAN     = 1, 
	SPHERICAL     = 2, 
	STEERING_AXIS = 3, 
}

HapticEffect ¶

HapticEffect :: struct #raw_union {
	// Common for all force feedback effects 
	type:      HapticType,
	// *< Effect type. 
	constant:  HapticConstant,
	// *< Constant effect. 
	periodic:  HapticPeriodic,
	// *< Periodic effect. 
	condition: HapticCondition,
	// *< Condition effect. 
	ramp:      HapticRamp,
	// *< Ramp effect. 
	leftright: HapticLeftRight,
	// *< Left/Right effect. 
	custom:    HapticCustom,
}

HapticLeftRight ¶

HapticLeftRight :: struct {
	// Header 
	type:            HapticType,
	// Replay 
	length:          u32,
	// Rumble 
	large_magnitude: u16,
	// *< Control of the large controller motor. 
	small_magnitude: u16,
}

HapticPeriodic ¶

HapticPeriodic :: struct {
	// Header 
	type:          HapticType,
	// *< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT,
	// 	                        ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or
	// 	                        ::SDL_HAPTIC_SAWTOOTHDOWN 
	direction:     HapticDirection,
	// Replay 
	length:        u32,
	// *< Duration of the effect. 
	delay:         u16,
	// Trigger 
	button:        u16,
	// *< Button that triggers the effect. 
	interval:      u16,
	// Periodic 
	period:        u16,
	// *< Period of the wave. 
	magnitude:     i16,
	// *< Peak value; if negative, equivalent to 180 degrees extra phase shift. 
	offset:        i16,
	// *< Mean value of the wave. 
	phase:         u16,
	// Envelope 
	attack_length: u16,
	// *< Duration of the attack. 
	attack_level:  u16,
	// *< Level at the start of the attack. 
	fade_length:   u16,
	// *< Duration of the fade. 
	fade_level:    u16,
}

HapticRamp ¶

HapticRamp :: struct {
	// Header 
	type:          HapticType,
	// *< ::SDL_HAPTIC_RAMP 
	direction:     HapticDirection,
	// Replay 
	length:        u32,
	// *< Duration of the effect. 
	delay:         u16,
	// Trigger 
	button:        u16,
	// *< Button that triggers the effect. 
	interval:      u16,
	// Ramp 
	start:         i16,
	// *< Beginning strength level. 
	end:           i16,
	// Envelope 
	attack_length: u16,
	// *< Duration of the attack. 
	attack_level:  u16,
	// *< Level at the start of the attack. 
	fade_length:   u16,
	// *< Duration of the fade. 
	fade_level:    u16,
}

HapticType ¶

HapticType :: enum u16 {
	CONSTANT     = 1, 
	SINE         = 2, 
	LEFTRIGHT    = 4, 
	TRIANGLE     = 8, 
	SAWTOOTHUP   = 16, 
	SAWTOOTHDOWN = 32, 
	RAMP         = 64, 
	SPRING       = 128, 
	DAMPER       = 256, 
	INERTIA      = 512, 
	FRICTION     = 1024, 
	CUSTOM       = 2048, 
	GAIN         = 4096, 
	AUTOCENTER   = 8192, 
	STATUS       = 16384, 
	PAUSE        = 32768, 
}

HintCallback ¶

HintCallback :: proc "cdecl" (userdata: rawptr, name, oldValue, newValue: cstring)

HintPriority ¶

HintPriority :: enum i32 {
	DEFAULT, 
	NORMAL, 
	OVERRIDE, 
}

HitTest ¶

HitTest :: proc "cdecl" (win: ^Window, area: ^Point, data: rawptr) -> HitTestResult

HitTestResult ¶

HitTestResult :: enum i32 {
	NORMAL,             // *< Region is normal. No special properties.
	DRAGGABLE,          // *< Region can drag entire window.
	RESIZE_TOPLEFT, 
	RESIZE_TOP, 
	RESIZE_TOPRIGHT, 
	RESIZE_RIGHT, 
	RESIZE_BOTTOMRIGHT, 
	RESIZE_BOTTOM, 
	RESIZE_BOTTOMLEFT, 
	RESIZE_LEFT, 
}

ID3D11Device ¶

ID3D11Device :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

IDirect3DDevice9 ¶

IDirect3DDevice9 :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

InitFlag ¶

InitFlag :: enum u32 {
	TIMER          = 0, 
	AUDIO          = 4, 
	VIDEO          = 5, 
	JOYSTICK       = 9, 
	HAPTIC         = 12, 
	GAMECONTROLLER = 13, 
	EVENTS         = 14, 
	SENSOR         = 15, 
	NOPARACHUTE    = 20, 
}

InitFlags ¶

InitFlags :: bit_set[InitFlag; u32]

JoyAxisEvent ¶

JoyAxisEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYAXISMOTION 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	axis:      u8,
	// *< The joystick axis index 
	_:         u8,
	_:         u8,
	_:         u8,
	value:     i16,
	// *< The axis value (range: -32768 to 32767) 
	_:         u16,
}

JoyBallEvent ¶

JoyBallEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYBALLMOTION 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	ball:      u8,
	// *< The joystick trackball index 
	_:         u8,
	_:         u8,
	_:         u8,
	xrel:      i16,
	// *< The relative motion in the X direction 
	yrel:      i16,
}

JoyButtonEvent ¶

JoyButtonEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYBUTTONDOWN or ::SDL_JOYBUTTONUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	button:    u8,
	// *< The joystick button index 
	state:     u8,
	// *< ::SDL_PRESSED or ::SDL_RELEASED 
	_:         u8,
	_:         u8,
}

JoyDeviceEvent ¶

JoyDeviceEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     i32,
}

JoyHatEvent ¶

JoyHatEvent :: struct {
	type:      EventType,
	// *< ::SDL_JOYHATMOTION 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     JoystickID,
	// *< The joystick instance id 
	hat:       u8,
	// *< The joystick hat index 
	value:     u8,
	// *< The hat position value.
	// 	                 *   \sa ::SDL_HAT_LEFTUP ::SDL_HAT_UP ::SDL_HAT_RIGHTUP
	// 	                 *   \sa ::SDL_HAT_LEFT ::SDL_HAT_CENTERED ::SDL_HAT_RIGHT
	// 	                 *   \sa ::SDL_HAT_LEFTDOWN ::SDL_HAT_DOWN ::SDL_HAT_RIGHTDOWN
	// 	                 *
	// 	                 *   Note that zero means the POV is centered.
	_:         u8,
	_:         u8,
}

Joystick ¶

Joystick :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

JoystickGUID ¶

JoystickGUID :: struct {
	data: [16]u8,
}

JoystickID ¶

JoystickID :: distinct i32

JoystickPowerLevel ¶

JoystickPowerLevel :: enum i32 {
	UNKNOWN = -1, 
	EMPTY,        // <= 5%
	LOW,          // <= 20%
	MEDIUM,       // <= 70%
	FULL,         // <= 100%
	WIRED, 
	MAX, 
}

JoystickType ¶

JoystickType :: enum i32 {
	UNKNOWN, 
	GAMECONTROLLER, 
	WHEEL, 
	ARCADE_STICK, 
	FLIGHT_STICK, 
	DANCE_PAD, 
	GUITAR, 
	DRUM_KIT, 
	ARCADE_PAD, 
	THROTTLE, 
}

KeyboardEvent ¶

KeyboardEvent :: struct {
	type:      EventType,
	// *< ::SDL_KEYDOWN or ::SDL_KEYUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with keyboard focus, if any 
	state:     u8,
	// *< ::SDL_PRESSED or ::SDL_RELEASED 
	repeat:    u8,
	// *< Non-zero if this is a key repeat 
	_:         u8,
	_:         u8,
	keysym:    Keysym,
}

Keycode ¶

Keycode :: enum i32 {
	UNKNOWN            = 0, 
	RETURN             = 13, 
	ESCAPE             = 27, 
	BACKSPACE          = 8, 
	TAB                = 9, 
	SPACE              = 32, 
	EXCLAIM            = 33, 
	QUOTEDBL           = 34, 
	HASH               = 35, 
	PERCENT            = 37, 
	DOLLAR             = 36, 
	AMPERSAND          = 38, 
	QUOTE              = 39, 
	LEFTPAREN          = 40, 
	RIGHTPAREN         = 41, 
	ASTERISK           = 42, 
	PLUS               = 43, 
	COMMA              = 44, 
	MINUS              = 45, 
	PERIOD             = 46, 
	SLASH              = 47, 
	NUM0               = 48, 
	NUM1               = 49, 
	NUM2               = 50, 
	NUM3               = 51, 
	NUM4               = 52, 
	NUM5               = 53, 
	NUM6               = 54, 
	NUM7               = 55, 
	NUM8               = 56, 
	NUM9               = 57, 
	COLON              = 58, 
	SEMICOLON          = 59, 
	LESS               = 60, 
	EQUALS             = 61, 
	GREATER            = 62, 
	QUESTION           = 63, 
	AT                 = 64, 
	LEFTBRACKET        = 91, 
	BACKSLASH          = 92, 
	RIGHTBRACKET       = 93, 
	CARET              = 94, 
	UNDERSCORE         = 95, 
	BACKQUOTE          = 96, 
	a                  = 97, 
	b                  = 98, 
	c                  = 99, 
	d                  = 100, 
	e                  = 101, 
	f                  = 102, 
	g                  = 103, 
	h                  = 104, 
	i                  = 105, 
	j                  = 106, 
	k                  = 107, 
	l                  = 108, 
	m                  = 109, 
	n                  = 110, 
	o                  = 111, 
	p                  = 112, 
	q                  = 113, 
	r                  = 114, 
	s                  = 115, 
	t                  = 116, 
	u                  = 117, 
	v                  = 118, 
	w                  = 119, 
	x                  = 120, 
	y                  = 121, 
	z                  = 122, 
	A                  = 97, 
	B                  = 98, 
	C                  = 99, 
	D                  = 100, 
	E                  = 101, 
	F                  = 102, 
	G                  = 103, 
	H                  = 104, 
	I                  = 105, 
	J                  = 106, 
	K                  = 107, 
	L                  = 108, 
	M                  = 109, 
	N                  = 110, 
	O                  = 111, 
	P                  = 112, 
	Q                  = 113, 
	R                  = 114, 
	S                  = 115, 
	T                  = 116, 
	U                  = 117, 
	V                  = 118, 
	W                  = 119, 
	X                  = 120, 
	Y                  = 121, 
	Z                  = 122, 
	CAPSLOCK           = 1073741881, 
	F1                 = 1073741882, 
	F2                 = 1073741883, 
	F3                 = 1073741884, 
	F4                 = 1073741885, 
	F5                 = 1073741886, 
	F6                 = 1073741887, 
	F7                 = 1073741888, 
	F8                 = 1073741889, 
	F9                 = 1073741890, 
	F10                = 1073741891, 
	F11                = 1073741892, 
	F12                = 1073741893, 
	PRINTSCREEN        = 1073741894, 
	SCROLLLOCK         = 1073741895, 
	PAUSE              = 1073741896, 
	INSERT             = 1073741897, 
	HOME               = 1073741898, 
	PAGEUP             = 1073741899, 
	DELETE             = 127, 
	END                = 1073741901, 
	PAGEDOWN           = 1073741902, 
	RIGHT              = 1073741903, 
	LEFT               = 1073741904, 
	DOWN               = 1073741905, 
	UP                 = 1073741906, 
	NUMLOCKCLEAR       = 1073741907, 
	KP_DIVIDE          = 1073741908, 
	KP_MULTIPLY        = 1073741909, 
	KP_MINUS           = 1073741910, 
	KP_PLUS            = 1073741911, 
	KP_ENTER           = 1073741912, 
	KP_1               = 1073741913, 
	KP_2               = 1073741914, 
	KP_3               = 1073741915, 
	KP_4               = 1073741916, 
	KP_5               = 1073741917, 
	KP_6               = 1073741918, 
	KP_7               = 1073741919, 
	KP_8               = 1073741920, 
	KP_9               = 1073741921, 
	KP_0               = 1073741922, 
	KP_PERIOD          = 1073741923, 
	APPLICATION        = 1073741925, 
	POWER              = 1073741926, 
	KP_EQUALS          = 1073741927, 
	F13                = 1073741928, 
	F14                = 1073741929, 
	F15                = 1073741930, 
	F16                = 1073741931, 
	F17                = 1073741932, 
	F18                = 1073741933, 
	F19                = 1073741934, 
	F20                = 1073741935, 
	F21                = 1073741936, 
	F22                = 1073741937, 
	F23                = 1073741938, 
	F24                = 1073741939, 
	EXECUTE            = 1073741940, 
	HELP               = 1073741941, 
	MENU               = 1073741942, 
	SELECT             = 1073741943, 
	STOP               = 1073741944, 
	AGAIN              = 1073741945, 
	UNDO               = 1073741946, 
	CUT                = 1073741947, 
	COPY               = 1073741948, 
	PASTE              = 1073741949, 
	FIND               = 1073741950, 
	MUTE               = 1073741951, 
	VOLUMEUP           = 1073741952, 
	VOLUMEDOWN         = 1073741953, 
	KP_COMMA           = 1073741957, 
	KP_EQUALSAS400     = 1073741958, 
	ALTERASE           = 1073741977, 
	SYSREQ             = 1073741978, 
	CANCEL             = 1073741979, 
	CLEAR              = 1073741980, 
	PRIOR              = 1073741981, 
	RETURN2            = 1073741982, 
	SEPARATOR          = 1073741983, 
	OUT                = 1073741984, 
	OPER               = 1073741985, 
	CLEARAGAIN         = 1073741986, 
	CRSEL              = 1073741987, 
	EXSEL              = 1073741988, 
	KP_00              = 1073742000, 
	KP_000             = 1073742001, 
	THOUSANDSSEPARATOR = 1073742002, 
	DECIMALSEPARATOR   = 1073742003, 
	CURRENCYUNIT       = 1073742004, 
	CURRENCYSUBUNIT    = 1073742005, 
	KP_LEFTPAREN       = 1073742006, 
	KP_RIGHTPAREN      = 1073742007, 
	KP_LEFTBRACE       = 1073742008, 
	KP_RIGHTBRACE      = 1073742009, 
	KP_TAB             = 1073742010, 
	KP_BACKSPACE       = 1073742011, 
	KP_A               = 1073742012, 
	KP_B               = 1073742013, 
	KP_C               = 1073742014, 
	KP_D               = 1073742015, 
	KP_E               = 1073742016, 
	KP_F               = 1073742017, 
	KP_XOR             = 1073742018, 
	KP_POWER           = 1073742019, 
	KP_PERCENT         = 1073742020, 
	KP_LESS            = 1073742021, 
	KP_GREATER         = 1073742022, 
	KP_AMPERSAND       = 1073742023, 
	KP_DBLAMPERSAND    = 1073742024, 
	KP_VERTICALBAR     = 1073742025, 
	KP_DBLVERTICALBAR  = 1073742026, 
	KP_COLON           = 1073742027, 
	KP_HASH            = 1073742028, 
	KP_SPACE           = 1073742029, 
	KP_AT              = 1073742030, 
	KP_EXCLAM          = 1073742031, 
	KP_MEMSTORE        = 1073742032, 
	KP_MEMRECALL       = 1073742033, 
	KP_MEMCLEAR        = 1073742034, 
	KP_MEMADD          = 1073742035, 
	KP_MEMSUBTRACT     = 1073742036, 
	KP_MEMMULTIPLY     = 1073742037, 
	KP_MEMDIVIDE       = 1073742038, 
	KP_PLUSMINUS       = 1073742039, 
	KP_CLEAR           = 1073742040, 
	KP_CLEARENTRY      = 1073742041, 
	KP_BINARY          = 1073742042, 
	KP_OCTAL           = 1073742043, 
	KP_DECIMAL         = 1073742044, 
	KP_HEXADECIMAL     = 1073742045, 
	LCTRL              = 1073742048, 
	LSHIFT             = 1073742049, 
	LALT               = 1073742050, 
	LGUI               = 1073742051, 
	RCTRL              = 1073742052, 
	RSHIFT             = 1073742053, 
	RALT               = 1073742054, 
	RGUI               = 1073742055, 
	MODE               = 1073742081, 
	AUDIONEXT          = 1073742082, 
	AUDIOPREV          = 1073742083, 
	AUDIOSTOP          = 1073742084, 
	AUDIOPLAY          = 1073742085, 
	AUDIOMUTE          = 1073742086, 
	MEDIASELECT        = 1073742087, 
	WWW                = 1073742088, 
	MAIL               = 1073742089, 
	CALCULATOR         = 1073742090, 
	COMPUTER           = 1073742091, 
	AC_SEARCH          = 1073742092, 
	AC_HOME            = 1073742093, 
	AC_BACK            = 1073742094, 
	AC_FORWARD         = 1073742095, 
	AC_STOP            = 1073742096, 
	AC_REFRESH         = 1073742097, 
	AC_BOOKMARKS       = 1073742098, 
	BRIGHTNESSDOWN     = 1073742099, 
	BRIGHTNESSUP       = 1073742100, 
	DISPLAYSWITCH      = 1073742101, 
	KBDILLUMTOGGLE     = 1073742102, 
	KBDILLUMDOWN       = 1073742103, 
	KBDILLUMUP         = 1073742104, 
	EJECT              = 1073742105, 
	SLEEP              = 1073742106, 
	APP1               = 1073742107, 
	APP2               = 1073742108, 
	AUDIOREWIND        = 1073742109, 
	AUDIOFASTFORWARD   = 1073742110, 
}

Keymod ¶

Keymod :: distinct bit_set[KeymodFlag; u16]

KeymodFlag ¶

KeymodFlag :: enum u16 {
	LSHIFT   = 0, 
	RSHIFT   = 1, 
	LCTRL    = 6, 
	RCTRL    = 7, 
	LALT     = 8, 
	RALT     = 9, 
	LGUI     = 10, 
	RGUI     = 11, 
	NUM      = 12, 
	CAPS     = 13, 
	MODE     = 14, 
	RESERVED = 15, 
}

Keysym ¶

Keysym :: struct {
	scancode: Scancode,
	// *< SDL physical key code - see ::SDL_Scancode for details 
	sym:      Keycode,
	// *< SDL virtual key code - see ::SDL_Keycode for details 
	mod:      Keymod,
	// *< current key modifiers 
	unused:   u32,
}

Locale ¶

Locale :: struct {
	language: cstring,
	// *< A language name, like "en" for English. 
	country:  cstring,
}

LogCategory ¶

LogCategory :: enum i32 {
	APPLICATION, 
	ERROR, 
	ASSERT, 
	SYSTEM, 
	AUDIO, 
	VIDEO, 
	RENDER, 
	INPUT, 
	TEST, 
	// Reserved for future SDL library use 
	RESERVED1, 
	RESERVED2, 
	RESERVED3, 
	RESERVED4, 
	RESERVED5, 
	RESERVED6, 
	RESERVED7, 
	RESERVED8, 
	RESERVED9, 
	RESERVED10, 
	// Beyond this point is reserved for application use, e.g.
	// 	enum {
	// 		MYAPP_CATEGORY_AWESOME1 = SDL_LOG_CATEGORY_CUSTOM,
	// 		MYAPP_CATEGORY_AWESOME2,
	// 		MYAPP_CATEGORY_AWESOME3,
	// 		...
	// 	};
	CUSTOM, 
}

LogOutputFunction ¶

LogOutputFunction :: proc "cdecl" (userdata: rawptr, category: LogCategory, priority: LogPriority, message: cstring)

LogPriority ¶

LogPriority :: enum i32 {
	DEFAULT  = 0, // CUSTOM ONE
	VERBOSE  = 1, 
	DEBUG, 
	INFO, 
	WARN, 
	ERROR, 
	CRITICAL, 
	NUM, 
}

MessageBoxButtonData ¶

MessageBoxButtonData :: struct {
	flags:    MessageBoxButtonFlags,
	// *< ::SDL_MessageBoxButtonFlags 
	buttonid: i32,
	// *< User defined button id (value returned via SDL_ShowMessageBox) 
	text:     cstring,
}

MessageBoxButtonFlag ¶

MessageBoxButtonFlag :: enum u32 {
	RETURNKEY_DEFAULT = 0, // *< Marks the default button when return is hit
	ESCAPEKEY_DEFAULT = 1, // *< Marks the default button when escape is hit
}

MessageBoxButtonFlags ¶

MessageBoxButtonFlags :: distinct bit_set[MessageBoxButtonFlag; u32]

MessageBoxColor ¶

MessageBoxColor :: struct {
	r,
	g,
	b: u8,
}

MessageBoxColorScheme ¶

MessageBoxColorScheme :: struct {
	colors: [MessageBoxColorType]MessageBoxColor,
}

MessageBoxColorType ¶

MessageBoxColorType :: enum i32 {
	BACKGROUND, 
	TEXT, 
	BUTTON_BORDER, 
	BUTTON_BACKGROUND, 
	BUTTON_SELECTED, 
}

MessageBoxData ¶

MessageBoxData :: struct {
	flags:       MessageBoxFlags,
	// *< ::SDL_MessageBoxFlags 
	window:      ^Window,
	// *< Parent window, can be NULL 
	title:       cstring,
	// *< UTF-8 title 
	message:     cstring,
	// *< UTF-8 message text 
	numbuttons:  i32,
	buttons:     ^MessageBoxButtonData,
	colorScheme: ^MessageBoxColorScheme,
}

MessageBoxFlag ¶

MessageBoxFlag :: enum u32 {
	ERROR                 = 4, // *< error dialog
	WARNING               = 5, // *< warning dialog
	INFORMATION           = 6, // *< informational dialog
	BUTTONS_LEFT_TO_RIGHT = 7, // *< buttons placed left to right
	BUTTONS_RIGHT_TO_LEFT = 8, // *< buttons placed right to left
}

MessageBoxFlags ¶

MessageBoxFlags :: distinct bit_set[MessageBoxFlag; u32]

MetalView ¶

MetalView :: distinct rawptr

MouseButtonEvent ¶

MouseButtonEvent :: struct {
	type:      EventType,
	// *< ::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with mouse focus, if any 
	which:     u32,
	// *< The mouse instance id, or SDL_TOUCH_MOUSEID 
	button:    u8,
	// *< The mouse button index 
	state:     u8,
	// *< ::SDL_PRESSED or ::SDL_RELEASED 
	clicks:    u8,
	// *< 1 for single-click, 2 for double-click, etc. 
	_:         u8,
	x:         i32,
	// *< X coordinate, relative to window 
	y:         i32,
}

MouseMotionEvent ¶

MouseMotionEvent :: struct {
	type:      EventType,
	// *< ::SDL_MOUSEMOTION 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with mouse focus, if any 
	which:     u32,
	// *< The mouse instance id, or SDL_TOUCH_MOUSEID 
	state:     u32,
	// *< The current button state 
	x:         i32,
	// *< X coordinate, relative to window 
	y:         i32,
	// *< Y coordinate, relative to window 
	xrel:      i32,
	// *< The relative motion in the X direction 
	yrel:      i32,
}

MouseWheelEvent ¶

MouseWheelEvent :: struct {
	type:      EventType,
	// *< ::SDL_MOUSEWHEEL 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with mouse focus, if any 
	which:     u32,
	// *< The mouse instance id, or SDL_TOUCH_MOUSEID 
	x:         i32,
	// *< The amount scrolled horizontally, positive to the right and negative to the left 
	y:         i32,
	// *< The amount scrolled vertically, positive away from the user and negative toward the user 
	direction: u32,
}

MultiGestureEvent ¶

MultiGestureEvent :: struct {
	type:       EventType,
	// *< ::SDL_MULTIGESTURE 
	timestamp:  u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	touchId:    TouchID,
	// *< The touch device id 
	dTheta:     f32,
	dDist:      f32,
	x:          f32,
	y:          f32,
	numFingers: u16,
	padding:    u16,
}

OSEvent ¶

OSEvent :: struct {
	type:      EventType,
	timestamp: u32,
}

Palette ¶

Palette :: struct {
	ncolors:  i32,
	colors:   ^Color,
	version:  u32,
	refcount: i32,
}

PixelFormat ¶

PixelFormat :: struct {
	format:        u32,
	palette:       ^Palette,
	BitsPerPixel:  u8,
	BytesPerPixel: u8,
	padding:       [2]u8,
	Rmask:         u32,
	Gmask:         u32,
	Bmask:         u32,
	Amask:         u32,
	Rloss:         u8,
	Gloss:         u8,
	Bloss:         u8,
	Aloss:         u8,
	Rshift:        u8,
	Gshift:        u8,
	Bshift:        u8,
	Ashift:        u8,
	refcount:      i32,
	next:          ^PixelFormat,
}

PixelFormatEnum ¶

PixelFormatEnum :: enum u32 {
	UNKNOWN      = 0, 
	INDEX1LSB    = 286261504, 
	INDEX1MSB    = 287310080, 
	INDEX4LSB    = 303039488, 
	INDEX4MSB    = 304088064, 
	INDEX8       = 318769153, 
	RGB332       = 336660481, 
	XRGB4444     = 353504258, 
	RGB444       = 353504258, 
	XBGR4444     = 357698562, 
	BGR444       = 357698562, 
	XRGB1555     = 353570562, 
	RGB555       = 353570562, 
	XBGR1555     = 357764866, 
	BGR555       = 357764866, 
	ARGB4444     = 355602434, 
	RGBA4444     = 356651010, 
	ABGR4444     = 359796738, 
	BGRA4444     = 360845314, 
	ARGB1555     = 355667970, 
	RGBA5551     = 356782082, 
	ABGR1555     = 359862274, 
	BGRA5551     = 360976386, 
	RGB565       = 353701890, 
	BGR565       = 357896194, 
	RGB24        = 386930691, 
	BGR24        = 390076419, 
	XRGB8888     = 370546692, 
	RGB888       = 370546692, 
	RGBX8888     = 371595268, 
	XBGR8888     = 374740996, 
	BGR888       = 374740996, 
	BGRX8888     = 375789572, 
	ARGB8888     = 372645892, 
	RGBA8888     = 373694468, 
	ABGR8888     = 376840196, 
	BGRA8888     = 377888772, 
	ARGB2101010  = 372711428, 
	// Aliases for RGBA byte arrays of color data, for the current platform 
	RGBA32       = 376840196, 
	ARGB32       = 377888772, 
	BGRA32       = 372645892, 
	ABGR32       = 373694468, 
	YV12         = 1498820914, 
	IYUV         = 1230591318, 
	YUY2         = 1498765618, 
	UYVY         = 1431918169, 
	YVYU         = 1498831189, 
	NV12         = 1314271538, 
	NV21         = 1314271793, 
	EXTERNAL_OES = 1329943328, 
}

Point ¶

Point :: struct {
	x,
	y: i32,
}

PowerState ¶

PowerState :: enum i32 {
	UNKNOWN,    // *< cannot determine power status
	ON_BATTERY, // *< Not plugged in, running on the battery
	NO_BATTERY, // *< Plugged in, no battery available
	CHARGING,   // *< Plugged in, charging battery
	CHARGED,    // *< Plugged in, battery charged
}

QuitEvent ¶

QuitEvent :: struct {
	type:      EventType,
	timestamp: u32,
}

RWops ¶

RWops :: struct {
	size:   proc "cdecl" (ctx: ^RWops) -> i64,
	seek:   proc "cdecl" (ctx: ^RWops, offset: i64, whence: i32) -> i64,
	read:   proc "cdecl" (ctx: ^RWops, ptr: rawptr, size: uint, maxnum: uint) -> uint,
	write:  proc "cdecl" (ctx: ^RWops, ptr: rawptr, size: uint, maxnum: uint) -> uint,
	close:  proc "cdecl" (dst: ^RWops) -> i32,
	type:   u32,
	hidden: struct #raw_union {
		androidio: struct {
			asset: rawptr,
		},
		windowsio: struct {
			append: bool,
			h:      rawptr,
			buffer: struct {
				data: rawptr,
				size: uint,
				left: uint,
			},
		},
		vitaio:    struct {
			h:      i32,
			buffer: struct {
				data: rawptr,
				size: uint,
				left: uint,
			},
		},
		stdio:     struct {
			autoclose: bool,
			fp:        rawptr,
		},
		mem:       struct {
			base: ^u8,
			here: ^u8,
			stop: ^u8,
		},
		unknown:   struct {
			data1: rawptr,
			data2: rawptr,
		},
	},
}
 

* * This is the read/write operation structure -- very basic.

Rect ¶

Rect :: struct {
	x,
	y,
	w,
	h: i32,
}

Renderer ¶

Renderer :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

RendererFlag ¶

RendererFlag :: enum u32 {
	SOFTWARE      = 0, // *< The renderer is a software fallback
	ACCELERATED   = 1, // *< The renderer uses hardware acceleration
	PRESENTVSYNC  = 2, // *< Present is synchronized with the refresh rate
	TARGETTEXTURE = 3, // *< The renderer supports rendering to texture
}

RendererFlags ¶

RendererFlags :: distinct bit_set[RendererFlag; u32]

RendererFlip ¶

RendererFlip :: enum i32 {
	NONE       = 0, // *< Do not flip
	HORIZONTAL = 1, // *< flip horizontally
	VERTICAL   = 2, // *< flip vertically
}
 

* * Flip constants for SDL_RenderCopyEx

RendererInfo ¶

RendererInfo :: struct {
	name:                cstring,
	// *< The name of the renderer 
	flags:               RendererFlags,
	// *< Supported ::SDL_RendererFlags 
	num_texture_formats: u32,
	// *< The number of available texture formats 
	texture_formats:     [16]u32,
	// *< The available texture formats 
	max_texture_width:   i32,
	// *< The maximum texture width 
	max_texture_height:  i32,
}

SDL_MouseWheelDirection ¶

SDL_MouseWheelDirection :: enum i32 {
	NORMAL,  // *< The scroll direction is normal
	FLIPPED, // *< The scroll direction is flipped / natural
}

SYSWM_TYPE ¶

SYSWM_TYPE :: enum i32 {
	UNKNOWN, 
	WINDOWS, 
	X11, 
	DIRECTFB, 
	COCOA, 
	UIKIT, 
	WAYLAND, 
	MIR,      // no longer available, left for API/ABI compatibility. Remove in 2.1!
	WINRT, 
	ANDROID, 
	VIVANTE, 
	OS2, 
	HAIKU, 
	KMSDRM, 
}

ScaleMode ¶

ScaleMode :: enum i32 {
	Nearest, // *< nearest pixel sampling
	Linear,  // *< linear filtering
	Best,    // *< anisotropic filtering
}
 

* * The scaling mode for a texture.

Scancode ¶

Scancode :: enum i32 {
	UNKNOWN            = 0, 
	A                  = 4, 
	B                  = 5, 
	C                  = 6, 
	D                  = 7, 
	E                  = 8, 
	F                  = 9, 
	G                  = 10, 
	H                  = 11, 
	I                  = 12, 
	J                  = 13, 
	K                  = 14, 
	L                  = 15, 
	M                  = 16, 
	N                  = 17, 
	O                  = 18, 
	P                  = 19, 
	Q                  = 20, 
	R                  = 21, 
	S                  = 22, 
	T                  = 23, 
	U                  = 24, 
	V                  = 25, 
	W                  = 26, 
	X                  = 27, 
	Y                  = 28, 
	Z                  = 29, 
	NUM1               = 30, 
	NUM2               = 31, 
	NUM3               = 32, 
	NUM4               = 33, 
	NUM5               = 34, 
	NUM6               = 35, 
	NUM7               = 36, 
	NUM8               = 37, 
	NUM9               = 38, 
	NUM0               = 39, 
	RETURN             = 40, 
	ESCAPE             = 41, 
	BACKSPACE          = 42, 
	TAB                = 43, 
	SPACE              = 44, 
	MINUS              = 45, 
	EQUALS             = 46, 
	LEFTBRACKET        = 47, 
	RIGHTBRACKET       = 48, 
	BACKSLASH          = 49, 
	NONUSHASH          = 50, 
	SEMICOLON          = 51, 
	APOSTROPHE         = 52, 
	GRAVE              = 53, 
	COMMA              = 54, 
	PERIOD             = 55, 
	SLASH              = 56, 
	CAPSLOCK           = 57, 
	F1                 = 58, 
	F2                 = 59, 
	F3                 = 60, 
	F4                 = 61, 
	F5                 = 62, 
	F6                 = 63, 
	F7                 = 64, 
	F8                 = 65, 
	F9                 = 66, 
	F10                = 67, 
	F11                = 68, 
	F12                = 69, 
	PRINTSCREEN        = 70, 
	SCROLLLOCK         = 71, 
	PAUSE              = 72, 
	INSERT             = 73, 
	HOME               = 74, 
	PAGEUP             = 75, 
	DELETE             = 76, 
	END                = 77, 
	PAGEDOWN           = 78, 
	RIGHT              = 79, 
	LEFT               = 80, 
	DOWN               = 81, 
	UP                 = 82, 
	NUMLOCKCLEAR       = 83, 
	KP_DIVIDE          = 84, 
	KP_MULTIPLY        = 85, 
	KP_MINUS           = 86, 
	KP_PLUS            = 87, 
	KP_ENTER           = 88, 
	KP_1               = 89, 
	KP_2               = 90, 
	KP_3               = 91, 
	KP_4               = 92, 
	KP_5               = 93, 
	KP_6               = 94, 
	KP_7               = 95, 
	KP_8               = 96, 
	KP_9               = 97, 
	KP_0               = 98, 
	KP_PERIOD          = 99, 
	NONUSBACKSLASH     = 100, 
	APPLICATION        = 101, 
	POWER              = 102, 
	KP_EQUALS          = 103, 
	F13                = 104, 
	F14                = 105, 
	F15                = 106, 
	F16                = 107, 
	F17                = 108, 
	F18                = 109, 
	F19                = 110, 
	F20                = 111, 
	F21                = 112, 
	F22                = 113, 
	F23                = 114, 
	F24                = 115, 
	EXECUTE            = 116, 
	HELP               = 117, 
	MENU               = 118, 
	SELECT             = 119, 
	STOP               = 120, 
	AGAIN              = 121, 
	UNDO               = 122, 
	CUT                = 123, 
	COPY               = 124, 
	PASTE              = 125, 
	FIND               = 126, 
	MUTE               = 127, 
	VOLUMEUP           = 128, 
	VOLUMEDOWN         = 129, 
	// not sure whether there's a reason to enable these 
	//     LOCKINGCAPSLOCK = 130,  
	//     LOCKINGNUMLOCK = 131, 
	//     LOCKINGSCROLLLOCK = 132, 
	KP_COMMA           = 133, 
	KP_EQUALSAS400     = 134, 
	INTERNATIONAL1     = 135, 
	INTERNATIONAL2     = 136, 
	INTERNATIONAL3     = 137, 
	INTERNATIONAL4     = 138, 
	INTERNATIONAL5     = 139, 
	INTERNATIONAL6     = 140, 
	INTERNATIONAL7     = 141, 
	INTERNATIONAL8     = 142, 
	INTERNATIONAL9     = 143, 
	LANG1              = 144, 
	LANG2              = 145, 
	LANG3              = 146, 
	LANG4              = 147, 
	LANG5              = 148, 
	LANG6              = 149, 
	LANG7              = 150, 
	LANG8              = 151, 
	LANG9              = 152, 
	ALTERASE           = 153, 
	SYSREQ             = 154, 
	CANCEL             = 155, 
	CLEAR              = 156, 
	PRIOR              = 157, 
	RETURN2            = 158, 
	SEPARATOR          = 159, 
	OUT                = 160, 
	OPER               = 161, 
	CLEARAGAIN         = 162, 
	CRSEL              = 163, 
	EXSEL              = 164, 
	KP_00              = 176, 
	KP_000             = 177, 
	THOUSANDSSEPARATOR = 178, 
	DECIMALSEPARATOR   = 179, 
	CURRENCYUNIT       = 180, 
	CURRENCYSUBUNIT    = 181, 
	KP_LEFTPAREN       = 182, 
	KP_RIGHTPAREN      = 183, 
	KP_LEFTBRACE       = 184, 
	KP_RIGHTBRACE      = 185, 
	KP_TAB             = 186, 
	KP_BACKSPACE       = 187, 
	KP_A               = 188, 
	KP_B               = 189, 
	KP_C               = 190, 
	KP_D               = 191, 
	KP_E               = 192, 
	KP_F               = 193, 
	KP_XOR             = 194, 
	KP_POWER           = 195, 
	KP_PERCENT         = 196, 
	KP_LESS            = 197, 
	KP_GREATER         = 198, 
	KP_AMPERSAND       = 199, 
	KP_DBLAMPERSAND    = 200, 
	KP_VERTICALBAR     = 201, 
	KP_DBLVERTICALBAR  = 202, 
	KP_COLON           = 203, 
	KP_HASH            = 204, 
	KP_SPACE           = 205, 
	KP_AT              = 206, 
	KP_EXCLAM          = 207, 
	KP_MEMSTORE        = 208, 
	KP_MEMRECALL       = 209, 
	KP_MEMCLEAR        = 210, 
	KP_MEMADD          = 211, 
	KP_MEMSUBTRACT     = 212, 
	KP_MEMMULTIPLY     = 213, 
	KP_MEMDIVIDE       = 214, 
	KP_PLUSMINUS       = 215, 
	KP_CLEAR           = 216, 
	KP_CLEARENTRY      = 217, 
	KP_BINARY          = 218, 
	KP_OCTAL           = 219, 
	KP_DECIMAL         = 220, 
	KP_HEXADECIMAL     = 221, 
	LCTRL              = 224, 
	LSHIFT             = 225, 
	LALT               = 226, 
	LGUI               = 227, 
	RCTRL              = 228, 
	RSHIFT             = 229, 
	RALT               = 230, 
	RGUI               = 231, 
	MODE               = 257, 
	AUDIONEXT          = 258, 
	AUDIOPREV          = 259, 
	AUDIOSTOP          = 260, 
	AUDIOPLAY          = 261, 
	AUDIOMUTE          = 262, 
	MEDIASELECT        = 263, 
	WWW                = 264, 
	MAIL               = 265, 
	CALCULATOR         = 266, 
	COMPUTER           = 267, 
	AC_SEARCH          = 268, 
	AC_HOME            = 269, 
	AC_BACK            = 270, 
	AC_FORWARD         = 271, 
	AC_STOP            = 272, 
	AC_REFRESH         = 273, 
	AC_BOOKMARKS       = 274, 
	BRIGHTNESSDOWN     = 275, 
	BRIGHTNESSUP       = 276, 
	DISPLAYSWITCH      = 277, 
	KBDILLUMTOGGLE     = 278, 
	KBDILLUMDOWN       = 279, 
	KBDILLUMUP         = 280, 
	EJECT              = 281, 
	SLEEP              = 282, 
	APP1               = 283, 
	APP2               = 284, 
	AUDIOREWIND        = 285, 
	AUDIOFASTFORWARD   = 286, 
	NUM_SCANCODES      = 512, 
}

Sensor ¶

Sensor :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

SensorEvent ¶

SensorEvent :: struct {
	type:      EventType,
	// *< ::SDL_SENSORUPDATE 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	which:     i32,
	// *< The instance ID of the sensor 
	data:      [6]f32,
}

SensorID ¶

SensorID :: distinct i32

SensorType ¶

SensorType :: enum i32 {
	INVALID = -1, // *< Returned for an invalid sensor
	UNKNOWN,      // *< Unknown sensor type
	ACCEL,        // *< Accelerometer
	GYRO,         // *< Gyroscope
}

SpinLock ¶

SpinLock :: distinct i32
 

Atomic NOTE: Prefer the intrinsics built into Odin 'package intrinsics'

Surface ¶

Surface :: struct {
	flags:        u32,
	// *< Read-only 
	format:       ^PixelFormat,
	// *< Read-only 
	w,
	h:            i32,
	// *< Read-only 
	pitch:        i32,
	// *< Read-only 
	pixels:       rawptr,
	// Application data associated with the surface 
	userdata:     rawptr,
	// information needed for surfaces requiring locks 
	locked:       i32,
	// list of BlitMap that hold a reference to this surface 
	list_blitmap: rawptr,
	// clipping information 
	clip_rect:    Rect,
	// info for fast blit mapping to other surfaces 
	blitmap:      ^BlitMap,
	// Reference count -- used when freeing surface 
	refcount:     i32,
}

SysWMEvent ¶

SysWMEvent :: struct {
	type:      EventType,
	// *< ::SDL_SYSWMEVENT 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	msg:       ^SysWMmsg,
}

SysWMinfo ¶

SysWMinfo :: struct {
	version:   version,
	subsystem: SYSWM_TYPE,
	info:      struct #raw_union {
		win:     struct {
			window:    rawptr,
			hdc:       rawptr,
			hinstance: rawptr,
		},
		winrt:   struct {
			window: rawptr,
		},
		x11:     struct {
			display: rawptr,
			window:  uintptr,
		},
		cocoa:   struct {
			window: rawptr,
		},
		uikit:   struct {
			window:             rawptr,
			// *< The UIKit window 
			framebuffer:        u32,
			// *< The GL view's Framebuffer Object. It must be bound when rendering to the screen using GL. 
			colorbuffer:        u32,
			// *< The GL view's color Renderbuffer Object. It must be bound when SDL_GL_SwapWindow is called. 
			resolveFramebuffer: u32,
		},
		wl:      struct {
			display:       rawptr,
			// *< Wayland display 
			surface:       rawptr,
			// *< Wayland surface 
			shell_surface: rawptr,
			// *< DEPRECATED Wayland shell_surface (window manager handle) 
			egl_window:    rawptr,
			// *< Wayland EGL window (native window) 
			xdg_surface:   rawptr,
		},
		mir:     struct {
			connection: rawptr,
			// *< Mir display server connection 
			surface:    rawptr,
		},
		android: struct {
			window:  rawptr,
			surface: rawptr,
		},
		dummy:   [64]u8,
	},
}
 

* * The custom window manager information structure. * * When this structure is returned, it holds information about which * low level system it is using, and will be one of SYSWM_TYPE.

SysWMmsg ¶

SysWMmsg :: struct {
	version:   version,
	subsystem: SYSWM_TYPE,
	msg:       struct #raw_union {
		win:   struct {
			hwnd:   rawptr,
			// *< The window for the message 
			msg:    u32,
			// *< The type of message 
			wParam: uint,
			// *< WORD message parameter 
			lParam: int,
		},
		x11:   struct {
			event: XEvent,
		},
		cocoa: struct {
			dummy: i32,
		},
		uikit: struct {
			dummy: i32,
		},
		dummy: i32,
	},
}

SystemCursor ¶

SystemCursor :: enum i32 {
	ARROW,              // *< Arrow
	IBEAM,              // *< I-beam
	WAIT,               // *< Wait
	CROSSHAIR,          // *< Crosshair
	WAITARROW,          // *< Small wait cursor (or Wait if not available)
	SIZENWSE,           // *< Double arrow pointing northwest and southeast
	SIZENESW,           // *< Double arrow pointing northeast and southwest
	SIZEWE,             // *< Double arrow pointing west and east
	SIZENS,             // *< Double arrow pointing north and south
	SIZEALL,            // *< Four pointed arrow pointing north, south, east, and west
	NO,                 // *< Slashed circle or crossbones
	HAND,               // *< Hand
	NUM_SYSTEM_CURSORS, 
}

TLSID ¶

TLSID :: distinct u32

TextEditingEvent ¶

TextEditingEvent :: struct {
	type:      EventType,
	// *< ::SDL_TEXTEDITING 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with keyboard focus, if any 
	text:      [32]u8,
	// *< The editing text 
	start:     i32,
	// *< The start cursor of selected editing text 
	length:    i32,
}

TextInputEvent ¶

TextInputEvent :: struct {
	type:      EventType,
	// *< ::SDL_TEXTINPUT 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The window with keyboard focus, if any 
	text:      [32]u8,
}

Texture ¶

Texture :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

TextureAccess ¶

TextureAccess :: enum i32 {
	STATIC,    // *< Changes rarely, not lockable
	STREAMING, // *< Changes frequently, lockable
	TARGET,    // *< Texture can be used as a render target
}
 

* * The access pattern allowed for a texture.

Thread ¶

Thread :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

ThreadFunction ¶

ThreadFunction :: proc "cdecl" (_: rawptr) -> i32

ThreadPriority ¶

ThreadPriority :: enum i32 {
	LOW, 
	NORMAL, 
	HIGH, 
	TIME_CRITICAL, 
}

TimerCallback ¶

TimerCallback :: proc "cdecl" (interval: u32, param: rawptr) -> u32

TimerID ¶

TimerID :: distinct i32

TouchDeviceType ¶

TouchDeviceType :: enum i32 {
	INVALID           = -1, 
	DIRECT,                 // touch screen with window-relative coordinates
	INDIRECT_ABSOLUTE,      // trackpad with absolute device coordinates
	INDIRECT_RELATIVE,      // trackpad with screen cursor-relative coordinates
}

TouchFingerEvent ¶

TouchFingerEvent :: struct {
	type:      EventType,
	// *< ::SDL_FINGERMOTION or ::SDL_FINGERDOWN or ::SDL_FINGERUP 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	touchId:   TouchID,
	// *< The touch device id 
	fingerId:  FingerID,
	x:         f32,
	// *< Normalized in the range 0...1 
	y:         f32,
	// *< Normalized in the range 0...1 
	dx:        f32,
	// *< Normalized in the range -1...1 
	dy:        f32,
	// *< Normalized in the range -1...1 
	pressure:  f32,
	// *< Normalized in the range 0...1 
	windowID:  u32,
}

TouchID ¶

TouchID :: distinct i64

UserEvent ¶

UserEvent :: struct {
	type:      EventType,
	// *< ::SDL_USEREVENT through ::SDL_LASTEVENT-1 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The associated window if any 
	code:      i32,
	// *< User defined event code 
	data1:     rawptr,
	// *< User defined data pointer 
	data2:     rawptr,
}

VkInstance ¶

VkInstance :: vulkan.Instance

VkSurfaceKHR ¶

VkSurfaceKHR :: vulkan.SurfaceKHR

WinRT_DeviceFamily ¶

WinRT_DeviceFamily :: enum int {
	// \brief Unknown family  
	UNKNOWN, 
	// \brief Desktop family
	DESKTOP, 
	// \brief Mobile family (for example smartphone) 
	MOBILE, 
	// \brief XBox family 
	XBOX, 
}

WinRT_Path ¶

WinRT_Path :: enum i32 {
	// \brief The installed app's root directory.
	// 	Files here are likely to be read-only. 
	INSTALLED_LOCATION, 
	// \brief The app's local data store.  Files may be written here 
	LOCAL_FOLDER, 
	// \brief The app's roaming data store.  Unsupported on Windows Phone.
	// 	Files written here may be copied to other machines via a network
	// 	connection.
	ROAMING_FOLDER, 
	// \brief The app's temporary data store.  Unsupported on Windows Phone.
	// 	Files written here may be deleted at any time. 
	TEMP_FOLDER, 
}

Window ¶

Window :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

WindowEvent ¶

WindowEvent :: struct {
	type:      EventType,
	// *< ::SDL_WINDOWEVENT 
	timestamp: u32,
	// *< In milliseconds, populated using SDL_GetTicks() 
	windowID:  u32,
	// *< The associated window 
	event:     WindowEventID,
	// *< ::SDL_WindowEventID 
	_:         u8,
	_:         u8,
	_:         u8,
	data1:     i32,
	// *< event dependent data 
	data2:     i32,
}

WindowEventID ¶

WindowEventID :: enum u8 {
	NONE,         // *< Never used
	SHOWN,        // *< Window has been shown
	HIDDEN,       // *< Window has been hidden
	EXPOSED,      // *< Window has been exposed and should be
	                                 redrawn
	MOVED,        // *< Window has been moved to data1, data2
	RESIZED,      // *< Window has been resized to data1xdata2
	SIZE_CHANGED, // *< The window size has changed, either as
	                                 a result of an API call or through the
	                                 system or user changing the window size.
	MINIMIZED,    // *< Window has been minimized
	MAXIMIZED,    // *< Window has been maximized
	RESTORED,     // *< Window has been restored to normal size
	                                 and position
	ENTER,        // *< Window has gained mouse focus
	LEAVE,        // *< Window has lost mouse focus
	FOCUS_GAINED, // *< Window has gained keyboard focus
	FOCUS_LOST,   // *< Window has lost keyboard focus
	CLOSE,        // *< The window manager requests that the window be closed
	TAKE_FOCUS,   // *< Window is being offered a focus (should SetWindowInputFocus() on itself or a subwindow, or ignore)
	HIT_TEST,     // *< Window had a hit test that wasn't SDL_HITTEST_NORMAL.
}

WindowFlag ¶

WindowFlag :: enum u32 {
	FULLSCREEN                   = 0,  // *< fullscreen window
	OPENGL                       = 1,  // *< window usable with OpenGL context
	SHOWN                        = 2,  // *< window is visible
	HIDDEN                       = 3,  // *< window is not visible
	BORDERLESS                   = 4,  // *< no window decoration
	RESIZABLE                    = 5,  // *< window can be resized
	MINIMIZED                    = 6,  // *< window is minimized
	MAXIMIZED                    = 7,  // *< window is maximized
	MOUSE_GRABBED                = 8,  // *< window has grabbed mouse input
	INPUT_FOCUS                  = 9,  // *< window has input focus
	MOUSE_FOCUS                  = 10, // *< window has mouse focus
	_INTERNAL_FULLSCREEN_DESKTOP = 12, 
	FOREIGN                      = 11, // *< window not created by SDL
	ALLOW_HIGHDPI                = 13, // *< window should be created in high-DPI mode if supported.
	                                             On macOS NSHighResolutionCapable must be set true in the
	                                             application's Info.plist for this to have any effect.
	MOUSE_CAPTURE                = 14, // *< window has mouse captured (unrelated to MOUSE_GRABBED)
	ALWAYS_ON_TOP                = 15, // *< window should always be above others
	SKIP_TASKBAR                 = 16, // *< window should not be added to the taskbar
	UTILITY                      = 17, // *< window should be treated as a utility window
	TOOLTIP                      = 18, // *< window should be treated as a tooltip
	POPUP_MENU                   = 19, // *< window should be treated as a popup menu
	KEYBOARD_GRABBED             = 20, // *< window has grabbed keyboard input
	VULKAN                       = 28, // *< window usable for Vulkan surface
	METAL                        = 29, // *< window usable for Metal view
	INPUT_GRABBED                = 8,  // *< equivalent to SDL_WINDOW_MOUSE_GRABBED for compatibility
}

WindowFlags ¶

WindowFlags :: distinct bit_set[WindowFlag; u32]

WindowShapeMode ¶

WindowShapeMode :: struct {
	mode:       WindowShapeModeEnum,
	parameters: WindowShapeParams,
}

WindowShapeModeEnum ¶

WindowShapeModeEnum :: enum i32 {
	// \brief The default mode, a binarized alpha cutoff of 1. 
	Default, 
	// \brief A binarized alpha cutoff with a given integer value. 
	BinarizeAlpha, 
	// \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. 
	ReverseBinarizeAlpha, 
	// \brief A color key is applied. 
	ColorKey, 
}

WindowShapeParams ¶

WindowShapeParams :: struct #raw_union {
	binarizationCutoff: u8,
	colorKey:           Color,
}

WindowsMessageHook ¶

WindowsMessageHook :: proc "cdecl" (userdata: rawptr, hWnd: rawptr, message: u32, wParam: u64, lParam: i64)

XEvent ¶

XEvent :: struct {
	type: i32,
	pad:  [24]i32,
}

YUV_CONVERSION_MODE ¶

YUV_CONVERSION_MODE :: enum i32 {
	JPEG,      // *< Full range JPEG
	BT601,     // *< BT.601 (the default)
	BT709,     // *< BT.709
	AUTOMATIC, // *< BT.601 for SD content, BT.709 for HD content
}

atomic_t ¶

atomic_t :: struct {
	value: i32,
}

blit ¶

blit :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32

bool ¶

bool :: distinct b32

calloc_func ¶

calloc_func :: proc "cdecl" (nmemb, size: uint) -> rawptr

cond ¶

cond :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

errorcode ¶

errorcode :: enum i32 {
	ENOMEM, 
	EFREAD, 
	EFWRITE, 
	EFSEEK, 
	UNSUPPORTED, 
	LASTERROR, 
}

eventaction ¶

eventaction :: enum i32 {
	ADDEVENT, 
	PEEKEVENT, 
	GETEVENT, 
}

free_func ¶

free_func :: proc "cdecl" (_: rawptr)

iconv_t ¶

iconv_t :: distinct rawptr
 

SDL_iconv_* are now always real symbols/types, not macros or inlined.

malloc_func ¶

malloc_func :: proc "cdecl" (size: uint) -> rawptr

mutex ¶

mutex :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

realloc_func ¶

realloc_func :: proc "cdecl" (ptr: rawptr, size: uint) -> rawptr

semaphore ¶

semaphore :: struct($Key: typeid, $Value: typeid) where intrinsics.type_is_valid_map_key(Key) {}

threadID ¶

threadID :: distinct u32

version ¶

version :: struct {
	major: u8,
	// *< major version 
	minor: u8,
	// *< minor version 
	patch: u8,
}

vulkanInstance ¶

vulkanInstance :: vulkan.Instance

vulkanSurface ¶

vulkanSurface :: vulkan.SurfaceKHR

Constants

ALPHA_OPAQUE ¶

ALPHA_OPAQUE :: 255

ALPHA_TRANSPARENT ¶

ALPHA_TRANSPARENT :: 0

ANDROID_EXTERNAL_STORAGE_READ ¶

ANDROID_EXTERNAL_STORAGE_READ :: 0x01

ANDROID_EXTERNAL_STORAGE_WRITE ¶

ANDROID_EXTERNAL_STORAGE_WRITE :: 0x02

ARRAYORDER_ABG ¶

ARRAYORDER_ABG :: 6

ARRAYORDER_ARGB ¶

ARRAYORDER_ARGB :: 3

ARRAYORDER_BGR ¶

ARRAYORDER_BGR :: 4

ARRAYORDER_BGRA ¶

ARRAYORDER_BGRA :: 5

ARRAYORDER_NONE ¶

ARRAYORDER_NONE :: 0
 

Array component order, low byte -> high byte. !!! FIXME: in 2.1, make these not overlap differently with !!! FIXME: SDL_PACKEDORDER_*, so we can simplify SDL_ISPIXELFORMAT_ALPHA

ARRAYORDER_RGB ¶

ARRAYORDER_RGB :: 1

ARRAYORDER_RGBA ¶

ARRAYORDER_RGBA :: 2

AUDIOCVT_MAX_FILTERS ¶

AUDIOCVT_MAX_FILTERS :: 9

AUDIO_ALLOW_ANY_CHANGE ¶

AUDIO_ALLOW_ANY_CHANGE :: AUDIO_ALLOW_FREQUENCY_CHANGE | AUDIO_ALLOW_FORMAT_CHANGE | AUDIO_ALLOW_CHANNELS_CHANGE | AUDIO_ALLOW_SAMPLES_CHANGE

AUDIO_ALLOW_CHANNELS_CHANGE ¶

AUDIO_ALLOW_CHANNELS_CHANGE :: 0x00000004

AUDIO_ALLOW_FORMAT_CHANGE ¶

AUDIO_ALLOW_FORMAT_CHANGE :: 0x00000002

AUDIO_ALLOW_FREQUENCY_CHANGE ¶

AUDIO_ALLOW_FREQUENCY_CHANGE :: 0x00000001

AUDIO_ALLOW_SAMPLES_CHANGE ¶

AUDIO_ALLOW_SAMPLES_CHANGE :: 0x00000008

AUDIO_F32 ¶

AUDIO_F32 :: AUDIO_F32LSB

AUDIO_F32LSB ¶

AUDIO_F32LSB :: 0x8120

AUDIO_F32MSB ¶

AUDIO_F32MSB :: 0x9120

AUDIO_F32SYS ¶

AUDIO_F32SYS :: AUDIO_F32LSB

AUDIO_MASK_BITSIZE ¶

AUDIO_MASK_BITSIZE :: 0xFF

AUDIO_MASK_DATATYPE ¶

AUDIO_MASK_DATATYPE :: 1 << 8

AUDIO_MASK_ENDIAN ¶

AUDIO_MASK_ENDIAN :: 1 << 12

AUDIO_MASK_SIGNED ¶

AUDIO_MASK_SIGNED :: 1 << 15

AUDIO_S16 ¶

AUDIO_S16 :: AUDIO_S16LSB

AUDIO_S16LSB ¶

AUDIO_S16LSB :: 0x8010

AUDIO_S16MSB ¶

AUDIO_S16MSB :: 0x9010

AUDIO_S16SYS ¶

AUDIO_S16SYS :: AUDIO_S16LSB

AUDIO_S32 ¶

AUDIO_S32 :: AUDIO_S32LSB

AUDIO_S32LSB ¶

AUDIO_S32LSB :: 0x8020

AUDIO_S32MSB ¶

AUDIO_S32MSB :: 0x9020

AUDIO_S32SYS ¶

AUDIO_S32SYS :: AUDIO_S32LSB

AUDIO_S8 ¶

AUDIO_S8 :: 0x8008

AUDIO_U16 ¶

AUDIO_U16 :: AUDIO_U16LSB

AUDIO_U16LSB ¶

AUDIO_U16LSB :: 0x0010

AUDIO_U16MSB ¶

AUDIO_U16MSB :: 0x1010

AUDIO_U16SYS ¶

AUDIO_U16SYS :: AUDIO_U16LSB

AUDIO_U8 ¶

AUDIO_U8 :: 0x0008

BITMAPORDER_1234 ¶

BITMAPORDER_1234 :: 2

BITMAPORDER_4321 ¶

BITMAPORDER_4321 :: 1

BITMAPORDER_NONE ¶

BITMAPORDER_NONE :: 0

BUTTON_LEFT ¶

BUTTON_LEFT :: 1

BUTTON_LMASK ¶

BUTTON_LMASK :: 1 << (BUTTON_LEFT - 1)

BUTTON_MIDDLE ¶

BUTTON_MIDDLE :: 2

BUTTON_MMASK ¶

BUTTON_MMASK :: 1 << (BUTTON_MIDDLE - 1)

BUTTON_RIGHT ¶

BUTTON_RIGHT :: 3

BUTTON_RMASK ¶

BUTTON_RMASK :: 1 << (BUTTON_RIGHT - 1)

BUTTON_X1 ¶

BUTTON_X1 :: 4

BUTTON_X1MASK ¶

BUTTON_X1MASK :: 1 << (BUTTON_X1 - 1)

BUTTON_X2 ¶

BUTTON_X2 :: 5

BUTTON_X2MASK ¶

BUTTON_X2MASK :: 1 << (BUTTON_X2 - 1)

CACHELINE_SIZE ¶

CACHELINE_SIZE :: 128
 

This is a guess for the cacheline size used for padding. * Most x86 processors have a 64 byte cache line. * The 64-bit PowerPC processors have a 128 byte cache line. * We'll use the larger value to be generally safe.

DISABLE ¶

DISABLE :: 0

DONTFREE ¶

DONTFREE :: 0x00000004

ENABLE ¶

ENABLE :: 1

HAPTIC_AUTOCENTER ¶

HAPTIC_AUTOCENTER :: HapticType.AUTOCENTER

HAPTIC_CARTESIAN ¶

HAPTIC_CARTESIAN :: HapticDirectionType.CARTESIAN

HAPTIC_CONSTANT ¶

HAPTIC_CONSTANT :: HapticType.CONSTANT

HAPTIC_CUSTOM ¶

HAPTIC_CUSTOM :: HapticType.CUSTOM

HAPTIC_DAMPER ¶

HAPTIC_DAMPER :: HapticType.DAMPER

HAPTIC_FRICTION ¶

HAPTIC_FRICTION :: HapticType.FRICTION

HAPTIC_GAIN ¶

HAPTIC_GAIN :: HapticType.GAIN

HAPTIC_INERTIA ¶

HAPTIC_INERTIA :: HapticType.INERTIA

HAPTIC_INFINITY ¶

HAPTIC_INFINITY :: 4294967295

HAPTIC_LEFTRIGHT ¶

HAPTIC_LEFTRIGHT :: HapticType.LEFTRIGHT

HAPTIC_PAUSE ¶

HAPTIC_PAUSE :: HapticType.PAUSE

HAPTIC_POLAR ¶

HAPTIC_POLAR :: HapticDirectionType.POLAR

HAPTIC_RAMP ¶

HAPTIC_RAMP :: HapticType.RAMP

HAPTIC_SAWTOOTHDOWN ¶

HAPTIC_SAWTOOTHDOWN :: HapticType.SAWTOOTHDOWN

HAPTIC_SAWTOOTHUP ¶

HAPTIC_SAWTOOTHUP :: HapticType.SAWTOOTHUP

HAPTIC_SINE ¶

HAPTIC_SINE :: HapticType.SINE

HAPTIC_SPHERICAL ¶

HAPTIC_SPHERICAL :: HapticDirectionType.SPHERICAL

HAPTIC_SPRING ¶

HAPTIC_SPRING :: HapticType.SPRING

HAPTIC_STATUS ¶

HAPTIC_STATUS :: HapticType.STATUS

HAPTIC_STEERING_AXIS ¶

HAPTIC_STEERING_AXIS :: HapticDirectionType.STEERING_AXIS

HAPTIC_TRIANGLE ¶

HAPTIC_TRIANGLE :: HapticType.TRIANGLE

HAT_CENTERED ¶

HAT_CENTERED :: 0x00

HAT_DOWN ¶

HAT_DOWN :: 0x04

HAT_LEFT ¶

HAT_LEFT :: 0x08

HAT_LEFTDOWN ¶

HAT_LEFTDOWN :: HAT_LEFT | HAT_DOWN

HAT_LEFTUP ¶

HAT_LEFTUP :: HAT_LEFT | HAT_UP

HAT_RIGHT ¶

HAT_RIGHT :: 0x02

HAT_RIGHTDOWN ¶

HAT_RIGHTDOWN :: HAT_RIGHT | HAT_DOWN

HAT_RIGHTUP ¶

HAT_RIGHTUP :: HAT_RIGHT | HAT_UP

HAT_UP ¶

HAT_UP :: 0x01

HINT_ACCELEROMETER_AS_JOYSTICK ¶

HINT_ACCELEROMETER_AS_JOYSTICK :: "SDL_ACCELEROMETER_AS_JOYSTICK"

HINT_ALLOW_ALT_TAB_WHILE_GRABBED ¶

HINT_ALLOW_ALT_TAB_WHILE_GRABBED :: "SDL_ALLOW_ALT_TAB_WHILE_GRABBED"

HINT_ALLOW_TOPMOST ¶

HINT_ALLOW_TOPMOST :: "SDL_ALLOW_TOPMOST"

HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION ¶

HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION :: "SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION"

HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION ¶

HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION :: "SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION"

HINT_ANDROID_BLOCK_ON_PAUSE ¶

HINT_ANDROID_BLOCK_ON_PAUSE :: "SDL_ANDROID_BLOCK_ON_PAUSE"

HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO ¶

HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO :: "SDL_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO"

HINT_ANDROID_TRAP_BACK_BUTTON ¶

HINT_ANDROID_TRAP_BACK_BUTTON :: "SDL_ANDROID_TRAP_BACK_BUTTON"

HINT_APPLE_TV_CONTROLLER_UI_EVENTS ¶

HINT_APPLE_TV_CONTROLLER_UI_EVENTS :: "SDL_APPLE_TV_CONTROLLER_UI_EVENTS"

HINT_APPLE_TV_REMOTE_ALLOW_ROTATION ¶

HINT_APPLE_TV_REMOTE_ALLOW_ROTATION :: "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION"

HINT_AUDIO_CATEGORY ¶

HINT_AUDIO_CATEGORY :: "SDL_AUDIO_CATEGORY"

HINT_AUDIO_DEVICE_APP_NAME ¶

HINT_AUDIO_DEVICE_APP_NAME :: "SDL_AUDIO_DEVICE_APP_NAME"

HINT_AUDIO_DEVICE_STREAM_NAME ¶

HINT_AUDIO_DEVICE_STREAM_NAME :: "SDL_AUDIO_DEVICE_STREAM_NAME"

HINT_AUDIO_DEVICE_STREAM_ROLE ¶

HINT_AUDIO_DEVICE_STREAM_ROLE :: "SDL_AUDIO_DEVICE_STREAM_ROLE"

HINT_AUDIO_INCLUDE_MONITORS ¶

HINT_AUDIO_INCLUDE_MONITORS :: "SDL_AUDIO_INCLUDE_MONITORS"

HINT_AUDIO_RESAMPLING_MODE ¶

HINT_AUDIO_RESAMPLING_MODE :: "SDL_AUDIO_RESAMPLING_MODE"

HINT_AUTO_UPDATE_JOYSTICKS ¶

HINT_AUTO_UPDATE_JOYSTICKS :: "SDL_AUTO_UPDATE_JOYSTICKS"

HINT_AUTO_UPDATE_SENSORS ¶

HINT_AUTO_UPDATE_SENSORS :: "SDL_AUTO_UPDATE_SENSORS"

HINT_BMP_SAVE_LEGACY_FORMAT ¶

HINT_BMP_SAVE_LEGACY_FORMAT :: "SDL_BMP_SAVE_LEGACY_FORMAT"

HINT_DISPLAY_USABLE_BOUNDS ¶

HINT_DISPLAY_USABLE_BOUNDS :: "SDL_DISPLAY_USABLE_BOUNDS"

HINT_EMSCRIPTEN_ASYNCIFY ¶

HINT_EMSCRIPTEN_ASYNCIFY :: "SDL_EMSCRIPTEN_ASYNCIFY"

HINT_EMSCRIPTEN_KEYBOARD_ELEMENT ¶

HINT_EMSCRIPTEN_KEYBOARD_ELEMENT :: "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT"

HINT_ENABLE_STEAM_CONTROLLERS ¶

HINT_ENABLE_STEAM_CONTROLLERS :: "SDL_ENABLE_STEAM_CONTROLLERS"

HINT_EVENT_LOGGING ¶

HINT_EVENT_LOGGING :: "SDL_EVENT_LOGGING"

HINT_FRAMEBUFFER_ACCELERATION ¶

HINT_FRAMEBUFFER_ACCELERATION :: "SDL_FRAMEBUFFER_ACCELERATION"

HINT_GAMECONTROLLERCONFIG ¶

HINT_GAMECONTROLLERCONFIG :: "SDL_GAMECONTROLLERCONFIG"

HINT_GAMECONTROLLERCONFIG_FILE ¶

HINT_GAMECONTROLLERCONFIG_FILE :: "SDL_GAMECONTROLLERCONFIG_FILE"

HINT_GAMECONTROLLERTYPE ¶

HINT_GAMECONTROLLERTYPE :: "SDL_GAMECONTROLLERTYPE"

HINT_GAMECONTROLLER_IGNORE_DEVICES ¶

HINT_GAMECONTROLLER_IGNORE_DEVICES :: "SDL_GAMECONTROLLER_IGNORE_DEVICES"

HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT ¶

HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT :: "SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT"

HINT_GAMECONTROLLER_USE_BUTTON_LABELS ¶

HINT_GAMECONTROLLER_USE_BUTTON_LABELS :: "SDL_GAMECONTROLLER_USE_BUTTON_LABELS"

HINT_GRAB_KEYBOARD ¶

HINT_GRAB_KEYBOARD :: "SDL_GRAB_KEYBOARD"

HINT_IDLE_TIMER_DISABLED ¶

HINT_IDLE_TIMER_DISABLED :: "SDL_IOS_IDLE_TIMER_DISABLED"

HINT_IME_INTERNAL_EDITING ¶

HINT_IME_INTERNAL_EDITING :: "SDL_IME_INTERNAL_EDITING"

HINT_IOS_HIDE_HOME_INDICATOR ¶

HINT_IOS_HIDE_HOME_INDICATOR :: "SDL_IOS_HIDE_HOME_INDICATOR"

HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS ¶

HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS :: "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS"

HINT_JOYSTICK_HIDAPI ¶

HINT_JOYSTICK_HIDAPI :: "SDL_JOYSTICK_HIDAPI"

HINT_JOYSTICK_HIDAPI_GAMECUBE ¶

HINT_JOYSTICK_HIDAPI_GAMECUBE :: "SDL_JOYSTICK_HIDAPI_GAMECUBE"

HINT_JOYSTICK_HIDAPI_JOY_CONS ¶

HINT_JOYSTICK_HIDAPI_JOY_CONS :: "SDL_JOYSTICK_HIDAPI_JOY_CONS"

HINT_JOYSTICK_HIDAPI_LUNA ¶

HINT_JOYSTICK_HIDAPI_LUNA :: "SDL_JOYSTICK_HIDAPI_LUNA"

HINT_JOYSTICK_HIDAPI_PS4 ¶

HINT_JOYSTICK_HIDAPI_PS4 :: "SDL_JOYSTICK_HIDAPI_PS4"

HINT_JOYSTICK_HIDAPI_PS4_RUMBLE ¶

HINT_JOYSTICK_HIDAPI_PS4_RUMBLE :: "SDL_JOYSTICK_HIDAPI_PS4_RUMBLE"

HINT_JOYSTICK_HIDAPI_PS5 ¶

HINT_JOYSTICK_HIDAPI_PS5 :: "SDL_JOYSTICK_HIDAPI_PS5"

HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED ¶

HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED :: "SDL_JOYSTICK_HIDAPI_PS5_PLAYER_LED"

HINT_JOYSTICK_HIDAPI_PS5_RUMBLE ¶

HINT_JOYSTICK_HIDAPI_PS5_RUMBLE :: "SDL_JOYSTICK_HIDAPI_PS5_RUMBLE"

HINT_JOYSTICK_HIDAPI_STADIA ¶

HINT_JOYSTICK_HIDAPI_STADIA :: "SDL_JOYSTICK_HIDAPI_STADIA"

HINT_JOYSTICK_HIDAPI_STEAM ¶

HINT_JOYSTICK_HIDAPI_STEAM :: "SDL_JOYSTICK_HIDAPI_STEAM"

HINT_JOYSTICK_HIDAPI_SWITCH ¶

HINT_JOYSTICK_HIDAPI_SWITCH :: "SDL_JOYSTICK_HIDAPI_SWITCH"

HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED ¶

HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED :: "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"

HINT_JOYSTICK_HIDAPI_XBOX ¶

HINT_JOYSTICK_HIDAPI_XBOX :: "SDL_JOYSTICK_HIDAPI_XBOX"

HINT_JOYSTICK_RAWINPUT ¶

HINT_JOYSTICK_RAWINPUT :: "SDL_JOYSTICK_RAWINPUT"

HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT ¶

HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT :: "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"

HINT_JOYSTICK_THREAD ¶

HINT_JOYSTICK_THREAD :: "SDL_JOYSTICK_THREAD"

HINT_KMSDRM_REQUIRE_DRM_MASTER ¶

HINT_KMSDRM_REQUIRE_DRM_MASTER :: "SDL_KMSDRM_REQUIRE_DRM_MASTER"

HINT_LINUX_JOYSTICK_DEADZONES ¶

HINT_LINUX_JOYSTICK_DEADZONES :: "SDL_LINUX_JOYSTICK_DEADZONES"

HINT_MAC_BACKGROUND_APP ¶

HINT_MAC_BACKGROUND_APP :: "SDL_MAC_BACKGROUND_APP"

HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK ¶

HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK :: "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"

HINT_MOUSE_DOUBLE_CLICK_RADIUS ¶

HINT_MOUSE_DOUBLE_CLICK_RADIUS :: "SDL_MOUSE_DOUBLE_CLICK_RADIUS"

HINT_MOUSE_DOUBLE_CLICK_TIME ¶

HINT_MOUSE_DOUBLE_CLICK_TIME :: "SDL_MOUSE_DOUBLE_CLICK_TIME"

HINT_MOUSE_FOCUS_CLICKTHROUGH ¶

HINT_MOUSE_FOCUS_CLICKTHROUGH :: "SDL_MOUSE_FOCUS_CLICKTHROUGH"

HINT_MOUSE_NORMAL_SPEED_SCALE ¶

HINT_MOUSE_NORMAL_SPEED_SCALE :: "SDL_MOUSE_NORMAL_SPEED_SCALE"

HINT_MOUSE_RELATIVE_MODE_WARP ¶

HINT_MOUSE_RELATIVE_MODE_WARP :: "SDL_MOUSE_RELATIVE_MODE_WARP"

HINT_MOUSE_RELATIVE_SCALING ¶

HINT_MOUSE_RELATIVE_SCALING :: "SDL_MOUSE_RELATIVE_SCALING"

HINT_MOUSE_RELATIVE_SPEED_SCALE ¶

HINT_MOUSE_RELATIVE_SPEED_SCALE :: "SDL_MOUSE_RELATIVE_SPEED_SCALE"

HINT_MOUSE_TOUCH_EVENTS ¶

HINT_MOUSE_TOUCH_EVENTS :: "SDL_MOUSE_TOUCH_EVENTS"

HINT_NO_SIGNAL_HANDLERS ¶

HINT_NO_SIGNAL_HANDLERS :: "SDL_NO_SIGNAL_HANDLERS"

HINT_OPENGL_ES_DRIVER ¶

HINT_OPENGL_ES_DRIVER :: "SDL_OPENGL_ES_DRIVER"

HINT_ORIENTATIONS ¶

HINT_ORIENTATIONS :: "SDL_IOS_ORIENTATIONS"

HINT_PREFERRED_LOCALES ¶

HINT_PREFERRED_LOCALES :: "SDL_PREFERRED_LOCALES"

HINT_QTWAYLAND_CONTENT_ORIENTATION ¶

HINT_QTWAYLAND_CONTENT_ORIENTATION :: "SDL_QTWAYLAND_CONTENT_ORIENTATION"

HINT_QTWAYLAND_WINDOW_FLAGS ¶

HINT_QTWAYLAND_WINDOW_FLAGS :: "SDL_QTWAYLAND_WINDOW_FLAGS"

HINT_RENDER_BATCHING ¶

HINT_RENDER_BATCHING :: "SDL_RENDER_BATCHING"

HINT_RENDER_DIRECT3D11_DEBUG ¶

HINT_RENDER_DIRECT3D11_DEBUG :: "SDL_RENDER_DIRECT3D11_DEBUG"

HINT_RENDER_DIRECT3D_THREADSAFE ¶

HINT_RENDER_DIRECT3D_THREADSAFE :: "SDL_RENDER_DIRECT3D_THREADSAFE"

HINT_RENDER_DRIVER ¶

HINT_RENDER_DRIVER :: "SDL_RENDER_DRIVER"

HINT_RENDER_LOGICAL_SIZE_MODE ¶

HINT_RENDER_LOGICAL_SIZE_MODE :: "SDL_RENDER_LOGICAL_SIZE_MODE"

HINT_RENDER_OPENGL_SHADERS ¶

HINT_RENDER_OPENGL_SHADERS :: "SDL_RENDER_OPENGL_SHADERS"

HINT_RENDER_SCALE_QUALITY ¶

HINT_RENDER_SCALE_QUALITY :: "SDL_RENDER_SCALE_QUALITY"

HINT_RENDER_VSYNC ¶

HINT_RENDER_VSYNC :: "SDL_RENDER_VSYNC"

HINT_RETURN_KEY_HIDES_IME ¶

HINT_RETURN_KEY_HIDES_IME :: "SDL_RETURN_KEY_HIDES_IME"

HINT_RPI_VIDEO_LAYER ¶

HINT_RPI_VIDEO_LAYER :: "SDL_RPI_VIDEO_LAYER"

HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL ¶

HINT_THREAD_FORCE_REALTIME_TIME_CRITICAL :: "SDL_THREAD_FORCE_REALTIME_TIME_CRITICAL"

HINT_THREAD_PRIORITY_POLICY ¶

HINT_THREAD_PRIORITY_POLICY :: "SDL_THREAD_PRIORITY_POLICY"

HINT_THREAD_STACK_SIZE ¶

HINT_THREAD_STACK_SIZE :: "SDL_THREAD_STACK_SIZE"

HINT_TIMER_RESOLUTION ¶

HINT_TIMER_RESOLUTION :: "SDL_TIMER_RESOLUTION"

HINT_TOUCH_MOUSE_EVENTS ¶

HINT_TOUCH_MOUSE_EVENTS :: "SDL_TOUCH_MOUSE_EVENTS"

HINT_TV_REMOTE_AS_JOYSTICK ¶

HINT_TV_REMOTE_AS_JOYSTICK :: "SDL_TV_REMOTE_AS_JOYSTICK"

HINT_VIDEO_ALLOW_SCREENSAVER ¶

HINT_VIDEO_ALLOW_SCREENSAVER :: "SDL_VIDEO_ALLOW_SCREENSAVER"

HINT_VIDEO_DOUBLE_BUFFER ¶

HINT_VIDEO_DOUBLE_BUFFER :: "SDL_VIDEO_DOUBLE_BUFFER"

HINT_VIDEO_EXTERNAL_CONTEXT ¶

HINT_VIDEO_EXTERNAL_CONTEXT :: "SDL_VIDEO_EXTERNAL_CONTEXT"

HINT_VIDEO_HIGHDPI_DISABLED ¶

HINT_VIDEO_HIGHDPI_DISABLED :: "SDL_VIDEO_HIGHDPI_DISABLED"

HINT_VIDEO_MAC_FULLSCREEN_SPACES ¶

HINT_VIDEO_MAC_FULLSCREEN_SPACES :: "SDL_VIDEO_MAC_FULLSCREEN_SPACES"

HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS ¶

HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS :: "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"

HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR ¶

HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR :: "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"

HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT ¶

HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT :: "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"

HINT_VIDEO_WIN_D3DCOMPILER ¶

HINT_VIDEO_WIN_D3DCOMPILER :: "SDL_VIDEO_WIN_D3DCOMPILER"

HINT_VIDEO_X11_FORCE_EGL ¶

HINT_VIDEO_X11_FORCE_EGL :: "SDL_VIDEO_X11_FORCE_EGL"

HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR ¶

HINT_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR :: "SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR"

HINT_VIDEO_X11_NET_WM_PING ¶

HINT_VIDEO_X11_NET_WM_PING :: "SDL_VIDEO_X11_NET_WM_PING"

HINT_VIDEO_X11_WINDOW_VISUALID ¶

HINT_VIDEO_X11_WINDOW_VISUALID :: "SDL_VIDEO_X11_WINDOW_VISUALID"

HINT_VIDEO_X11_XINERAMA ¶

HINT_VIDEO_X11_XINERAMA :: "SDL_VIDEO_X11_XINERAMA"

HINT_VIDEO_X11_XRANDR ¶

HINT_VIDEO_X11_XRANDR :: "SDL_VIDEO_X11_XRANDR"

HINT_VIDEO_X11_XVIDMODE ¶

HINT_VIDEO_X11_XVIDMODE :: "SDL_VIDEO_X11_XVIDMODE"

HINT_WAVE_FACT_CHUNK ¶

HINT_WAVE_FACT_CHUNK :: "SDL_WAVE_FACT_CHUNK"

HINT_WAVE_RIFF_CHUNK_SIZE ¶

HINT_WAVE_RIFF_CHUNK_SIZE :: "SDL_WAVE_RIFF_CHUNK_SIZE"

HINT_WAVE_TRUNCATION ¶

HINT_WAVE_TRUNCATION :: "SDL_WAVE_TRUNCATION"

HINT_WINDOWS_DISABLE_THREAD_NAMING ¶

HINT_WINDOWS_DISABLE_THREAD_NAMING :: "SDL_WINDOWS_DISABLE_THREAD_NAMING"

HINT_WINDOWS_ENABLE_MESSAGELOOP ¶

HINT_WINDOWS_ENABLE_MESSAGELOOP :: "SDL_WINDOWS_ENABLE_MESSAGELOOP"

HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS ¶

HINT_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS :: "SDL_WINDOWS_FORCE_MUTEX_CRITICAL_SECTIONS"

HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL ¶

HINT_WINDOWS_FORCE_SEMAPHORE_KERNEL :: "SDL_WINDOWS_FORCE_SEMAPHORE_KERNEL"

HINT_WINDOWS_INTRESOURCE_ICON ¶

HINT_WINDOWS_INTRESOURCE_ICON :: "SDL_WINDOWS_INTRESOURCE_ICON"

HINT_WINDOWS_INTRESOURCE_ICON_SMALL ¶

HINT_WINDOWS_INTRESOURCE_ICON_SMALL :: "SDL_WINDOWS_INTRESOURCE_ICON_SMALL"

HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 ¶

HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 :: "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4"

HINT_WINDOWS_USE_D3D9EX ¶

HINT_WINDOWS_USE_D3D9EX :: "SDL_WINDOWS_USE_D3D9EX"

HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN ¶

HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN :: "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN"

HINT_WINRT_HANDLE_BACK_BUTTON ¶

HINT_WINRT_HANDLE_BACK_BUTTON :: "SDL_WINRT_HANDLE_BACK_BUTTON"

HINT_WINRT_PRIVACY_POLICY_LABEL ¶

HINT_WINRT_PRIVACY_POLICY_LABEL :: "SDL_WINRT_PRIVACY_POLICY_LABEL"

HINT_WINRT_PRIVACY_POLICY_URL ¶

HINT_WINRT_PRIVACY_POLICY_URL :: "SDL_WINRT_PRIVACY_POLICY_URL"

HINT_X11_FORCE_OVERRIDE_REDIRECT ¶

HINT_X11_FORCE_OVERRIDE_REDIRECT :: "SDL_X11_FORCE_OVERRIDE_REDIRECT"

HINT_XINPUT_ENABLED ¶

HINT_XINPUT_ENABLED :: "SDL_XINPUT_ENABLED"

HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING ¶

HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING :: "SDL_XINPUT_USE_OLD_JOYSTICK_MAPPING"

ICONV_E2BIG ¶

ICONV_E2BIG: uint : ~c.size_t(1)

ICONV_EILSEQ ¶

ICONV_EILSEQ: uint : ~c.size_t(2)

ICONV_EINVAL ¶

ICONV_EINVAL: uint : ~c.size_t(3)

ICONV_ERROR ¶

ICONV_ERROR: uint : ~c.size_t(0)
 

The SDL implementation of iconv() returns these error codes

IGNORE ¶

IGNORE :: 0

INIT_AUDIO ¶

INIT_AUDIO: bit_set[InitFlag; u32] : InitFlags{.AUDIO}

INIT_EVENTS ¶

INIT_EVENTS: bit_set[InitFlag; u32] : InitFlags{.EVENTS}

INIT_EVERYTHING ¶

INIT_EVERYTHING: bit_set[InitFlag; u32] : InitFlags{.TIMER, .AUDIO, .VIDEO, .EVENTS, .JOYSTICK, .HAPTIC, .GAMECONTROLLER, .SENSOR}

INIT_GAMECONTROLLER ¶

INIT_GAMECONTROLLER: bit_set[InitFlag; u32] : InitFlags{.GAMECONTROLLER}

INIT_HAPTIC ¶

INIT_HAPTIC: bit_set[InitFlag; u32] : InitFlags{.HAPTIC}

INIT_JOYSTICK ¶

INIT_JOYSTICK: bit_set[InitFlag; u32] : InitFlags{.JOYSTICK}

INIT_NOPARACHUTE ¶

INIT_NOPARACHUTE: bit_set[InitFlag; u32] : InitFlags{.NOPARACHUTE}

INIT_SENSOR ¶

INIT_SENSOR: bit_set[InitFlag; u32] : InitFlags{.SENSOR}

INIT_TIMER ¶

INIT_TIMER: bit_set[InitFlag; u32] : InitFlags{.TIMER}

INIT_VIDEO ¶

INIT_VIDEO: bit_set[InitFlag; u32] : InitFlags{.VIDEO}

INVALID_SHAPE_ARGUMENT ¶

INVALID_SHAPE_ARGUMENT :: -2

IPHONE_MAX_GFORCE ¶

IPHONE_MAX_GFORCE :: 5.0

JOYSTICK_AXIS_MAX ¶

JOYSTICK_AXIS_MAX :: +32767

JOYSTICK_AXIS_MIN ¶

JOYSTICK_AXIS_MIN :: -32768

KMOD_ALT ¶

KMOD_ALT :: Keymod{.LALT, .RALT}

KMOD_CAPS ¶

KMOD_CAPS :: Keymod{.CAPS}

KMOD_CTRL ¶

KMOD_CTRL :: Keymod{.LCTRL, .RCTRL}

KMOD_GUI ¶

KMOD_GUI :: Keymod{.LGUI, .RGUI}

KMOD_LALT ¶

KMOD_LALT :: Keymod{.LALT}

KMOD_LCTRL ¶

KMOD_LCTRL :: Keymod{.LCTRL}

KMOD_LGUI ¶

KMOD_LGUI :: Keymod{.LGUI}

KMOD_LSHIFT ¶

KMOD_LSHIFT :: Keymod{.LSHIFT}

KMOD_MODE ¶

KMOD_MODE :: Keymod{.MODE}

KMOD_NONE ¶

KMOD_NONE :: Keymod{}

KMOD_NUM ¶

KMOD_NUM :: Keymod{.NUM}

KMOD_RALT ¶

KMOD_RALT :: Keymod{.RALT}

KMOD_RCTRL ¶

KMOD_RCTRL :: Keymod{.RCTRL}

KMOD_RESERVED ¶

KMOD_RESERVED :: Keymod{.RESERVED}

KMOD_RGUI ¶

KMOD_RGUI :: Keymod{.RGUI}

KMOD_RSHIFT ¶

KMOD_RSHIFT :: Keymod{.RSHIFT}

KMOD_SHIFT ¶

KMOD_SHIFT :: Keymod{.LSHIFT, .RSHIFT}

MAJOR_VERSION ¶

MAJOR_VERSION :: 2

MAX_LOG_MESSAGE ¶

MAX_LOG_MESSAGE :: 4096

MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT ¶

MESSAGEBOX_BUTTONS_LEFT_TO_RIGHT :: MessageBoxFlags{.BUTTONS_LEFT_TO_RIGHT}

MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT ¶

MESSAGEBOX_BUTTONS_RIGHT_TO_LEFT :: MessageBoxFlags{.BUTTONS_RIGHT_TO_LEFT}

MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT ¶

MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT :: MessageBoxButtonFlags{.ESCAPEKEY_DEFAULT}

MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT ¶

MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT :: MessageBoxButtonFlags{.RETURNKEY_DEFAULT}

MESSAGEBOX_ERROR ¶

MESSAGEBOX_ERROR :: MessageBoxFlags{.ERROR}

MESSAGEBOX_INFORMATION ¶

MESSAGEBOX_INFORMATION :: MessageBoxFlags{.INFORMATION}

MESSAGEBOX_WARNING ¶

MESSAGEBOX_WARNING :: MessageBoxFlags{.WARNING}

MINOR_VERSION ¶

MINOR_VERSION :: 0

MIX_MAXVOLUME ¶

MIX_MAXVOLUME :: 128

MOUSE_TOUCH_ID ¶

MOUSE_TOUCH_ID :: TouchID(-1)

MUTEX_MAXWAIT ¶

MUTEX_MAXWAIT: u32 : ~u32(0)

MUTEX_TIMEDOUT ¶

MUTEX_TIMEDOUT :: 1

M_PI ¶

M_PI :: 3.14159265358979323846264338327950288

NONSHAPEABLE_WINDOW ¶

NONSHAPEABLE_WINDOW :: -1

NUM_SCANCODES ¶

NUM_SCANCODES :: 512

PACKEDLAYOUT_101010 ¶

PACKEDLAYOUT_101010 :: 8

PACKEDLAYOUT_1555 ¶

PACKEDLAYOUT_1555 :: 3

PACKEDLAYOUT_2101010 ¶

PACKEDLAYOUT_2101010 :: 7

PACKEDLAYOUT_332 ¶

PACKEDLAYOUT_332 :: 1

PACKEDLAYOUT_4444 ¶

PACKEDLAYOUT_4444 :: 2

PACKEDLAYOUT_5551 ¶

PACKEDLAYOUT_5551 :: 4

PACKEDLAYOUT_565 ¶

PACKEDLAYOUT_565 :: 5

PACKEDLAYOUT_8888 ¶

PACKEDLAYOUT_8888 :: 6

PACKEDLAYOUT_NONE ¶

PACKEDLAYOUT_NONE :: 0

PACKEDORDER_ABGR ¶

PACKEDORDER_ABGR :: 7

PACKEDORDER_ARGB ¶

PACKEDORDER_ARGB :: 3

PACKEDORDER_BGRA ¶

PACKEDORDER_BGRA :: 8

PACKEDORDER_BGRX ¶

PACKEDORDER_BGRX :: 6

PACKEDORDER_NONE ¶

PACKEDORDER_NONE :: 0

PACKEDORDER_RGBA ¶

PACKEDORDER_RGBA :: 4

PACKEDORDER_RGBX ¶

PACKEDORDER_RGBX :: 2

PACKEDORDER_XBGR ¶

PACKEDORDER_XBGR :: 5

PACKEDORDER_XRGB ¶

PACKEDORDER_XRGB :: 1

PATCHLEVEL ¶

PATCHLEVEL :: 16

PIXELTYPE_ARRAYF16 ¶

PIXELTYPE_ARRAYF16 :: 10

PIXELTYPE_ARRAYF3 ¶

PIXELTYPE_ARRAYF3 :: 11

PIXELTYPE_ARRAYU16 ¶

PIXELTYPE_ARRAYU16 :: 8

PIXELTYPE_ARRAYU32 ¶

PIXELTYPE_ARRAYU32 :: 9

PIXELTYPE_ARRAYU8 ¶

PIXELTYPE_ARRAYU8 :: 7

PIXELTYPE_INDEX1 ¶

PIXELTYPE_INDEX1 :: 1

PIXELTYPE_INDEX4 ¶

PIXELTYPE_INDEX4 :: 2

PIXELTYPE_INDEX8 ¶

PIXELTYPE_INDEX8 :: 3

PIXELTYPE_PACKED16 ¶

PIXELTYPE_PACKED16 :: 5

PIXELTYPE_PACKED32 ¶

PIXELTYPE_PACKED32 :: 6

PIXELTYPE_PACKED8 ¶

PIXELTYPE_PACKED8 :: 4

PIXELTYPE_UNKNOWN ¶

PIXELTYPE_UNKNOWN :: 0

PREALLOC ¶

PREALLOC :: 0x00000001

PRESSED ¶

PRESSED :: 1

QUERY ¶

QUERY :: -1

RELEASED ¶

RELEASED :: 0

RENDERER_ACCELERATED ¶

RENDERER_ACCELERATED :: RendererFlags{.ACCELERATED}

RENDERER_PRESENTVSYNC ¶

RENDERER_PRESENTVSYNC :: RendererFlags{.PRESENTVSYNC}

RENDERER_SOFTWARE ¶

RENDERER_SOFTWARE :: RendererFlags{.SOFTWARE}

RENDERER_TARGETTEXTURE ¶

RENDERER_TARGETTEXTURE :: RendererFlags{.TARGETTEXTURE}

RLEACCEL ¶

RLEACCEL :: 0x00000002

RWOPS_JNIFILE ¶

RWOPS_JNIFILE :: 3

RWOPS_MEMORY ¶

RWOPS_MEMORY :: 4

RWOPS_MEMORY_RO ¶

RWOPS_MEMORY_RO :: 5

RWOPS_STDFILE ¶

RWOPS_STDFILE :: 2

RWOPS_UNKNOWN ¶

RWOPS_UNKNOWN :: 0
 

RWops Types

RWOPS_VITAFILE ¶

RWOPS_VITAFILE :: 6

RWOPS_WINFILE ¶

RWOPS_WINFILE :: 1

SCANCODE_0 ¶

SCANCODE_0 :: Scancode.NUM0

SCANCODE_1 ¶

SCANCODE_1 :: Scancode.NUM1

SCANCODE_2 ¶

SCANCODE_2 :: Scancode.NUM2

SCANCODE_3 ¶

SCANCODE_3 :: Scancode.NUM3

SCANCODE_4 ¶

SCANCODE_4 :: Scancode.NUM4

SCANCODE_5 ¶

SCANCODE_5 :: Scancode.NUM5

SCANCODE_6 ¶

SCANCODE_6 :: Scancode.NUM6

SCANCODE_7 ¶

SCANCODE_7 :: Scancode.NUM7

SCANCODE_8 ¶

SCANCODE_8 :: Scancode.NUM8

SCANCODE_9 ¶

SCANCODE_9 :: Scancode.NUM9

SCANCODE_A ¶

SCANCODE_A :: Scancode.A

SCANCODE_AC_BACK ¶

SCANCODE_AC_BACK :: Scancode.AC_BACK

SCANCODE_AC_BOOKMARKS ¶

SCANCODE_AC_BOOKMARKS :: Scancode.AC_BOOKMARKS

SCANCODE_AC_FORWARD ¶

SCANCODE_AC_FORWARD :: Scancode.AC_FORWARD

SCANCODE_AC_HOME ¶

SCANCODE_AC_HOME :: Scancode.AC_HOME

SCANCODE_AC_REFRESH ¶

SCANCODE_AC_REFRESH :: Scancode.AC_REFRESH
SCANCODE_AC_SEARCH :: Scancode.AC_SEARCH

SCANCODE_AC_STOP ¶

SCANCODE_AC_STOP :: Scancode.AC_STOP

SCANCODE_AGAIN ¶

SCANCODE_AGAIN :: Scancode.AGAIN

SCANCODE_ALTERASE ¶

SCANCODE_ALTERASE :: Scancode.ALTERASE

SCANCODE_APOSTROPHE ¶

SCANCODE_APOSTROPHE :: Scancode.APOSTROPHE

SCANCODE_APP1 ¶

SCANCODE_APP1 :: Scancode.APP1

SCANCODE_APP2 ¶

SCANCODE_APP2 :: Scancode.APP2

SCANCODE_APPLICATION ¶

SCANCODE_APPLICATION :: Scancode.APPLICATION

SCANCODE_AUDIOFASTFORWARD ¶

SCANCODE_AUDIOFASTFORWARD :: Scancode.AUDIOFASTFORWARD

SCANCODE_AUDIOMUTE ¶

SCANCODE_AUDIOMUTE :: Scancode.AUDIOMUTE

SCANCODE_AUDIONEXT ¶

SCANCODE_AUDIONEXT :: Scancode.AUDIONEXT

SCANCODE_AUDIOPLAY ¶

SCANCODE_AUDIOPLAY :: Scancode.AUDIOPLAY

SCANCODE_AUDIOPREV ¶

SCANCODE_AUDIOPREV :: Scancode.AUDIOPREV

SCANCODE_AUDIOREWIND ¶

SCANCODE_AUDIOREWIND :: Scancode.AUDIOREWIND

SCANCODE_AUDIOSTOP ¶

SCANCODE_AUDIOSTOP :: Scancode.AUDIOSTOP

SCANCODE_B ¶

SCANCODE_B :: Scancode.B

SCANCODE_BACKSLASH ¶

SCANCODE_BACKSLASH :: Scancode.BACKSLASH

SCANCODE_BACKSPACE ¶

SCANCODE_BACKSPACE :: Scancode.BACKSPACE

SCANCODE_BRIGHTNESSDOWN ¶

SCANCODE_BRIGHTNESSDOWN :: Scancode.BRIGHTNESSDOWN

SCANCODE_BRIGHTNESSUP ¶

SCANCODE_BRIGHTNESSUP :: Scancode.BRIGHTNESSUP

SCANCODE_C ¶

SCANCODE_C :: Scancode.C

SCANCODE_CALCULATOR ¶

SCANCODE_CALCULATOR :: Scancode.CALCULATOR

SCANCODE_CANCEL ¶

SCANCODE_CANCEL :: Scancode.CANCEL

SCANCODE_CAPSLOCK ¶

SCANCODE_CAPSLOCK :: Scancode.CAPSLOCK

SCANCODE_CLEAR ¶

SCANCODE_CLEAR :: Scancode.CLEAR

SCANCODE_CLEARAGAIN ¶

SCANCODE_CLEARAGAIN :: Scancode.CLEARAGAIN

SCANCODE_COMMA ¶

SCANCODE_COMMA :: Scancode.COMMA

SCANCODE_COMPUTER ¶

SCANCODE_COMPUTER :: Scancode.COMPUTER

SCANCODE_COPY ¶

SCANCODE_COPY :: Scancode.COPY

SCANCODE_CRSEL ¶

SCANCODE_CRSEL :: Scancode.CRSEL

SCANCODE_CURRENCYSUBUNIT ¶

SCANCODE_CURRENCYSUBUNIT :: Scancode.CURRENCYSUBUNIT

SCANCODE_CURRENCYUNIT ¶

SCANCODE_CURRENCYUNIT :: Scancode.CURRENCYUNIT

SCANCODE_CUT ¶

SCANCODE_CUT :: Scancode.CUT

SCANCODE_D ¶

SCANCODE_D :: Scancode.D

SCANCODE_DECIMALSEPARATOR ¶

SCANCODE_DECIMALSEPARATOR :: Scancode.DECIMALSEPARATOR

SCANCODE_DELETE ¶

SCANCODE_DELETE :: Scancode.DELETE

SCANCODE_DISPLAYSWITCH ¶

SCANCODE_DISPLAYSWITCH :: Scancode.DISPLAYSWITCH

SCANCODE_DOWN ¶

SCANCODE_DOWN :: Scancode.DOWN

SCANCODE_E ¶

SCANCODE_E :: Scancode.E

SCANCODE_EJECT ¶

SCANCODE_EJECT :: Scancode.EJECT

SCANCODE_END ¶

SCANCODE_END :: Scancode.END

SCANCODE_EQUALS ¶

SCANCODE_EQUALS :: Scancode.EQUALS

SCANCODE_ESCAPE ¶

SCANCODE_ESCAPE :: Scancode.ESCAPE

SCANCODE_EXECUTE ¶

SCANCODE_EXECUTE :: Scancode.EXECUTE

SCANCODE_EXSEL ¶

SCANCODE_EXSEL :: Scancode.EXSEL

SCANCODE_F ¶

SCANCODE_F :: Scancode.F

SCANCODE_F1 ¶

SCANCODE_F1 :: Scancode.F1

SCANCODE_F10 ¶

SCANCODE_F10 :: Scancode.F10

SCANCODE_F11 ¶

SCANCODE_F11 :: Scancode.F11

SCANCODE_F12 ¶

SCANCODE_F12 :: Scancode.F12

SCANCODE_F13 ¶

SCANCODE_F13 :: Scancode.F13

SCANCODE_F14 ¶

SCANCODE_F14 :: Scancode.F14

SCANCODE_F15 ¶

SCANCODE_F15 :: Scancode.F15

SCANCODE_F16 ¶

SCANCODE_F16 :: Scancode.F16

SCANCODE_F17 ¶

SCANCODE_F17 :: Scancode.F17

SCANCODE_F18 ¶

SCANCODE_F18 :: Scancode.F18

SCANCODE_F19 ¶

SCANCODE_F19 :: Scancode.F19

SCANCODE_F2 ¶

SCANCODE_F2 :: Scancode.F2

SCANCODE_F20 ¶

SCANCODE_F20 :: Scancode.F20

SCANCODE_F21 ¶

SCANCODE_F21 :: Scancode.F21

SCANCODE_F22 ¶

SCANCODE_F22 :: Scancode.F22

SCANCODE_F23 ¶

SCANCODE_F23 :: Scancode.F23

SCANCODE_F24 ¶

SCANCODE_F24 :: Scancode.F24

SCANCODE_F3 ¶

SCANCODE_F3 :: Scancode.F3

SCANCODE_F4 ¶

SCANCODE_F4 :: Scancode.F4

SCANCODE_F5 ¶

SCANCODE_F5 :: Scancode.F5

SCANCODE_F6 ¶

SCANCODE_F6 :: Scancode.F6

SCANCODE_F7 ¶

SCANCODE_F7 :: Scancode.F7

SCANCODE_F8 ¶

SCANCODE_F8 :: Scancode.F8

SCANCODE_F9 ¶

SCANCODE_F9 :: Scancode.F9

SCANCODE_FIND ¶

SCANCODE_FIND :: Scancode.FIND

SCANCODE_G ¶

SCANCODE_G :: Scancode.G

SCANCODE_GRAVE ¶

SCANCODE_GRAVE :: Scancode.GRAVE

SCANCODE_H ¶

SCANCODE_H :: Scancode.H

SCANCODE_HELP ¶

SCANCODE_HELP :: Scancode.HELP

SCANCODE_HOME ¶

SCANCODE_HOME :: Scancode.HOME

SCANCODE_I ¶

SCANCODE_I :: Scancode.I

SCANCODE_INSERT ¶

SCANCODE_INSERT :: Scancode.INSERT

SCANCODE_INTERNATIONAL1 ¶

SCANCODE_INTERNATIONAL1 :: Scancode.INTERNATIONAL1

SCANCODE_INTERNATIONAL2 ¶

SCANCODE_INTERNATIONAL2 :: Scancode.INTERNATIONAL2

SCANCODE_INTERNATIONAL3 ¶

SCANCODE_INTERNATIONAL3 :: Scancode.INTERNATIONAL3

SCANCODE_INTERNATIONAL4 ¶

SCANCODE_INTERNATIONAL4 :: Scancode.INTERNATIONAL4

SCANCODE_INTERNATIONAL5 ¶

SCANCODE_INTERNATIONAL5 :: Scancode.INTERNATIONAL5

SCANCODE_INTERNATIONAL6 ¶

SCANCODE_INTERNATIONAL6 :: Scancode.INTERNATIONAL6

SCANCODE_INTERNATIONAL7 ¶

SCANCODE_INTERNATIONAL7 :: Scancode.INTERNATIONAL7

SCANCODE_INTERNATIONAL8 ¶

SCANCODE_INTERNATIONAL8 :: Scancode.INTERNATIONAL8

SCANCODE_INTERNATIONAL9 ¶

SCANCODE_INTERNATIONAL9 :: Scancode.INTERNATIONAL9

SCANCODE_J ¶

SCANCODE_J :: Scancode.J

SCANCODE_K ¶

SCANCODE_K :: Scancode.K

SCANCODE_KBDILLUMDOWN ¶

SCANCODE_KBDILLUMDOWN :: Scancode.KBDILLUMDOWN

SCANCODE_KBDILLUMTOGGLE ¶

SCANCODE_KBDILLUMTOGGLE :: Scancode.KBDILLUMTOGGLE

SCANCODE_KBDILLUMUP ¶

SCANCODE_KBDILLUMUP :: Scancode.KBDILLUMUP

SCANCODE_KP_0 ¶

SCANCODE_KP_0 :: Scancode.KP_0

SCANCODE_KP_00 ¶

SCANCODE_KP_00 :: Scancode.KP_00

SCANCODE_KP_000 ¶

SCANCODE_KP_000 :: Scancode.KP_000

SCANCODE_KP_1 ¶

SCANCODE_KP_1 :: Scancode.KP_1

SCANCODE_KP_2 ¶

SCANCODE_KP_2 :: Scancode.KP_2

SCANCODE_KP_3 ¶

SCANCODE_KP_3 :: Scancode.KP_3

SCANCODE_KP_4 ¶

SCANCODE_KP_4 :: Scancode.KP_4

SCANCODE_KP_5 ¶

SCANCODE_KP_5 :: Scancode.KP_5

SCANCODE_KP_6 ¶

SCANCODE_KP_6 :: Scancode.KP_6

SCANCODE_KP_7 ¶

SCANCODE_KP_7 :: Scancode.KP_7

SCANCODE_KP_8 ¶

SCANCODE_KP_8 :: Scancode.KP_8

SCANCODE_KP_9 ¶

SCANCODE_KP_9 :: Scancode.KP_9

SCANCODE_KP_A ¶

SCANCODE_KP_A :: Scancode.KP_A

SCANCODE_KP_AMPERSAND ¶

SCANCODE_KP_AMPERSAND :: Scancode.KP_AMPERSAND

SCANCODE_KP_AT ¶

SCANCODE_KP_AT :: Scancode.KP_AT

SCANCODE_KP_B ¶

SCANCODE_KP_B :: Scancode.KP_B

SCANCODE_KP_BACKSPACE ¶

SCANCODE_KP_BACKSPACE :: Scancode.KP_BACKSPACE

SCANCODE_KP_BINARY ¶

SCANCODE_KP_BINARY :: Scancode.KP_BINARY

SCANCODE_KP_C ¶

SCANCODE_KP_C :: Scancode.KP_C

SCANCODE_KP_CLEAR ¶

SCANCODE_KP_CLEAR :: Scancode.KP_CLEAR

SCANCODE_KP_CLEARENTRY ¶

SCANCODE_KP_CLEARENTRY :: Scancode.KP_CLEARENTRY

SCANCODE_KP_COLON ¶

SCANCODE_KP_COLON :: Scancode.KP_COLON

SCANCODE_KP_COMMA ¶

SCANCODE_KP_COMMA :: Scancode.KP_COMMA

SCANCODE_KP_D ¶

SCANCODE_KP_D :: Scancode.KP_D

SCANCODE_KP_DBLAMPERSAND ¶

SCANCODE_KP_DBLAMPERSAND :: Scancode.KP_DBLAMPERSAND

SCANCODE_KP_DBLVERTICALBAR ¶

SCANCODE_KP_DBLVERTICALBAR :: Scancode.KP_DBLVERTICALBAR

SCANCODE_KP_DECIMAL ¶

SCANCODE_KP_DECIMAL :: Scancode.KP_DECIMAL

SCANCODE_KP_DIVIDE ¶

SCANCODE_KP_DIVIDE :: Scancode.KP_DIVIDE

SCANCODE_KP_E ¶

SCANCODE_KP_E :: Scancode.KP_E

SCANCODE_KP_ENTER ¶

SCANCODE_KP_ENTER :: Scancode.KP_ENTER

SCANCODE_KP_EQUALS ¶

SCANCODE_KP_EQUALS :: Scancode.KP_EQUALS

SCANCODE_KP_EQUALSAS400 ¶

SCANCODE_KP_EQUALSAS400 :: Scancode.KP_EQUALSAS400

SCANCODE_KP_EXCLAM ¶

SCANCODE_KP_EXCLAM :: Scancode.KP_EXCLAM

SCANCODE_KP_F ¶

SCANCODE_KP_F :: Scancode.KP_F

SCANCODE_KP_GREATER ¶

SCANCODE_KP_GREATER :: Scancode.KP_GREATER

SCANCODE_KP_HASH ¶

SCANCODE_KP_HASH :: Scancode.KP_HASH

SCANCODE_KP_HEXADECIMAL ¶

SCANCODE_KP_HEXADECIMAL :: Scancode.KP_HEXADECIMAL

SCANCODE_KP_LEFTBRACE ¶

SCANCODE_KP_LEFTBRACE :: Scancode.KP_LEFTBRACE

SCANCODE_KP_LEFTPAREN ¶

SCANCODE_KP_LEFTPAREN :: Scancode.KP_LEFTPAREN

SCANCODE_KP_LESS ¶

SCANCODE_KP_LESS :: Scancode.KP_LESS

SCANCODE_KP_MEMADD ¶

SCANCODE_KP_MEMADD :: Scancode.KP_MEMADD

SCANCODE_KP_MEMCLEAR ¶

SCANCODE_KP_MEMCLEAR :: Scancode.KP_MEMCLEAR

SCANCODE_KP_MEMDIVIDE ¶

SCANCODE_KP_MEMDIVIDE :: Scancode.KP_MEMDIVIDE

SCANCODE_KP_MEMMULTIPLY ¶

SCANCODE_KP_MEMMULTIPLY :: Scancode.KP_MEMMULTIPLY

SCANCODE_KP_MEMRECALL ¶

SCANCODE_KP_MEMRECALL :: Scancode.KP_MEMRECALL

SCANCODE_KP_MEMSTORE ¶

SCANCODE_KP_MEMSTORE :: Scancode.KP_MEMSTORE

SCANCODE_KP_MEMSUBTRACT ¶

SCANCODE_KP_MEMSUBTRACT :: Scancode.KP_MEMSUBTRACT

SCANCODE_KP_MINUS ¶

SCANCODE_KP_MINUS :: Scancode.KP_MINUS

SCANCODE_KP_MULTIPLY ¶

SCANCODE_KP_MULTIPLY :: Scancode.KP_MULTIPLY

SCANCODE_KP_OCTAL ¶

SCANCODE_KP_OCTAL :: Scancode.KP_OCTAL

SCANCODE_KP_PERCENT ¶

SCANCODE_KP_PERCENT :: Scancode.KP_PERCENT

SCANCODE_KP_PERIOD ¶

SCANCODE_KP_PERIOD :: Scancode.KP_PERIOD

SCANCODE_KP_PLUS ¶

SCANCODE_KP_PLUS :: Scancode.KP_PLUS

SCANCODE_KP_PLUSMINUS ¶

SCANCODE_KP_PLUSMINUS :: Scancode.KP_PLUSMINUS

SCANCODE_KP_POWER ¶

SCANCODE_KP_POWER :: Scancode.KP_POWER

SCANCODE_KP_RIGHTBRACE ¶

SCANCODE_KP_RIGHTBRACE :: Scancode.KP_RIGHTBRACE

SCANCODE_KP_RIGHTPAREN ¶

SCANCODE_KP_RIGHTPAREN :: Scancode.KP_RIGHTPAREN

SCANCODE_KP_SPACE ¶

SCANCODE_KP_SPACE :: Scancode.KP_SPACE

SCANCODE_KP_TAB ¶

SCANCODE_KP_TAB :: Scancode.KP_TAB

SCANCODE_KP_VERTICALBAR ¶

SCANCODE_KP_VERTICALBAR :: Scancode.KP_VERTICALBAR

SCANCODE_KP_XOR ¶

SCANCODE_KP_XOR :: Scancode.KP_XOR

SCANCODE_L ¶

SCANCODE_L :: Scancode.L

SCANCODE_LALT ¶

SCANCODE_LALT :: Scancode.LALT

SCANCODE_LANG1 ¶

SCANCODE_LANG1 :: Scancode.LANG1

SCANCODE_LANG2 ¶

SCANCODE_LANG2 :: Scancode.LANG2

SCANCODE_LANG3 ¶

SCANCODE_LANG3 :: Scancode.LANG3

SCANCODE_LANG4 ¶

SCANCODE_LANG4 :: Scancode.LANG4

SCANCODE_LANG5 ¶

SCANCODE_LANG5 :: Scancode.LANG5

SCANCODE_LANG6 ¶

SCANCODE_LANG6 :: Scancode.LANG6

SCANCODE_LANG7 ¶

SCANCODE_LANG7 :: Scancode.LANG7

SCANCODE_LANG8 ¶

SCANCODE_LANG8 :: Scancode.LANG8

SCANCODE_LANG9 ¶

SCANCODE_LANG9 :: Scancode.LANG9

SCANCODE_LCTRL ¶

SCANCODE_LCTRL :: Scancode.LCTRL

SCANCODE_LEFT ¶

SCANCODE_LEFT :: Scancode.LEFT

SCANCODE_LEFTBRACKET ¶

SCANCODE_LEFTBRACKET :: Scancode.LEFTBRACKET

SCANCODE_LGUI ¶

SCANCODE_LGUI :: Scancode.LGUI

SCANCODE_LSHIFT ¶

SCANCODE_LSHIFT :: Scancode.LSHIFT

SCANCODE_M ¶

SCANCODE_M :: Scancode.M

SCANCODE_MAIL ¶

SCANCODE_MAIL :: Scancode.MAIL

SCANCODE_MASK ¶

SCANCODE_MASK :: 1 << 30

SCANCODE_MEDIASELECT ¶

SCANCODE_MEDIASELECT :: Scancode.MEDIASELECT

SCANCODE_MENU ¶

SCANCODE_MENU :: Scancode.MENU

SCANCODE_MINUS ¶

SCANCODE_MINUS :: Scancode.MINUS

SCANCODE_MODE ¶

SCANCODE_MODE :: Scancode.MODE

SCANCODE_MUTE ¶

SCANCODE_MUTE :: Scancode.MUTE

SCANCODE_N ¶

SCANCODE_N :: Scancode.N

SCANCODE_NONUSBACKSLASH ¶

SCANCODE_NONUSBACKSLASH :: Scancode.NONUSBACKSLASH

SCANCODE_NONUSHASH ¶

SCANCODE_NONUSHASH :: Scancode.NONUSHASH

SCANCODE_NUMLOCKCLEAR ¶

SCANCODE_NUMLOCKCLEAR :: Scancode.NUMLOCKCLEAR

SCANCODE_O ¶

SCANCODE_O :: Scancode.O

SCANCODE_OPER ¶

SCANCODE_OPER :: Scancode.OPER

SCANCODE_OUT ¶

SCANCODE_OUT :: Scancode.OUT

SCANCODE_P ¶

SCANCODE_P :: Scancode.P

SCANCODE_PAGEDOWN ¶

SCANCODE_PAGEDOWN :: Scancode.PAGEDOWN

SCANCODE_PAGEUP ¶

SCANCODE_PAGEUP :: Scancode.PAGEUP

SCANCODE_PASTE ¶

SCANCODE_PASTE :: Scancode.PASTE

SCANCODE_PAUSE ¶

SCANCODE_PAUSE :: Scancode.PAUSE

SCANCODE_PERIOD ¶

SCANCODE_PERIOD :: Scancode.PERIOD

SCANCODE_POWER ¶

SCANCODE_POWER :: Scancode.POWER

SCANCODE_PRINTSCREEN ¶

SCANCODE_PRINTSCREEN :: Scancode.PRINTSCREEN

SCANCODE_PRIOR ¶

SCANCODE_PRIOR :: Scancode.PRIOR

SCANCODE_Q ¶

SCANCODE_Q :: Scancode.Q

SCANCODE_R ¶

SCANCODE_R :: Scancode.R

SCANCODE_RALT ¶

SCANCODE_RALT :: Scancode.RALT

SCANCODE_RCTRL ¶

SCANCODE_RCTRL :: Scancode.RCTRL

SCANCODE_RETURN ¶

SCANCODE_RETURN :: Scancode.RETURN

SCANCODE_RETURN2 ¶

SCANCODE_RETURN2 :: Scancode.RETURN2

SCANCODE_RGUI ¶

SCANCODE_RGUI :: Scancode.RGUI

SCANCODE_RIGHT ¶

SCANCODE_RIGHT :: Scancode.RIGHT

SCANCODE_RIGHTBRACKET ¶

SCANCODE_RIGHTBRACKET :: Scancode.RIGHTBRACKET

SCANCODE_RSHIFT ¶

SCANCODE_RSHIFT :: Scancode.RSHIFT

SCANCODE_S ¶

SCANCODE_S :: Scancode.S

SCANCODE_SCROLLLOCK ¶

SCANCODE_SCROLLLOCK :: Scancode.SCROLLLOCK

SCANCODE_SELECT ¶

SCANCODE_SELECT :: Scancode.SELECT

SCANCODE_SEMICOLON ¶

SCANCODE_SEMICOLON :: Scancode.SEMICOLON

SCANCODE_SEPARATOR ¶

SCANCODE_SEPARATOR :: Scancode.SEPARATOR

SCANCODE_SLASH ¶

SCANCODE_SLASH :: Scancode.SLASH

SCANCODE_SLEEP ¶

SCANCODE_SLEEP :: Scancode.SLEEP

SCANCODE_SPACE ¶

SCANCODE_SPACE :: Scancode.SPACE

SCANCODE_STOP ¶

SCANCODE_STOP :: Scancode.STOP

SCANCODE_SYSREQ ¶

SCANCODE_SYSREQ :: Scancode.SYSREQ

SCANCODE_T ¶

SCANCODE_T :: Scancode.T

SCANCODE_TAB ¶

SCANCODE_TAB :: Scancode.TAB

SCANCODE_THOUSANDSSEPARATOR ¶

SCANCODE_THOUSANDSSEPARATOR :: Scancode.THOUSANDSSEPARATOR

SCANCODE_U ¶

SCANCODE_U :: Scancode.U

SCANCODE_UNDO ¶

SCANCODE_UNDO :: Scancode.UNDO

SCANCODE_UNKNOWN ¶

SCANCODE_UNKNOWN :: Scancode.UNKNOWN

SCANCODE_UP ¶

SCANCODE_UP :: Scancode.UP

SCANCODE_V ¶

SCANCODE_V :: Scancode.V

SCANCODE_VOLUMEDOWN ¶

SCANCODE_VOLUMEDOWN :: Scancode.VOLUMEDOWN

SCANCODE_VOLUMEUP ¶

SCANCODE_VOLUMEUP :: Scancode.VOLUMEUP

SCANCODE_W ¶

SCANCODE_W :: Scancode.W

SCANCODE_WWW ¶

SCANCODE_WWW :: Scancode.WWW

SCANCODE_X ¶

SCANCODE_X :: Scancode.X

SCANCODE_Y ¶

SCANCODE_Y :: Scancode.Y

SCANCODE_Z ¶

SCANCODE_Z :: Scancode.Z

SDL_TEXTUREMODULATE_ALPHA ¶

SDL_TEXTUREMODULATE_ALPHA :: 0x00000002

SDL_TEXTUREMODULATE_COLOR ¶

SDL_TEXTUREMODULATE_COLOR :: 0x00000001

SDL_TEXTUREMODULATE_NONE ¶

SDL_TEXTUREMODULATE_NONE :: 0x00000000

SEEK_CUR ¶

SEEK_CUR :: 1

SEEK_END ¶

SEEK_END :: 2

SEEK_SET ¶

SEEK_SET :: 0

SIMD_ALIGNED ¶

SIMD_ALIGNED :: 0x00000008

STANDARD_GRAVITY ¶

STANDARD_GRAVITY :: 9.80665

SWSURFACE ¶

SWSURFACE :: 0

TEXTEDITINGEVENT_TEXT_SIZE ¶

TEXTEDITINGEVENT_TEXT_SIZE :: 32

TEXTINPUTEVENT_TEXT_SIZE ¶

TEXTINPUTEVENT_TEXT_SIZE :: 32

TOUCH_MOUSEID ¶

TOUCH_MOUSEID: u32 : ~u32(0)

WINDOWPOS_CENTERED ¶

WINDOWPOS_CENTERED :: WINDOWPOS_CENTERED_MASK | 0

WINDOWPOS_CENTERED_MASK ¶

WINDOWPOS_CENTERED_MASK :: 0x2FFF0000

WINDOWPOS_UNDEFINED ¶

WINDOWPOS_UNDEFINED :: WINDOWPOS_UNDEFINED_MASK | 0

WINDOWPOS_UNDEFINED_MASK ¶

WINDOWPOS_UNDEFINED_MASK :: 0x1FFF0000

WINDOW_ALLOW_HIGHDPI ¶

WINDOW_ALLOW_HIGHDPI :: WindowFlags{.ALLOW_HIGHDPI}

WINDOW_ALWAYS_ON_TOP ¶

WINDOW_ALWAYS_ON_TOP :: WindowFlags{.ALWAYS_ON_TOP}

WINDOW_BORDERLESS ¶

WINDOW_BORDERLESS :: WindowFlags{.BORDERLESS}

WINDOW_FOREIGN ¶

WINDOW_FOREIGN :: WindowFlags{.FOREIGN}

WINDOW_FULLSCREEN ¶

WINDOW_FULLSCREEN :: WindowFlags{.FULLSCREEN}

WINDOW_FULLSCREEN_DESKTOP ¶

WINDOW_FULLSCREEN_DESKTOP :: WindowFlags{.FULLSCREEN, ._INTERNAL_FULLSCREEN_DESKTOP}

WINDOW_HIDDEN ¶

WINDOW_HIDDEN :: WindowFlags{.HIDDEN}

WINDOW_INPUT_FOCUS ¶

WINDOW_INPUT_FOCUS :: WindowFlags{.INPUT_FOCUS}

WINDOW_INPUT_GRABBED ¶

WINDOW_INPUT_GRABBED :: WindowFlags{.INPUT_GRABBED}

WINDOW_KEYBOARD_GRABBED ¶

WINDOW_KEYBOARD_GRABBED :: WindowFlags{.KEYBOARD_GRABBED}

WINDOW_LACKS_SHAPE ¶

WINDOW_LACKS_SHAPE :: -3

WINDOW_MAXIMIZED ¶

WINDOW_MAXIMIZED :: WindowFlags{.MAXIMIZED}

WINDOW_METAL ¶

WINDOW_METAL :: WindowFlags{.METAL}

WINDOW_MINIMIZED ¶

WINDOW_MINIMIZED :: WindowFlags{.MINIMIZED}

WINDOW_MOUSE_CAPTURE ¶

WINDOW_MOUSE_CAPTURE :: WindowFlags{.MOUSE_CAPTURE}

WINDOW_MOUSE_FOCUS ¶

WINDOW_MOUSE_FOCUS :: WindowFlags{.MOUSE_FOCUS}

WINDOW_MOUSE_GRABBED ¶

WINDOW_MOUSE_GRABBED :: WindowFlags{.MOUSE_GRABBED}

WINDOW_OPENGL ¶

WINDOW_OPENGL :: WindowFlags{.OPENGL}

WINDOW_POPUP_MENU ¶

WINDOW_POPUP_MENU :: WindowFlags{.POPUP_MENU}

WINDOW_RESIZABLE ¶

WINDOW_RESIZABLE :: WindowFlags{.RESIZABLE}

WINDOW_SHOWN ¶

WINDOW_SHOWN :: WindowFlags{.SHOWN}

WINDOW_SKIP_TASKBAR ¶

WINDOW_SKIP_TASKBAR :: WindowFlags{.SKIP_TASKBAR}

WINDOW_TOOLTIP ¶

WINDOW_TOOLTIP :: WindowFlags{.TOOLTIP}

WINDOW_UTILITY ¶

WINDOW_UTILITY :: WindowFlags{.UTILITY}

WINDOW_VULKAN ¶

WINDOW_VULKAN :: WindowFlags{.VULKAN}

Variables

This section is empty.

Procedures

AUDIO_BITSIZE ¶

AUDIO_BITSIZE :: proc "cdecl" (x: AudioFormat) -> u8 {…}

AUDIO_ISBIGENDIAN ¶

AUDIO_ISBIGENDIAN :: proc "cdecl" (x: AudioFormat) -> bool {…}

AUDIO_ISFLOAT ¶

AUDIO_ISFLOAT :: proc "cdecl" (x: AudioFormat) -> bool {…}

AUDIO_ISINT ¶

AUDIO_ISINT :: proc "cdecl" (x: AudioFormat) -> bool {…}

AUDIO_ISLITTLEENDIAN ¶

AUDIO_ISLITTLEENDIAN :: proc "cdecl" (x: AudioFormat) -> bool {…}

AUDIO_ISSIGNED ¶

AUDIO_ISSIGNED :: proc "cdecl" (x: AudioFormat) -> bool {…}

AUDIO_ISUNSIGNED ¶

AUDIO_ISUNSIGNED :: proc "cdecl" (x: AudioFormat) -> bool {…}

AddEventWatch ¶

AddEventWatch :: proc "cdecl" (filter: EventFilter, userdata: rawptr) ---

AddHintCallback ¶

AddHintCallback :: proc "cdecl" (name: cstring, callback: HintCallback, userdata: rawptr) ---

AddTimer ¶

AddTimer :: proc "cdecl" (interval: u32, callback: TimerCallback, param: rawptr) -> TimerID ---

AllocFormat ¶

AllocFormat :: proc "cdecl" (pixel_format: u32) -> ^PixelFormat ---

AllocPalette ¶

AllocPalette :: proc "cdecl" (ncolors: i32) -> ^Palette ---

AllocRW ¶

AllocRW :: proc "cdecl" () -> ^RWops ---

AndroidBackButton ¶

AndroidBackButton :: proc "cdecl" () ---

AndroidGetActivity ¶

AndroidGetActivity :: proc "cdecl" () -> rawptr ---

AndroidGetExternalStoragePath ¶

AndroidGetExternalStoragePath :: proc "cdecl" () -> cstring ---

AndroidGetExternalStorageState ¶

AndroidGetExternalStorageState :: proc "cdecl" () -> i32 ---

AndroidGetInternalStoragePath ¶

AndroidGetInternalStoragePath :: proc "cdecl" () -> cstring ---

AndroidGetJNIEnv ¶

AndroidGetJNIEnv :: proc "cdecl" () -> rawptr ---

AndroidRequestPermission ¶

AndroidRequestPermission :: proc "cdecl" (permission: cstring) -> bool ---

AndroidShowToast ¶

AndroidShowToast :: proc "cdecl" (message: cstring, duration, gravity, xoffset, yoffset: i32) -> i32 ---

AtomicAdd ¶

AtomicAdd :: proc "cdecl" (a: ^atomic_t, v: i32) -> i32 ---

AtomicCAS ¶

AtomicCAS :: proc "cdecl" (a: ^atomic_t, oldval, newval: i32) -> bool ---

AtomicCASPtr ¶

AtomicCASPtr :: proc "cdecl" (a: ^rawptr, oldval, newval: rawptr) -> bool ---

AtomicGet ¶

AtomicGet :: proc "cdecl" (a: ^atomic_t) -> i32 ---

AtomicGetPtr ¶

AtomicGetPtr :: proc "cdecl" (a: ^rawptr) -> rawptr ---

AtomicLock ¶

AtomicLock :: proc "cdecl" (lock: ^SpinLock) ---

AtomicSet ¶

AtomicSet :: proc "cdecl" (a: ^atomic_t, v: i32) -> i32 ---

AtomicSetPtr ¶

AtomicSetPtr :: proc "cdecl" (a: ^rawptr, v: rawptr) -> rawptr ---

AtomicTryLock ¶

AtomicTryLock :: proc "cdecl" (lock: ^SpinLock) -> bool ---

AtomicUnlock ¶

AtomicUnlock :: proc "cdecl" (lock: ^SpinLock) ---

AudioInit ¶

AudioInit :: proc "cdecl" (filename: cstring) -> i32 ---

AudioQuit ¶

AudioQuit :: proc "cdecl" () ---

AudioStreamAvailable ¶

AudioStreamAvailable :: proc "cdecl" (stream: ^AudioStream) -> i32 ---

AudioStreamClear ¶

AudioStreamClear :: proc "cdecl" (stream: ^AudioStream) ---

AudioStreamFlush ¶

AudioStreamFlush :: proc "cdecl" (stream: ^AudioStream) -> i32 ---

AudioStreamGet ¶

AudioStreamGet :: proc "cdecl" (stream: ^AudioStream, buf: rawptr, len: i32) -> i32 ---

AudioStreamPut ¶

AudioStreamPut :: proc "cdecl" (stream: ^AudioStream, buf: rawptr, len: i32) -> i32 ---

BUTTON ¶

BUTTON :: proc "cdecl" (c: i32) -> i32 {…}

BuildAudioCVT ¶

BuildAudioCVT :: proc "cdecl" (
	cvt:          ^AudioCVT, 
	src_format:   AudioFormat, 
	src_channels: u8, 
	src_rate:     i32, 
	dst_format:   AudioFormat, 
	dst_channels: u8, 
) -> i32 ---

CalculateGammaRamp ¶

CalculateGammaRamp :: proc "cdecl" (gamma: f32, ramp: ^[256]u16) ---

CaptureMouse ¶

CaptureMouse :: proc "cdecl" (iscapture: bool) -> i32 ---

ClearError ¶

ClearError :: proc "cdecl" () ---

ClearHints ¶

ClearHints :: proc "cdecl" () ---

ClearQueuedAudio ¶

ClearQueuedAudio :: proc "cdecl" (dev: AudioDeviceID) ---

CloseAudio ¶

CloseAudio :: proc "cdecl" () ---

CloseAudioDevice ¶

CloseAudioDevice :: proc "cdecl" (dev: AudioDeviceID) ---

ComposeCustomBlendMode ¶

ComposeCustomBlendMode :: proc "cdecl" (
	srcColorFactor, dstColorFactor: BlendFactor, 
	colorOperation:                 BlendOperation, 
	srcAlphaFactor, dstAlphaFactor: BlendFactor, 
) -> BlendMode ---

CondBroadcast ¶

CondBroadcast :: proc "cdecl" (cv: ^cond) -> i32 ---

CondSignal ¶

CondSignal :: proc "cdecl" (cv: ^cond) -> i32 ---

CondWait ¶

CondWait :: proc "cdecl" (cv: ^cond, m: ^mutex) -> i32 ---

CondWaitTimeout ¶

CondWaitTimeout :: proc "cdecl" (cv: ^cond, m: ^mutex, ms: u32) -> i32 ---

ConvertAudio ¶

ConvertAudio :: proc "cdecl" (cvt: ^AudioCVT) -> i32 ---

ConvertPixels ¶

ConvertPixels :: proc "cdecl" (
	width, height: i32, 
	src_format:    u32, 
	src:           rawptr, 
	src_pitch:     i32, 
	dst_format:    u32, 
	dst:           rawptr, 
) -> i32 ---

ConvertSurface ¶

ConvertSurface :: proc "cdecl" (src: ^Surface, fmt: ^PixelFormat, flags: u32) -> ^Surface ---

ConvertSurfaceFormat ¶

ConvertSurfaceFormat :: proc "cdecl" (src: ^Surface, pixel_format: u32, flags: u32) -> ^Surface ---

CreateColorCursor ¶

CreateColorCursor :: proc "cdecl" (surface: ^Surface, hot_x, hot_y: i32) -> ^Cursor ---

CreateCond ¶

CreateCond :: proc "cdecl" () -> ^cond ---

CreateCursor ¶

CreateCursor :: proc "cdecl" (
	data:        [^]u8, 
	mask:        [^]u8, 
	w, h, hot_x, 
) -> ^Cursor ---

CreateMutex ¶

CreateMutex :: proc "cdecl" () -> ^mutex ---

CreateRGBSurface ¶

CreateRGBSurface :: proc "cdecl" (
	flags:                u32, 
	width, height, depth: i32, 
	Rmask, Gmask, Bmask, 
) -> ^Surface ---

CreateRGBSurfaceFrom ¶

CreateRGBSurfaceFrom :: proc "cdecl" (
	pixels:                      rawptr, 
	width, height, depth, pitch: i32, 
	Rmask, Gmask, Bmask, 
) -> ^Surface ---

CreateRGBSurfaceWithFormat ¶

CreateRGBSurfaceWithFormat :: proc "cdecl" (flags: u32, width, height, depth: i32, format: u32) -> ^Surface ---

CreateRGBSurfaceWithFormatFrom ¶

CreateRGBSurfaceWithFormatFrom :: proc "cdecl" (
	pixels:                      rawptr, 
	width, height, depth, pitch: i32, 
) -> ^Surface ---

CreateRenderer ¶

CreateRenderer :: proc "cdecl" (window: ^Window, index: i32, flags: RendererFlags) -> ^Renderer ---

CreateSemaphore ¶

CreateSemaphore :: proc "cdecl" (initial_value: u32) -> ^semaphore ---

CreateShapedWindow ¶

CreateShapedWindow :: proc "cdecl" (
	title:      cstring, 
	x, y, w, h: u32, 
) -> ^Window ---

CreateSoftwareRenderer ¶

CreateSoftwareRenderer :: proc "cdecl" (surface: ^Surface) -> ^Renderer ---

CreateSystemCursor ¶

CreateSystemCursor :: proc "cdecl" (id: SystemCursor) -> ^Cursor ---

CreateTexture ¶

CreateTexture :: proc "cdecl" (renderer: ^Renderer, format: u32, access: TextureAccess, w, h: i32) -> ^Texture ---

CreateTextureFromSurface ¶

CreateTextureFromSurface :: proc "cdecl" (renderer: ^Renderer, surface: ^Surface) -> ^Texture ---

CreateThread ¶

CreateThread :: proc "cdecl" (fn: ThreadFunction, name: cstring, data: rawptr) -> ^Thread ---

CreateThreadWithStackSize ¶

CreateThreadWithStackSize :: proc "cdecl" (fn: ThreadFunction, name: cstring, stacksize: uint, data: rawptr) -> ^Thread ---

CreateWindow ¶

CreateWindow :: proc "cdecl" (
	title:      cstring, 
	x, y, w, h: i32, 
) -> ^Window ---

CreateWindowAndRenderer ¶

CreateWindowAndRenderer :: proc "cdecl" (width, height: i32, window_flags: WindowFlags, window: ^^Window, renderer: ^^Renderer) -> i32 ---

CreateWindowFrom ¶

CreateWindowFrom :: proc "cdecl" (data: rawptr) -> ^Window ---

DEFINE_PIXELFORMAT ¶

DEFINE_PIXELFORMAT :: proc "cdecl" (type: u8, order: u8, layout, bits, bytes: u8) -> u32 {…}

DEFINE_PIXELFOURCC ¶

DEFINE_PIXELFOURCC :: FOURCC

DXGIGetOutputInfo ¶

DXGIGetOutputInfo :: proc "cdecl" (displayIndex: i32, adapterIndex: ^i32, outputIndex: ^i32) -> bool ---

DelEventWatch ¶

DelEventWatch :: proc "cdecl" (filter: EventFilter, userdata: rawptr) ---

DelHintCallback ¶

DelHintCallback :: proc "cdecl" (name: cstring, callback: HintCallback, userdata: rawptr) ---

Delay ¶

Delay :: proc "cdecl" (_: u32) ---

DequeueAudio ¶

DequeueAudio :: proc "cdecl" (dev: AudioDeviceID, data: rawptr, len: u32) -> u32 ---

DestroyCond ¶

DestroyCond :: proc "cdecl" (cv: ^cond) ---

DestroyMutex ¶

DestroyMutex :: proc "cdecl" (m: ^mutex) ---

DestroyRenderer ¶

DestroyRenderer :: proc "cdecl" (renderer: ^Renderer) ---

DestroySemaphore ¶

DestroySemaphore :: proc "cdecl" (s: ^semaphore) ---

DestroyTexture ¶

DestroyTexture :: proc "cdecl" (texture: ^Texture) ---

DestroyWindow ¶

DestroyWindow :: proc "cdecl" (window: ^Window) ---

DetachThread ¶

DetachThread :: proc "cdecl" (thread: ^Thread) ---

Direct3D9GetAdapterIndex ¶

Direct3D9GetAdapterIndex :: proc "cdecl" (c: i32) -> i32 ---

DisableScreenSaver ¶

DisableScreenSaver :: proc "cdecl" () ---

DuplicateSurface ¶

DuplicateSurface :: proc "cdecl" (surface: ^Surface) -> ^Surface ---

EnableScreenSaver ¶

EnableScreenSaver :: proc "cdecl" () ---

EnclosePoints ¶

EnclosePoints :: proc "cdecl" (points: [^]Point, count: i32, clip: ^Rect, result: ^Rect) -> bool ---

Error ¶

Error :: proc "cdecl" (code: errorcode) -> i32 ---

EventState ¶

EventState :: proc "cdecl" (type: EventType, state: i32) -> b8 ---

FOURCC ¶

FOURCC :: proc "cdecl" (A, B, C, D: u8) -> u32 {…}

FillRect ¶

FillRect :: proc "cdecl" (dst: ^Surface, rect: ^Rect, color: u32) -> i32 ---

FillRects ¶

FillRects :: proc "cdecl" (dst: ^Surface, rects: [^]Rect, count: i32, color: u32) -> i32 ---

FilterEvents ¶

FilterEvents :: proc "cdecl" (filter: EventFilter, userdata: rawptr) ---

FlashWindow ¶

FlashWindow :: proc "cdecl" (window: ^Window, operation: FlashOperation) -> i32 ---

FlushEvent ¶

FlushEvent :: proc "cdecl" (type: EventType) ---

FlushEvents ¶

FlushEvents :: proc "cdecl" (minType, maxType: EventType) ---

FreeAudioStream ¶

FreeAudioStream :: proc "cdecl" (stream: ^AudioStream) ---

FreeCursor ¶

FreeCursor :: proc "cdecl" (cursor: ^Cursor) ---

FreeFormat ¶

FreeFormat :: proc "cdecl" (format: ^PixelFormat) ---

FreePalette ¶

FreePalette :: proc "cdecl" (palette: ^Palette) ---

FreeRW ¶

FreeRW :: proc "cdecl" (area: ^RWops) ---

FreeSurface ¶

FreeSurface :: proc "cdecl" (surface: ^Surface) ---

FreeWAV ¶

FreeWAV :: proc "cdecl" (data: [^]u8) ---

GL_BindTexture ¶

GL_BindTexture :: proc "cdecl" (texture: ^Texture, texw, texh: ^f32) -> i32 ---

GL_CreateContext ¶

GL_CreateContext :: proc "cdecl" (window: ^Window) -> GLContext ---

GL_DeleteContext ¶

GL_DeleteContext :: proc "cdecl" (ctx: GLContext) ---

GL_ExtensionSupported ¶

GL_ExtensionSupported :: proc "cdecl" (permission: cstring) -> bool ---

GL_GetAttribute ¶

GL_GetAttribute :: proc "cdecl" (attr: GLattr, value: ^i32) -> i32 ---

GL_GetCurrentContext ¶

GL_GetCurrentContext :: proc "cdecl" () -> GLContext ---

GL_GetCurrentWindow ¶

GL_GetCurrentWindow :: proc "cdecl" () -> ^Window ---

GL_GetDrawableSize ¶

GL_GetDrawableSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

GL_GetProcAddress ¶

GL_GetProcAddress :: proc "cdecl" (name: cstring) -> rawptr ---

GL_GetSwapInterval ¶

GL_GetSwapInterval :: proc "cdecl" () -> i32 ---

GL_LoadLibrary ¶

GL_LoadLibrary :: proc "cdecl" (filename: cstring) -> i32 ---

GL_MakeCurrent ¶

GL_MakeCurrent :: proc "cdecl" (window: ^Window, ctx: GLContext) -> i32 ---

GL_ResetAttributes ¶

GL_ResetAttributes :: proc "cdecl" () ---

GL_SetAttribute ¶

GL_SetAttribute :: proc "cdecl" (attr: GLattr, value: i32) -> i32 ---

GL_SetSwapInterval ¶

GL_SetSwapInterval :: proc "cdecl" (c: i32) -> i32 ---

GL_SwapWindow ¶

GL_SwapWindow :: proc "cdecl" (window: ^Window) ---

GL_UnbindTexture ¶

GL_UnbindTexture :: proc "cdecl" (texture: ^Texture) -> i32 ---

GL_UnloadLibrary ¶

GL_UnloadLibrary :: proc "cdecl" () ---

GameControllerAddMapping ¶

GameControllerAddMapping :: proc "cdecl" (filename: cstring) -> i32 ---

GameControllerAddMappingsFromFile ¶

GameControllerAddMappingsFromFile :: proc "cdecl" (filename: cstring) -> i32 {…}

GameControllerAddMappingsFromRW ¶

GameControllerAddMappingsFromRW :: proc "cdecl" (rw: ^RWops, freerw: bool) -> i32 ---

GameControllerClose ¶

GameControllerClose :: proc "cdecl" (gamecontroller: ^GameController) ---

GameControllerEventState ¶

GameControllerEventState :: proc "cdecl" (c: i32) -> i32 ---

GameControllerFromInstanceID ¶

GameControllerFromInstanceID :: proc "cdecl" (joyid: JoystickID) -> ^GameController ---

GameControllerFromPlayerIndex ¶

GameControllerFromPlayerIndex :: proc "cdecl" (joystick_index: i32) -> ^GameController ---

GameControllerGetAttached ¶

GameControllerGetAttached :: proc "cdecl" (gamecontroller: ^GameController) -> bool ---

GameControllerGetAxis ¶

GameControllerGetAxis :: proc "cdecl" (gamecontroller: ^GameController, axis: GameControllerAxis) -> i16 ---

GameControllerGetAxisFromString ¶

GameControllerGetAxisFromString :: proc "cdecl" (str: cstring) -> GameControllerAxis ---

GameControllerGetBindForAxis ¶

GameControllerGetBindForAxis :: proc "cdecl" (gamecontroller: ^GameController, axis: GameControllerAxis) -> GameControllerButtonBind ---

GameControllerGetBindForButton ¶

GameControllerGetBindForButton :: proc "cdecl" (gamecontroller: ^GameController, button: GameControllerButton) -> GameControllerButtonBind ---

GameControllerGetButton ¶

GameControllerGetButton :: proc "cdecl" (gamecontroller: ^GameController, button: GameControllerButton) -> u8 ---

GameControllerGetButtonFromString ¶

GameControllerGetButtonFromString :: proc "cdecl" (str: cstring) -> GameControllerButton ---

GameControllerGetJoystick ¶

GameControllerGetJoystick :: proc "cdecl" (gamecontroller: ^GameController) -> ^Joystick ---

GameControllerGetNumTouchpadFingers ¶

GameControllerGetNumTouchpadFingers :: proc "cdecl" (gamecontroller: ^GameController, touchpad: i32) -> i32 ---

GameControllerGetNumTouchpads ¶

GameControllerGetNumTouchpads :: proc "cdecl" (gamecontroller: ^GameController) -> i32 ---

GameControllerGetPlayerIndex ¶

GameControllerGetPlayerIndex :: proc "cdecl" (gamecontroller: ^GameController) -> i32 ---

GameControllerGetProduct ¶

GameControllerGetProduct :: proc "cdecl" (gamecontroller: ^GameController) -> u16 ---

GameControllerGetProductVersion ¶

GameControllerGetProductVersion :: proc "cdecl" (gamecontroller: ^GameController) -> u16 ---

GameControllerGetSensorData ¶

GameControllerGetSensorData :: proc "cdecl" (gamecontroller: ^GameController, type: SensorType, data: [^]f32, num_values: i32) -> i32 ---

GameControllerGetSensorDataRate ¶

GameControllerGetSensorDataRate :: proc "cdecl" (gamecontroller: ^GameController, type: SensorType) -> f32 ---

GameControllerGetSerial ¶

GameControllerGetSerial :: proc "cdecl" (gamecontroller: ^GameController) -> cstring ---

GameControllerGetStringForAxis ¶

GameControllerGetStringForAxis :: proc "cdecl" (axis: GameControllerAxis) -> cstring ---

GameControllerGetStringForButton ¶

GameControllerGetStringForButton :: proc "cdecl" (button: GameControllerButton) -> cstring ---

GameControllerGetTouchpadFinger ¶

GameControllerGetTouchpadFinger :: proc "cdecl" (
	gamecontroller: ^GameController, 
	touchpad:       i32, 
	finger:         i32, 
	state:          ^u8, 
	x, y:           ^f32, 
) -> i32 ---

GameControllerGetType ¶

GameControllerGetType :: proc "cdecl" (gamecontroller: ^GameController) -> GameControllerType ---

GameControllerGetVendor ¶

GameControllerGetVendor :: proc "cdecl" (gamecontroller: ^GameController) -> u16 ---

GameControllerHasAxis ¶

GameControllerHasAxis :: proc "cdecl" (gamecontroller: ^GameController, axis: GameControllerAxis) -> bool ---

GameControllerHasButton ¶

GameControllerHasButton :: proc "cdecl" (gamecontroller: ^GameController, button: GameControllerButton) -> bool ---

GameControllerHasLED ¶

GameControllerHasLED :: proc "cdecl" (gamecontroller: ^GameController) -> bool ---

GameControllerHasSensor ¶

GameControllerHasSensor :: proc "cdecl" (gamecontroller: ^GameController, type: SensorType) -> bool ---

GameControllerIsSensorEnabled ¶

GameControllerIsSensorEnabled :: proc "cdecl" (gamecontroller: ^GameController, type: SensorType) -> bool ---

GameControllerMapping ¶

GameControllerMapping :: proc "cdecl" (gamecontroller: ^GameController) -> cstring ---

GameControllerMappingForDeviceIndex ¶

GameControllerMappingForDeviceIndex :: proc "cdecl" (joy: i32) -> cstring ---

GameControllerMappingForGUID ¶

GameControllerMappingForGUID :: proc "cdecl" (guid: JoystickGUID) -> cstring ---

GameControllerMappingForIndex ¶

GameControllerMappingForIndex :: proc "cdecl" (joy: i32) -> cstring ---

GameControllerName ¶

GameControllerName :: proc "cdecl" (gamecontroller: ^GameController) -> cstring ---

GameControllerNameForIndex ¶

GameControllerNameForIndex :: proc "cdecl" (joy: i32) -> cstring ---

GameControllerNumMappings ¶

GameControllerNumMappings :: proc "cdecl" () -> i32 ---

GameControllerOpen ¶

GameControllerOpen :: proc "cdecl" (joystick_index: i32) -> ^GameController ---

GameControllerRumble ¶

GameControllerRumble :: proc "cdecl" (gamecontroller: ^GameController, low_frequency_rumble, high_frequency_rumble: u16, duration_ms: u32) -> i32 ---

GameControllerRumbleTriggers ¶

GameControllerRumbleTriggers :: proc "cdecl" (gamecontroller: ^GameController, low_frequency_rumble, high_frequency_rumble: u16, duration_ms: u32) -> i32 ---

GameControllerSendEffect ¶

GameControllerSendEffect :: proc "cdecl" (gamecontroller: ^GameController, data: rawptr, size: i32) -> i32 ---

GameControllerSetLED ¶

GameControllerSetLED :: proc "cdecl" (gamecontroller: ^GameController, red, green, blue: u8) -> i32 ---

GameControllerSetPlayerIndex ¶

GameControllerSetPlayerIndex :: proc "cdecl" (gamecontroller: ^GameController, player_index: i32) ---

GameControllerSetSensorEnabled ¶

GameControllerSetSensorEnabled :: proc "cdecl" (gamecontroller: ^GameController, type: SensorType, enabled: bool) -> i32 ---

GameControllerTypeForIndex ¶

GameControllerTypeForIndex :: proc "cdecl" (joystick_index: i32) -> GameControllerType ---

GameControllerUpdate ¶

GameControllerUpdate :: proc "cdecl" () ---

GetAndroidSDKVersion ¶

GetAndroidSDKVersion :: proc "cdecl" () -> i32 ---

GetAudioDeviceName ¶

GetAudioDeviceName :: proc "cdecl" (index: i32, iscapture: bool) -> cstring ---

GetAudioDeviceSpec ¶

GetAudioDeviceSpec :: proc "cdecl" (index: i32, iscapture: bool, spec: ^AudioSpec) -> i32 ---

GetAudioDeviceStatus ¶

GetAudioDeviceStatus :: proc "cdecl" (dev: AudioDeviceID) -> AudioStatus ---

GetAudioDriver ¶

GetAudioDriver :: proc "cdecl" (joy: i32) -> cstring ---

GetAudioStatus ¶

GetAudioStatus :: proc "cdecl" () -> AudioStatus ---

GetBasePath ¶

GetBasePath :: proc "cdecl" () -> cstring ---

GetCPUCacheLineSize ¶

GetCPUCacheLineSize :: proc "cdecl" () -> i32 ---

GetCPUCount ¶

GetCPUCount :: proc "cdecl" () -> i32 ---

GetClipRect ¶

GetClipRect :: proc "cdecl" (surface: ^Surface, rect: ^Rect) ---

GetClipboardText ¶

GetClipboardText :: proc "cdecl" () -> cstring ---

GetClosestDisplayMode ¶

GetClosestDisplayMode :: proc "cdecl" (displayIndex: i32, mode, closest: ^DisplayMode) -> ^DisplayMode ---

GetColorKey ¶

GetColorKey :: proc "cdecl" (surface: ^Surface, key: ^u32) -> i32 ---

GetCurrentAudioDriver ¶

GetCurrentAudioDriver :: proc "cdecl" () -> cstring ---

GetCurrentDisplayMode ¶

GetCurrentDisplayMode :: proc "cdecl" (displayIndex: i32, mode: ^DisplayMode) -> i32 ---

GetCurrentVideoDriver ¶

GetCurrentVideoDriver :: proc "cdecl" () -> cstring ---

GetCursor ¶

GetCursor :: proc "cdecl" () -> ^Cursor ---

GetDefaultCursor ¶

GetDefaultCursor :: proc "cdecl" () -> ^Cursor ---

GetDesktopDisplayMode ¶

GetDesktopDisplayMode :: proc "cdecl" (displayIndex: i32, mode: ^DisplayMode) -> i32 ---

GetDisplayBounds ¶

GetDisplayBounds :: proc "cdecl" (displayIndex: i32, rect: ^Rect) -> i32 ---

GetDisplayDPI ¶

GetDisplayDPI :: proc "cdecl" (displayIndex: i32, ddpi, hdpi, vdpi: ^f32) -> i32 ---

GetDisplayMode ¶

GetDisplayMode :: proc "cdecl" (displayIndex: i32, modeIndex: i32, mode: ^DisplayMode) -> i32 ---

GetDisplayName ¶

GetDisplayName :: proc "cdecl" (joy: i32) -> cstring ---

GetDisplayOrientation ¶

GetDisplayOrientation :: proc "cdecl" (displayIndex: i32) -> DisplayOrientation ---

GetDisplayUsableBounds ¶

GetDisplayUsableBounds :: proc "cdecl" (displayIndex: i32, rect: ^Rect) -> i32 ---

GetError ¶

GetError :: proc "cdecl" () -> cstring ---

GetErrorMsg ¶

GetErrorMsg :: proc "cdecl" (errstr: [^]u8, maxlen: i32) -> cstring ---

GetErrorMsgString ¶

GetErrorMsgString :: proc "cdecl" (buf: []u8) -> string {…}

GetErrorString ¶

GetErrorString :: proc "cdecl" () -> string {…}

GetEventFilter ¶

GetEventFilter :: proc "cdecl" (filter: ^EventFilter, userdata: ^rawptr) -> bool ---

GetEventState ¶

GetEventState :: proc "cdecl" (type: EventType) -> b8 {…}

GetGlobalMouseState ¶

GetGlobalMouseState :: proc "cdecl" (x, y: ^i32) -> u32 ---

GetGrabbedWindow ¶

GetGrabbedWindow :: proc "cdecl" () -> ^Window ---

GetHint ¶

GetHint :: proc "cdecl" (fileName: cstring) -> cstring ---

GetHintBoolean ¶

GetHintBoolean :: proc "cdecl" (name: cstring, default_value: bool) -> bool ---

GetKeyFromName ¶

GetKeyFromName :: proc "cdecl" (name: cstring) -> Keycode ---

GetKeyFromScancode ¶

GetKeyFromScancode :: proc "cdecl" (scancode: Scancode) -> Keycode ---

GetKeyName ¶

GetKeyName :: proc "cdecl" (key: Keycode) -> cstring ---

GetKeyboardFocus ¶

GetKeyboardFocus :: proc "cdecl" () -> ^Window ---

GetKeyboardState ¶

GetKeyboardState :: proc "cdecl" (numkeys: ^i32) -> [^]u8 ---

GetKeyboardStateAsSlice ¶

GetKeyboardStateAsSlice :: proc "cdecl" () -> []u8 {…}

GetMemoryFunctions ¶

GetMemoryFunctions :: proc "cdecl" (malloc_func: ^malloc_func, calloc_func: ^calloc_func, realloc_func: ^realloc_func, free_func: ^free_func) ---

GetModState ¶

GetModState :: proc "cdecl" () -> Keymod {…}

GetMouseFocus ¶

GetMouseFocus :: proc "cdecl" () -> ^Window ---

GetMouseState ¶

GetMouseState :: proc "cdecl" (x, y: ^i32) -> u32 ---

GetNumAllocations ¶

GetNumAllocations :: proc "cdecl" () -> i32 ---

GetNumAudioDevices ¶

GetNumAudioDevices :: proc "cdecl" (iscapture: bool) -> i32 ---

GetNumAudioDrivers ¶

GetNumAudioDrivers :: proc "cdecl" () -> i32 ---

GetNumDisplayModes ¶

GetNumDisplayModes :: proc "cdecl" (c: i32) -> i32 ---

GetNumRenderDrivers ¶

GetNumRenderDrivers :: proc "cdecl" () -> i32 ---

GetNumTouchDevices ¶

GetNumTouchDevices :: proc "cdecl" () -> i32 ---

GetNumTouchFingers ¶

GetNumTouchFingers :: proc "cdecl" (touchID: TouchID) -> i32 ---

GetNumVideoDisplays ¶

GetNumVideoDisplays :: proc "cdecl" () -> i32 ---

GetNumVideoDrivers ¶

GetNumVideoDrivers :: proc "cdecl" () -> i32 ---

GetPerformanceCounter ¶

GetPerformanceCounter :: proc "cdecl" () -> u64 ---

GetPerformanceFrequency ¶

GetPerformanceFrequency :: proc "cdecl" () -> u64 ---

GetPixelFormatName ¶

GetPixelFormatName :: proc "cdecl" (logLevel: u32) -> cstring ---

GetPlatform ¶

GetPlatform :: proc "cdecl" () -> cstring ---

GetPowerInfo ¶

GetPowerInfo :: proc "cdecl" (secs: ^i32, pct: ^i32) -> PowerState ---

GetPrefPath ¶

GetPrefPath :: proc "cdecl" (org, app: cstring) -> cstring ---

GetPreferredLocales ¶

GetPreferredLocales :: proc "cdecl" () -> [^]Locale ---

GetQueuedAudioSize ¶

GetQueuedAudioSize :: proc "cdecl" (dev: AudioDeviceID) -> u32 ---

GetRGB ¶

GetRGB :: proc "cdecl" (pixel: u32, format: ^PixelFormat, r, g, b: ^u8) ---

GetRGBA ¶

GetRGBA :: proc "cdecl" (
	pixel:   u32, 
	format:  ^PixelFormat, 
	r, g, b, 
) ---

GetRelativeMouseMode ¶

GetRelativeMouseMode :: proc "cdecl" () -> bool ---

GetRelativeMouseState ¶

GetRelativeMouseState :: proc "cdecl" (x, y: ^i32) -> u32 ---

GetRenderDrawBlendMode ¶

GetRenderDrawBlendMode :: proc "cdecl" (renderer: ^Renderer, blendMode: ^BlendMode) -> i32 ---

GetRenderDrawColor ¶

GetRenderDrawColor :: proc "cdecl" (renderer: ^Renderer, r, g, b, a: ^u8) -> i32 ---

GetRenderDriverInfo ¶

GetRenderDriverInfo :: proc "cdecl" (index: i32, info: ^RendererInfo) -> i32 ---

GetRenderTarget ¶

GetRenderTarget :: proc "cdecl" (renderer: ^Renderer) -> ^Texture ---

GetRenderer ¶

GetRenderer :: proc "cdecl" (window: ^Window) -> ^Renderer ---

GetRendererInfo ¶

GetRendererInfo :: proc "cdecl" (renderer: ^Renderer, info: ^RendererInfo) -> i32 ---

GetRendererOutputSize ¶

GetRendererOutputSize :: proc "cdecl" (renderer: ^Renderer, w, h: ^i32) -> i32 ---

GetRevision ¶

GetRevision :: proc "cdecl" () -> cstring ---

GetScancodeFromKey ¶

GetScancodeFromKey :: proc "cdecl" (key: Keycode) -> Scancode ---

GetScancodeFromName ¶

GetScancodeFromName :: proc "cdecl" (name: cstring) -> Scancode ---

GetScancodeName ¶

GetScancodeName :: proc "cdecl" (scancode: Scancode) -> cstring ---

GetShapedWindowMode ¶

GetShapedWindowMode :: proc "cdecl" (window: ^Window, shape_mode: ^WindowShapeMode) -> i32 ---

GetSurfaceAlphaMod ¶

GetSurfaceAlphaMod :: proc "cdecl" (surface: ^Surface, alpha: ^u8) -> i32 ---

GetSurfaceBlendMode ¶

GetSurfaceBlendMode :: proc "cdecl" (surface: ^Surface, blendMode: ^BlendMode) -> i32 ---

GetSurfaceColorMod ¶

GetSurfaceColorMod :: proc "cdecl" (surface: ^Surface, r, g, b: ^u8) -> i32 ---

GetSystemRAM ¶

GetSystemRAM :: proc "cdecl" () -> i32 ---

GetTextureAlphaMod ¶

GetTextureAlphaMod :: proc "cdecl" (texture: ^Texture, alpha: ^u8) -> i32 ---

GetTextureBlendMode ¶

GetTextureBlendMode :: proc "cdecl" (texture: ^Texture, blendMode: ^BlendMode) -> i32 ---

GetTextureColorMod ¶

GetTextureColorMod :: proc "cdecl" (texture: ^Texture, r, g, b: ^u8) -> i32 ---

GetTextureScaleMode ¶

GetTextureScaleMode :: proc "cdecl" (texture: ^Texture, scaleMode: ^ScaleMode) -> i32 ---

GetThreadID ¶

GetThreadID :: proc "cdecl" (thread: ^Thread) -> threadID ---

GetThreadName ¶

GetThreadName :: proc "cdecl" (thread: ^Thread) -> cstring ---

GetTicks ¶

GetTicks :: proc "cdecl" () -> u32 ---

GetTouchDevice ¶

GetTouchDevice :: proc "cdecl" (index: i32) -> TouchID ---

GetTouchDeviceType ¶

GetTouchDeviceType :: proc "cdecl" (touchID: TouchID) -> TouchDeviceType ---

GetTouchFinger ¶

GetTouchFinger :: proc "cdecl" (touchID: TouchID, index: i32) -> ^Finger ---

GetVersion ¶

GetVersion :: proc "cdecl" (ver: ^version) ---

GetVideoDriver ¶

GetVideoDriver :: proc "cdecl" (joy: i32) -> cstring ---

GetWindowBordersSize ¶

GetWindowBordersSize :: proc "cdecl" (window: ^Window, top, left, bottom, right: ^i32) -> i32 ---

GetWindowBrightness ¶

GetWindowBrightness :: proc "cdecl" (window: ^Window) -> f32 ---

GetWindowData ¶

GetWindowData :: proc "cdecl" (window: ^Window, name: cstring) -> rawptr ---

GetWindowDisplayIndex ¶

GetWindowDisplayIndex :: proc "cdecl" (window: ^Window) -> i32 ---

GetWindowDisplayMode ¶

GetWindowDisplayMode :: proc "cdecl" (window: ^Window, mode: ^DisplayMode) -> i32 ---

GetWindowFlags ¶

GetWindowFlags :: proc "cdecl" (window: ^Window) -> u32 ---

GetWindowFromID ¶

GetWindowFromID :: proc "cdecl" (id: u32) -> ^Window ---

GetWindowGammaRamp ¶

GetWindowGammaRamp :: proc "cdecl" (window: ^Window, red, green, blue: ^u16) -> i32 ---

GetWindowGrab ¶

GetWindowGrab :: proc "cdecl" (window: ^Window) -> bool ---

GetWindowID ¶

GetWindowID :: proc "cdecl" (window: ^Window) -> u32 ---

GetWindowKeyboardGrab ¶

GetWindowKeyboardGrab :: proc "cdecl" (window: ^Window) -> bool ---

GetWindowMaximumSize ¶

GetWindowMaximumSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

GetWindowMinimumSize ¶

GetWindowMinimumSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

GetWindowMouseGrab ¶

GetWindowMouseGrab :: proc "cdecl" (window: ^Window) -> bool ---

GetWindowOpacity ¶

GetWindowOpacity :: proc "cdecl" (window: ^Window, out_opacity: ^f32) -> i32 ---

GetWindowPixelFormat ¶

GetWindowPixelFormat :: proc "cdecl" (window: ^Window) -> u32 ---

GetWindowPosition ¶

GetWindowPosition :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

GetWindowSize ¶

GetWindowSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

GetWindowSurface ¶

GetWindowSurface :: proc "cdecl" (window: ^Window) -> ^Surface ---

GetWindowTitle ¶

GetWindowTitle :: proc "cdecl" (window: ^Window) -> cstring ---

GetWindowWMInfo ¶

GetWindowWMInfo :: proc "cdecl" (window: ^Window, info: ^SysWMinfo) -> bool ---

GetYUVConversionMode ¶

GetYUVConversionMode :: proc "cdecl" () -> YUV_CONVERSION_MODE ---

GetYUVConversionModeForResolution ¶

GetYUVConversionModeForResolution :: proc "cdecl" (width, height: i32) -> YUV_CONVERSION_MODE ---

HapticClose ¶

HapticClose :: proc "cdecl" (haptic: ^Haptic) ---

HapticDestroyEffect ¶

HapticDestroyEffect :: proc "cdecl" (haptic: ^Haptic, effect: i32) ---

HapticEffectSupported ¶

HapticEffectSupported :: proc "cdecl" (haptic: ^Haptic, effect: ^HapticEffect) -> i32 ---

HapticGetEffectStatus ¶

HapticGetEffectStatus :: proc "cdecl" (haptic: ^Haptic, effect: i32) -> i32 ---

HapticIndex ¶

HapticIndex :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticName ¶

HapticName :: proc "cdecl" (joy: i32) -> cstring ---

HapticNewEffect ¶

HapticNewEffect :: proc "cdecl" (haptic: ^Haptic, effect: ^HapticEffect) -> i32 ---

HapticNumAxes ¶

HapticNumAxes :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticNumEffects ¶

HapticNumEffects :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticNumEffectsPlaying ¶

HapticNumEffectsPlaying :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticOpen ¶

HapticOpen :: proc "cdecl" (device_index: i32) -> ^Haptic ---

HapticOpenFromJoystick ¶

HapticOpenFromJoystick :: proc "cdecl" (joystick: ^Joystick) -> ^Haptic ---

HapticOpenFromMouse ¶

HapticOpenFromMouse :: proc "cdecl" () -> ^Haptic ---

HapticOpened ¶

HapticOpened :: proc "cdecl" (c: i32) -> i32 ---

HapticPause ¶

HapticPause :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticQuery ¶

HapticQuery :: proc "cdecl" (haptic: ^Haptic) -> u32 ---

HapticRumbleInit ¶

HapticRumbleInit :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticRumblePlay ¶

HapticRumblePlay :: proc "cdecl" (haptic: ^Haptic, strength: f32, length: u32) -> i32 ---

HapticRumbleStop ¶

HapticRumbleStop :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticRumbleSupported ¶

HapticRumbleSupported :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticRunEffect ¶

HapticRunEffect :: proc "cdecl" (haptic: ^Haptic, effect: i32, iterations: u32) -> i32 ---

HapticSetAutocenter ¶

HapticSetAutocenter :: proc "cdecl" (haptic: ^Haptic, effect: i32) -> i32 ---

HapticSetGain ¶

HapticSetGain :: proc "cdecl" (haptic: ^Haptic, effect: i32) -> i32 ---

HapticStopAll ¶

HapticStopAll :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticStopEffect ¶

HapticStopEffect :: proc "cdecl" (haptic: ^Haptic, effect: i32) -> i32 ---

HapticUnpause ¶

HapticUnpause :: proc "cdecl" (haptic: ^Haptic) -> i32 ---

HapticUpdateEffect ¶

HapticUpdateEffect :: proc "cdecl" (haptic: ^Haptic, effect: i32, data: ^HapticEffect) -> i32 ---

Has3DNow ¶

Has3DNow :: proc "cdecl" () -> bool ---

HasARMSIMD ¶

HasARMSIMD :: proc "cdecl" () -> bool ---

HasAVX ¶

HasAVX :: proc "cdecl" () -> bool ---

HasAVX2 ¶

HasAVX2 :: proc "cdecl" () -> bool ---

HasAVX512F ¶

HasAVX512F :: proc "cdecl" () -> bool ---

HasAltiVec ¶

HasAltiVec :: proc "cdecl" () -> bool ---

HasClipboardText ¶

HasClipboardText :: proc "cdecl" () -> bool ---

HasColorKey ¶

HasColorKey :: proc "cdecl" (surface: ^Surface) -> bool ---

HasEvent ¶

HasEvent :: proc "cdecl" (type: EventType) -> bool ---

HasEvents ¶

HasEvents :: proc "cdecl" (minType, maxType: EventType) -> bool ---

HasExactlyOneBitSet32 ¶

HasExactlyOneBitSet32 :: proc "cdecl" (x: u32) -> bool {…}

HasIntersection ¶

HasIntersection :: proc "cdecl" (A, B: ^Rect) -> bool ---

HasMMX ¶

HasMMX :: proc "cdecl" () -> bool ---

HasNEON ¶

HasNEON :: proc "cdecl" () -> bool ---

HasRDTSC ¶

HasRDTSC :: proc "cdecl" () -> bool ---

HasSSE ¶

HasSSE :: proc "cdecl" () -> bool ---

HasSSE2 ¶

HasSSE2 :: proc "cdecl" () -> bool ---

HasSSE3 ¶

HasSSE3 :: proc "cdecl" () -> bool ---

HasSSE41 ¶

HasSSE41 :: proc "cdecl" () -> bool ---

HasSSE42 ¶

HasSSE42 :: proc "cdecl" () -> bool ---

HasScreenKeyboardSupport ¶

HasScreenKeyboardSupport :: proc "cdecl" () -> bool ---

HasSurfaceRLE ¶

HasSurfaceRLE :: proc "cdecl" (surface: ^Surface) -> bool ---

HideWindow ¶

HideWindow :: proc "cdecl" (window: ^Window) ---

Init ¶

Init :: proc "cdecl" (flags: bit_set[InitFlag; u32]) -> i32 ---

InitSubSystem ¶

InitSubSystem :: proc "cdecl" (flags: bit_set[InitFlag; u32]) -> i32 ---

IntersectRect ¶

IntersectRect :: proc "cdecl" (A, B: ^Rect, result: ^Rect) -> bool ---

IntersectRectAndLine ¶

IntersectRectAndLine :: proc "cdecl" (rect: ^Rect, X1, Y1, X2, Y2: ^i32) -> bool ---

InvalidParamError ¶

InvalidParamError :: proc "cdecl" (filename: cstring) -> i32 {…}

IsAndroidTV ¶

IsAndroidTV :: proc "cdecl" () -> bool ---

IsChromebook ¶

IsChromebook :: proc "cdecl" () -> bool ---

IsDeXMode ¶

IsDeXMode :: proc "cdecl" () -> bool ---

IsGameController ¶

IsGameController :: proc "cdecl" (joystick_index: i32) -> bool ---

IsScreenKeyboardShown ¶

IsScreenKeyboardShown :: proc "cdecl" (window: ^Window) -> bool ---

IsScreenSaverEnabled ¶

IsScreenSaverEnabled :: proc "cdecl" () -> bool ---

IsShapedWindow ¶

IsShapedWindow :: proc "cdecl" (window: ^Window) -> bool ---

IsTablet ¶

IsTablet :: proc "cdecl" () -> bool ---

IsTextInputActive ¶

IsTextInputActive :: proc "cdecl" () -> bool ---

JoystickAttachVirtual ¶

JoystickAttachVirtual :: proc "cdecl" (type: JoystickType, naxes, nbuttons, nhats: i32) -> i32 ---

JoystickClose ¶

JoystickClose :: proc "cdecl" (joystick: ^Joystick) ---

JoystickCurrentPowerLevel ¶

JoystickCurrentPowerLevel :: proc "cdecl" (joystick: ^Joystick) -> JoystickPowerLevel ---

JoystickDetachVirtual ¶

JoystickDetachVirtual :: proc "cdecl" (c: i32) -> i32 ---

JoystickEventState ¶

JoystickEventState :: proc "cdecl" (c: i32) -> i32 ---

JoystickFromInstanceID ¶

JoystickFromInstanceID :: proc "cdecl" (instance_id: JoystickID) -> ^Joystick ---

JoystickFromPlayerIndex ¶

JoystickFromPlayerIndex :: proc "cdecl" (device_index: i32) -> ^Joystick ---

JoystickGetAttached ¶

JoystickGetAttached :: proc "cdecl" (joystick: ^Joystick) -> bool ---

JoystickGetAxis ¶

JoystickGetAxis :: proc "cdecl" (joystick: ^Joystick, axis: i32) -> i64 ---

JoystickGetAxisInitialState ¶

JoystickGetAxisInitialState :: proc "cdecl" (joystick: ^Joystick, axis: i32, state: ^i16) -> bool ---

JoystickGetBall ¶

JoystickGetBall :: proc "cdecl" (joystick: ^Joystick, ball: i32, dx, dy: ^i32) -> i32 ---

JoystickGetButton ¶

JoystickGetButton :: proc "cdecl" (joystick: ^Joystick, hat: i32) -> u8 ---

JoystickGetDeviceGUID ¶

JoystickGetDeviceGUID :: proc "cdecl" (device_index: i32) -> JoystickGUID ---

JoystickGetDeviceInstanceID ¶

JoystickGetDeviceInstanceID :: proc "cdecl" (device_index: i32) -> JoystickID ---

JoystickGetDevicePlayerIndex ¶

JoystickGetDevicePlayerIndex :: proc "cdecl" (c: i32) -> i32 ---

JoystickGetDeviceProduct ¶

JoystickGetDeviceProduct :: proc "cdecl" (device_index: i32) -> u16 ---

JoystickGetDeviceProductVersion ¶

JoystickGetDeviceProductVersion :: proc "cdecl" (device_index: i32) -> u16 ---

JoystickGetDeviceType ¶

JoystickGetDeviceType :: proc "cdecl" (device_index: i32) -> JoystickType ---

JoystickGetDeviceVendor ¶

JoystickGetDeviceVendor :: proc "cdecl" (device_index: i32) -> u16 ---

JoystickGetGUID ¶

JoystickGetGUID :: proc "cdecl" (joystick: ^Joystick) -> JoystickGUID ---

JoystickGetGUIDFromString ¶

JoystickGetGUIDFromString :: proc "cdecl" (pchGUID: cstring) -> JoystickGUID ---

JoystickGetGUIDString ¶

JoystickGetGUIDString :: proc "cdecl" (guid: JoystickGUID, pszGUID: [^]u8, cbGUID: i32) ---

JoystickGetHat ¶

JoystickGetHat :: proc "cdecl" (joystick: ^Joystick, hat: i32) -> u8 ---

JoystickGetPlayerIndex ¶

JoystickGetPlayerIndex :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickGetProduct ¶

JoystickGetProduct :: proc "cdecl" (joystick: ^Joystick) -> u16 ---

JoystickGetProductVersion ¶

JoystickGetProductVersion :: proc "cdecl" (joystick: ^Joystick) -> u16 ---

JoystickGetSerial ¶

JoystickGetSerial :: proc "cdecl" (joystick: ^Joystick) -> cstring ---

JoystickGetType ¶

JoystickGetType :: proc "cdecl" (joystick: ^Joystick) -> JoystickType ---

JoystickGetVendor ¶

JoystickGetVendor :: proc "cdecl" (joystick: ^Joystick) -> u16 ---

JoystickHasLED ¶

JoystickHasLED :: proc "cdecl" (joystick: ^Joystick) -> bool ---

JoystickInstanceID ¶

JoystickInstanceID :: proc "cdecl" (joystick: ^Joystick) -> JoystickID ---

JoystickIsHaptic ¶

JoystickIsHaptic :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickIsVirtual ¶

JoystickIsVirtual :: proc "cdecl" (joystick_index: i32) -> bool ---

JoystickName ¶

JoystickName :: proc "cdecl" (joystick: ^Joystick) -> cstring ---

JoystickNameForIndex ¶

JoystickNameForIndex :: proc "cdecl" (joy: i32) -> cstring ---

JoystickNumAxes ¶

JoystickNumAxes :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickNumBalls ¶

JoystickNumBalls :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickNumButtons ¶

JoystickNumButtons :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickNumHats ¶

JoystickNumHats :: proc "cdecl" (joystick: ^Joystick) -> i32 ---

JoystickOpen ¶

JoystickOpen :: proc "cdecl" (device_index: i32) -> ^Joystick ---

JoystickRumble ¶

JoystickRumble :: proc "cdecl" (joystick: ^Joystick, low_frequency_rumble, high_frequency_rumble: u16, duration_ms: u32) -> i32 ---

JoystickRumbleTriggers ¶

JoystickRumbleTriggers :: proc "cdecl" (joystick: ^Joystick, low_frequency_rumble, high_frequency_rumble: u16, duration_ms: u32) -> i32 ---

JoystickSendEffect ¶

JoystickSendEffect :: proc "cdecl" (joystick: ^Joystick, data: rawptr, size: i32) -> i32 ---

JoystickSetLED ¶

JoystickSetLED :: proc "cdecl" (joystick: ^Joystick, red, green, blue: u8) -> i32 ---

JoystickSetPlayerIndex ¶

JoystickSetPlayerIndex :: proc "cdecl" (joystick: ^Joystick, player_index: i32) ---

JoystickSetVirtualAxis ¶

JoystickSetVirtualAxis :: proc "cdecl" (joystick: ^Joystick, axis: i32, value: i16) -> i32 ---

JoystickSetVirtualButton ¶

JoystickSetVirtualButton :: proc "cdecl" (joystick: ^Joystick, button: i32, value: u8) -> i32 ---

JoystickSetVirtualHat ¶

JoystickSetVirtualHat :: proc "cdecl" (joystick: ^Joystick, button: i32, value: u8) -> i32 ---

JoystickUpdate ¶

JoystickUpdate :: proc "cdecl" () ---

LinuxSetThreadPriority ¶

LinuxSetThreadPriority :: proc "cdecl" (threadID: i64, priority: i32) -> i32 ---

LoadBMP ¶

LoadBMP :: proc "cdecl" (file: cstring) -> ^Surface {…}

LoadBMP_RW ¶

LoadBMP_RW :: proc "cdecl" (src: ^RWops, freesrc: bool) -> ^Surface ---

LoadDollarTemplates ¶

LoadDollarTemplates :: proc "cdecl" (touchId: ^TouchID, src: ^RWops) -> i32 ---

LoadFile ¶

LoadFile :: proc "cdecl" (ptr: rawptr, size: uint) -> rawptr ---

LoadFile_RW ¶

LoadFile_RW :: proc "cdecl" (src: ^RWops, datasize: uint, freesrc: bool) -> rawptr ---

LoadFunction ¶

LoadFunction :: proc "cdecl" (handle: rawptr, name: cstring) -> rawptr ---

LoadObject ¶

LoadObject :: proc "cdecl" (name: cstring) -> rawptr ---

LoadWAV ¶

LoadWAV :: proc "cdecl" (file: cstring, spec: ^AudioSpec, audio_buf: ^[^]u8, audio_len: ^u32) -> ^AudioSpec {…}
 

* * Loads a WAV from a file. * Compatibility convenience function.

LoadWAV_RW ¶

LoadWAV_RW :: proc "cdecl" (src: ^RWops, freesrc: bool, spec: ^AudioSpec, audio_buf: ^[^]u8, audio_len: ^u32) -> ^AudioSpec ---

LockAudio ¶

LockAudio :: proc "cdecl" () ---

LockAudioDevice ¶

LockAudioDevice :: proc "cdecl" (dev: AudioDeviceID) ---

LockJoysticks ¶

LockJoysticks :: proc "cdecl" () ---

LockMutex ¶

LockMutex :: proc "cdecl" (m: ^mutex) -> i32 ---

LockSensors ¶

LockSensors :: proc "cdecl" () ---

LockSurface ¶

LockSurface :: proc "cdecl" (surface: ^Surface) -> i32 ---

LockTexture ¶

LockTexture :: proc "cdecl" (texture: ^Texture, rect: ^Rect, pixels: ^rawptr, pitch: ^i32) -> i32 ---

LockTextureToSurface ¶

LockTextureToSurface :: proc "cdecl" (texture: ^Texture, rect: ^Rect, surface: ^^Surface) -> i32 ---

Log ¶

Log :: proc "cdecl" (fmt: cstring, args: ..any) ---

LogCritical ¶

LogCritical :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LogDebug ¶

LogDebug :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LogError ¶

LogError :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LogGetOutputFunction ¶

LogGetOutputFunction :: proc "cdecl" (callback: ^LogOutputFunction, userdata: ^rawptr) ---
 

LogMessageV :: proc(category: c.int, priority: LogPriority, fmt: cstring, ap: va_list) ---

LogGetPriority ¶

LogGetPriority :: proc "cdecl" (category: i32) -> LogPriority ---

LogInfo ¶

LogInfo :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LogMessage ¶

LogMessage :: proc "cdecl" (category: i32, priority: LogPriority, fmt: cstring, args: ..any) ---

LogResetPriorities ¶

LogResetPriorities :: proc "cdecl" () ---

LogSetAllPriority ¶

LogSetAllPriority :: proc "cdecl" (priority: LogPriority) ---

LogSetOutputFunction ¶

LogSetOutputFunction :: proc "cdecl" (callback: LogOutputFunction, userdata: rawptr) ---

LogSetPriority ¶

LogSetPriority :: proc "cdecl" (category: i32, priority: LogPriority) ---

LogVerbose ¶

LogVerbose :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LogWarn ¶

LogWarn :: proc "cdecl" (category: i32, fmt: cstring, args: ..any) ---

LowerBlit ¶

LowerBlit :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

LowerBlitScaled ¶

LowerBlitScaled :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

MUSTLOCK ¶

MUSTLOCK :: proc "cdecl" (surface: ^Surface) -> bool {…}

MapRGB ¶

MapRGB :: proc "cdecl" (format: ^PixelFormat, r, g, b: u8) -> u32 ---

MapRGBA ¶

MapRGBA :: proc "cdecl" (format: ^PixelFormat, r, g, b, a: u8) -> u32 ---

MasksToPixelFormatEnum ¶

MasksToPixelFormatEnum :: proc "cdecl" (bpp: i32, Rmask, Gmask, Bmask, Amask: u32) -> u32 ---

MaximizeWindow ¶

MaximizeWindow :: proc "cdecl" (window: ^Window) ---

MemoryBarrierAcquireFunction ¶

MemoryBarrierAcquireFunction :: proc "cdecl" () ---

MemoryBarrierReleaseFunction ¶

MemoryBarrierReleaseFunction :: proc "cdecl" () ---

Metal_CreateView ¶

Metal_CreateView :: proc "cdecl" (window: ^Window) -> MetalView ---

Metal_DestroyView ¶

Metal_DestroyView :: proc "cdecl" (view: MetalView) ---

Metal_GetDrawableSize ¶

Metal_GetDrawableSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

Metal_GetLayer ¶

Metal_GetLayer :: proc "cdecl" (view: MetalView) -> rawptr ---

MinimizeWindow ¶

MinimizeWindow :: proc "cdecl" (window: ^Window) ---

MixAudio ¶

MixAudio :: proc "cdecl" (dst: [^]u8, src: [^]u8, len: u32, volume: i32) ---

MixAudioFormat ¶

MixAudioFormat :: proc "cdecl" (dst: [^]u8, src: [^]u8, format: AudioFormat, len: u32, volume: i32) ---

MostSignificantBitIndex32 ¶

MostSignificantBitIndex32 :: proc "cdecl" (v: u32) -> i32 {…}
 

Bits

MouseIsHaptic ¶

MouseIsHaptic :: proc "cdecl" () -> i32 ---

NewAudioStream ¶

NewAudioStream :: proc "cdecl" (
	src_format:   AudioFormat, 
	src_channels: u8, 
	src_rate:     i32, 
	dst_format:   AudioFormat, 
	dst_channels: u8, 
) -> ^AudioStream ---

NumHaptics ¶

NumHaptics :: proc "cdecl" () -> i32 ---

NumJoysticks ¶

NumJoysticks :: proc "cdecl" () -> i32 ---

NumSensors ¶

NumSensors :: proc "cdecl" () -> i32 ---

OnApplicationDidBecomeActive ¶

OnApplicationDidBecomeActive :: proc "cdecl" () ---

OnApplicationDidChangeStatusBarOrientation ¶

OnApplicationDidChangeStatusBarOrientation :: proc "cdecl" () ---
 

iPhoneOS

OnApplicationDidEnterBackground ¶

OnApplicationDidEnterBackground :: proc "cdecl" () ---

OnApplicationDidReceiveMemoryWarning ¶

OnApplicationDidReceiveMemoryWarning :: proc "cdecl" () ---

OnApplicationWillEnterForeground ¶

OnApplicationWillEnterForeground :: proc "cdecl" () ---

OnApplicationWillResignActive ¶

OnApplicationWillResignActive :: proc "cdecl" () ---

OnApplicationWillTerminate ¶

OnApplicationWillTerminate :: proc "cdecl" () ---
 

Functions used by iOS application delegates to notify SDL about state changes

OpenAudio ¶

OpenAudio :: proc "cdecl" (desired, obtained: ^AudioSpec) -> i32 ---

OpenAudioDevice ¶

OpenAudioDevice :: proc "cdecl" (device: cstring, iscapture: bool, desired: ^AudioSpec, obtained: ^AudioSpec, allowed_changes: bool) -> AudioDeviceID ---

OpenURL ¶

OpenURL :: proc "cdecl" (filename: cstring) -> i32 ---

OutOfMemory ¶

OutOfMemory :: proc "cdecl" () -> i32 {…}
 

* * \name Internal error functions * * \internal * Private error reporting function - used internally.

PauseAudio ¶

PauseAudio :: proc "cdecl" (pause_on: bool) ---

PauseAudioDevice ¶

PauseAudioDevice :: proc "cdecl" (dev: AudioDeviceID, pause_on: bool) ---

PeepEvents ¶

PeepEvents :: proc "cdecl" (events: [^]Event, numevents: i32, action: eventaction, minType, maxType: EventType) -> i32 ---

PixelFormatEnumToMasks ¶

PixelFormatEnumToMasks :: proc "cdecl" (
	format:              u32, 
	bpp:                 ^i32, 
	Rmask, Gmask, Bmask, 
) -> bool ---

PointInRect ¶

PointInRect :: proc "odin" (p: ^Point, r: ^Rect) -> bool {…}

PollEvent ¶

PollEvent :: proc "cdecl" (event: ^Event) -> bool ---

PumpEvents ¶

PumpEvents :: proc "cdecl" () ---

PushEvent ¶

PushEvent :: proc "cdecl" (event: ^Event) -> bool ---

QueryTexture ¶

QueryTexture :: proc "cdecl" (texture: ^Texture, format: ^u32, access, w, h: ^i32) -> i32 ---

QueueAudio ¶

QueueAudio :: proc "cdecl" (dev: AudioDeviceID, data: rawptr, len: u32) -> i32 ---

Quit ¶

Quit :: proc "cdecl" () ---

QuitRequested ¶

QuitRequested :: proc "cdecl" () -> bool {…}

QuitSubSystem ¶

QuitSubSystem :: proc "cdecl" (flags: bit_set[InitFlag; u32]) ---

RWFromConstMem ¶

RWFromConstMem :: proc "cdecl" (mem: rawptr, size: i32) -> ^RWops ---

RWFromFP ¶

RWFromFP :: proc "cdecl" (fp: rawptr, autoclose: bool) -> ^RWops ---

RWFromFile ¶

RWFromFile :: proc "cdecl" (file: cstring, mode: cstring) -> ^RWops ---

RWFromMem ¶

RWFromMem :: proc "cdecl" (mem: rawptr, size: i32) -> ^RWops ---

RWclose ¶

RWclose :: proc "cdecl" (dst: ^RWops) -> i32 ---

RWread ¶

RWread :: proc "cdecl" (ctx: ^RWops, ptr: rawptr, size: uint, maxnum: uint) -> uint ---

RWseek ¶

RWseek :: proc "cdecl" (ctx: ^RWops, offset: i64, whence: i32) -> i64 ---

RWsize ¶

RWsize :: proc "cdecl" (ctx: ^RWops) -> i64 ---

RWtell ¶

RWtell :: proc "cdecl" (ctx: ^RWops) -> i64 ---

RWwrite ¶

RWwrite :: proc "cdecl" (ctx: ^RWops, size: uint, num: uint) -> uint ---

RaiseWindow ¶

RaiseWindow :: proc "cdecl" (window: ^Window) ---

ReadBE16 ¶

ReadBE16 :: proc "cdecl" (src: ^RWops) -> u16 ---

ReadBE32 ¶

ReadBE32 :: proc "cdecl" (src: ^RWops) -> u32 ---

ReadBE64 ¶

ReadBE64 :: proc "cdecl" (src: ^RWops) -> u64 ---

ReadLE16 ¶

ReadLE16 :: proc "cdecl" (src: ^RWops) -> u16 ---

ReadLE32 ¶

ReadLE32 :: proc "cdecl" (src: ^RWops) -> u32 ---

ReadLE64 ¶

ReadLE64 :: proc "cdecl" (src: ^RWops) -> u64 ---

ReadU8 ¶

ReadU8 :: proc "cdecl" (src: ^RWops) -> u8 ---

RecordGesture ¶

RecordGesture :: proc "cdecl" (touchId: ^TouchID) -> i32 ---

RectEmpty ¶

RectEmpty :: proc "odin" (r: ^Rect) -> bool {…}

RectEquals ¶

RectEquals :: proc "odin" (a, b: ^Rect) -> bool {…}

RegisterEvents ¶

RegisterEvents :: proc "cdecl" (v: i32) -> u32 ---

RemoveTimer ¶

RemoveTimer :: proc "cdecl" (id: TimerID) -> bool ---

RenderClear ¶

RenderClear :: proc "cdecl" (renderer: ^Renderer) -> i32 ---

RenderCopy ¶

RenderCopy :: proc "cdecl" (renderer: ^Renderer, texture: ^Texture, srcrect: ^Rect, dstrect: ^Rect) -> i32 ---

RenderCopyEx ¶

RenderCopyEx :: proc "cdecl" (
	renderer: ^Renderer, 
	texture:  ^Texture, 
	srcrect:  ^Rect, 
	dstrect:  ^Rect, 
	angle:    f64, 
	center:   ^Point, 
) -> i32 ---

RenderCopyExF ¶

RenderCopyExF :: proc "cdecl" (
	renderer: ^Renderer, 
	texture:  ^Texture, 
	srcrect:  ^Rect, 
	dstrect:  ^FRect, 
	angle:    f64, 
	center:   ^FPoint, 
) -> i32 ---

RenderCopyF ¶

RenderCopyF :: proc "cdecl" (renderer: ^Renderer, texture: ^Texture, srcrect: ^Rect, dstrect: ^FRect) -> i32 ---

RenderDrawLine ¶

RenderDrawLine :: proc "cdecl" (renderer: ^Renderer, x1, y1, x2, y2: i32) -> i32 ---

RenderDrawLineF ¶

RenderDrawLineF :: proc "cdecl" (renderer: ^Renderer, x1, y1, x2, y2: f32) -> i32 ---

RenderDrawLines ¶

RenderDrawLines :: proc "cdecl" (renderer: ^Renderer, points: [^]Point, count: i32) -> i32 ---

RenderDrawLinesF ¶

RenderDrawLinesF :: proc "cdecl" (renderer: ^Renderer, points: [^]FPoint, count: i32) -> i32 ---

RenderDrawPoint ¶

RenderDrawPoint :: proc "cdecl" (renderer: ^Renderer, w, h: i32) -> i32 ---

RenderDrawPointF ¶

RenderDrawPointF :: proc "cdecl" (renderer: ^Renderer, scaleX, scaleY: f32) -> i32 ---

RenderDrawPoints ¶

RenderDrawPoints :: proc "cdecl" (renderer: ^Renderer, points: [^]Point, count: i32) -> i32 ---

RenderDrawPointsF ¶

RenderDrawPointsF :: proc "cdecl" (renderer: ^Renderer, points: [^]FPoint, count: i32) -> i32 ---

RenderDrawRect ¶

RenderDrawRect :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) -> i32 ---

RenderDrawRectF ¶

RenderDrawRectF :: proc "cdecl" (renderer: ^Renderer, rect: ^FRect) -> i32 ---

RenderDrawRects ¶

RenderDrawRects :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect, count: i32) -> i32 ---

RenderDrawRectsF ¶

RenderDrawRectsF :: proc "cdecl" (renderer: ^Renderer, rects: [^]FRect, count: i32) -> i32 ---

RenderFillRect ¶

RenderFillRect :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) -> i32 ---

RenderFillRectF ¶

RenderFillRectF :: proc "cdecl" (renderer: ^Renderer, rect: ^FRect) -> i32 ---

RenderFillRects ¶

RenderFillRects :: proc "cdecl" (renderer: ^Renderer, rects: [^]Rect, count: i32) -> i32 ---

RenderFillRectsF ¶

RenderFillRectsF :: proc "cdecl" (renderer: ^Renderer, rects: [^]FRect, count: i32) -> i32 ---

RenderFlush ¶

RenderFlush :: proc "cdecl" (renderer: ^Renderer) -> i32 ---

RenderGetClipRect ¶

RenderGetClipRect :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) ---

RenderGetD3D11Device ¶

RenderGetD3D11Device :: proc "cdecl" (renderer: ^Renderer) -> ^ID3D11Device ---

RenderGetD3D9Device ¶

RenderGetD3D9Device :: proc "cdecl" (renderer: ^Renderer) -> ^IDirect3DDevice9 ---

RenderGetIntegerScale ¶

RenderGetIntegerScale :: proc "cdecl" (renderer: ^Renderer) -> bool ---

RenderGetLogicalSize ¶

RenderGetLogicalSize :: proc "cdecl" (renderer: ^Renderer, w, h: ^i32) ---

RenderGetMetalCommandEncoder ¶

RenderGetMetalCommandEncoder :: proc "cdecl" (renderer: ^Renderer) -> rawptr ---

RenderGetMetalLayer ¶

RenderGetMetalLayer :: proc "cdecl" (renderer: ^Renderer) -> rawptr ---

RenderGetScale ¶

RenderGetScale :: proc "cdecl" (renderer: ^Renderer, scaleX, scaleY: ^f32) ---

RenderGetViewport ¶

RenderGetViewport :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) ---

RenderIsClipEnabled ¶

RenderIsClipEnabled :: proc "cdecl" (renderer: ^Renderer) -> bool ---

RenderPresent ¶

RenderPresent :: proc "cdecl" (renderer: ^Renderer) ---

RenderReadPixels ¶

RenderReadPixels :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect, format: u32, pixels: rawptr, pitch: i32) -> i32 ---

RenderSetClipRect ¶

RenderSetClipRect :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) -> i32 ---

RenderSetIntegerScale ¶

RenderSetIntegerScale :: proc "cdecl" (renderer: ^Renderer, enable: bool) -> i32 ---

RenderSetLogicalSize ¶

RenderSetLogicalSize :: proc "cdecl" (renderer: ^Renderer, w, h: i32) -> i32 ---

RenderSetScale ¶

RenderSetScale :: proc "cdecl" (renderer: ^Renderer, scaleX, scaleY: f32) -> i32 ---

RenderSetViewport ¶

RenderSetViewport :: proc "cdecl" (renderer: ^Renderer, rect: ^Rect) -> i32 ---

RenderTargetSupported ¶

RenderTargetSupported :: proc "cdecl" (renderer: ^PixelFormatEnum) -> bool ---

RestoreWindow ¶

RestoreWindow :: proc "cdecl" (window: ^Window) ---

SCANCODE_TO_KEYCODE ¶

SCANCODE_TO_KEYCODE :: proc "cdecl" (scancode: Scancode) -> Keycode {…}

SDL_SHAPEMODEALPHA ¶

SDL_SHAPEMODEALPHA :: proc "cdecl" (mode: WindowShapeModeEnum) -> bool {…}

SIMDAlloc ¶

SIMDAlloc :: proc "cdecl" (size: uint) -> rawptr ---

SIMDFree ¶

SIMDFree :: proc "cdecl" (_: rawptr) ---

SIMDGetAlignment ¶

SIMDGetAlignment :: proc "cdecl" () -> uint ---

SIMDRealloc ¶

SIMDRealloc :: proc "cdecl" (ptr: rawptr, size: uint) -> rawptr ---

SaveAllDollarTemplates ¶

SaveAllDollarTemplates :: proc "cdecl" (dst: ^RWops) -> i32 ---

SaveBMP ¶

SaveBMP :: proc "cdecl" (surface: ^Surface, file: cstring) -> i32 {…}

SaveBMP_RW ¶

SaveBMP_RW :: proc "cdecl" (surface: ^Surface, dst: ^RWops, freedst: bool) -> i32 ---

SaveDollarTemplate ¶

SaveDollarTemplate :: proc "cdecl" (gestureId: GestureID, dst: ^RWops) -> i32 ---

SemTryWait ¶

SemTryWait :: proc "cdecl" (s: ^semaphore) -> i32 ---

SemValue ¶

SemValue :: proc "cdecl" (s: ^semaphore) -> u32 ---

SemWait ¶

SemWait :: proc "cdecl" (s: ^semaphore) -> i32 ---

SemWaitTimeout ¶

SemWaitTimeout :: proc "cdecl" (s: ^semaphore, ms: u32) -> i32 ---

SensorClose ¶

SensorClose :: proc "cdecl" (sensor: ^Sensor) ---

SensorFromInstanceID ¶

SensorFromInstanceID :: proc "cdecl" (instance_id: SensorID) -> ^Sensor ---

SensorGetData ¶

SensorGetData :: proc "cdecl" (sensor: ^Sensor, data: [^]f32, num_values: i32) -> i32 ---

SensorGetDeviceInstanceID ¶

SensorGetDeviceInstanceID :: proc "cdecl" (device_index: i32) -> SensorID ---

SensorGetDeviceName ¶

SensorGetDeviceName :: proc "cdecl" (joy: i32) -> cstring ---

SensorGetDeviceNonPortableType ¶

SensorGetDeviceNonPortableType :: proc "cdecl" (c: i32) -> i32 ---

SensorGetDeviceType ¶

SensorGetDeviceType :: proc "cdecl" (device_index: i32) -> SensorType ---

SensorGetInstanceID ¶

SensorGetInstanceID :: proc "cdecl" (sensor: ^Sensor) -> SensorID ---

SensorGetName ¶

SensorGetName :: proc "cdecl" (sensor: ^Sensor) -> cstring ---

SensorGetNonPortableType ¶

SensorGetNonPortableType :: proc "cdecl" (sensor: ^Sensor) -> i32 ---

SensorGetType ¶

SensorGetType :: proc "cdecl" (sensor: ^Sensor) -> SensorType ---

SensorOpen ¶

SensorOpen :: proc "cdecl" (device_index: i32) -> ^Sensor ---

SensorUpdate ¶

SensorUpdate :: proc "cdecl" () ---

SetClipRect ¶

SetClipRect :: proc "cdecl" (surface: ^Surface, rect: ^Rect) -> bool ---

SetClipboardText ¶

SetClipboardText :: proc "cdecl" (filename: cstring) -> i32 ---

SetColorKey ¶

SetColorKey :: proc "cdecl" (surface: ^Surface, flag: i32, key: u32) -> i32 ---

SetCursor ¶

SetCursor :: proc "cdecl" (cursor: ^Cursor) ---

SetError ¶

SetError :: proc "cdecl" (format: cstring, args: ..any) -> i32 ---

SetEventFilter ¶

SetEventFilter :: proc "cdecl" (filter: EventFilter, userdata: rawptr) ---

SetHint ¶

SetHint :: proc "cdecl" (name, value: cstring) -> bool ---

SetHintWithPriority ¶

SetHintWithPriority :: proc "cdecl" (name, value: cstring, priority: HintPriority) -> bool ---

SetMemoryFunctions ¶

SetMemoryFunctions :: proc "cdecl" (malloc_func: malloc_func, calloc_func: calloc_func, realloc_func: realloc_func, free_func: free_func) -> i32 ---

SetModState ¶

SetModState :: proc "cdecl" (modstate: Keymod) {…}

SetPaletteColors ¶

SetPaletteColors :: proc "cdecl" (palette: ^Palette, colors: [^]Color, firstcolor, ncolors: i32) -> i32 ---

SetPixelFormatPalette ¶

SetPixelFormatPalette :: proc "cdecl" (format: ^PixelFormat, palette: ^Palette) -> i32 ---

SetRelativeMouseMode ¶

SetRelativeMouseMode :: proc "cdecl" (iscapture: bool) -> i32 ---

SetRenderDrawBlendMode ¶

SetRenderDrawBlendMode :: proc "cdecl" (renderer: ^Renderer, blendMode: BlendMode) -> i32 ---

SetRenderDrawColor ¶

SetRenderDrawColor :: proc "cdecl" (renderer: ^Renderer, r, g, b, a: u8) -> i32 ---

SetRenderTarget ¶

SetRenderTarget :: proc "cdecl" (renderer: ^Renderer, texture: ^Texture) -> i32 ---

SetSurfaceAlphaMod ¶

SetSurfaceAlphaMod :: proc "cdecl" (surface: ^Surface, alpha: u8) -> i32 ---

SetSurfaceBlendMode ¶

SetSurfaceBlendMode :: proc "cdecl" (surface: ^Surface, blendMode: BlendMode) -> i32 ---

SetSurfaceColorMod ¶

SetSurfaceColorMod :: proc "cdecl" (surface: ^Surface, r, g, b: u8) -> i32 ---

SetSurfacePalette ¶

SetSurfacePalette :: proc "cdecl" (surface: ^Surface, palette: ^Palette) -> i32 ---

SetSurfaceRLE ¶

SetSurfaceRLE :: proc "cdecl" (surface: ^Surface, flag: i32) -> i32 ---

SetTextInputRect ¶

SetTextInputRect :: proc "cdecl" (rect: ^Rect) ---

SetTextureAlphaMod ¶

SetTextureAlphaMod :: proc "cdecl" (texture: ^Texture, alpha: u8) -> i32 ---

SetTextureBlendMode ¶

SetTextureBlendMode :: proc "cdecl" (texture: ^Texture, blendMode: BlendMode) -> i32 ---

SetTextureColorMod ¶

SetTextureColorMod :: proc "cdecl" (texture: ^Texture, r, g, b: u8) -> i32 ---

SetTextureScaleMode ¶

SetTextureScaleMode :: proc "cdecl" (texture: ^Texture, scaleMode: ScaleMode) -> i32 ---

SetThreadPriority ¶

SetThreadPriority :: proc "cdecl" (priority: ThreadPriority) -> i32 ---

SetWindowAlwaysOnTop ¶

SetWindowAlwaysOnTop :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowBordered ¶

SetWindowBordered :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowBrightness ¶

SetWindowBrightness :: proc "cdecl" (window: ^Window, brightness: f32) -> i32 ---

SetWindowData ¶

SetWindowData :: proc "cdecl" (window: ^Window, name: cstring, userdata: rawptr) -> rawptr ---

SetWindowDisplayMode ¶

SetWindowDisplayMode :: proc "cdecl" (window: ^Window, mode: ^DisplayMode) -> i32 ---

SetWindowFullscreen ¶

SetWindowFullscreen :: proc "cdecl" (window: ^Window, flags: WindowFlags) -> i32 ---

SetWindowGammaRamp ¶

SetWindowGammaRamp :: proc "cdecl" (window: ^Window, red, green, blue: ^u16) -> i32 ---

SetWindowGrab ¶

SetWindowGrab :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowHitTest ¶

SetWindowHitTest :: proc "cdecl" (window: ^Window, callback: HitTest, callback_data: rawptr) -> i32 ---

SetWindowIcon ¶

SetWindowIcon :: proc "cdecl" (window: ^Window, icon: ^Surface) ---

SetWindowInputFocus ¶

SetWindowInputFocus :: proc "cdecl" (window: ^Window) -> i32 ---

SetWindowKeyboardGrab ¶

SetWindowKeyboardGrab :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowMaximumSize ¶

SetWindowMaximumSize :: proc "cdecl" (window: ^Window, x, y: i32) ---

SetWindowMinimumSize ¶

SetWindowMinimumSize :: proc "cdecl" (window: ^Window, x, y: i32) ---

SetWindowModalFor ¶

SetWindowModalFor :: proc "cdecl" (modal_window, parent_window: ^Window) -> i32 ---

SetWindowMouseGrab ¶

SetWindowMouseGrab :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowOpacity ¶

SetWindowOpacity :: proc "cdecl" (window: ^Window, brightness: f32) -> i32 ---

SetWindowPosition ¶

SetWindowPosition :: proc "cdecl" (window: ^Window, x, y: i32) ---

SetWindowResizable ¶

SetWindowResizable :: proc "cdecl" (window: ^Window, bordered: bool) ---

SetWindowShape ¶

SetWindowShape :: proc "cdecl" (window: ^Window, shape: ^Surface, shape_mode: ^WindowShapeMode) -> i32 ---

SetWindowSize ¶

SetWindowSize :: proc "cdecl" (window: ^Window, x, y: i32) ---

SetWindowTitle ¶

SetWindowTitle :: proc "cdecl" (window: ^Window, title: cstring) ---

SetWindowsMessageHook ¶

SetWindowsMessageHook :: proc "cdecl" (callback: WindowsMessageHook, userdata: rawptr) ---

SetYUVConversionMode ¶

SetYUVConversionMode :: proc "cdecl" (mode: YUV_CONVERSION_MODE) ---

ShowCursor ¶

ShowCursor :: proc "cdecl" (c: i32) -> i32 ---

ShowMessageBox ¶

ShowMessageBox :: proc "cdecl" (messageboxdata: ^MessageBoxData, buttonid: ^i32) -> i32 ---

ShowSimpleMessageBox ¶

ShowSimpleMessageBox :: proc "cdecl" (flags: MessageBoxFlags, title: cstring, message: cstring, window: ^Window) -> i32 ---

ShowWindow ¶

ShowWindow :: proc "cdecl" (window: ^Window) ---

SoftStretch ¶

SoftStretch :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

SoftStretchLinear ¶

SoftStretchLinear :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

StartTextInput ¶

StartTextInput :: proc "cdecl" () ---

StopTextInput ¶

StopTextInput :: proc "cdecl" () ---

TICKS_PASSED ¶

TICKS_PASSED :: proc "cdecl" (A, B: u32) -> bool {…}

TLSCleanup ¶

TLSCleanup :: proc "cdecl" () ---

TLSCreate ¶

TLSCreate :: proc "cdecl" () -> TLSID ---

TLSGet ¶

TLSGet :: proc "cdecl" (id: TLSID) -> rawptr ---

TLSSet ¶

TLSSet :: proc "cdecl" (id: TLSID, value: rawptr, destructor: proc "cdecl" (_: rawptr)) -> i32 ---

ThreadID ¶

ThreadID :: proc "cdecl" () -> threadID ---

TryLockMutex ¶

TryLockMutex :: proc "cdecl" (m: ^mutex) -> i32 ---

UnionRect ¶

UnionRect :: proc "cdecl" (A, B: ^Rect, result: ^Rect) ---

UnloadObject ¶

UnloadObject :: proc "cdecl" (_: rawptr) ---

UnlockAudio ¶

UnlockAudio :: proc "cdecl" () ---

UnlockAudioDevice ¶

UnlockAudioDevice :: proc "cdecl" (dev: AudioDeviceID) ---

UnlockJoysticks ¶

UnlockJoysticks :: proc "cdecl" () ---

UnlockMutex ¶

UnlockMutex :: proc "cdecl" (m: ^mutex) -> i32 ---

UnlockSensors ¶

UnlockSensors :: proc "cdecl" () ---

UnlockSurface ¶

UnlockSurface :: proc "cdecl" (surface: ^Surface) ---

UnlockTexture ¶

UnlockTexture :: proc "cdecl" (texture: ^Texture) ---

Unsupported ¶

Unsupported :: proc "cdecl" () -> i32 {…}

UpdateNVTexture ¶

UpdateNVTexture :: proc "cdecl" (
	texture: ^Texture, 
	rect:    ^Rect, 
	Yplane:  ^u8, 
	Ypitch:  i32, 
	UVplane: ^u8, 
) -> i32 ---

UpdateTexture ¶

UpdateTexture :: proc "cdecl" (texture: ^Texture, rect: ^Rect, pixels: rawptr, pitch: i32) -> i32 ---

UpdateWindowSurface ¶

UpdateWindowSurface :: proc "cdecl" (window: ^Window) -> i32 ---

UpdateWindowSurfaceRects ¶

UpdateWindowSurfaceRects :: proc "cdecl" (window: ^Window, rects: [^]Rect, numrects: i32) -> i32 ---

UpdateYUVTexture ¶

UpdateYUVTexture :: proc "cdecl" (
	texture: ^Texture, 
	rect:    ^Rect, 
	Yplane:  ^u8, 
	Ypitch:  i32, 
	Uplane:  ^u8, 
	Upitch:  i32, 
	Vplane:  ^u8, 
) -> i32 ---

UpperBlit ¶

UpperBlit :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

UpperBlitScaled ¶

UpperBlitScaled :: proc "cdecl" (src: ^Surface, srcrect: ^Rect, dst: ^Surface, dstrect: ^Rect) -> i32 ---

VideoInit ¶

VideoInit :: proc "cdecl" (filename: cstring) -> i32 ---

VideoQuit ¶

VideoQuit :: proc "cdecl" () ---

Vulkan_CreateSurface ¶

Vulkan_CreateSurface :: proc "cdecl" (window: ^Window, instance: vulkan.Instance, surface: ^vulkan.SurfaceKHR) -> bool ---

Vulkan_GetDrawableSize ¶

Vulkan_GetDrawableSize :: proc "cdecl" (window: ^Window, w, h: ^i32) ---

Vulkan_GetInstanceExtensions ¶

Vulkan_GetInstanceExtensions :: proc "cdecl" (window: ^Window, pCount: ^u32, pNames: [^]cstring) -> bool ---

Vulkan_GetVkGetInstanceProcAddr ¶

Vulkan_GetVkGetInstanceProcAddr :: proc "cdecl" () -> rawptr ---

Vulkan_LoadLibrary ¶

Vulkan_LoadLibrary :: proc "cdecl" (filename: cstring) -> i32 ---

Vulkan_UnloadLibrary ¶

Vulkan_UnloadLibrary :: proc "cdecl" () ---

WINDOWPOS_CENTERED_DISPLAY ¶

WINDOWPOS_CENTERED_DISPLAY :: proc "cdecl" (c: i32) -> i32 {…}

WINDOWPOS_ISCENTERED ¶

WINDOWPOS_ISCENTERED :: proc "cdecl" (joystick_index: i32) -> bool {…}

WINDOWPOS_ISUNDEFINED ¶

WINDOWPOS_ISUNDEFINED :: proc "cdecl" (joystick_index: i32) -> bool {…}

WINDOWPOS_UNDEFINED_DISPLAY ¶

WINDOWPOS_UNDEFINED_DISPLAY :: proc "cdecl" (c: i32) -> i32 {…}

WaitEvent ¶

WaitEvent :: proc "cdecl" (event: ^Event) -> bool ---

WaitEventTimeout ¶

WaitEventTimeout :: proc "cdecl" (event: ^Event, timeout: i32) -> bool ---

WaitThread ¶

WaitThread :: proc "cdecl" (thread: ^Thread, status: ^i32) ---

WarpMouseGlobal ¶

WarpMouseGlobal :: proc "cdecl" (x, y: i32) -> i32 ---

WarpMouseInWindow ¶

WarpMouseInWindow :: proc "cdecl" (window: ^Window, x, y: i32) ---

WasInit ¶

WasInit :: proc "cdecl" (flags: bit_set[InitFlag; u32]) -> bit_set[InitFlag; u32] ---

WinRTGetDeviceFamily ¶

WinRTGetDeviceFamily :: proc "cdecl" () -> WinRT_DeviceFamily ---

WinRTGetFSPathUNICODE ¶

WinRTGetFSPathUNICODE :: proc "cdecl" (pathType: WinRT_Path) -> ^u16 ---

WinRTGetFSPathUTF8 ¶

WinRTGetFSPathUTF8 :: proc "cdecl" (pathType: WinRT_Path) -> cstring ---

WriteBE16 ¶

WriteBE16 :: proc "cdecl" (dst: ^RWops, value: ^u16) -> uint ---

WriteBE32 ¶

WriteBE32 :: proc "cdecl" (dst: ^RWops, value: ^u32) -> uint ---

WriteBE64 ¶

WriteBE64 :: proc "cdecl" (dst: ^RWops, value: ^u64) -> uint ---

WriteLE16 ¶

WriteLE16 :: proc "cdecl" (dst: ^RWops, value: ^u16) -> uint ---

WriteLE32 ¶

WriteLE32 :: proc "cdecl" (dst: ^RWops, value: ^u32) -> uint ---

WriteLE64 ¶

WriteLE64 :: proc "cdecl" (dst: ^RWops, value: ^u64) -> uint ---

WriteU8 ¶

WriteU8 :: proc "cdecl" (dst: ^RWops, value: ^u8) -> uint ---

acos ¶

acos :: proc "cdecl" (degrees: f64) -> f64 ---

acosf ¶

acosf :: proc "cdecl" (degrees: f32) -> f32 ---

asin ¶

asin :: proc "cdecl" (degrees: f64) -> f64 ---

asinf ¶

asinf :: proc "cdecl" (degrees: f32) -> f32 ---

atan ¶

atan :: proc "cdecl" (degrees: f64) -> f64 ---

atan2 ¶

atan2 :: proc "cdecl" (x, y: f64) -> f64 ---

atan2f ¶

atan2f :: proc "cdecl" (x, y: f32) -> f32 ---

atanf ¶

atanf :: proc "cdecl" (degrees: f32) -> f32 ---

calloc ¶

calloc :: proc "cdecl" (nmemb, size: uint) -> rawptr ---

ceil ¶

ceil :: proc "cdecl" (degrees: f64) -> f64 ---

ceilf ¶

ceilf :: proc "cdecl" (degrees: f32) -> f32 ---

copysign ¶

copysign :: proc "cdecl" (x, y: f64) -> f64 ---

copysignf ¶

copysignf :: proc "cdecl" (x, y: f32) -> f32 ---

cos ¶

cos :: proc "cdecl" (degrees: f64) -> f64 ---

cosf ¶

cosf :: proc "cdecl" (degrees: f32) -> f32 ---

crc32 ¶

crc32 :: proc "cdecl" (crc: u32, data: rawptr, len: uint) -> u32 ---

exp ¶

exp :: proc "cdecl" (degrees: f64) -> f64 ---

expf ¶

expf :: proc "cdecl" (degrees: f32) -> f32 ---

fabs ¶

fabs :: proc "cdecl" (degrees: f64) -> f64 ---

fabsf ¶

fabsf :: proc "cdecl" (degrees: f32) -> f32 ---

floor ¶

floor :: proc "cdecl" (degrees: f64) -> f64 ---

floorf ¶

floorf :: proc "cdecl" (degrees: f32) -> f32 ---

fmod ¶

fmod :: proc "cdecl" (x, y: f64) -> f64 ---

fmodf ¶

fmodf :: proc "cdecl" (x, y: f32) -> f32 ---

free ¶

free :: proc "cdecl" (_: rawptr) ---

getenv ¶

getenv :: proc "cdecl" (fileName: cstring) -> cstring ---

gl_set_proc_address ¶

gl_set_proc_address :: proc "odin" (p: rawptr, name: cstring) {…}
 

Used by vendor:OpenGL

iPhoneSetAnimationCallback ¶

iPhoneSetAnimationCallback :: proc "cdecl" (window: ^Window, interval: i32, callback: proc "cdecl" (_: rawptr), callbackParam: rawptr) -> i32 ---

iPhoneSetEventPump ¶

iPhoneSetEventPump :: proc "cdecl" (pause_on: bool) ---

iconv ¶

iconv :: proc "cdecl" (cd: iconv_t, inbuf: ^cstring, inbytesleft: ^uint, outbuf: ^[^]u8, outbytesleft: ^uint) -> uint ---

iconv_close ¶

iconv_close :: proc "cdecl" (cd: iconv_t) -> i32 ---

iconv_open ¶

iconv_open :: proc "cdecl" (tocode, fromcode: cstring) -> iconv_t ---

iconv_string ¶

iconv_string :: proc "cdecl" (tocode, fromcode, inbuf: cstring, inbytesleft: uint) -> [^]u8 ---

iconv_utf8_locale ¶

iconv_utf8_locale :: proc "cdecl" (s: string) -> cstring {…}

iconv_utf8_ucs2 ¶

iconv_utf8_ucs2 :: proc "cdecl" (s: string) -> [^]u16 {…}

iconv_utf8_ucs4 ¶

iconv_utf8_ucs4 :: proc "cdecl" (s: string) -> [^]rune {…}

isalnum ¶

isalnum :: proc "cdecl" (x: rune) -> bool ---

isalpha ¶

isalpha :: proc "cdecl" (x: rune) -> bool ---

isblank ¶

isblank :: proc "cdecl" (x: rune) -> bool ---

iscntrl ¶

iscntrl :: proc "cdecl" (x: rune) -> bool ---

isdigit ¶

isdigit :: proc "cdecl" (x: rune) -> bool ---

isgraph ¶

isgraph :: proc "cdecl" (x: rune) -> bool ---

islower ¶

islower :: proc "cdecl" (x: rune) -> bool ---

isprint ¶

isprint :: proc "cdecl" (x: rune) -> bool ---

ispunct ¶

ispunct :: proc "cdecl" (x: rune) -> bool ---

isspace ¶

isspace :: proc "cdecl" (x: rune) -> bool ---

isupper ¶

isupper :: proc "cdecl" (x: rune) -> bool ---

isxdigit ¶

isxdigit :: proc "cdecl" (x: rune) -> bool ---

log ¶

log :: proc "cdecl" (degrees: f64) -> f64 ---

log10 ¶

log10 :: proc "cdecl" (degrees: f64) -> f64 ---

log10f ¶

log10f :: proc "cdecl" (degrees: f32) -> f32 ---

logf ¶

logf :: proc "cdecl" (degrees: f32) -> f32 ---

lround ¶

lround :: proc "cdecl" (v: f64) -> i32 ---

lroundf ¶

lroundf :: proc "cdecl" (v: f32) -> i32 ---

malloc ¶

malloc :: proc "cdecl" (size: uint) -> rawptr ---

pow ¶

pow :: proc "cdecl" (x, y: f64) -> f64 ---

powf ¶

powf :: proc "cdecl" (x, y: f32) -> f32 ---

realloc ¶

realloc :: proc "cdecl" (ptr: rawptr, size: uint) -> rawptr ---

round ¶

round :: proc "cdecl" (degrees: f64) -> f64 ---

roundf ¶

roundf :: proc "cdecl" (degrees: f32) -> f32 ---

scalbn ¶

scalbn :: proc "cdecl" (x: f64, n: i32) -> f64 ---

scalbnf ¶

scalbnf :: proc "cdecl" (x: f32, n: i32) -> f32 ---

setenv ¶

setenv :: proc "cdecl" (name, value: cstring, overwrite: i32) -> i32 ---

sin ¶

sin :: proc "cdecl" (degrees: f64) -> f64 ---

sinf ¶

sinf :: proc "cdecl" (degrees: f32) -> f32 ---

sqrt ¶

sqrt :: proc "cdecl" (degrees: f64) -> f64 ---

sqrtf ¶

sqrtf :: proc "cdecl" (degrees: f32) -> f32 ---

stack_alloc ¶

stack_alloc :: proc "cdecl" ($T: typeid, #any_int count: int) -> ^typeid {…}

stack_free ¶

stack_free :: proc "cdecl" (_: rawptr) {…}

stack_make ¶

stack_make :: proc "cdecl" ($T: typeid/[]$, #any_int count: int) -> T {…}

tan ¶

tan :: proc "cdecl" (degrees: f64) -> f64 ---

tanf ¶

tanf :: proc "cdecl" (degrees: f32) -> f32 ---

tolower ¶

tolower :: proc "cdecl" (x: rune) -> bool ---

toupper ¶

toupper :: proc "cdecl" (x: rune) -> bool ---

trunc ¶

trunc :: proc "cdecl" (degrees: f64) -> f64 ---

truncf ¶

truncf :: proc "cdecl" (degrees: f32) -> f32 ---

Procedure Groups

This section is empty.

Source Files

Generation Information

Generated with odin version dev-2022-12 (vendor "odin") Windows_amd64 @ 2022-12-06 21:08:55.383674700 +0000 UTC