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_AsyncIOOutcome
structs.struct SDL_AudioDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_AudioDeviceID which; bool recording; Uint8 padding1; Uint8 padding2; Uint8 padding3; }
An array ofSDL_AudioDeviceEvent
structs.Callback function:SDL_AudioPostmixCallback
Callback function:SDL_AudioPostmixCallback
struct SDL_AudioSpec { SDL_AudioFormat format; int channels; int freq; }
An array ofSDL_AudioSpec
structs.Callback function:SDL_AudioStreamCallback
Callback function:SDL_AudioStreamCallback
Callback function:SDL_calloc_func
Callback function:SDL_calloc_func
struct SDL_CameraDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_CameraID which; }
An array ofSDL_CameraDeviceEvent
structs.struct SDL_CameraSpec { SDL_PixelFormat format; SDL_Colorspace colorspace; int width; int height; int framerate_numerator; int framerate_denominator; }
An array ofSDL_CameraSpec
structs.Callback function:SDL_CleanupPropertyCallback
Callback function:SDL_CleanupPropertyCallback
Callback function:SDL_ClipboardCleanupCallback
Callback function:SDL_ClipboardCleanupCallback
Callback function:SDL_ClipboardDataCallback
Callback function:SDL_ClipboardDataCallback
struct SDL_ClipboardEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; bool owner; Sint32 num_mime_types; char const ** mime_types; }
An array ofSDL_ClipboardEvent
structs.struct SDL_Color { Uint8 r; Uint8 g; Uint8 b; Uint8 a; }
An array ofSDL_Color
structs.struct SDL_CommonEvent { Uint32 type; Uint32 reserved; Uint64 timestamp; }
An array ofSDL_CommonEvent
structs.Callback function:SDL_CompareCallback
Callback function:SDL_CompareCallback_r
Callback function:SDL_CompareCallback_r
Callback function:SDL_CompareCallback
struct 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_DateTime
structs.Callback function:SDL_DialogFileCallback
Callback function:SDL_DialogFileCallback
struct SDL_DialogFileFilter { char const * name; char const * pattern; }
An array ofSDL_DialogFileFilter
structs.struct SDL_DisplayEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_DisplayID displayID; Sint32 data1; Sint32 data2; }
An array ofSDL_DisplayEvent
structs.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_DisplayMode
structs.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_DropEvent
structs.Callback function:SDL_EGLAttribArrayCallback
Callback function:SDL_EGLAttribArrayCallback
Callback function:SDL_EGLIntArrayCallback
Callback function:SDL_EGLIntArrayCallback
Callback function:SDL_EnumerateDirectoryCallback
Callback function:SDL_EnumerateDirectoryCallback
Callback function:SDL_EnumeratePropertiesCallback
Callback function:SDL_EnumeratePropertiesCallback
union SDL_Event { Uint32 type; {@link SDL_CommonEvent SDL_CommonEvent} common; {@link SDL_DisplayEvent SDL_DisplayEvent} display; {@link SDL_WindowEvent SDL_WindowEvent} window; {@link SDL_KeyboardDeviceEvent SDL_KeyboardDeviceEvent} kdevice; {@link SDL_KeyboardEvent SDL_KeyboardEvent} key; {@link SDL_TextEditingEvent SDL_TextEditingEvent} edit; {@link SDL_TextEditingCandidatesEvent SDL_TextEditingCandidatesEvent} edit_candidates; {@link SDL_TextInputEvent SDL_TextInputEvent} text; {@link SDL_MouseDeviceEvent SDL_MouseDeviceEvent} mdevice; {@link SDL_MouseMotionEvent SDL_MouseMotionEvent} motion; {@link SDL_MouseButtonEvent SDL_MouseButtonEvent} button; {@link SDL_MouseWheelEvent SDL_MouseWheelEvent} wheel; {@link SDL_JoyDeviceEvent SDL_JoyDeviceEvent} jdevice; {@link SDL_JoyAxisEvent SDL_JoyAxisEvent} jaxis; {@link SDL_JoyBallEvent SDL_JoyBallEvent} jball; {@link SDL_JoyHatEvent SDL_JoyHatEvent} jhat; {@link SDL_JoyButtonEvent SDL_JoyButtonEvent} jbutton; {@link SDL_JoyBatteryEvent SDL_JoyBatteryEvent} jbattery; {@link SDL_GamepadDeviceEvent SDL_GamepadDeviceEvent} gdevice; {@link SDL_GamepadAxisEvent SDL_GamepadAxisEvent} gaxis; {@link SDL_GamepadButtonEvent SDL_GamepadButtonEvent} gbutton; {@link SDL_GamepadTouchpadEvent SDL_GamepadTouchpadEvent} gtouchpad; {@link SDL_GamepadSensorEvent SDL_GamepadSensorEvent} gsensor; {@link SDL_AudioDeviceEvent SDL_AudioDeviceEvent} adevice; {@link SDL_CameraDeviceEvent SDL_CameraDeviceEvent} cdevice; {@link SDL_SensorEvent SDL_SensorEvent} sensor; {@link SDL_QuitEvent SDL_QuitEvent} quit; {@link SDL_UserEvent SDL_UserEvent} user; {@link SDL_TouchFingerEvent SDL_TouchFingerEvent} tfinger; {@link SDL_PenProximityEvent SDL_PenProximityEvent} pproximity; {@link SDL_PenTouchEvent SDL_PenTouchEvent} ptouch; {@link SDL_PenMotionEvent SDL_PenMotionEvent} pmotion; {@link SDL_PenButtonEvent SDL_PenButtonEvent} pbutton; {@link SDL_PenAxisEvent SDL_PenAxisEvent} paxis; {@link SDL_RenderEvent SDL_RenderEvent} render; {@link SDL_DropEvent SDL_DropEvent} drop; {@link SDL_ClipboardEvent SDL_ClipboardEvent} clipboard; Uint8 padding[128]; }
An array ofSDL_Event
structs.Callback function:SDL_EventFilter
Callback function:SDL_EventFilter
struct SDL_FColor { float r; float g; float b; float a; }
An array ofSDL_FColor
structs.struct SDL_Finger { SDL_FingerID id; float x; float y; float pressure; }
An array ofSDL_Finger
structs.struct SDL_FPoint { float x; float y; }
An array ofSDL_FPoint
structs.struct SDL_FRect { float x; float y; float w; float h; }
An array ofSDL_FRect
structs.Callback function:SDL_free_func
Callback function:SDL_free_func
struct 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_GamepadAxisEvent
structs.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_GamepadBinding
structs.struct SDL_GamepadButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 button; bool down; Uint8 padding1; Uint8 padding2; }
An array ofSDL_GamepadButtonEvent
structs.struct SDL_GamepadDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; }
An array ofSDL_GamepadDeviceEvent
structs.struct SDL_GamepadSensorEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Sint32 sensor; float data[3]; Uint64 sensor_timestamp; }
An array ofSDL_GamepadSensorEvent
structs.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_GamepadTouchpadEvent
structs.struct SDL_GPUBlitInfo { {@link SDL_GPUBlitRegion SDL_GPUBlitRegion} source; {@link SDL_GPUBlitRegion SDL_GPUBlitRegion} destination; SDL_GPULoadOp load_op; {@link SDL_FColor SDL_FColor} clear_color; SDL_FlipMode flip_mode; SDL_GPUFilter filter; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }
An array ofSDL_GPUBlitInfo
structs.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_GPUBlitRegion
structs.struct SDL_GPUBufferBinding { SDL_GPUBuffer * buffer; Uint32 offset; }
An array ofSDL_GPUBufferBinding
structs.struct SDL_GPUBufferCreateInfo { SDL_GPUBufferUsageFlags usage; Uint32 size; SDL_PropertiesID props; }
An array ofSDL_GPUBufferCreateInfo
structs.struct SDL_GPUBufferLocation { SDL_GPUBuffer * buffer; Uint32 offset; }
An array ofSDL_GPUBufferLocation
structs.struct SDL_GPUBufferRegion { SDL_GPUBuffer * buffer; Uint32 offset; Uint32 size; }
An array ofSDL_GPUBufferRegion
structs.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_GPUColorTargetBlendState
structs.struct SDL_GPUColorTargetDescription { SDL_GPUTextureFormat format; {@link SDL_GPUColorTargetBlendState SDL_GPUColorTargetBlendState} blend_state; }
An array ofSDL_GPUColorTargetDescription
structs.struct SDL_GPUColorTargetInfo { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer_or_depth_plane; {@link SDL_FColor SDL_FColor} clear_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_GPUColorTargetInfo
structs.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_GPUComputePipelineCreateInfo
structs.struct SDL_GPUDepthStencilState { SDL_GPUCompareOp compare_op; {@link SDL_GPUStencilOpState SDL_GPUStencilOpState} back_stencil_state; {@link SDL_GPUStencilOpState SDL_GPUStencilOpState} front_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_GPUDepthStencilState
structs.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_GPUDepthStencilTargetInfo
structs.struct SDL_GPUGraphicsPipelineCreateInfo { SDL_GPUShader * vertex_shader; SDL_GPUShader * fragment_shader; {@link SDL_GPUVertexInputState SDL_GPUVertexInputState} vertex_input_state; SDL_GPUPrimitiveType primitive_type; {@link SDL_GPURasterizerState SDL_GPURasterizerState} rasterizer_state; {@link SDL_GPUMultisampleState SDL_GPUMultisampleState} multisample_state; {@link SDL_GPUDepthStencilState SDL_GPUDepthStencilState} depth_stencil_state; {@link SDL_GPUGraphicsPipelineTargetInfo SDL_GPUGraphicsPipelineTargetInfo} target_info; SDL_PropertiesID props; }
An array ofSDL_GPUGraphicsPipelineCreateInfo
structs.struct SDL_GPUGraphicsPipelineTargetInfo { {@link SDL_GPUColorTargetDescription SDL_GPUColorTargetDescription} const * 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_GPUGraphicsPipelineTargetInfo
structs.struct SDL_GPUIndexedIndirectDrawCommand { Uint32 num_indices; Uint32 num_instances; Uint32 first_index; Sint32 vertex_offset; Uint32 first_instance; }
An array ofSDL_GPUIndexedIndirectDrawCommand
structs.struct SDL_GPUIndirectDispatchCommand { Uint32 groupcount_x; Uint32 groupcount_y; Uint32 groupcount_z; }
An array ofSDL_GPUIndirectDispatchCommand
structs.struct SDL_GPUIndirectDrawCommand { Uint32 num_vertices; Uint32 num_instances; Uint32 first_vertex; Uint32 first_instance; }
An array ofSDL_GPUIndirectDrawCommand
structs.struct SDL_GPUMultisampleState { SDL_GPUSampleCount sample_count; Uint32 sample_mask; bool enable_mask; Uint8 padding1; Uint8 padding2; Uint8 padding3; }
An array ofSDL_GPUMultisampleState
structs.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_GPURasterizerState
structs.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_GPUSamplerCreateInfo
structs.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_GPUShaderCreateInfo
structs.struct SDL_GPUStencilOpState { SDL_GPUStencilOp fail_op; SDL_GPUStencilOp pass_op; SDL_GPUStencilOp depth_fail_op; SDL_GPUCompareOp compare_op; }
An array ofSDL_GPUStencilOpState
structs.struct SDL_GPUStorageBufferReadWriteBinding { SDL_GPUBuffer * buffer; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }
An array ofSDL_GPUStorageBufferReadWriteBinding
structs.struct SDL_GPUStorageTextureReadWriteBinding { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer; bool cycle; Uint8 padding1; Uint8 padding2; Uint8 padding3; }
An array ofSDL_GPUStorageTextureReadWriteBinding
structs.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_GPUTextureCreateInfo
structs.struct SDL_GPUTextureLocation { SDL_GPUTexture * texture; Uint32 mip_level; Uint32 layer; Uint32 x; Uint32 y; Uint32 z; }
An array ofSDL_GPUTextureLocation
structs.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_GPUTextureRegion
structs.struct SDL_GPUTextureSamplerBinding { SDL_GPUTexture * texture; SDL_GPUSampler * sampler; }
An array ofSDL_GPUTextureSamplerBinding
structs.struct SDL_GPUTextureTransferInfo { SDL_GPUTransferBuffer * transfer_buffer; Uint32 offset; Uint32 pixels_per_row; Uint32 rows_per_layer; }
An array ofSDL_GPUTextureTransferInfo
structs.struct SDL_GPUTransferBufferCreateInfo { SDL_GPUTransferBufferUsage usage; Uint32 size; SDL_PropertiesID props; }
An array ofSDL_GPUTransferBufferCreateInfo
structs.struct SDL_GPUTransferBufferLocation { SDL_GPUTransferBuffer * transfer_buffer; Uint32 offset; }
An array ofSDL_GPUTransferBufferLocation
structs.struct SDL_GPUVertexAttribute { Uint32 location; Uint32 buffer_slot; SDL_GPUVertexElementFormat format; Uint32 offset; }
An array ofSDL_GPUVertexAttribute
structs.struct SDL_GPUVertexBufferDescription { Uint32 slot; Uint32 pitch; SDL_GPUVertexInputRate input_rate; Uint32 instance_step_rate; }
An array ofSDL_GPUVertexBufferDescription
structs.struct SDL_GPUVertexInputState { {@link SDL_GPUVertexBufferDescription SDL_GPUVertexBufferDescription} const * vertex_buffer_descriptions; Uint32 num_vertex_buffers; {@link SDL_GPUVertexAttribute SDL_GPUVertexAttribute} const * vertex_attributes; Uint32 num_vertex_attributes; }
An array ofSDL_GPUVertexInputState
structs.struct SDL_GPUViewport { float x; float y; float w; float h; float min_depth; float max_depth; }
An array ofSDL_GPUViewport
structs.struct SDL_GUID { Uint8 data[16]; }
An array ofSDL_GUID
structs.struct SDL_HapticCondition { Uint16 type; {@link SDL_HapticDirection SDL_HapticDirection} direction; 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_HapticCondition
structs.struct SDL_HapticConstant { Uint16 type; {@link SDL_HapticDirection SDL_HapticDirection} direction; 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_HapticConstant
structs.struct SDL_HapticCustom { Uint16 type; {@link SDL_HapticDirection SDL_HapticDirection} direction; 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_HapticCustom
structs.struct SDL_HapticDirection { Uint8 type; Sint32 dir[3]; }
An array ofSDL_HapticDirection
structs.union SDL_HapticEffect { Uint16 type; {@link SDL_HapticConstant SDL_HapticConstant} constant; {@link SDL_HapticPeriodic SDL_HapticPeriodic} periodic; {@link SDL_HapticCondition SDL_HapticCondition} condition; {@link SDL_HapticRamp SDL_HapticRamp} ramp; {@link SDL_HapticLeftRight SDL_HapticLeftRight} leftright; {@link SDL_HapticCustom SDL_HapticCustom} custom; }
An array ofSDL_HapticEffect
structs.struct SDL_HapticLeftRight { Uint16 type; Uint32 length; Uint16 large_magnitude; Uint16 small_magnitude; }
An array ofSDL_HapticLeftRight
structs.struct SDL_HapticPeriodic { Uint16 type; {@link SDL_HapticDirection SDL_HapticDirection} direction; 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_HapticPeriodic
structs.struct SDL_HapticRamp { Uint16 type; {@link SDL_HapticDirection SDL_HapticDirection} direction; 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_HapticRamp
structs.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; {@link SDL_hid_device_info SDL_hid_device_info} * next; }
An array ofSDL_hid_device_info
structs.Callback function:SDL_HintCallback
Callback function:SDL_HintCallback
Callback function:SDL_HitTest
Callback function:SDL_HitTest
struct 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_IOStreamInterface
structs.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_JoyAxisEvent
structs.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_JoyBallEvent
structs.struct SDL_JoyBatteryEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; SDL_PowerState state; int percent; }
An array ofSDL_JoyBatteryEvent
structs.struct SDL_JoyButtonEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 button; bool down; Uint8 padding1; Uint8 padding2; }
An array ofSDL_JoyButtonEvent
structs.struct SDL_JoyDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; }
An array ofSDL_JoyDeviceEvent
structs.struct SDL_JoyHatEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_JoystickID which; Uint8 hat; Uint8 value; Uint8 padding1; Uint8 padding2; }
An array ofSDL_JoyHatEvent
structs.struct SDL_KeyboardDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_KeyboardID which; }
An array ofSDL_KeyboardDeviceEvent
structs.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_KeyboardEvent
structs.struct SDL_Locale { char const * language; char const * country; }
An array ofSDL_Locale
structs.Callback function:SDL_LogOutputFunction
Callback function:SDL_LogOutputFunction
Callback function:SDL_MainThreadCallback
Callback function:SDL_MainThreadCallback
Callback function:SDL_malloc_func
Callback function:SDL_malloc_func
struct SDL_MessageBoxButtonData { SDL_MessageBoxButtonFlags flags; int buttonID; char const * text; }
An array ofSDL_MessageBoxButtonData
structs.struct SDL_MessageBoxColor { Uint8 r; Uint8 g; Uint8 b; }
An array ofSDL_MessageBoxColor
structs.struct SDL_MessageBoxColorScheme { {@link SDL_MessageBoxColor SDL_MessageBoxColor} colors[5]; }
An array ofSDL_MessageBoxColorScheme
structs.struct SDL_MessageBoxData { SDL_MessageBoxFlags flags; SDL_Window * window; char const * title; char const * message; int numbuttons; {@link SDL_MessageBoxButtonData SDL_MessageBoxButtonData} const * buttons; {@link SDL_MessageBoxColorScheme SDL_MessageBoxColorScheme} const * colorScheme; }
An array ofSDL_MessageBoxData
structs.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_MouseButtonEvent
structs.struct SDL_MouseDeviceEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_MouseID which; }
An array ofSDL_MouseDeviceEvent
structs.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_MouseMotionEvent
structs.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_MouseWheelEvent
structs.Callback function:SDL_NSTimerCallback
Callback function:SDL_NSTimerCallback
struct SDL_Palette { int ncolors; {@link SDL_Color SDL_Color} * colors; Uint32 version; int refcount; }
An array ofSDL_Palette
structs.struct SDL_PathInfo { SDL_PathType type; Uint64 size; SDL_Time create_time; SDL_Time modify_time; SDL_Time access_time; }
An array ofSDL_PathInfo
structs.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_PenAxisEvent
structs.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_PenButtonEvent
structs.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_PenMotionEvent
structs.struct SDL_PenProximityEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; SDL_PenID which; }
An array ofSDL_PenProximityEvent
structs.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_PenTouchEvent
structs.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_PixelFormatDetails
structs.struct SDL_Point { int x; int y; }
An array ofSDL_Point
structs.struct SDL_QuitEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; }
An array ofSDL_QuitEvent
structs.Callback function:SDL_realloc_func
Callback function:SDL_realloc_func
struct SDL_Rect { int x; int y; int w; int h; }
An array ofSDL_Rect
structs.struct SDL_RenderEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; }
An array ofSDL_RenderEvent
structs.struct SDL_SensorEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_SensorID which; float data[6]; Uint64 sensor_timestamp; }
An array ofSDL_SensorEvent
structs.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_StorageInterface
structs.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_Surface
structs.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_TextEditingCandidatesEvent
structs.struct SDL_TextEditingEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; char const * text; Sint32 start; Sint32 length; }
An array ofSDL_TextEditingEvent
structs.struct SDL_TextInputEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; char const * text; }
An array ofSDL_TextInputEvent
structs.struct SDL_Texture { SDL_PixelFormat format; int w; int h; int refcount; }
An array ofSDL_Texture
structs.Callback function:SDL_TimerCallback
Callback function:SDL_TimerCallback
Callback function:SDL_TLSDestructorCallback
Callback function:SDL_TLSDestructorCallback
struct 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_TouchFingerEvent
structs.Callback function:SDL_TrayCallback
Callback function:SDL_TrayCallback
struct SDL_UserEvent { Uint32 type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; Sint32 code; void * data1; void * data2; }
An array ofSDL_UserEvent
structs.struct SDL_Vertex { {@link SDL_FPoint SDL_FPoint} position; {@link SDL_FColor SDL_FColor} color; {@link SDL_FPoint SDL_FPoint} tex_coord; }
An array ofSDL_Vertex
structs.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; {@link SDL_VirtualJoystickTouchpadDesc SDL_VirtualJoystickTouchpadDesc} const * touchpads; {@link SDL_VirtualJoystickSensorDesc SDL_VirtualJoystickSensorDesc} const * 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_VirtualJoystickDesc
structs.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_VirtualJoystickSensorDesc
structs.struct SDL_VirtualJoystickTouchpadDesc { Uint16 nfingers; Uint16 padding[3]; }
An array ofSDL_VirtualJoystickTouchpadDesc
structs.struct SDL_WindowEvent { SDL_EventType type; Uint32 reserved; Uint64 timestamp; SDL_WindowID windowID; Sint32 data1; Sint32 data2; }
An array ofSDL_WindowEvent
structs.Callback function:SDL_WindowsMessageHook
Callback function:SDL_WindowsMessageHook
Callback function:SDL_X11EventHook
Callback function:SDL_X11EventHook
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()
.Contains the function pointers loaded fromSDL.getLibrary()
.