Package org.lwjgl.sdl
@NullMarked
package org.lwjgl.sdl
Contains bindings to the Simple DirectMedia Layer, a cross-platform development library designed to provide low
level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL/Direct3D/Metal/Vulkan. It is used by video playback software,
emulators, and popular games.
Resources
SDL header to Java class mapping
SDL_asyncio.h | SDLAsyncIO |
SDL_audio.h | SDLAudio |
SDL_blendmode.h | SDLBlendMode |
SDL_camera.h | SDLCamera |
SDL_clipboard.h | SDLClipboard |
SDL_cpuinfo.h | SDLCPUInfo |
SDL_dialog.h | SDLDialog |
SDL_error.h | SDLError |
SDL_events.h | SDLEvents |
SDL_filesystem.h | SDLFileSystem |
SDL_gamepad.h | SDLGamepad |
SDL_gpu.h | SDLGPU |
SDL_guid.h | SDLGUID |
SDL_haptic.h | SDLHaptic |
SDL_hidapi.h | SDLHIDAPI |
SDL_hints.h | SDLHints |
SDL_init.h | SDLInit |
SDL_iostream.h | SDLIOStream |
SDL_joystick.h | SDLJoystick |
SDL_keyboard.h | SDLKeyboard |
SDL_keycode.h | SDLKeycode |
SDL_loadso.h | SDLLoadSO |
SDL_locale.h | SDLLocale |
SDL_log.h | SDLLog |
SDL_messagebox.h | SDLMessageBox |
SDL_metal.h | SDLMetal |
SDL_misc.h | SDLMisc |
SDL_mouse.h | SDLMouse |
SDL_pen.h | SDLPen |
SDL_pixels.h | SDLPixels |
SDL_platform.h | SDLPlatform |
SDL_power.h | SDLPower |
SDL_properties.h | SDLProperties |
SDL_rect.h | SDLRect |
SDL_render.h | SDLRender |
SDL_scancode.h | SDLScancode |
SDL_sensor.h | SDLSensor |
SDL_stdinc.h | SDLStdinc |
SDL_storage.h | SDLStorage |
SDL_surface.h | SDLSurface |
SDL_system.h | SDLSystem |
SDL_thread.h | SDLThread |
SDL_time.h | SDLTime |
SDL_timer.h | SDLTimer |
SDL_touch.h | SDLTouch |
SDL_tray.h | SDLTray |
SDL_version.h | SDLVersion |
SDL_video.h | SDLVideo |
SDL_vulkan.h | SDLVulkan |
-
ClassDescription
struct SDL_AsyncIOOutcome { SDL_AsyncIO * asyncio; SDL_AsyncIOTaskType type; SDL_AsyncIOResult result; void * buffer; Uint64 offset; Uint64 bytes_requested; Uint64 bytes_transferred; void * userdata; }An array ofSDL_AsyncIOOutcomestructs.struct SDL_AudioDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_AudioDeviceID which; bool recording; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_AudioDeviceEventstructs.Callback function:SDL_AudioPostmixCallbackCallback function:SDL_AudioPostmixCallbackstruct SDL_AudioSpec { SDL_AudioFormat format; int channels; int freq; }An array ofSDL_AudioSpecstructs.Callback function:SDL_AudioStreamCallbackCallback function:SDL_AudioStreamCallbackCallback function:SDL_calloc_funcCallback function:SDL_calloc_funcstruct SDL_CameraDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_CameraID which; }An array ofSDL_CameraDeviceEventstructs.struct SDL_CameraSpec { SDL_PixelFormat format; SDL_Colorspace colorspace; int width; int height; int framerate_numerator; int framerate_denominator; }An array ofSDL_CameraSpecstructs.Callback function:SDL_CleanupPropertyCallbackCallback function:SDL_CleanupPropertyCallbackCallback function:SDL_ClipboardCleanupCallbackCallback function:SDL_ClipboardCleanupCallbackCallback function:SDL_ClipboardDataCallbackCallback function:SDL_ClipboardDataCallbackstruct SDL_ClipboardEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; bool owner; Sint32 num_mime_types; char const ** mime_types; }An array ofSDL_ClipboardEventstructs.struct SDL_Color { Uint8 r; Uint8 g; Uint8 b; Uint8 a; }An array ofSDL_Colorstructs.struct SDL_CommonEvent { Uint32 type; Uint32 reserved; Uint64 timestamp; }An array ofSDL_CommonEventstructs.Callback function:SDL_CompareCallbackCallback function:SDL_CompareCallback_rCallback function:SDL_CompareCallback_rCallback function:SDL_CompareCallbackstruct SDL_DateTime { int year; int month; int day; int hour; int minute; int second; int nanosecond; int day_of_week; int utc_offset; }An array ofSDL_DateTimestructs.Callback function:SDL_DialogFileCallbackCallback function:SDL_DialogFileCallbackstruct SDL_DialogFileFilter { char const * name; char const * pattern; }An array ofSDL_DialogFileFilterstructs.struct SDL_DisplayEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_DisplayID displayID; Sint32 data1; Sint32 data2; }An array ofSDL_DisplayEventstructs.struct SDL_DisplayMode { SDL_DisplayID displayID; SDL_PixelFormat format; int w; int h; float pixel_density; float refresh_rate; int refresh_rate_numerator; int refresh_rate_denominator; SDL_DisplayModeData * internal; }An array ofSDL_DisplayModestructs.struct SDL_DropEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; float x; float y; char const * source; char const * data; }An array ofSDL_DropEventstructs.Callback function:SDL_EGLAttribArrayCallbackCallback function:SDL_EGLAttribArrayCallbackCallback function:SDL_EGLIntArrayCallbackCallback function:SDL_EGLIntArrayCallbackCallback function:SDL_EnumerateDirectoryCallbackCallback function:SDL_EnumerateDirectoryCallbackCallback function:SDL_EnumeratePropertiesCallbackCallback function:SDL_EnumeratePropertiesCallbackunion SDL_Event { Uint32 type;SDL_CommonEventcommon;SDL_DisplayEventdisplay;SDL_WindowEventwindow;SDL_KeyboardDeviceEventkdevice;SDL_KeyboardEventkey;SDL_TextEditingEventedit;SDL_TextEditingCandidatesEventedit_candidates;SDL_TextInputEventtext;SDL_MouseDeviceEventmdevice;SDL_MouseMotionEventmotion;SDL_MouseButtonEventbutton;SDL_MouseWheelEventwheel;SDL_JoyDeviceEventjdevice;SDL_JoyAxisEventjaxis;SDL_JoyBallEventjball;SDL_JoyHatEventjhat;SDL_JoyButtonEventjbutton;SDL_JoyBatteryEventjbattery;SDL_GamepadDeviceEventgdevice;SDL_GamepadAxisEventgaxis;SDL_GamepadButtonEventgbutton;SDL_GamepadTouchpadEventgtouchpad;SDL_GamepadSensorEventgsensor;SDL_AudioDeviceEventadevice;SDL_CameraDeviceEventcdevice;SDL_SensorEventsensor;SDL_QuitEventquit;SDL_UserEventuser;SDL_TouchFingerEventtfinger;SDL_PenProximityEventpproximity;SDL_PenTouchEventptouch;SDL_PenMotionEventpmotion;SDL_PenButtonEventpbutton;SDL_PenAxisEventpaxis;SDL_RenderEventrender;SDL_DropEventdrop;SDL_ClipboardEventclipboard; Uint8 padding[128]; }An array ofSDL_Eventstructs.Callback function:SDL_EventFilterCallback function:SDL_EventFilterstruct SDL_FColor { float r; float g; float b; float a; }An array ofSDL_FColorstructs.struct SDL_Finger { SDL_FingerID id; float x; float y; float pressure; }An array ofSDL_Fingerstructs.struct SDL_FPoint { float x; float y; }An array ofSDL_FPointstructs.struct SDL_FRect { float x; float y; float w; float h; }An array ofSDL_FRectstructs.Callback function:SDL_free_funcCallback function:SDL_free_funcstruct SDL_GamepadAxisEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 axis; Uint8 padding1; Uint8 padding2; Uint8 padding3; Sint16 value; Uint16 padding4; }An array ofSDL_GamepadAxisEventstructs.struct SDL_GamepadBinding { SDL_GamepadBindingType input_type; union { int button; struct { int axis; int axis_min; int axis_max; } axis; struct { int hat; int hat_mask; } hat; } input; SDL_GamepadBindingType output_type; union { SDL_GamepadButton button; struct { SDL_GamepadAxis axis; int axis_min; int axis_max; } axis; } output; }An array ofSDL_GamepadBindingstructs.struct SDL_GamepadButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 button; bool down; Uint8 padding1; Uint8 padding2; }An array ofSDL_GamepadButtonEventstructs.struct SDL_GamepadDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; }An array ofSDL_GamepadDeviceEventstructs.struct SDL_GamepadSensorEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Sint32 sensor; float data[3]; Uint64 sensor_timestamp; }An array ofSDL_GamepadSensorEventstructs.struct SDL_GamepadTouchpadEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Sint32 touchpad; Sint32 finger; float x; float y; float pressure; }An array ofSDL_GamepadTouchpadEventstructs.struct SDL_GPUBlitInfo {SDL_GPUBlitRegionsource;SDL_GPUBlitRegiondestination; SDL_GPULoadOp load_op;SDL_FColorclear_color; SDL_FlipMode flip_mode; SDL_GPUFilter filter; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUBlitInfostructs.struct SDL_GPUBlitRegion { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer_or_depth_plane; Uint32 x; Uint32 y; Uint32 w; Uint32 h; }An array ofSDL_GPUBlitRegionstructs.struct SDL_GPUBufferBinding { SDL_GPUBuffer * buffer; Uint32 offset; }An array ofSDL_GPUBufferBindingstructs.struct SDL_GPUBufferCreateInfo { SDL_GPUBufferUsageFlags usage; Uint32 size; SDL_PropertiesID props; }An array ofSDL_GPUBufferCreateInfostructs.struct SDL_GPUBufferLocation { SDL_GPUBuffer * buffer; Uint32 offset; }An array ofSDL_GPUBufferLocationstructs.struct SDL_GPUBufferRegion { SDL_GPUBuffer * buffer; Uint32 offset; Uint32 size; }An array ofSDL_GPUBufferRegionstructs.struct SDL_GPUColorTargetBlendState { SDL_GPUBlendFactor src_color_blendfactor; SDL_GPUBlendFactor dst_color_blendfactor; SDL_GPUBlendOp color_blend_op; SDL_GPUBlendFactor src_alpha_blendfactor; SDL_GPUBlendFactor dst_alpha_blendfactor; SDL_GPUBlendOp alpha_blend_op; SDL_GPUColorComponentFlags color_write_mask; bool enable_blend; bool enable_color_write_mask; Uint8 padding1; Uint8 padding2; }An array ofSDL_GPUColorTargetBlendStatestructs.struct SDL_GPUColorTargetDescription { SDL_GPUTextureFormat format;SDL_GPUColorTargetBlendStateblend_state; }An array ofSDL_GPUColorTargetDescriptionstructs.struct SDL_GPUColorTargetInfo { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer_or_depth_plane;SDL_FColorclear_color; SDL_GPULoadOp load_op; SDL_GPUStoreOp store_op; SDL_GPUTexture * resolve_texture; Uint32 resolve_mip_level; Uint32 resolve_layer; bool cycle; bool cycle_resolve_texture; Uint8 padding1; Uint8 padding2; }An array ofSDL_GPUColorTargetInfostructs.struct SDL_GPUComputePipelineCreateInfo { size_t code_size; Uint8 const * code; char const * entrypoint; SDL_GPUShaderFormat format; Uint32 num_samplers; Uint32 num_readonly_storage_textures; Uint32 num_readonly_storage_buffers; Uint32 num_readwrite_storage_textures; Uint32 num_readwrite_storage_buffers; Uint32 num_uniform_buffers; Uint32 threadcount_x; Uint32 threadcount_y; Uint32 threadcount_z; SDL_PropertiesID props; }An array ofSDL_GPUComputePipelineCreateInfostructs.struct SDL_GPUDepthStencilState { SDL_GPUCompareOp compare_op;SDL_GPUStencilOpStateback_stencil_state;SDL_GPUStencilOpStatefront_stencil_state; Uint8 compare_mask; Uint8 write_mask; bool enable_depth_test; bool enable_depth_write; bool enable_stencil_test; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUDepthStencilStatestructs.struct SDL_GPUDepthStencilTargetInfo { SDL_GPUTexture * texture; float clear_depth; SDL_GPULoadOp load_op; SDL_GPUStoreOp store_op; SDL_GPULoadOp stencil_load_op; SDL_GPUStoreOp stencil_store_op; bool cycle; Uint8 clear_stencil; Uint8 padding1; Uint8 padding2; }An array ofSDL_GPUDepthStencilTargetInfostructs.struct SDL_GPUGraphicsPipelineCreateInfo { SDL_GPUShader * vertex_shader; SDL_GPUShader * fragment_shader;SDL_GPUVertexInputStatevertex_input_state; SDL_GPUPrimitiveType primitive_type;SDL_GPURasterizerStaterasterizer_state;SDL_GPUMultisampleStatemultisample_state;SDL_GPUDepthStencilStatedepth_stencil_state;SDL_GPUGraphicsPipelineTargetInfotarget_info; SDL_PropertiesID props; }An array ofSDL_GPUGraphicsPipelineCreateInfostructs.struct SDL_GPUGraphicsPipelineTargetInfo {SDL_GPUColorTargetDescriptionconst * color_target_descriptions; Uint32 num_color_targets; SDL_GPUTextureFormat depth_stencil_format; bool has_depth_stencil_target; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUGraphicsPipelineTargetInfostructs.struct SDL_GPUIndexedIndirectDrawCommand { Uint32 num_indices; Uint32 num_instances; Uint32 first_index; Sint32 vertex_offset; Uint32 first_instance; }An array ofSDL_GPUIndexedIndirectDrawCommandstructs.struct SDL_GPUIndirectDispatchCommand { Uint32 groupcount_x; Uint32 groupcount_y; Uint32 groupcount_z; }An array ofSDL_GPUIndirectDispatchCommandstructs.struct SDL_GPUIndirectDrawCommand { Uint32 num_vertices; Uint32 num_instances; Uint32 first_vertex; Uint32 first_instance; }An array ofSDL_GPUIndirectDrawCommandstructs.struct SDL_GPUMultisampleState { SDL_GPUSampleCount sample_count; Uint32 sample_mask; bool enable_mask; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUMultisampleStatestructs.struct SDL_GPURasterizerState { SDL_GPUFillMode fill_mode; SDL_GPUCullMode cull_mode; SDL_GPUFrontFace front_face; float depth_bias_constant_factor; float depth_bias_clamp; float depth_bias_slope_factor; bool enable_depth_bias; bool enable_depth_clip; Uint8 padding1; Uint8 padding2; }An array ofSDL_GPURasterizerStatestructs.struct SDL_GPUSamplerCreateInfo { SDL_GPUFilter min_filter; SDL_GPUFilter mag_filter; SDL_GPUSamplerMipmapMode mipmap_mode; SDL_GPUSamplerAddressMode address_mode_u; SDL_GPUSamplerAddressMode address_mode_v; SDL_GPUSamplerAddressMode address_mode_w; float mip_lod_bias; float max_anisotropy; SDL_GPUCompareOp compare_op; float min_lod; float max_lod; bool enable_anisotropy; bool enable_compare; Uint8 padding1; Uint8 padding2; SDL_PropertiesID props; }An array ofSDL_GPUSamplerCreateInfostructs.struct SDL_GPUShaderCreateInfo { size_t code_size; Uint8 const * code; char const * entrypoint; SDL_GPUShaderFormat format; SDL_GPUShaderStage stage; Uint32 num_samplers; Uint32 num_storage_textures; Uint32 num_storage_buffers; Uint32 num_uniform_buffers; SDL_PropertiesID props; }An array ofSDL_GPUShaderCreateInfostructs.struct SDL_GPUStencilOpState { SDL_GPUStencilOp fail_op; SDL_GPUStencilOp pass_op; SDL_GPUStencilOp depth_fail_op; SDL_GPUCompareOp compare_op; }An array ofSDL_GPUStencilOpStatestructs.struct SDL_GPUStorageBufferReadWriteBinding { SDL_GPUBuffer * buffer; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUStorageBufferReadWriteBindingstructs.struct SDL_GPUStorageTextureReadWriteBinding { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_GPUStorageTextureReadWriteBindingstructs.struct SDL_GPUTextureCreateInfo { SDL_GPUTextureType type; SDL_GPUTextureFormat format; SDL_GPUTextureUsageFlags usage; Uint32 width; Uint32 height; Uint32 layer_count_or_depth; Uint32 num_levels; SDL_GPUSampleCount sample_count; SDL_PropertiesID props; }An array ofSDL_GPUTextureCreateInfostructs.struct SDL_GPUTextureLocation { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer; Uint32 x; Uint32 y; Uint32 z; }An array ofSDL_GPUTextureLocationstructs.struct SDL_GPUTextureRegion { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer; Uint32 x; Uint32 y; Uint32 z; Uint32 w; Uint32 h; Uint32 d; }An array ofSDL_GPUTextureRegionstructs.struct SDL_GPUTextureSamplerBinding { SDL_GPUTexture * texture; SDL_GPUSampler * sampler; }An array ofSDL_GPUTextureSamplerBindingstructs.struct SDL_GPUTextureTransferInfo { SDL_GPUTransferBuffer * transfer_buffer; Uint32 offset; Uint32 pixels_per_row; Uint32 rows_per_layer; }An array ofSDL_GPUTextureTransferInfostructs.struct SDL_GPUTransferBufferCreateInfo { SDL_GPUTransferBufferUsage usage; Uint32 size; SDL_PropertiesID props; }An array ofSDL_GPUTransferBufferCreateInfostructs.struct SDL_GPUTransferBufferLocation { SDL_GPUTransferBuffer * transfer_buffer; Uint32 offset; }An array ofSDL_GPUTransferBufferLocationstructs.struct SDL_GPUVertexAttribute { Uint32 location; Uint32 buffer_slot; SDL_GPUVertexElementFormat format; Uint32 offset; }An array ofSDL_GPUVertexAttributestructs.struct SDL_GPUVertexBufferDescription { Uint32 slot; Uint32 pitch; SDL_GPUVertexInputRate input_rate; Uint32 instance_step_rate; }An array ofSDL_GPUVertexBufferDescriptionstructs.struct SDL_GPUVertexInputState {SDL_GPUVertexBufferDescriptionconst * vertex_buffer_descriptions; Uint32 num_vertex_buffers;SDL_GPUVertexAttributeconst * vertex_attributes; Uint32 num_vertex_attributes; }An array ofSDL_GPUVertexInputStatestructs.struct SDL_GPUViewport { float x; float y; float w; float h; float min_depth; float max_depth; }An array ofSDL_GPUViewportstructs.struct SDL_GUID { Uint8 data[16]; }An array ofSDL_GUIDstructs.struct SDL_HapticCondition { Uint16 type;SDL_HapticDirectiondirection; Uint32 length; Uint16 delay; Uint16 button; Uint16 interval; Uint16 right_sat[3]; Uint16 left_sat[3]; Sint16 right_coeff[3]; Sint16 left_coeff[3]; Uint16 deadband[3]; Sint16 center[3]; }An array ofSDL_HapticConditionstructs.struct SDL_HapticConstant { Uint16 type;SDL_HapticDirectiondirection; Uint32 length; Uint16 delay; Uint16 button; Uint16 interval; Sint16 level; Uint16 attack_length; Uint16 attack_level; Uint16 fade_length; Uint16 fade_level; }An array ofSDL_HapticConstantstructs.struct SDL_HapticCustom { Uint16 type;SDL_HapticDirectiondirection; Uint32 length; Uint16 delay; Uint16 button; Uint16 interval; Uint8 channels; Uint16 period; Uint16 samples; Uint16 * data; Uint16 attack_length; Uint16 attack_level; Uint16 fade_length; Uint16 fade_level; }An array ofSDL_HapticCustomstructs.struct SDL_HapticDirection { Uint8 type; Sint32 dir[3]; }An array ofSDL_HapticDirectionstructs.union SDL_HapticEffect { Uint16 type;SDL_HapticConstantconstant;SDL_HapticPeriodicperiodic;SDL_HapticConditioncondition;SDL_HapticRampramp;SDL_HapticLeftRightleftright;SDL_HapticCustomcustom; }An array ofSDL_HapticEffectstructs.struct SDL_HapticLeftRight { Uint16 type; Uint32 length; Uint16 large_magnitude; Uint16 small_magnitude; }An array ofSDL_HapticLeftRightstructs.struct SDL_HapticPeriodic { Uint16 type;SDL_HapticDirectiondirection; Uint32 length; Uint16 delay; Uint16 button; Uint16 interval; Uint16 period; Sint16 magnitude; Sint16 offset; Uint16 phase; Uint16 attack_length; Uint16 attack_level; Uint16 fade_length; Uint16 fade_level; }An array ofSDL_HapticPeriodicstructs.struct SDL_HapticRamp { Uint16 type;SDL_HapticDirectiondirection; Uint32 length; Uint16 delay; Uint16 button; Uint16 interval; Sint16 start; Sint16 end; Uint16 attack_length; Uint16 attack_level; Uint16 fade_length; Uint16 fade_level; }An array ofSDL_HapticRampstructs.struct SDL_hid_device_info { char * path; unsigned short vendor_id; unsigned short product_id; wchar_t * serial_number; unsigned short release_number; wchar_t * manufacturer_string; wchar_t * product_string; unsigned short usage_page; unsigned short usage; int interface_number; int interface_class; int interface_subclass; int interface_protocol; SDL_hid_bus_type bus_type;SDL_hid_device_info* next; }An array ofSDL_hid_device_infostructs.Callback function:SDL_HintCallbackCallback function:SDL_HintCallbackCallback function:SDL_HitTestCallback function:SDL_HitTeststruct SDL_IOStreamInterface { Uint32 version; Sint64 (* size) (void * userdata); Sint64 (* seek) (void * userdata, Sint64 offset, SDL_IOWhence whence); size_t (* read) (void * userdata, void * ptr, size_t size, SDL_IOStatus * status); size_t (* write) (void * userdata, void const * ptr, size_t size, SDL_IOStatus * status); bool (* flush) (void * userdata, SDL_IOStatus * status); bool (* close) (void * userdata); }An array ofSDL_IOStreamInterfacestructs.Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)struct SDL_JoyAxisEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 axis; Uint8 padding1; Uint8 padding2; Uint8 padding3; Sint16 value; Uint16 padding4; }An array ofSDL_JoyAxisEventstructs.struct SDL_JoyBallEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 ball; Uint8 padding1; Uint8 padding2; Uint8 padding3; Sint16 xrel; Sint16 yrel; }An array ofSDL_JoyBallEventstructs.struct SDL_JoyBatteryEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; SDL_PowerState state; int percent; }An array ofSDL_JoyBatteryEventstructs.struct SDL_JoyButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 button; bool down; Uint8 padding1; Uint8 padding2; }An array ofSDL_JoyButtonEventstructs.struct SDL_JoyDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; }An array ofSDL_JoyDeviceEventstructs.struct SDL_JoyHatEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 hat; Uint8 value; Uint8 padding1; Uint8 padding2; }An array ofSDL_JoyHatEventstructs.struct SDL_KeyboardDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_KeyboardID which; }An array ofSDL_KeyboardDeviceEventstructs.struct SDL_KeyboardEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_KeyboardID which; SDL_Scancode scancode; SDL_Keycode key; SDL_Keymod mod; Uint16 raw; bool down; bool repeat; }An array ofSDL_KeyboardEventstructs.struct SDL_Locale { char const * language; char const * country; }An array ofSDL_Localestructs.Callback function:SDL_LogOutputFunctionCallback function:SDL_LogOutputFunctionCallback function:SDL_MainThreadCallbackCallback function:SDL_MainThreadCallbackCallback function:SDL_malloc_funcCallback function:SDL_malloc_funcstruct SDL_MessageBoxButtonData { SDL_MessageBoxButtonFlags flags; int buttonID; char const * text; }An array ofSDL_MessageBoxButtonDatastructs.struct SDL_MessageBoxColor { Uint8 r; Uint8 g; Uint8 b; }An array ofSDL_MessageBoxColorstructs.struct SDL_MessageBoxColorScheme {SDL_MessageBoxColorcolors[5]; }An array ofSDL_MessageBoxColorSchemestructs.struct SDL_MessageBoxData { SDL_MessageBoxFlags flags; SDL_Window * window; char const * title; char const * message; int numbuttons;SDL_MessageBoxButtonDataconst * buttons;SDL_MessageBoxColorSchemeconst * colorScheme; }An array ofSDL_MessageBoxDatastructs.struct SDL_MouseButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_MouseID which; Uint8 button; bool down; Uint8 clicks; Uint8 padding; float x; float y; }An array ofSDL_MouseButtonEventstructs.struct SDL_MouseDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_MouseID which; }An array ofSDL_MouseDeviceEventstructs.struct SDL_MouseMotionEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_MouseID which; SDL_MouseButtonFlags state; float x; float y; float xrel; float yrel; }An array ofSDL_MouseMotionEventstructs.struct SDL_MouseWheelEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_MouseID which; float x; float y; SDL_MouseWheelDirection direction; float mouse_x; float mouse_y; Sint32 integer_x; Sint32 integer_y; }An array ofSDL_MouseWheelEventstructs.Callback function:SDL_NSTimerCallbackCallback function:SDL_NSTimerCallbackstruct SDL_Palette { int ncolors;SDL_Color* colors; Uint32 version; int refcount; }An array ofSDL_Palettestructs.struct SDL_PathInfo { SDL_PathType type; Uint64 size; SDL_Time create_time; SDL_Time modify_time; SDL_Time access_time; }An array ofSDL_PathInfostructs.struct SDL_PenAxisEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; SDL_PenInputFlags pen_state; float x; float y; SDL_PenAxis axis; float value; }An array ofSDL_PenAxisEventstructs.struct SDL_PenButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; SDL_PenInputFlags pen_state; float x; float y; Uint8 button; bool down; }An array ofSDL_PenButtonEventstructs.struct SDL_PenMotionEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; SDL_PenInputFlags pen_state; float x; float y; }An array ofSDL_PenMotionEventstructs.struct SDL_PenProximityEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; }An array ofSDL_PenProximityEventstructs.struct SDL_PenTouchEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; SDL_PenInputFlags pen_state; float x; float y; bool eraser; bool down; }An array ofSDL_PenTouchEventstructs.struct SDL_PixelFormatDetails { SDL_PixelFormat format; Uint8 bits_per_pixel; Uint8 bytes_per_pixel; Uint8 padding[2]; Uint32 Rmask; Uint32 Gmask; Uint32 Bmask; Uint32 Amask; Uint8 Rbits; Uint8 Gbits; Uint8 Bbits; Uint8 Abits; Uint8 Rshift; Uint8 Gshift; Uint8 Bshift; Uint8 Ashift; }An array ofSDL_PixelFormatDetailsstructs.struct SDL_Point { int x; int y; }An array ofSDL_Pointstructs.struct SDL_QuitEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; }An array ofSDL_QuitEventstructs.Callback function:SDL_realloc_funcCallback function:SDL_realloc_funcstruct SDL_Rect { int x; int y; int w; int h; }An array ofSDL_Rectstructs.struct SDL_RenderEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; }An array ofSDL_RenderEventstructs.struct SDL_SensorEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_SensorID which; float data[6]; Uint64 sensor_timestamp; }An array ofSDL_SensorEventstructs.struct SDL_StorageInterface { Uint32 version; bool (* close) (void * userdata); bool (* ready) (void * userdata); bool (* enumerate) (void * userdata, char const * path, SDL_EnumerateDirectoryCallback callback, void * callback_userdata); bool (* info) (void * userdata, char const * path, SDL_PathInfo * info); bool (* read_file) (void * userdata, char const * path, void * destination, Uint64 length); bool (* write_file) (void * userdata, char const * path, void const * source, Uint64 length); bool (* mkdir) (void * userdata, char const * path); bool (* remove) (void * userdata, char const * path); bool (* rename) (void * userdata, char const * oldpath, char const * newpath); bool (* copy) (void * userdata, char const * oldpath, char const * newpath); Uint64 (* space_remaining) (void * userdata); }An array ofSDL_StorageInterfacestructs.Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)struct SDL_Surface { SDL_SurfaceFlags flags; SDL_PixelFormat format; int w; int h; int pitch; void * pixels; int refcount; void * reserved; }An array ofSDL_Surfacestructs.struct SDL_TextEditingCandidatesEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; char const * const * candidates; Sint32 num_candidates; Sint32 selected_candidate; bool horizontal; Uint8 padding1; Uint8 padding2; Uint8 padding3; }An array ofSDL_TextEditingCandidatesEventstructs.struct SDL_TextEditingEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; char const * text; Sint32 start; Sint32 length; }An array ofSDL_TextEditingEventstructs.struct SDL_TextInputEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; char const * text; }An array ofSDL_TextInputEventstructs.struct SDL_Texture { SDL_PixelFormat format; int w; int h; int refcount; }An array ofSDL_Texturestructs.Callback function:SDL_TimerCallbackCallback function:SDL_TimerCallbackCallback function:SDL_TLSDestructorCallbackCallback function:SDL_TLSDestructorCallbackstruct SDL_TouchFingerEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_TouchID touchID; SDL_FingerID fingerID; float x; float y; float dx; float dy; float pressure; SDL_WindowID windowID; }An array ofSDL_TouchFingerEventstructs.Callback function:SDL_TrayCallbackCallback function:SDL_TrayCallbackstruct SDL_UserEvent { Uint32 type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; Sint32 code; void * data1; void * data2; }An array ofSDL_UserEventstructs.struct SDL_Vertex {SDL_FPointposition;SDL_FColorcolor;SDL_FPointtex_coord; }An array ofSDL_Vertexstructs.struct SDL_VirtualJoystickDesc { Uint32 version; Uint16 type; Uint16 padding; Uint16 vendor_id; Uint16 product_id; Uint16 naxes; Uint16 nbuttons; Uint16 nballs; Uint16 nhats; Uint16 ntouchpads; Uint16 nsensors; Uint16 padding2[2]; Uint32 button_mask; Uint32 axis_mask; char const * name;SDL_VirtualJoystickTouchpadDescconst * touchpads;SDL_VirtualJoystickSensorDescconst * sensors; void * userdata; void (* Update) (void * userdata); void (* SetPlayerIndex) (void * userdata, int player_index); bool (* Rumble) (void * userdata, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble); bool (* RumbleTriggers) (void * userdata, Uint16 left_rumble, Uint16 right_rumble); bool (* SetLED) (void * userdata, Uint8 red, Uint8 green, Uint8 blue); bool (* SendEffect) (void * userdata, void const * data, int size); bool (* SetSensorsEnabled) (void * userdata, bool enabled); void (* Cleanup) (void * userdata); }An array ofSDL_VirtualJoystickDescstructs.Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)Callback function:(* anonymous)struct SDL_VirtualJoystickSensorDesc { SDL_SensorType type; float rate; }An array ofSDL_VirtualJoystickSensorDescstructs.struct SDL_VirtualJoystickTouchpadDesc { Uint16 nfingers; Uint16 padding[3]; }An array ofSDL_VirtualJoystickTouchpadDescstructs.struct SDL_WindowEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; Sint32 data1; Sint32 data2; }An array ofSDL_WindowEventstructs.Callback function:SDL_WindowsMessageHookCallback function:SDL_WindowsMessageHookCallback function:SDL_X11EventHookCallback function:SDL_X11EventHookContains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().Contains the function pointers loaded fromSDL.getLibrary().