|
| using | AssertState = SDL_AssertState |
| | Possible outcomes from a triggered assertion.
|
| using | AssertData = SDL_AssertData |
| | Information about an assertion failure.
|
| using | AssertionHandler |
| | A callback that fires when an SDL assertion fails.
|
| using | AssertionHandlerCB |
| | A callback that fires when an SDL assertion fails.
|
|
using | AsyncIORaw = SDL_AsyncIO* |
| | Alias to raw representation for AsyncIO.
|
| using | AsyncIORef = ResourceRef<AsyncIO> |
| | Reference for AsyncIO.
|
|
using | AsyncIOQueueRaw = SDL_AsyncIOQueue* |
| | Alias to raw representation for AsyncIOQueue.
|
| using | AsyncIOQueueRef = ResourceRef<AsyncIOQueue> |
| | Reference for AsyncIOQueue.
|
| using | AsyncIOTaskType = SDL_AsyncIOTaskType |
| | Types of asynchronous I/O tasks.
|
| using | AsyncIOResult = SDL_AsyncIOResult |
| | Possible outcomes of an asynchronous I/O task.
|
| using | AsyncIOOutcome = SDL_AsyncIOOutcome |
| | Information about a completed asynchronous I/O request.
|
|
using | AtomicIntRaw = SDL_AtomicInt |
| | Alias to raw representation for AtomicInt.
|
|
using | AtomicU32Raw = SDL_AtomicU32 |
| | Alias to raw representation for AtomicU32.
|
|
using | AudioFormatRaw = SDL_AudioFormat |
| | Alias to raw representation for AudioFormat.
|
|
using | AudioDeviceID = SDL_AudioDeviceID |
| | Alias to raw representation for AudioDevice.
|
| using | AudioDeviceRef = ResourceRef<AudioDevice> |
| | Reference for AudioDevice.
|
|
using | AudioStreamRaw = SDL_AudioStream* |
| | Alias to raw representation for AudioStream.
|
| using | AudioStreamRef = ResourceRef<AudioStream> |
| | Reference for AudioStream.
|
| using | AudioSpec = SDL_AudioSpec |
| | Format specifier for audio data.
|
| using | AudioPostmixCallback |
| | A callback that fires when data is about to be fed to an audio device.
|
| using | AudioPostmixCB |
| | A callback that fires when data is about to be fed to an audio device.
|
| using | AudioStreamCallback |
| | A callback that fires when data passes through an AudioStream.
|
| using | AudioStreamCB |
| | A callback that fires when data passes through an AudioStream.
|
| using | AudioStreamDataCompleteCallback |
| | A callback that fires for completed AudioStream.PutDataNoCopy() data.
|
| using | AudioStreamDataCompleteCB |
| | A callback that fires for completed AudioStream.PutDataNoCopy() data.
|
| using | BlendOperation = SDL_BlendOperation |
| | The blend operation used when combining source and destination pixel components.
|
| using | BlendFactor = SDL_BlendFactor |
| | The normalized factor used to multiply pixel components.
|
|
using | CameraRaw = SDL_Camera* |
| | Alias to raw representation for Camera.
|
| using | CameraRef = ResourceRef<Camera> |
| | Reference for Camera.
|
| using | CameraID = SDL_CameraID |
| | This is a unique ID for a camera device for the time it is connected to the system, and is never reused for the lifetime of the application.
|
| using | CameraSpec = SDL_CameraSpec |
| | The details of an output format for a camera device.
|
| using | CameraPosition = SDL_CameraPosition |
| | The position of camera in relation to system device.
|
| using | CameraPermissionState = SDL_CameraPermissionState |
| | The current state of a request for camera access.
|
| using | ClipboardDataCallback |
| | Callback function that will be called when data for the specified mime-type is requested by the OS.
|
| using | ClipboardDataCB = std::function<SourceBytes(const char* mime_type)> |
| | Callback function that will be called when data for the specified mime-type is requested by the OS.
|
| using | ClipboardCleanupCallback = void(SDLCALL*)(void* userdata) |
| | Callback function that will be called when the clipboard is cleared, or when new data is set.
|
| using | ClipboardCleanupCB = std::function<void()> |
| | Callback function that will be called when the clipboard is cleared, or when new data is set.
|
| using | DialogFileFilter = SDL_DialogFileFilter |
| | An entry for filters for file dialogs.
|
| using | DialogFileCallback |
| | Callback used by file dialog functions.
|
| using | DialogFileCB |
| | Callback used by file dialog functions.
|
| using | FileDialogType = SDL_FileDialogType |
| | Various types of file dialogs.
|
| using | EventType = SDL_EventType |
| | The types of events that can be delivered.
|
| using | CommonEvent = SDL_CommonEvent |
| | Fields shared by every event.
|
| using | DisplayEvent = SDL_DisplayEvent |
| | Display state change event data (event.display.
|
| using | WindowEvent = SDL_WindowEvent |
| | Window state change event data (event.window.
|
| using | KeyboardDeviceEvent = SDL_KeyboardDeviceEvent |
| | Keyboard device event structure (event.kdevice.
|
| using | KeyboardEvent = SDL_KeyboardEvent |
| | Keyboard button event structure (event.key.
|
| using | TextEditingEvent = SDL_TextEditingEvent |
| | Keyboard text editing event structure (event.edit.
|
| using | TextEditingCandidatesEvent = SDL_TextEditingCandidatesEvent |
| | Keyboard IME candidates event structure (event.edit_candidates.
|
| using | TextInputEvent = SDL_TextInputEvent |
| | Keyboard text input event structure (event.text.
|
| using | MouseDeviceEvent = SDL_MouseDeviceEvent |
| | Mouse device event structure (event.mdevice.
|
| using | MouseMotionEvent = SDL_MouseMotionEvent |
| | Mouse motion event structure (event.motion.
|
| using | MouseButtonEvent = SDL_MouseButtonEvent |
| | Mouse button event structure (event.button.
|
| using | MouseWheelEvent = SDL_MouseWheelEvent |
| | Mouse wheel event structure (event.wheel.
|
| using | JoyAxisEvent = SDL_JoyAxisEvent |
| | Joystick axis motion event structure (event.jaxis.
|
| using | JoyBallEvent = SDL_JoyBallEvent |
| | Joystick trackball motion event structure (event.jball.
|
| using | JoyHatEvent = SDL_JoyHatEvent |
| | Joystick hat position change event structure (event.jhat.
|
| using | JoyButtonEvent = SDL_JoyButtonEvent |
| | Joystick button event structure (event.jbutton.
|
| using | JoyDeviceEvent = SDL_JoyDeviceEvent |
| | Joystick device event structure (event.jdevice.
|
| using | JoyBatteryEvent = SDL_JoyBatteryEvent |
| | Joystick battery level change event structure (event.jbattery.
|
| using | GamepadAxisEvent = SDL_GamepadAxisEvent |
| | Gamepad axis motion event structure (event.gaxis.
|
| using | GamepadButtonEvent = SDL_GamepadButtonEvent |
| | Gamepad button event structure (event.gbutton.
|
| using | GamepadDeviceEvent = SDL_GamepadDeviceEvent |
| | Gamepad device event structure (event.gdevice.
|
| using | GamepadTouchpadEvent = SDL_GamepadTouchpadEvent |
| | Gamepad touchpad event structure (event.gtouchpad.
|
| using | GamepadSensorEvent = SDL_GamepadSensorEvent |
| | Gamepad sensor event structure (event.gsensor.
|
| using | AudioDeviceEvent = SDL_AudioDeviceEvent |
| | Audio device event structure (event.adevice.
|
| using | CameraDeviceEvent = SDL_CameraDeviceEvent |
| | Camera device event structure (event.cdevice.
|
| using | RenderEvent = SDL_RenderEvent |
| | Renderer event structure (event.render.
|
| using | TouchFingerEvent = SDL_TouchFingerEvent |
| | Touch finger event structure (event.tfinger.
|
|
using | PinchFingerEvent = SDL_PinchFingerEvent |
| | Pinch event structure (event.pinch.*).
|
| using | PenProximityEvent = SDL_PenProximityEvent |
| | Pressure-sensitive pen proximity event structure (event.pproximity.
|
| using | PenMotionEvent = SDL_PenMotionEvent |
| | Pressure-sensitive pen motion event structure (event.pmotion.
|
| using | PenTouchEvent = SDL_PenTouchEvent |
| | Pressure-sensitive pen touched event structure (event.ptouch.
|
| using | PenButtonEvent = SDL_PenButtonEvent |
| | Pressure-sensitive pen button event structure (event.pbutton.
|
| using | PenAxisEvent = SDL_PenAxisEvent |
| | Pressure-sensitive pen pressure / angle event structure (event.paxis.
|
| using | DropEvent = SDL_DropEvent |
| | An event used to drop text or request a file open by the system (event.drop.
|
| using | ClipboardEvent = SDL_ClipboardEvent |
| | An event triggered when the clipboard contents have changed (event.clipboard.
|
| using | SensorEvent = SDL_SensorEvent |
| | Sensor event structure (event.sensor.
|
| using | QuitEvent = SDL_QuitEvent |
| | The "quit requested" event.
|
| using | UserEvent = SDL_UserEvent |
| | A user-defined event type (event.user.
|
| using | Event = SDL_Event |
| | The structure for all events in SDL.
|
| using | EventFilter = bool(SDLCALL*)(void* userdata, Event* event) |
| | A function pointer used for callbacks that watch the event queue.
|
| using | EventFilterCB = std::function<bool(Event* event)> |
| | A std::function used for callbacks that watch the event queue.
|
| using | EventWatcherCB = MakeFrontCallback<bool(Event* event)> |
| | A std::function used for callbacks that watch the event queue.
|
|
using | PathInfoRaw = SDL_PathInfo |
| | Alias to raw representation for PathInfo.
|
| using | Folder = SDL_Folder |
| | The type of the OS-provided default folder for a specific purpose.
|
| using | PathType = SDL_PathType |
| | Types of filesystem entries.
|
| using | GlobFlags = Uint32 |
| | Flags for path matching.
|
| using | EnumerationResult = SDL_EnumerationResult |
| | Possible results from an enumeration callback.
|
| using | EnumerateDirectoryCallback |
| | Callback for directory enumeration.
|
| using | EnumerateDirectoryCB |
| | Callback for directory enumeration.
|
|
using | GamepadRaw = SDL_Gamepad* |
| | Alias to raw representation for Gamepad.
|
| using | GamepadRef = ResourceRef<Gamepad> |
| | Reference for Gamepad.
|
| using | GamepadType = SDL_GamepadType |
| | Standard gamepad types.
|
| using | GamepadButton = SDL_GamepadButton |
| | The list of buttons available on a gamepad.
|
| using | GamepadButtonLabel = SDL_GamepadButtonLabel |
| | The set of gamepad button labels.
|
| using | GamepadAxis = SDL_GamepadAxis |
| | The list of axes available on a gamepad.
|
| using | GamepadBindingType = SDL_GamepadBindingType |
| | Types of gamepad control bindings.
|
| using | GamepadBinding = SDL_GamepadBinding |
| | A mapping between one joystick input to a gamepad control.
|
|
using | GPUDeviceRaw = SDL_GPUDevice* |
| | Alias to raw representation for GPUDevice.
|
| using | GPUDeviceRef = ResourceRef<GPUDevice> |
| | Reference for GPUDevice.
|
|
using | GPUBufferRaw = SDL_GPUBuffer* |
| | Alias to raw representation for GPUBuffer.
|
|
using | GPUTransferBufferRaw = SDL_GPUTransferBuffer* |
| | Alias to raw representation for GPUTransferBuffer.
|
|
using | GPUTextureRaw = SDL_GPUTexture* |
| | Alias to raw representation for GPUTexture.
|
|
using | GPUSamplerRaw = SDL_GPUSampler* |
| | Alias to raw representation for GPUSampler.
|
|
using | GPUShaderRaw = SDL_GPUShader* |
| | Alias to raw representation for GPUShader.
|
|
using | GPUComputePipelineRaw = SDL_GPUComputePipeline* |
| | Alias to raw representation for GPUComputePipeline.
|
|
using | GPUGraphicsPipelineRaw = SDL_GPUGraphicsPipeline* |
| | Alias to raw representation for GPUGraphicsPipeline.
|
|
using | GPUCommandBufferRaw = SDL_GPUCommandBuffer* |
| | Alias to raw representation for GPUCommandBuffer.
|
|
using | GPURenderPassRaw = SDL_GPURenderPass* |
| | Alias to raw representation for GPURenderPass.
|
|
using | GPUComputePassRaw = SDL_GPUComputePass* |
| | Alias to raw representation for GPUComputePass.
|
|
using | GPUCopyPassRaw = SDL_GPUCopyPass* |
| | Alias to raw representation for GPUCopyPass.
|
| using | GPUBufferCreateInfo = SDL_GPUBufferCreateInfo |
| | A structure specifying the parameters of a buffer.
|
| using | GPUTransferBufferCreateInfo = SDL_GPUTransferBufferCreateInfo |
| | A structure specifying the parameters of a transfer buffer.
|
| using | GPUTextureCreateInfo = SDL_GPUTextureCreateInfo |
| | A structure specifying the parameters of a texture.
|
| using | GPUSamplerCreateInfo = SDL_GPUSamplerCreateInfo |
| | A structure specifying the parameters of a sampler.
|
| using | GPUShaderCreateInfo = SDL_GPUShaderCreateInfo |
| | A structure specifying code and metadata for creating a shader object.
|
| using | GPUComputePipelineCreateInfo = SDL_GPUComputePipelineCreateInfo |
| | A structure specifying the parameters of a compute pipeline state.
|
| using | GPUGraphicsPipelineCreateInfo = SDL_GPUGraphicsPipelineCreateInfo |
| | A structure specifying the parameters of a graphics pipeline state.
|
| using | GPUViewport = SDL_GPUViewport |
| | A structure specifying a viewport.
|
| using | GPUBufferBinding = SDL_GPUBufferBinding |
| | A structure specifying parameters in a buffer binding call.
|
| using | GPUIndexElementSize = SDL_GPUIndexElementSize |
| | Specifies the size of elements in an index buffer.
|
| using | GPUTextureSamplerBinding = SDL_GPUTextureSamplerBinding |
| | A structure specifying parameters in a sampler binding call.
|
| using | GPUBufferRegion = SDL_GPUBufferRegion |
| | A structure specifying a region of a buffer.
|
| using | GPUTextureLocation = SDL_GPUTextureLocation |
| | A structure specifying a location in a texture.
|
| using | GPUBufferLocation = SDL_GPUBufferLocation |
| | A structure specifying a location in a buffer.
|
| using | GPUTextureRegion = SDL_GPUTextureRegion |
| | A structure specifying a region of a texture.
|
| using | GPUTextureTransferInfo = SDL_GPUTextureTransferInfo |
| | A structure specifying parameters related to transferring data to or from a texture.
|
| using | GPUTransferBufferLocation = SDL_GPUTransferBufferLocation |
| | A structure specifying a location in a transfer buffer.
|
| using | GPUColorTargetInfo = SDL_GPUColorTargetInfo |
| | A structure specifying the parameters of a color target used by a render pass.
|
| using | GPUDepthStencilTargetInfo = SDL_GPUDepthStencilTargetInfo |
| | A structure specifying the parameters of a depth-stencil target used by a render pass.
|
| using | GPUStorageTextureReadWriteBinding = SDL_GPUStorageTextureReadWriteBinding |
| | A structure specifying parameters related to binding textures in a compute pass.
|
| using | GPUStorageBufferReadWriteBinding = SDL_GPUStorageBufferReadWriteBinding |
| | A structure specifying parameters related to binding buffers in a compute pass.
|
| using | GPUBlitInfo = SDL_GPUBlitInfo |
| | A structure containing parameters for a blit command.
|
| using | GPUFence = SDL_GPUFence |
| | An opaque handle representing a fence.
|
| using | GPUShaderFormat = Uint32 |
| | Specifies the format of shader code.
|
| using | GPUSwapchainComposition = SDL_GPUSwapchainComposition |
| | Specifies the texture format and colorspace of the swapchain textures.
|
| using | GPUPresentMode = SDL_GPUPresentMode |
| | Specifies the timing that will be used to present swapchain textures to the OS.
|
| using | GPUTextureFormat = SDL_GPUTextureFormat |
| | Specifies the pixel format of a texture.
|
| using | GPUTextureType = SDL_GPUTextureType |
| | Specifies the type of a texture.
|
| using | GPUTextureUsageFlags = Uint32 |
| | Specifies how a texture is intended to be used by the client.
|
| using | GPUSampleCount = SDL_GPUSampleCount |
| | Specifies the sample count of a texture.
|
| using | GPUPrimitiveType = SDL_GPUPrimitiveType |
| | Specifies the primitive topology of a graphics pipeline.
|
| using | GPULoadOp = SDL_GPULoadOp |
| | Specifies how the contents of a texture attached to a render pass are treated at the beginning of the render pass.
|
| using | GPUStoreOp = SDL_GPUStoreOp |
| | Specifies how the contents of a texture attached to a render pass are treated at the end of the render pass.
|
| using | GPUCubeMapFace = SDL_GPUCubeMapFace |
| | Specifies the face of a cube map.
|
| using | GPUBufferUsageFlags = Uint32 |
| | Specifies how a buffer is intended to be used by the client.
|
| using | GPUTransferBufferUsage = SDL_GPUTransferBufferUsage |
| | Specifies how a transfer buffer is intended to be used by the client.
|
| using | GPUShaderStage = SDL_GPUShaderStage |
| | Specifies which stage a shader program corresponds to.
|
| using | GPUVertexElementFormat = SDL_GPUVertexElementFormat |
| | Specifies the format of a vertex attribute.
|
| using | GPUVertexInputRate = SDL_GPUVertexInputRate |
| | Specifies the rate at which vertex attributes are pulled from buffers.
|
| using | GPUFillMode = SDL_GPUFillMode |
| | Specifies the fill mode of the graphics pipeline.
|
| using | GPUCullMode = SDL_GPUCullMode |
| | Specifies the facing direction in which triangle faces will be culled.
|
| using | GPUFrontFace = SDL_GPUFrontFace |
| | Specifies the vertex winding that will cause a triangle to be determined to be front-facing.
|
| using | GPUCompareOp = SDL_GPUCompareOp |
| | Specifies a comparison operator for depth, stencil and sampler operations.
|
| using | GPUStencilOp = SDL_GPUStencilOp |
| | Specifies what happens to a stored stencil value if stencil tests fail or pass.
|
| using | GPUBlendOp = SDL_GPUBlendOp |
| | Specifies the operator to be used when pixels in a render target are blended with existing pixels in the texture.
|
| using | GPUBlendFactor = SDL_GPUBlendFactor |
| | Specifies a blending factor to be used when pixels in a render target are blended with existing pixels in the texture.
|
| using | GPUColorComponentFlags = Uint8 |
| | Specifies which color components are written in a graphics pipeline.
|
| using | GPUFilter = SDL_GPUFilter |
| | Specifies a filter operation used by a sampler.
|
| using | GPUSamplerMipmapMode = SDL_GPUSamplerMipmapMode |
| | Specifies a mipmap mode used by a sampler.
|
| using | GPUSamplerAddressMode = SDL_GPUSamplerAddressMode |
| | Specifies behavior of texture sampling when the coordinates exceed the 0-1 range.
|
| using | GPUBlitRegion = SDL_GPUBlitRegion |
| | A structure specifying a region of a texture used in the blit operation.
|
| using | GPUIndirectDrawCommand = SDL_GPUIndirectDrawCommand |
| | A structure specifying the parameters of an indirect draw command.
|
| using | GPUIndexedIndirectDrawCommand = SDL_GPUIndexedIndirectDrawCommand |
| | A structure specifying the parameters of an indexed indirect draw command.
|
| using | GPUIndirectDispatchCommand = SDL_GPUIndirectDispatchCommand |
| | A structure specifying the parameters of an indexed dispatch command.
|
| using | GPUVertexBufferDescription = SDL_GPUVertexBufferDescription |
| | A structure specifying the parameters of vertex buffers used in a graphics pipeline.
|
| using | GPUVertexAttribute = SDL_GPUVertexAttribute |
| | A structure specifying a vertex attribute.
|
| using | GPUVertexInputState = SDL_GPUVertexInputState |
| | A structure specifying the parameters of a graphics pipeline vertex input state.
|
| using | GPUStencilOpState = SDL_GPUStencilOpState |
| | A structure specifying the stencil operation state of a graphics pipeline.
|
| using | GPUColorTargetBlendState = SDL_GPUColorTargetBlendState |
| | A structure specifying the blend state of a color target.
|
| using | GPURasterizerState = SDL_GPURasterizerState |
| | A structure specifying the parameters of the graphics pipeline rasterizer state.
|
| using | GPUMultisampleState = SDL_GPUMultisampleState |
| | A structure specifying the parameters of the graphics pipeline multisample state.
|
| using | GPUDepthStencilState = SDL_GPUDepthStencilState |
| | A structure specifying the parameters of the graphics pipeline depth stencil state.
|
| using | GPUColorTargetDescription = SDL_GPUColorTargetDescription |
| | A structure specifying the parameters of color targets used in a graphics pipeline.
|
| using | GPUGraphicsPipelineTargetInfo = SDL_GPUGraphicsPipelineTargetInfo |
| | A structure specifying the descriptions of render targets used in a graphics pipeline.
|
| using | GPUVulkanOptions = SDL_GPUVulkanOptions |
| | A structure specifying additional options when using Vulkan.
|
|
using | GUIDRaw = SDL_GUID |
| | Alias to raw representation for GUID.
|
|
using | HapticRaw = SDL_Haptic* |
| | Alias to raw representation for Haptic.
|
| using | HapticRef = ResourceRef<Haptic> |
| | Reference for Haptic.
|
| using | HapticDirection = SDL_HapticDirection |
| | Structure that represents a haptic direction.
|
| using | HapticConstant = SDL_HapticConstant |
| | A structure containing a template for a Constant effect.
|
| using | HapticPeriodic = SDL_HapticPeriodic |
| | A structure containing a template for a Periodic effect.
|
| using | HapticCondition = SDL_HapticCondition |
| | A structure containing a template for a Condition effect.
|
| using | HapticRamp = SDL_HapticRamp |
| | A structure containing a template for a Ramp effect.
|
| using | HapticLeftRight = SDL_HapticLeftRight |
| | A structure containing a template for a Left/Right effect.
|
| using | HapticCustom = SDL_HapticCustom |
| | A structure containing a template for the HAPTIC_CUSTOM effect.
|
| using | HapticEffect = SDL_HapticEffect |
| | The generic template for any haptic effect.
|
| using | HapticID = SDL_HapticID |
| | This is a unique ID for a haptic device for the time it is connected to the system, and is never reused for the lifetime of the application.
|
|
using | HidDeviceRaw = SDL_hid_device* |
| | Alias to raw representation for HidDevice.
|
| using | HidDeviceRef = ResourceRef<HidDevice> |
| | Reference for HidDevice.
|
| using | hid_bus_type = SDL_hid_bus_type |
| | HID underlying bus types.
|
| using | hid_device_info = SDL_hid_device_info |
| | Information about a connected HID device.
|
| using | HintPriority = SDL_HintPriority |
| | An enumeration of hint priorities.
|
| using | HintCallback |
| | A callback used to send notifications of hint value changes.
|
| using | HintCB |
| | A callback used to send notifications of hint value changes.
|
|
using | AnimationRaw = IMG_Animation* |
| | Alias to raw representation for Animation.
|
|
using | AnimationRawConst = const IMG_Animation* |
| | Alias to const raw representation for Animation.
|
| using | AnimationRef = ResourceRef<Animation> |
| | Reference for Animation.
|
|
using | AnimationConstRef = ResourceConstRef<AnimationRaw, AnimationRawConst> |
| | Safely wrap Animation for non owning const parameters.
|
|
using | AnimationEncoderRaw = IMG_AnimationEncoder* |
| | Alias to raw representation for AnimationEncoder.
|
| using | AnimationEncoderRef = ResourceRef<AnimationEncoder> |
| | Reference for AnimationEncoder.
|
|
using | AnimationDecoderRaw = IMG_AnimationDecoder* |
| | Alias to raw representation for AnimationDecoder.
|
| using | AnimationDecoderRef = ResourceRef<AnimationDecoder> |
| | Reference for AnimationDecoder.
|
| using | AnimationDecoderStatus = IMG_AnimationDecoderStatus |
| | An enum representing the status of an animation decoder.
|
| using | InitFlags = Uint32 |
| | Initialization flags for Init and/or InitSubSystem.
|
|
using | AppArgs = std::span<char const* const> |
| | Represents application parameters.
|
|
using | IOStreamRaw = SDL_IOStream* |
| | Alias to raw representation for IOStream.
|
| using | IOStreamRef = ResourceRef<IOStream> |
| | Reference for IOStream.
|
| using | IOStatus = SDL_IOStatus |
| | IOStream status, set by a read or write operation.
|
| using | IOWhence = SDL_IOWhence |
| | Possible whence values for IOStream seeking.
|
| using | IOStreamInterface = SDL_IOStreamInterface |
| | The function pointers that drive an IOStream.
|
|
using | JoystickRaw = SDL_Joystick* |
| | Alias to raw representation for Joystick.
|
| using | JoystickRef = ResourceRef<Joystick> |
| | Reference for Joystick.
|
|
using | JoystickIDRaw = SDL_JoystickID |
| | Alias to raw representation for JoystickID.
|
| using | JoystickType = SDL_JoystickType |
| | An enum of some common joystick types.
|
| using | JoystickConnectionState = SDL_JoystickConnectionState |
| | Possible connection states for a joystick device.
|
|
using | HatState = Uint8 |
| | Represents tbe HatState for a Joystick.
|
| using | VirtualJoystickTouchpadDesc = SDL_VirtualJoystickTouchpadDesc |
| | The structure that describes a virtual joystick touchpad.
|
| using | VirtualJoystickSensorDesc = SDL_VirtualJoystickSensorDesc |
| | The structure that describes a virtual joystick sensor.
|
| using | VirtualJoystickDesc = SDL_VirtualJoystickDesc |
| | The structure that describes a virtual joystick.
|
| using | KeyboardID = SDL_KeyboardID |
| | This is a unique ID for a keyboard for the time it is connected to the system, and is never reused for the lifetime of the application.
|
| using | TextInputType = SDL_TextInputType |
| | Text input type.
|
| using | Capitalization = SDL_Capitalization |
| | Auto capitalization type.
|
|
using | KeycodeRaw = SDL_Keycode |
| | Alias to raw representation for Keycode.
|
| using | Keymod = Uint16 |
| | Valid key modifiers (possibly OR'd together).
|
|
using | SharedObjectRaw = SDL_SharedObject* |
| | Alias to raw representation for SharedObject.
|
| using | SharedObjectRef = ResourceRef<SharedObject> |
| | Reference for SharedObject.
|
| using | Locale = SDL_Locale |
| | A struct to provide locale data.
|
|
using | LogCategoryRaw = SDL_LogCategory |
| | Alias to raw representation for LogCategory.
|
| using | main_func = int(SDLCALL*)(int argc, char* argv[]) |
| | The prototype for the application's main() function.
|
|
using | MessageBoxRaw = SDL_MessageBoxData |
| | Alias to raw representation for MessageBox.
|
| using | MessageBoxButtonData = SDL_MessageBoxButtonData |
| | Individual button data.
|
| using | MessageBoxColor = SDL_MessageBoxColor |
| | RGB value used in a message box color scheme.
|
| using | MessageBoxColorScheme = SDL_MessageBoxColorScheme |
| | A set of colors to use for message box dialogs.
|
|
using | MetalViewRaw = SDL_MetalView |
| | Alias to raw representation for MetalView.
|
| using | MetalViewRef = ResourceRef<MetalView> |
| | Reference for MetalView.
|
|
using | MixerRaw = MIX_Mixer* |
| | Alias to raw representation for Mixer.
|
| using | MixerRef = ResourceRef<Mixer> |
| | Reference for Mixer.
|
|
using | AudioRaw = MIX_Audio* |
| | Alias to raw representation for Audio.
|
| using | AudioRef = ResourceRef<Audio> |
| | Reference for Audio.
|
|
using | TrackRaw = MIX_Track* |
| | Alias to raw representation for Track.
|
| using | TrackRef = ResourceRef<Track> |
| | Reference for Track.
|
|
using | GroupRaw = MIX_Group* |
| | Alias to raw representation for Group.
|
| using | GroupRef = ResourceRef<Group> |
| | Reference for Group.
|
|
using | AudioDecoderRaw = MIX_AudioDecoder* |
| | Alias to raw representation for AudioDecoder.
|
| using | AudioDecoderRef = ResourceRef<AudioDecoder> |
| | Reference for AudioDecoder.
|
| using | PostMixCallback |
| | A callback that fires when all mixing has completed.
|
| using | PostMixCB |
| | A callback that fires when all mixing has completed.
|
| using | StereoGains = MIX_StereoGains |
| | A set of per-channel gains for tracks using Track.SetStereo().
|
| using | Point3D = MIX_Point3D |
| | 3D coordinates for Track.Set3DPosition.
|
| using | TrackStoppedCallback = void(SDLCALL*)(void* userdata, TrackRaw track) |
| | A callback that fires when a Track is stopped.
|
| using | TrackStoppedCB = MakeFrontCallback<void(TrackRaw track)> |
| | A callback that fires when a Track is stopped.
|
| using | TrackMixCallback |
| | A callback that fires when a Track is mixing at various stages.
|
| using | TrackMixCB |
| | A callback that fires when a Track is mixing at various stages.
|
| using | GroupMixCallback |
| | A callback that fires when a Group has completed mixing.
|
| using | GroupMixCB |
| | A callback that fires when a Group has completed mixing.
|
|
using | CursorRaw = SDL_Cursor* |
| | Alias to raw representation for Cursor.
|
| using | CursorRef = ResourceRef<Cursor> |
| | Reference for Cursor.
|
| using | SystemCursor = SDL_SystemCursor |
| | Cursor types for CreateSystemCursor().
|
| using | MouseID = SDL_MouseID |
| | This is a unique ID for a mouse for the time it is connected to the system, and is never reused for the lifetime of the application.
|
| using | MouseWheelDirection = SDL_MouseWheelDirection |
| | Scroll direction types for the Scroll event.
|
| using | CursorFrameInfo = SDL_CursorFrameInfo |
| | Animated cursor frame info.
|
|
using | MouseButton = Uint8 |
| | Represents a button index.
|
| using | MouseButtonFlags = Uint32 |
| | A bitmask of pressed mouse buttons, as reported by GetMouseState, etc.
|
| using | MouseMotionTransformCallback |
| | A callback used to transform mouse motion delta from raw values.
|
| using | MouseMotionTransformCB |
| | A callback used to transform mouse motion delta from raw values.
|
|
using | MutexRaw = SDL_Mutex* |
| | Alias to raw representation for Mutex.
|
| using | MutexRef = ResourceRef<Mutex> |
| | Reference for Mutex.
|
|
using | RWLockRaw = SDL_RWLock* |
| | Alias to raw representation for RWLock.
|
| using | RWLockRef = ResourceRef<RWLock> |
| | Reference for RWLock.
|
|
using | SemaphoreRaw = SDL_Semaphore* |
| | Alias to raw representation for Semaphore.
|
| using | SemaphoreRef = ResourceRef<Semaphore> |
| | Reference for Semaphore.
|
|
using | ConditionRaw = SDL_Condition* |
| | Alias to raw representation for Condition.
|
| using | ConditionRef = ResourceRef<Condition> |
| | Reference for Condition.
|
|
using | InitStateRaw = SDL_InitState |
| | Alias to raw representation for InitState.
|
| using | InitStatus = SDL_InitStatus |
| | The current status of an InitState structure.
|
| template<class T> |
| using | OwnPtr = std::unique_ptr<T, PtrDeleter> |
| | Handle to an owned SDL memory allocated pointer.
|
| template<class T> |
| using | RefArray = std::span<T> |
| | Handle to an owned SDL memory allocated array.
|
| using | PenID = SDL_PenID |
| | SDL pen instance IDs.
|
| using | PenInputFlags = Uint32 |
| | Pen input flags, as reported by various pen events' pen_state field.
|
| using | PenAxis = SDL_PenAxis |
| | Pen axis indices.
|
| using | PenDeviceType = SDL_PenDeviceType |
| | An enum that describes the type of a pen device.
|
|
using | PixelFormatRaw = SDL_PixelFormat |
| | Alias to raw representation for PixelFormat.
|
|
using | ColorspaceRaw = SDL_Colorspace |
| | Alias to raw representation for Colorspace.
|
|
using | ColorRaw = SDL_Color |
| | Alias to raw representation for Color.
|
|
using | FColorRaw = SDL_FColor |
| | Alias to raw representation for FColor.
|
|
using | PaletteRaw = SDL_Palette* |
| | Alias to raw representation for Palette.
|
|
using | PaletteRawConst = const SDL_Palette* |
| | Alias to const raw representation for Palette.
|
| using | PaletteRef = ResourceRef<Palette> |
| | Reference for Palette.
|
|
using | PaletteConstRef = ResourceConstRef<PaletteRaw, PaletteRawConst> |
| | Safely wrap Palette for non owning const parameters.
|
| using | PixelFormatDetails = SDL_PixelFormatDetails |
| | Details about the format of a pixel.
|
|
using | ProcessRaw = SDL_Process* |
| | Alias to raw representation for Process.
|
| using | ProcessRef = ResourceRef<Process> |
| | Reference for Process.
|
| using | ProcessIO = SDL_ProcessIO |
| | Description of where standard I/O should be directed when creating a process.
|
|
using | PropertiesID = SDL_PropertiesID |
| | Alias to raw representation for Properties.
|
| using | PropertiesRef = ResourceRef<Properties> |
| | Reference for Properties.
|
| using | PropertyType = SDL_PropertyType |
| | SDL property type.
|
| using | EnumeratePropertiesCallback |
| | A callback used to enumerate all the properties in a group of properties.
|
| using | EnumeratePropertiesCB |
| | A callback used to enumerate all the properties in a group of properties.
|
| using | CleanupPropertyCallback = void(SDLCALL*)(void* userdata, void* value) |
| | A callback used to free resources when a property is deleted.
|
| using | CleanupPropertyCB = std::function<void(void* value)> |
| | A callback used to free resources when a property is deleted.
|
|
using | PointRaw = SDL_Point |
| | Alias to raw representation for Point.
|
|
using | FPointRaw = SDL_FPoint |
| | Alias to raw representation for FPoint.
|
|
using | RectRaw = SDL_Rect |
| | Alias to raw representation for Rect.
|
|
using | FRectRaw = SDL_FRect |
| | Alias to raw representation for FRect.
|
|
using | RendererRaw = SDL_Renderer* |
| | Alias to raw representation for Renderer.
|
|
using | TextureRaw = SDL_Texture* |
| | Alias to raw representation for Texture.
|
|
using | TextureRawConst = const SDL_Texture* |
| | Alias to const raw representation for Texture.
|
| using | TextureRef = ResourceRef<Texture> |
| | Reference for Texture.
|
|
using | TextureConstRef = ResourceConstRef<TextureRaw, TextureRawConst> |
| | Safely wrap Texture for non owning const parameters.
|
|
using | GPURenderStateRaw = SDL_GPURenderState* |
| | Alias to raw representation for GPURenderState.
|
| using | GPURenderStateRef = ResourceRef<GPURenderState> |
| | Reference for GPURenderState.
|
| using | Vertex = SDL_Vertex |
| | Vertex structure.
|
| using | TextureAccess = SDL_TextureAccess |
| | The access pattern allowed for a texture.
|
| using | TextureAddressMode = SDL_TextureAddressMode |
| | The addressing mode for a texture when used in Renderer.RenderGeometry().
|
| using | RendererLogicalPresentation = SDL_RendererLogicalPresentation |
| | How the logical size is mapped to the output.
|
| using | GPURenderStateCreateInfo = SDL_GPURenderStateCreateInfo |
| | A structure specifying the parameters of a GPU render state.
|
|
using | ScancodeRaw = SDL_Scancode |
| | Alias to raw representation for Scancode.
|
|
using | SensorRaw = SDL_Sensor* |
| | Alias to raw representation for Sensor.
|
| using | SensorRef = ResourceRef<Sensor> |
| | Reference for Sensor.
|
| using | SensorID = Uint32 |
| | This is a unique ID for a sensor for the time it is connected to the system, and is never reused for the lifetime of the application.
|
| using | SensorType = SDL_SensorType |
| | The different sensors defined by SDL.
|
|
using | TimeRaw = SDL_Time |
| | Alias to raw representation for Time.
|
|
using | EnvironmentRaw = SDL_Environment* |
| | Alias to raw representation for Environment.
|
| using | EnvironmentRef = ResourceRef<Environment> |
| | Reference for Environment.
|
|
using | IConvRaw = SDL_iconv_t |
| | Alias to raw representation for IConv.
|
| using | IConvRef = ResourceRef<IConv> |
| | Reference for IConv.
|
| using | Sint8 = ::Sint8 |
| | A signed 8-bit integer type.
|
| using | Uint8 = ::Uint8 |
| | An unsigned 8-bit integer type.
|
| using | Sint16 = ::Sint16 |
| | A signed 16-bit integer type.
|
| using | Uint16 = ::Uint16 |
| | An unsigned 16-bit integer type.
|
| using | Sint32 = ::Sint32 |
| | A signed 32-bit integer type.
|
| using | Uint32 = ::Uint32 |
| | An unsigned 32-bit integer type.
|
| using | Sint64 = ::Sint64 |
| | A signed 64-bit integer type.
|
| using | Uint64 = ::Uint64 |
| | An unsigned 64-bit integer type.
|
|
using | Seconds = std::chrono::duration<float> |
| | Duration in seconds (float).
|
|
using | Nanoseconds = std::chrono::nanoseconds |
| | Duration in Nanoseconds (Uint64).
|
|
using | Milliseconds = std::chrono::milliseconds |
| | Duration in Miliseconds (Uint32).
|
| using | malloc_func = void*(SDLCALL*)(size_t size) |
| | A callback used to implement malloc().
|
| using | calloc_func = void*(SDLCALL*)(size_t nmemb, size_t size) |
| | A callback used to implement calloc().
|
| using | realloc_func = void*(SDLCALL*)(void* mem, size_t size) |
| | A callback used to implement realloc().
|
| using | free_func = void(SDLCALL*)(void* mem) |
| | A callback used to implement free().
|
| using | CompareCallback = int(SDLCALL*)(const void* a, const void* b) |
| | A callback used with SDL sorting and binary search functions.
|
| using | CompareCallback_r |
| | A callback used with SDL sorting and binary search functions.
|
| using | CompareCB = std::function<int(const void* a, const void* b)> |
| | A callback used with SDL sorting and binary search functions.
|
| using | FunctionPointer = void(SDLCALL*)() |
| | A generic function pointer.
|
|
using | StorageRaw = SDL_Storage* |
| | Alias to raw representation for Storage.
|
| using | StorageRef = ResourceRef<Storage> |
| | Reference for Storage.
|
| using | StorageInterface = SDL_StorageInterface |
| | Function interface for Storage.
|
|
using | SurfaceRaw = SDL_Surface* |
| | Alias to raw representation for Surface.
|
|
using | SurfaceRawConst = const SDL_Surface* |
| | Alias to const raw representation for Surface.
|
| using | SurfaceRef = ResourceRef<Surface> |
| | Reference for Surface.
|
|
using | SurfaceConstRef = ResourceConstRef<SurfaceRaw, SurfaceRawConst> |
| | Safely wrap Surface for non owning const parameters.
|
| using | SurfaceFlags = Uint32 |
| | The flags on an Surface.
|
| using | ScaleMode = SDL_ScaleMode |
| | The scaling mode.
|
| using | FlipMode = SDL_FlipMode |
| | The flip mode.
|
|
using | MSG = ::MSG |
| | MSG.
|
| using | WindowsMessageHook = bool(SDLCALL*)(void* userdata, MSG* msg) |
| | A callback to be used with SetWindowsMessageHook.
|
|
using | XEvent = ::XEvent |
| | this is defined in Xlib's headers, just need a simple declaration here
|
| using | X11EventHook = bool(SDLCALL*)(void* userdata, XEvent* xevent) |
| | A callback to be used with SetX11EventHook.
|
| using | iOSAnimationCallback = void(SDLCALL*)(void* userdata) |
| | The prototype for an Apple iOS animation callback.
|
| using | RequestAndroidPermissionCallback |
| | Callback that presents a response from a RequestAndroidPermission call.
|
| using | RequestAndroidPermissionCB |
| | Callback that presents a response from a RequestAndroidPermission call.
|
| using | Sandbox = SDL_Sandbox |
| | Application sandbox environment.
|
|
using | XTaskQueueHandle = ::XTaskQueueHandle |
| | XTaskQueueHandle.
|
|
using | XUserHandle = ::XUserHandle |
| | XUserHandle.
|
|
using | ThreadRaw = SDL_Thread* |
| | Alias to raw representation for Thread.
|
| using | ThreadRef = ResourceRef<Thread> |
| | Reference for Thread.
|
| using | ThreadPriority = SDL_ThreadPriority |
| | The SDL thread priority.
|
| using | ThreadState = SDL_ThreadState |
| | The SDL thread state.
|
| using | ThreadID = SDL_ThreadID |
| | A unique numeric ID that identifies a thread.
|
| using | ThreadFunction = int(SDLCALL*)(void* data) |
| | The function passed to CreateThread() as the new thread's entry point.
|
| using | ThreadCB = std::function<int()> |
| | The function passed to CreateThread() as the new thread's entry point.
|
| using | TLSDestructorCallback = void(SDLCALL*)(void* value) |
| | The callback used to cleanup data passed to SetTLS.
|
| using | TLSID = AtomicInt |
| | Thread local storage ID.
|
|
using | DateTimeRaw = SDL_DateTime |
| | Alias to raw representation for DateTime.
|
| using | DateFormat = SDL_DateFormat |
| | The preferred date format of the current system locale.
|
| using | TimeFormat = SDL_TimeFormat |
| | The preferred time format of the current system locale.
|
| using | TimerID = SDL_TimerID |
| | Definition of the timer ID type.
|
| using | MSTimerCallback |
| | Function prototype for the millisecond timer callback function.
|
| using | NSTimerCallback |
| | Function prototype for the nanosecond timer callback function.
|
|
using | FingerRaw = SDL_Finger |
| | Alias to raw representation for Finger.
|
| using | TouchID = SDL_TouchID |
| | A unique ID for a touch device.
|
| using | FingerID = SDL_FingerID |
| | A unique ID for a single finger on a touch device.
|
| using | TouchDeviceType = SDL_TouchDeviceType |
| | An enum that describes the type of a touch device.
|
|
using | TrayRaw = SDL_Tray* |
| | Alias to raw representation for Tray.
|
| using | TrayRef = ResourceRef<Tray> |
| | Reference for Tray.
|
|
using | TrayMenuRaw = SDL_TrayMenu* |
| | Alias to raw representation for TrayMenu.
|
|
using | TrayEntryRaw = SDL_TrayEntry* |
| | Alias to raw representation for TrayEntry.
|
|
using | TrayEntryRef = TrayEntry |
| | Alias to TrayEntry for non owning parameters.
|
| using | TrayEntryFlags = Uint32 |
| | Flags that control the creation of system tray entries.
|
| using | TrayCallback = void(SDLCALL*)(void* userdata, TrayEntryRaw entry) |
| | A callback that is invoked when a tray entry is selected.
|
| using | TrayCB = MakeFrontCallback<void(TrayEntryRaw entry)> |
| | A callback that is invoked when a tray entry is selected.
|
|
using | FontRaw = TTF_Font* |
| | Alias to raw representation for Font.
|
| using | FontRef = ResourceRef<Font> |
| | Reference for Font.
|
|
using | TextEngineRaw = TTF_TextEngine* |
| | Alias to raw representation for TextEngine.
|
| using | TextEngineRef = ResourceLegacyRef<TextEngineRaw> |
| | Reference for TextEngine.
|
|
using | TextRaw = TTF_Text* |
| | Alias to raw representation for Text.
|
|
using | TextRawConst = const TTF_Text* |
| | Alias to const raw representation for Text.
|
| using | TextRef = ResourceRef<Text> |
| | Reference for Text.
|
|
using | TextConstRef = ResourceConstRef<TextRaw, TextRawConst> |
| | Safely wrap Text for non owning const parameters.
|
| using | FontStyleFlags = Uint32 |
| | Font style flags for Font.
|
| using | HintingFlags = TTF_HintingFlags |
| | Hinting flags for TTF (TrueType Fonts).
|
| using | HorizontalAlignment = TTF_HorizontalAlignment |
| | The horizontal alignment used when rendering wrapped text.
|
| using | Direction = TTF_Direction |
| | Direction flags.
|
| using | ImageType = TTF_ImageType |
| | The type of data in a glyph image.
|
| using | SubStringFlags = Uint32 |
| | Flags for SubString.
|
| using | GPUTextEngineWinding = TTF_GPUTextEngineWinding |
| | The winding order of the vertices returned by Text.GetGPUDrawData.
|
| using | GPUAtlasDrawSequence = TTF_GPUAtlasDrawSequence |
| | Draw sequence returned by Text.GetGPUDrawData.
|
| using | SubString = TTF_SubString |
| | The representation of a substring within text.
|
| using | TextData = TTF_TextData |
| | Internal data for Text.
|
|
using | DisplayID = SDL_DisplayID |
| | Alias to raw representation for Display.
|
|
using | WindowRaw = SDL_Window* |
| | Alias to raw representation for Window.
|
| using | WindowRef = ResourceRef<Window> |
| | Reference for Window.
|
|
using | GLContextRaw = SDL_GLContext |
| | Alias to raw representation for GLContext.
|
|
using | GLContextRef = GLContext |
| | Alias to GLContext for non owning parameters.
|
| using | RendererRef = ResourceRef<Renderer> |
| | Reference for Renderer.
|
| using | DisplayOrientation = SDL_DisplayOrientation |
| | Display orientation values; the way a display is rotated.
|
| using | DisplayMode = SDL_DisplayMode |
| | The structure that defines a display mode.
|
| using | WindowID = SDL_WindowID |
| | This is a unique ID for a window.
|
| using | SystemTheme = SDL_SystemTheme |
| | System theme.
|
| using | DisplayModeData = SDL_DisplayModeData |
| | Internal display mode data.
|
| using | WindowFlags = Uint64 |
| | The flags on a window.
|
| using | FlashOperation = SDL_FlashOperation |
| | Window flash operation.
|
| using | HitTestResult = SDL_HitTestResult |
| | Possible return values from the HitTest callback.
|
| using | HitTest |
| | Callback used for hit-testing.
|
| using | HitTestCB |
| | Callback used for hit-testing.
|
| using | EGLSurface = SDL_EGLSurface |
| | Opaque type for an EGL surface.
|
| using | ProgressState = SDL_ProgressState |
| | Window progress state.
|
| using | EGLDisplay = SDL_EGLDisplay |
| | Opaque type for an EGL display.
|
| using | EGLConfig = SDL_EGLConfig |
| | Opaque type for an EGL config.
|
| using | EGLAttrib = SDL_EGLAttrib |
| | An EGL attribute, used when creating an EGL context.
|
| using | EGLint = SDL_EGLint |
| | An EGL integer attribute, used when creating an EGL surface.
|
| using | EGLAttribArrayCallback = EGLAttrib*(SDLCALL*)(void* userdata) |
| | EGL platform attribute initialization callback.
|
| using | EGLIntArrayCallback |
| | EGL surface/context attribute initialization callback types.
|
| using | GLAttr = SDL_GLAttr |
| | An enumeration of OpenGL configuration attributes.
|
| using | GLProfile = Uint32 |
| | Possible values to be set for the GL_CONTEXT_PROFILE_MASK attribute.
|
| using | GLContextFlag = Uint32 |
| | Possible flags to be set for the GL_CONTEXT_FLAGS attribute.
|
| using | GLContextReleaseFlag = Uint32 |
| | Possible values to be set for the GL_CONTEXT_RELEASE_BEHAVIOR attribute.
|
| using | GLContextResetNotification = Uint32 |
| | Possible values to be set GL_CONTEXT_RESET_NOTIFICATION attribute.
|
| using | AppInit_func |
| | Function pointer typedef for SDL_AppInit.
|
| using | AppIterate_func = AppResult(SDLCALL*)(void* appstate) |
| | Function pointer typedef for SDL_AppIterate.
|
| using | AppEvent_func = AppResult(SDLCALL*)(void* appstate, Event* event) |
| | Function pointer typedef for SDL_AppEvent.
|
| using | AppQuit_func = void(SDLCALL*)(void* appstate, AppResult result) |
| | Function pointer typedef for SDL_AppQuit.
|
| using | MainThreadCallback = void(SDLCALL*)(void* userdata) |
| | Callback run on the main thread.
|
| using | MainThreadCB = std::function<void()> |
| | Callback run on the main thread.
|
|
| AssertState | ReportAssertion (AssertData *data, StringParam func, StringParam file, int line) |
| | Never call this directly.
|
| void | SetAssertionHandler (AssertionHandler handler, void *userdata) |
| | Set an application-defined assertion handler.
|
| void | SetAssertionHandler (AssertionHandlerCB handler) |
| | Set an application-defined assertion handler.
|
| AssertionHandler | GetDefaultAssertionHandler () |
| | Get the default assertion handler.
|
| AssertionHandler | GetAssertionHandler (void **puserdata) |
| | Get the current assertion handler.
|
| const AssertData & | GetAssertionReport () |
| | Get a list of all assertion failures.
|
| void | ResetAssertionReport () |
| | Clear the list of all assertion failures.
|
| AsyncIO | AsyncIOFromFile (StringParam file, StringParam mode) |
| | Use this function to create a new AsyncIO object for reading from and/or writing to a named file.
|
| Sint64 | GetAsyncIOSize (AsyncIORef asyncio) |
| | Use this function to get the size of the data stream in an AsyncIO.
|
| void | ReadAsyncIO (AsyncIORef asyncio, void *ptr, Uint64 offset, Uint64 size, AsyncIOQueueRef queue, void *userdata) |
| | Start an async read.
|
| void | WriteAsyncIO (AsyncIORef asyncio, void *ptr, Uint64 offset, Uint64 size, AsyncIOQueueRef queue, void *userdata) |
| | Start an async write.
|
| bool | CloseAsyncIO (AsyncIORaw asyncio, bool flush, AsyncIOQueueRef queue, void *userdata) |
| | Close and free any allocated resources for an async I/O object.
|
| AsyncIOQueue | CreateAsyncIOQueue () |
| | Create a task queue for tracking multiple I/O operations.
|
| void | DestroyAsyncIOQueue (AsyncIOQueueRaw queue) |
| | Destroy a previously-created async I/O task queue.
|
| std::optional< AsyncIOOutcome > | GetAsyncIOResult (AsyncIOQueueRef queue) |
| | Query an async I/O task queue for completed tasks.
|
| std::optional< AsyncIOOutcome > | WaitAsyncIOResult (AsyncIOQueueRef queue, Milliseconds timeout) |
| | Block until an async I/O task queue has a completed task.
|
| std::optional< AsyncIOOutcome > | WaitAsyncIOResult (AsyncIOQueueRef queue) |
| | Block until an async I/O task queue has a completed task.
|
| void | SignalAsyncIOQueue (AsyncIOQueueRef queue) |
| | Wake up any threads that are blocking in AsyncIOQueue.WaitResult().
|
| void | LoadFileAsync (StringParam file, AsyncIOQueueRef queue, void *userdata) |
| | Load all the data from a file path, asynchronously.
|
| SDL_FORCE_INLINE void | CompilerBarrier () |
| | Mark a compiler barrier.
|
| void | MemoryBarrierReleaseFunction () |
| | Insert a memory release barrier (function version).
|
| void | MemoryBarrierAcquireFunction () |
| | Insert a memory acquire barrier (function version).
|
| SDL_FORCE_INLINE void | MemoryBarrierRelease () |
| | Insert a memory release barrier.
|
| SDL_FORCE_INLINE void | MemoryBarrierAcquire () |
| | Insert a memory acquire barrier.
|
| SDL_FORCE_INLINE void | CPUPauseInstruction () |
| | A function to insert a CPU-specific "pause" instruction into the program.
|
| bool | CompareAndSwapAtomicInt (AtomicIntRaw *a, int oldval, int newval) |
| | Set an atomic variable to a new value if it is currently an old value.
|
| int | SetAtomicInt (AtomicIntRaw *a, int v) |
| | Set an atomic variable to a value.
|
| int | GetAtomicInt (AtomicIntRaw *a) |
| | Get the value of an atomic variable.
|
| int | AddAtomicInt (AtomicIntRaw *a, int v) |
| | Add to an atomic variable.
|
| bool | AtomicIncRef (AtomicIntRaw *a) |
| | Increment an atomic variable used as a reference count.
|
| bool | AtomicDecRef (AtomicIntRaw *a) |
| | Decrement an atomic variable used as a reference count.
|
| bool | CompareAndSwapAtomicU32 (AtomicU32Raw *a, Uint32 oldval, Uint32 newval) |
| | Set an atomic variable to a new value if it is currently an old value.
|
| Uint32 | SetAtomicU32 (AtomicU32Raw *a, Uint32 v) |
| | Set an atomic variable to a value.
|
| Uint32 | GetAtomicU32 (AtomicU32Raw *a) |
| | Get the value of an atomic variable.
|
| Uint32 | AddAtomicU32 (AtomicU32Raw *a, int v) |
| | Add to an atomic variable.
|
| constexpr AudioFormat | DefineAudioFormat (bool sign, bool bigendian, bool flt, Uint16 size) |
| | Define an AudioFormat value.
|
| constexpr Uint16 | AudioBitSize (AudioFormatRaw x) |
| | Retrieve the size, in bits, from an AudioFormat.
|
| constexpr Uint16 | AudioByteSize (AudioFormatRaw x) |
| | Retrieve the size, in bytes, from an AudioFormat.
|
| constexpr bool | IsAudioFloat (AudioFormatRaw x) |
| | Determine if an AudioFormat represents floating point data.
|
| constexpr bool | IsAudioBigENDIAN (AudioFormatRaw x) |
| | Determine if an AudioFormat represents bigendian data.
|
| constexpr bool | IsAudioLittleEndian (AudioFormatRaw x) |
| | Determine if an AudioFormat represents littleendian data.
|
| constexpr bool | IsAudioSigned (AudioFormatRaw x) |
| | Determine if an AudioFormat represents signed data.
|
| constexpr bool | IsAudioInt (AudioFormatRaw x) |
| | Determine if an AudioFormat represents integer data.
|
| constexpr bool | IsAudioUnsigned (AudioFormatRaw x) |
| | Determine if an AudioFormat represents unsigned data.
|
| constexpr int | AudioFrameSize (const AudioSpec &x) |
| | Calculate the size of each audio frame (in bytes) from an AudioSpec.
|
| int | GetNumAudioDrivers () |
| | Use this function to get the number of built-in audio drivers.
|
| const char * | GetAudioDriver (int index) |
| | Use this function to get the name of a built in audio driver.
|
| const char * | GetCurrentAudioDriver () |
| | Get the name of the current audio driver.
|
| OwnArray< AudioDeviceRef > | GetAudioPlaybackDevices () |
| | Get a list of currently-connected audio playback devices.
|
| OwnArray< AudioDeviceRef > | GetAudioRecordingDevices () |
| | Get a list of currently-connected audio recording devices.
|
| const char * | GetAudioDeviceName (AudioDeviceRef devid) |
| | Get the human-readable name of a specific audio device.
|
| AudioSpec | GetAudioDeviceFormat (AudioDeviceRef devid, int *sample_frames=nullptr) |
| | Get the current audio format of a specific audio device.
|
| OwnArray< int > | GetAudioDeviceChannelMap (AudioDeviceRef devid) |
| | Get the current channel map of an audio device.
|
| AudioDevice | OpenAudioDevice (AudioDeviceRef devid, OptionalRef< const AudioSpec > spec) |
| | Open a specific audio device.
|
| bool | IsAudioDevicePhysical (AudioDeviceRef devid) |
| | Determine if an audio device is physical (instead of logical).
|
| bool | IsAudioDevicePlayback (AudioDeviceRef devid) |
| | Determine if an audio device is a playback device (instead of recording).
|
| void | PauseAudioDevice (AudioDeviceRef devid) |
| | Use this function to pause audio playback on a specified device.
|
| void | ResumeAudioDevice (AudioDeviceRef devid) |
| | Use this function to unpause audio playback on a specified device.
|
| bool | AudioDevicePaused (AudioDeviceRef devid) |
| | Use this function to query if an audio device is paused.
|
| float | GetAudioDeviceGain (AudioDeviceRef devid) |
| | Get the gain of an audio device.
|
| void | SetAudioDeviceGain (AudioDeviceRef devid, float gain) |
| | Change the gain of an audio device.
|
| void | CloseAudioDevice (AudioDeviceID devid) |
| | Close a previously-opened audio device.
|
| void | BindAudioStreams (AudioDeviceRef devid, std::span< AudioStreamRef > streams) |
| | Bind a list of audio streams to an audio device.
|
| void | BindAudioStream (AudioDeviceRef devid, AudioStreamRef stream) |
| | Bind a single audio stream to an audio device.
|
| void | UnbindAudioStreams (std::span< AudioStreamRef > streams) |
| | Unbind a list of audio streams from their audio devices.
|
| void | UnbindAudioStream (AudioStreamRef stream) |
| | Unbind a single audio stream from its audio device.
|
| AudioDeviceRef | GetAudioStreamDevice (AudioStreamRef stream) |
| | Query an audio stream for its currently-bound device.
|
| AudioStream | CreateAudioStream (OptionalRef< const AudioSpec > src_spec, OptionalRef< const AudioSpec > dst_spec) |
| | Create a new audio stream.
|
| PropertiesRef | GetAudioStreamProperties (AudioStreamRef stream) |
| | Get the properties associated with an audio stream.
|
| void | GetAudioStreamFormat (AudioStreamRef stream, AudioSpec *src_spec, AudioSpec *dst_spec) |
| | Query the current format of an audio stream.
|
| void | SetAudioStreamFormat (AudioStreamRef stream, OptionalRef< const AudioSpec > src_spec, OptionalRef< const AudioSpec > dst_spec) |
| | Change the input and output formats of an audio stream.
|
| float | GetAudioStreamFrequencyRatio (AudioStreamRef stream) |
| | Get the frequency ratio of an audio stream.
|
| void | SetAudioStreamFrequencyRatio (AudioStreamRef stream, float ratio) |
| | Change the frequency ratio of an audio stream.
|
| float | GetAudioStreamGain (AudioStreamRef stream) |
| | Get the gain of an audio stream.
|
| void | SetAudioStreamGain (AudioStreamRef stream, float gain) |
| | Change the gain of an audio stream.
|
| OwnArray< int > | GetAudioStreamInputChannelMap (AudioStreamRef stream) |
| | Get the current input channel map of an audio stream.
|
| OwnArray< int > | GetAudioStreamOutputChannelMap (AudioStreamRef stream) |
| | Get the current output channel map of an audio stream.
|
| void | SetAudioStreamInputChannelMap (AudioStreamRef stream, std::span< int > chmap) |
| | Set the current input channel map of an audio stream.
|
| void | SetAudioStreamOutputChannelMap (AudioStreamRef stream, std::span< int > chmap) |
| | Set the current output channel map of an audio stream.
|
| void | PutAudioStreamData (AudioStreamRef stream, SourceBytes buf) |
| | Add data to the stream.
|
| void | PutAudioStreamDataNoCopy (AudioStreamRef stream, SourceBytes buf, AudioStreamDataCompleteCallback callback, void *userdata) |
| | Add external data to an audio stream without copying it.
|
| void | PutAudioStreamDataNoCopy (AudioStreamRef stream, SourceBytes buf, AudioStreamDataCompleteCB callback) |
| | Add external data to an audio stream without copying it.
|
| void | PutAudioStreamPlanarData (AudioStreamRef stream, const void *const *channel_buffers, int num_channels, int num_samples) |
| | Add data to the stream with each channel in a separate array.
|
| int | GetAudioStreamData (AudioStreamRef stream, TargetBytes buf) |
| | Get converted/resampled data from the stream.
|
| int | GetAudioStreamAvailable (AudioStreamRef stream) |
| | Get the number of converted/resampled bytes available.
|
| int | GetAudioStreamQueued (AudioStreamRef stream) |
| | Get the number of bytes currently queued.
|
| void | FlushAudioStream (AudioStreamRef stream) |
| | Tell the stream that you're done sending data, and anything being buffered should be converted/resampled and made available immediately.
|
| void | ClearAudioStream (AudioStreamRef stream) |
| | Clear any pending data in the stream.
|
| void | PauseAudioStreamDevice (AudioStreamRef stream) |
| | Use this function to pause audio playback on the audio device associated with an audio stream.
|
| void | ResumeAudioStreamDevice (AudioStreamRef stream) |
| | Use this function to unpause audio playback on the audio device associated with an audio stream.
|
| bool | AudioStreamDevicePaused (AudioStreamRef stream) |
| | Use this function to query if an audio device associated with a stream is paused.
|
| void | LockAudioStream (AudioStreamRef stream) |
| | Lock an audio stream for serialized access.
|
| void | UnlockAudioStream (AudioStreamRef stream) |
| | Unlock an audio stream for serialized access.
|
| void | SetAudioStreamGetCallback (AudioStreamRef stream, AudioStreamCallback callback, void *userdata) |
| | Set a callback that runs when data is requested from an audio stream.
|
| void | SetAudioStreamGetCallback (AudioStreamRef stream, AudioStreamCB callback) |
| | Set a callback that runs when data is requested from an audio stream.
|
| void | SetAudioStreamPutCallback (AudioStreamRef stream, AudioStreamCallback callback, void *userdata) |
| | Set a callback that runs when data is added to an audio stream.
|
| void | SetAudioStreamPutCallback (AudioStreamRef stream, AudioStreamCB callback) |
| | Set a callback that runs when data is added to an audio stream.
|
| void | DestroyAudioStream (AudioStreamRaw stream) |
| | Free an audio stream.
|
| AudioStream | OpenAudioDeviceStream (AudioDeviceRef devid, OptionalRef< const AudioSpec > spec, AudioStreamCallback callback=nullptr, void *userdata=nullptr) |
| | Convenience function for straightforward audio init for the common case.
|
| AudioStream | OpenAudioDeviceStream (AudioDeviceRef devid, OptionalRef< const AudioSpec > spec, AudioStreamCB callback) |
| | Convenience function for straightforward audio init for the common case.
|
| void | SetAudioPostmixCallback (AudioDeviceRef devid, AudioPostmixCallback callback, void *userdata) |
| | Set a callback that fires when data is about to be fed to an audio device.
|
| void | SetAudioPostmixCallback (AudioDeviceRef devid, AudioPostmixCB callback) |
| | Set a callback that fires when data is about to be fed to an audio device.
|
| OwnArray< Uint8 > | LoadWAV_IO (IOStreamRef src, AudioSpec *spec, bool closeio=false) |
| | Load the audio data of a WAVE file into memory.
|
| OwnArray< Uint8 > | LoadWAV (StringParam path, AudioSpec *spec) |
| | Loads a WAV from a file path.
|
| void | MixAudio (Uint8 *dst, SourceBytes src, AudioFormat format, float volume) |
| | Mix audio data in a specified format.
|
| void | MixAudio (TargetBytes dst, SourceBytes src, AudioFormat format, float volume) |
| | Mix audio data in a specified format.
|
| OwnArray< Uint8 > | ConvertAudioSamples (const AudioSpec &src_spec, SourceBytes src_data, const AudioSpec &dst_spec) |
| | Convert some audio data of one format to another format.
|
| const char * | GetAudioFormatName (AudioFormatRaw format) |
| | Get the human readable name of an audio format.
|
| int | GetSilenceValueForFormat (AudioFormatRaw format) |
| | Get the appropriate memset value for silencing an audio format.
|
| int | MostSignificantBitIndex32 (Uint32 x) |
| | Get the index of the most significant (set) bit in a 32-bit number.
|
| bool | HasExactlyOneBitSet32 (Uint32 x) |
| | Determine if a unsigned 32-bit value has exactly one bit set.
|
| BlendMode | ComposeCustomBlendMode (BlendFactor srcColorFactor, BlendFactor dstColorFactor, BlendOperation colorOperation, BlendFactor srcAlphaFactor, BlendFactor dstAlphaFactor, BlendOperation alphaOperation) |
| | Compose a custom blend mode for renderers.
|
| int | GetNumCameraDrivers () |
| | Use this function to get the number of built-in camera drivers.
|
| const char * | GetCameraDriver (int index) |
| | Use this function to get the name of a built in camera driver.
|
| const char * | GetCurrentCameraDriver () |
| | Get the name of the current camera driver.
|
| OwnArray< CameraID > | GetCameras () |
| | Get a list of currently connected camera devices.
|
| OwnArray< CameraSpec * > | GetCameraSupportedFormats (CameraID instance_id) |
| | Get the list of native formats/sizes a camera supports.
|
| const char * | GetCameraName (CameraID instance_id) |
| | Get the human-readable device name for a camera.
|
| CameraPosition | GetCameraPosition (CameraID instance_id) |
| | Get the position of the camera in relation to the system.
|
| Camera | OpenCamera (CameraID instance_id, OptionalRef< const CameraSpec > spec={}) |
| | Open a video recording device (a "camera").
|
| CameraPermissionState | GetCameraPermissionState (CameraRef camera) |
| | Query if camera access has been approved by the user.
|
| CameraID | GetCameraID (CameraRef camera) |
| | Get the instance ID of an opened camera.
|
| PropertiesRef | GetCameraProperties (CameraRef camera) |
| | Get the properties associated with an opened camera.
|
| std::optional< CameraSpec > | GetCameraFormat (CameraRef camera) |
| | Get the spec that a camera is using when generating images.
|
| Surface | AcquireCameraFrame (CameraRef camera, Uint64 *timestampNS=nullptr) |
| | Acquire a frame.
|
| void | ReleaseCameraFrame (CameraRef camera, SurfaceRef frame) |
| | Release a frame of video acquired from a camera.
|
| void | CloseCamera (CameraRaw camera) |
| | Use this function to shut down camera processing and close the camera device.
|
| void | SetClipboardText (StringParam text) |
| | Put UTF-8 text into the clipboard.
|
| StringResult | GetClipboardText () |
| | Get UTF-8 text from the clipboard.
|
| bool | HasClipboardText () |
| | Query whether the clipboard exists and contains a non-empty text string.
|
| void | SetPrimarySelectionText (StringParam text) |
| | Put UTF-8 text into the primary selection.
|
| StringResult | GetPrimarySelectionText () |
| | Get UTF-8 text from the primary selection.
|
| bool | HasPrimarySelectionText () |
| | Query whether the primary selection exists and contains a non-empty text string.
|
| void | SetClipboardData (ClipboardDataCallback callback, ClipboardCleanupCallback cleanup, void *userdata, std::span< const char * > mime_types) |
| | Offer clipboard data to the OS.
|
| void | SetClipboardData (ClipboardDataCB callback, ClipboardCleanupCB cleanup, std::span< const char * > mime_types) |
| | Offer clipboard data to the OS.
|
| void | ClearClipboardData () |
| | Clear the clipboard data.
|
| StringResult | GetClipboardData (StringParam mime_type) |
| | Get the data from the clipboard for a given mime type.
|
| template<class T> |
| OwnArray< T > | GetClipboardDataAs (StringParam mime_type) |
| | Get the data from the clipboard for a given mime type.
|
| bool | HasClipboardData (StringParam mime_type) |
| | Query whether there is data in the clipboard for the provided mime type.
|
| OwnArray< char * > | GetClipboardMimeTypes () |
| | Retrieve the list of mime types available in the clipboard.
|
| int | GetNumLogicalCPUCores () |
| | Get the number of logical CPU cores available.
|
| int | GetCPUCacheLineSize () |
| | Determine the L1 cache line size of the CPU.
|
| bool | HasAltiVec () |
| | Determine whether the CPU has AltiVec features.
|
| bool | HasMMX () |
| | Determine whether the CPU has MMX features.
|
| bool | HasSSE () |
| | Determine whether the CPU has SSE features.
|
| bool | HasSSE2 () |
| | Determine whether the CPU has SSE2 features.
|
| bool | HasSSE3 () |
| | Determine whether the CPU has SSE3 features.
|
| bool | HasSSE41 () |
| | Determine whether the CPU has SSE4.1 features.
|
| bool | HasSSE42 () |
| | Determine whether the CPU has SSE4.2 features.
|
| bool | HasAVX () |
| | Determine whether the CPU has AVX features.
|
| bool | HasAVX2 () |
| | Determine whether the CPU has AVX2 features.
|
| bool | HasAVX512F () |
| | Determine whether the CPU has AVX-512F (foundation) features.
|
| bool | HasARMSIMD () |
| | Determine whether the CPU has ARM SIMD (ARMv6) features.
|
| bool | HasNEON () |
| | Determine whether the CPU has NEON (ARM SIMD) features.
|
| bool | HasLSX () |
| | Determine whether the CPU has LSX (LOONGARCH SIMD) features.
|
| bool | HasLASX () |
| | Determine whether the CPU has LASX (LOONGARCH SIMD) features.
|
| int | GetSystemRAM () |
| | Get the amount of RAM configured in the system.
|
| size_t | GetSIMDAlignment () |
| | Report the alignment this system needs for SIMD allocations.
|
| int | GetSystemPageSize () |
| | Report the size of a page of memory.
|
| void | ShowOpenFileDialog (DialogFileCallback callback, void *userdata, WindowRef window, std::span< const DialogFileFilter > filters={}, StringParam default_location={}, bool allow_many=false) |
| | Displays a dialog that lets the user select a file on their filesystem.
|
| void | ShowOpenFileDialog (DialogFileCB callback, WindowRef window, std::span< const DialogFileFilter > filters={}, StringParam default_location={}, bool allow_many=false) |
| | Displays a dialog that lets the user select a file on their filesystem.
|
| void | ShowSaveFileDialog (DialogFileCallback callback, void *userdata, WindowRef window={}, std::span< const DialogFileFilter > filters={}, StringParam default_location={}) |
| | Displays a dialog that lets the user choose a new or existing file on their filesystem.
|
| void | ShowSaveFileDialog (DialogFileCB callback, WindowRef window={}, std::span< const DialogFileFilter > filters={}, StringParam default_location={}) |
| | Displays a dialog that lets the user choose a new or existing file on their filesystem.
|
| void | ShowOpenFolderDialog (DialogFileCallback callback, void *userdata, WindowRef window={}, StringParam default_location={}, bool allow_many=false) |
| | Displays a dialog that lets the user select a folder on their filesystem.
|
| void | ShowOpenFolderDialog (DialogFileCB callback, WindowRef window={}, StringParam default_location={}, bool allow_many=false) |
| | Displays a dialog that lets the user select a folder on their filesystem.
|
| void | ShowFileDialogWithProperties (FileDialogType type, DialogFileCallback callback, void *userdata, PropertiesRef props) |
| | Create and launch a file dialog with the specified properties.
|
| void | ShowFileDialogWithProperties (FileDialogType type, DialogFileCB callback, PropertiesID props) |
| | Create and launch a file dialog with the specified properties.
|
| Uint16 | Swap16 (Uint16 x) |
| | Byte-swap an unsigned 16-bit number.
|
| Uint32 | Swap32 (Uint32 x) |
| | Byte-swap an unsigned 32-bit number.
|
| Uint64 | Swap64 (Uint64 x) |
| | Byte-swap an unsigned 64-bit number.
|
| float | SwapFloat (float x) |
| | Byte-swap a floating point number.
|
| constexpr Uint16 | Swap16LE (Uint16 x) |
| | Swap a 16-bit value from littleendian to native byte order.
|
| constexpr Uint32 | Swap32LE (Uint32 x) |
| | Swap a 32-bit value from littleendian to native byte order.
|
| constexpr Uint64 | Swap64LE (Uint64 x) |
| | Swap a 64-bit value from littleendian to native byte order.
|
| constexpr float | SwapFloatLE (float x) |
| | Swap a floating point value from littleendian to native byte order.
|
| Uint16 | Swap16BE (Uint16 x) |
| | Swap a 16-bit value from bigendian to native byte order.
|
| Uint32 | Swap32BE (Uint32 x) |
| | Swap a 32-bit value from bigendian to native byte order.
|
| Uint64 | Swap64BE (Uint64 x) |
| | Swap a 64-bit value from bigendian to native byte order.
|
| float | SwapFloatBE (float x) |
| | Swap a floating point value from bigendian to native byte order.
|
| bool | SetErrorUnformatted (StringParam message) |
| | Set the SDL error message for the current thread.
|
| template<class... ARGS> |
| bool | SetError (std::string_view fmt, ARGS... args) |
| | Set the SDL error message for the current thread.
|
| bool | OutOfMemory () |
| | Set an error indicating that memory allocation failed.
|
| const char * | GetError () |
| | Retrieve a message about the last error that occurred on the current thread.
|
| constexpr void | CheckError (bool result) |
| | Check and throw if returned value from SDL is an error.
|
| template<class T> |
| constexpr T | CheckError (T result) |
| | Check and throw if returned value from SDL is an error.
|
| template<class T> |
| constexpr T | CheckError (T result, T invalidValue) |
| | Check and throw if returned value from SDL is an error.
|
| template<class T> |
| constexpr void | CheckErrorIfNot (T result, T validValue) |
| | Check and throw if returned value from SDL is an error.
|
| bool | ClearError () |
| | Clear any previous error message for this thread.
|
| void | PumpEvents () |
| | Pump the event loop, gathering events from the input devices.
|
| int | PeepEvents (Event *events, int numevents, EventAction action, Uint32 minType=EVENT_FIRST, Uint32 maxType=EVENT_LAST) |
| | Check the event queue for messages and optionally return them.
|
| bool | HasEvent (Uint32 type) |
| | Check for the existence of a certain event type in the event queue.
|
| bool | HasEvents (Uint32 minType=EVENT_FIRST, Uint32 maxType=EVENT_LAST) |
| | Check for the existence of certain event types in the event queue.
|
| void | FlushEvent (Uint32 type) |
| | Clear events of a specific type from the event queue.
|
| void | FlushEvents (Uint32 minType=EVENT_FIRST, Uint32 maxType=EVENT_LAST) |
| | Clear events of a range of types from the event queue.
|
| bool | PollEvent (Event *event) |
| | Poll for currently pending events.
|
| std::optional< Event > | PollEvent () |
| | Poll for currently pending events.
|
| void | WaitEvent (Event *event) |
| | Wait indefinitely for the next available event.
|
| Event | WaitEvent () |
| | Wait indefinitely for the next available event.
|
| bool | WaitEventTimeout (Event *event, Sint32 timeoutMS) |
| | Wait until the specified timeout (in milliseconds) for the next available event.
|
| std::optional< Event > | WaitEventTimeout (Sint32 timeoutMS) |
| | Wait until the specified timeout (in milliseconds) for the next available event.
|
| bool | WaitEventTimeout (Event *event, std::chrono::milliseconds timeoutDuration) |
| | Wait until the specified timeout (in milliseconds) for the next available event.
|
| std::optional< Event > | WaitEventTimeout (std::chrono::milliseconds timeoutDuration) |
| | Wait until the specified timeout (in milliseconds) for the next available event.
|
| void | PushEvent (Event *event) |
| | Add an event to the event queue.
|
| void | PushEvent (const Event &event) |
| | Add an event to the event queue.
|
| void | SetEventFilter (EventFilter filter, void *userdata) |
| | Set up a filter to process all events before they are added to the internal event queue.
|
| void | SetEventFilter (EventFilterCB filter) |
| | Set up a filter to process all events before they are added to the internal event queue.
|
| bool | GetEventFilter (EventFilter *filter, void **userdata) |
| | Query the current event filter.
|
| void | AddEventWatch (EventFilter filter, void *userdata) |
| | Add a callback to be triggered when an event is added to the event queue.
|
| void | AddEventWatch (EventWatcherCB filter) |
| | Add a callback to be triggered when an event is added to the event queue.
|
| void | RemoveEventWatch (EventFilter filter, void *userdata) |
| | Remove an event watch callback added with AddEventWatch().
|
| void | FilterEvents (EventFilter filter, void *userdata) |
| | Run a specific filter function on the current event queue, removing any events for which the filter returns false.
|
| void | FilterEvents (EventFilterCB filter) |
| | Run a specific filter function on the current event queue, removing any events for which the filter returns false.
|
| void | SetEventEnabled (Uint32 type, bool enabled) |
| | Set the state of processing events by type.
|
| bool | EventEnabled (Uint32 type) |
| | Query the state of processing events by type.
|
| Uint32 | RegisterEvents (int numevents) |
| | Allocate a set of user-defined events, and return the beginning event number for that set of events.
|
| WindowRef | GetWindowFromEvent (const Event &event) |
| | Get window associated with an event.
|
| int | GetEventDescription (const Event &event, TargetBytes buf) |
| | Generate an English description of an event.
|
| std::string | GetEventDescription (const Event &event) |
| | Generate an English description of an event.
|
| const char * | GetBasePath () |
| | Get the directory where the application was run from.
|
| Path | GetPrefPath (StringParam org, StringParam app) |
| | Get the user-and-app-specific path where files can be written.
|
| const char * | GetUserFolder (Folder folder) |
| | Finds the most suitable user folder for a specific purpose.
|
| void | CreateDirectory (StringParam path) |
| | Create a directory, and any missing parent directories.
|
| void | EnumerateDirectory (StringParam path, EnumerateDirectoryCallback callback, void *userdata) |
| | Enumerate a directory through a callback function.
|
| void | EnumerateDirectory (StringParam path, EnumerateDirectoryCB callback) |
| | Enumerate a directory through a callback function.
|
| std::vector< Path > | EnumerateDirectory (StringParam path) |
| | Enumerate a directory.
|
| void | RemovePath (StringParam path) |
| | Remove a file or an empty directory.
|
| void | RenamePath (StringParam oldpath, StringParam newpath) |
| | Rename a file or directory.
|
| void | CopyFile (StringParam oldpath, StringParam newpath) |
| | Copy a file.
|
| PathInfo | GetPathInfo (StringParam path) |
| | Get information about a filesystem path.
|
| OwnArray< char * > | GlobDirectory (StringParam path, StringParam pattern, GlobFlags flags=0) |
| | Enumerate a directory tree, filtered by pattern, and return a list.
|
| Path | GetCurrentDirectory () |
| | Get what the system believes is the "current working directory.".
|
| int | AddGamepadMapping (StringParam mapping) |
| | Add support for gamepads that SDL is unaware of or change the binding of an existing gamepad.
|
| int | AddGamepadMappingsFromIO (IOStreamRef src, bool closeio) |
| | Load a set of gamepad mappings from an IOStream.
|
| int | AddGamepadMappingsFromFile (StringParam file) |
| | Load a set of gamepad mappings from a file.
|
| void | ReloadGamepadMappings () |
| | Reinitialize the SDL mapping database to its initial state.
|
| OwnArray< char * > | GetGamepadMappings () |
| | Get the current gamepad mappings.
|
| StringResult | GetGamepadMappingForGUID (GUID guid) |
| | Get the gamepad mapping string for a given GUID.
|
| StringResult | GetGamepadMapping (GamepadRef gamepad) |
| | Get the current mapping of a gamepad.
|
| void | SetGamepadMapping (JoystickID instance_id, StringParam mapping) |
| | Set the current mapping of a joystick or gamepad.
|
| bool | HasGamepad () |
| | Return whether a gamepad is currently connected.
|
| OwnArray< JoystickID > | GetGamepads () |
| | Get a list of currently connected gamepads.
|
| bool | IsGamepad (JoystickID instance_id) |
| | Check if the given joystick is supported by the gamepad interface.
|
| const char * | GetGamepadNameForID (JoystickID instance_id) |
| | Get the implementation dependent name of a gamepad.
|
| const char * | GetGamepadPathForID (JoystickID instance_id) |
| | Get the implementation dependent path of a gamepad.
|
| int | GetGamepadPlayerIndexForID (JoystickID instance_id) |
| | Get the player index of a gamepad.
|
| GUID | GetGamepadGUIDForID (JoystickID instance_id) |
| | Get the implementation-dependent GUID of a gamepad.
|
| Uint16 | GetGamepadVendorForID (JoystickID instance_id) |
| | Get the USB vendor ID of a gamepad, if available.
|
| Uint16 | GetGamepadProductForID (JoystickID instance_id) |
| | Get the USB product ID of a gamepad, if available.
|
| Uint16 | GetGamepadProductVersionForID (JoystickID instance_id) |
| | Get the product version of a gamepad, if available.
|
| GamepadType | GetGamepadTypeForID (JoystickID instance_id) |
| | Get the type of a gamepad.
|
| GamepadType | GetRealGamepadTypeForID (JoystickID instance_id) |
| | Get the type of a gamepad, ignoring any mapping override.
|
| char * | GetGamepadMappingForID (JoystickID instance_id) |
| | Get the mapping of a gamepad.
|
| Gamepad | OpenGamepad (JoystickID instance_id) |
| | Open a gamepad for use.
|
| GamepadRef | GetGamepadFromID (JoystickID instance_id) |
| | Get the Gamepad associated with a joystick instance ID, if it has been opened.
|
| GamepadRef | GetGamepadFromPlayerIndex (int player_index) |
| | Get the Gamepad associated with a player index.
|
| PropertiesRef | GetGamepadProperties (GamepadRef gamepad) |
| | Get the properties associated with an opened gamepad.
|
| JoystickID | GetGamepadID (GamepadRef gamepad) |
| | Get the instance ID of an opened gamepad.
|
| const char * | GetGamepadName (GamepadRef gamepad) |
| | Get the implementation-dependent name for an opened gamepad.
|
| const char * | GetGamepadPath (GamepadRef gamepad) |
| | Get the implementation-dependent path for an opened gamepad.
|
| GamepadType | GetGamepadType (GamepadRef gamepad) |
| | Get the type of an opened gamepad.
|
| GamepadType | GetRealGamepadType (GamepadRef gamepad) |
| | Get the type of an opened gamepad, ignoring any mapping override.
|
| int | GetGamepadPlayerIndex (GamepadRef gamepad) |
| | Get the player index of an opened gamepad.
|
| void | SetGamepadPlayerIndex (GamepadRef gamepad, int player_index) |
| | Set the player index of an opened gamepad.
|
| Uint16 | GetGamepadVendor (GamepadRef gamepad) |
| | Get the USB vendor ID of an opened gamepad, if available.
|
| Uint16 | GetGamepadProduct (GamepadRef gamepad) |
| | Get the USB product ID of an opened gamepad, if available.
|
| Uint16 | GetGamepadProductVersion (GamepadRef gamepad) |
| | Get the product version of an opened gamepad, if available.
|
| Uint16 | GetGamepadFirmwareVersion (GamepadRef gamepad) |
| | Get the firmware version of an opened gamepad, if available.
|
| const char * | GetGamepadSerial (GamepadRef gamepad) |
| | Get the serial number of an opened gamepad, if available.
|
| Uint64 | GetGamepadSteamHandle (GamepadRef gamepad) |
| | Get the Steam Input handle of an opened gamepad, if available.
|
| JoystickConnectionState | GetGamepadConnectionState (GamepadRef gamepad) |
| | Get the connection state of a gamepad.
|
| PowerState | GetGamepadPowerInfo (GamepadRef gamepad, int *percent) |
| | Get the battery state of a gamepad.
|
| bool | GamepadConnected (GamepadRef gamepad) |
| | Check if a gamepad has been opened and is currently connected.
|
| JoystickRef | GetGamepadJoystick (GamepadRef gamepad) |
| | Get the underlying joystick from a gamepad.
|
| void | SetGamepadEventsEnabled (bool enabled) |
| | Set the state of gamepad event processing.
|
| bool | GamepadEventsEnabled () |
| | Query the state of gamepad event processing.
|
| OwnArray< GamepadBinding * > | GetGamepadBindings (GamepadRef gamepad) |
| | Get the SDL joystick layer bindings for a gamepad.
|
| void | UpdateGamepads () |
| | Manually pump gamepad updates if not using the loop.
|
| GamepadType | GetGamepadTypeFromString (StringParam str) |
| | Convert a string into GamepadType enum.
|
| const char * | GetGamepadStringForType (GamepadType type) |
| | Convert from an GamepadType enum to a string.
|
| GamepadAxis | GetGamepadAxisFromString (StringParam str) |
| | Convert a string into GamepadAxis enum.
|
| const char * | GetGamepadStringForAxis (GamepadAxis axis) |
| | Convert from an GamepadAxis enum to a string.
|
| bool | GamepadHasAxis (GamepadRef gamepad, GamepadAxis axis) |
| | Query whether a gamepad has a given axis.
|
| Sint16 | GetGamepadAxis (GamepadRef gamepad, GamepadAxis axis) |
| | Get the current state of an axis control on a gamepad.
|
| GamepadButton | GetGamepadButtonFromString (StringParam str) |
| | Convert a string into an GamepadButton enum.
|
| const char * | GetGamepadStringForButton (GamepadButton button) |
| | Convert from an GamepadButton enum to a string.
|
| bool | GamepadHasButton (GamepadRef gamepad, GamepadButton button) |
| | Query whether a gamepad has a given button.
|
| bool | GetGamepadButton (GamepadRef gamepad, GamepadButton button) |
| | Get the current state of a button on a gamepad.
|
| GamepadButtonLabel | GetGamepadButtonLabelForType (GamepadType type, GamepadButton button) |
| | Get the label of a button on a gamepad.
|
| GamepadButtonLabel | GetGamepadButtonLabel (GamepadRef gamepad, GamepadButton button) |
| | Get the label of a button on a gamepad.
|
| int | GetNumGamepadTouchpads (GamepadRef gamepad) |
| | Get the number of touchpads on a gamepad.
|
| int | GetNumGamepadTouchpadFingers (GamepadRef gamepad, int touchpad) |
| | Get the number of supported simultaneous fingers on a touchpad on a game gamepad.
|
| void | GetGamepadTouchpadFinger (GamepadRef gamepad, int touchpad, int finger, bool *down, float *x, float *y, float *pressure) |
| | Get the current state of a finger on a touchpad on a gamepad.
|
| bool | GamepadHasSensor (GamepadRef gamepad, SensorType type) |
| | Return whether a gamepad has a particular sensor.
|
| void | SetGamepadSensorEnabled (GamepadRef gamepad, SensorType type, bool enabled) |
| | Set whether data reporting for a gamepad sensor is enabled.
|
| bool | GamepadSensorEnabled (GamepadRef gamepad, SensorType type) |
| | Query whether sensor data reporting is enabled for a gamepad.
|
| float | GetGamepadSensorDataRate (GamepadRef gamepad, SensorType type) |
| | Get the data rate (number of events per second) of a gamepad sensor.
|
| void | GetGamepadSensorData (GamepadRef gamepad, SensorType type, float *data, int num_values) |
| | Get the current state of a gamepad sensor.
|
| void | RumbleGamepad (GamepadRef gamepad, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms) |
| | Start a rumble effect on a gamepad.
|
| void | RumbleGamepadTriggers (GamepadRef gamepad, Uint16 left_rumble, Uint16 right_rumble, Uint32 duration_ms) |
| | Start a rumble effect in the gamepad's triggers.
|
| void | SetGamepadLED (GamepadRef gamepad, Uint8 red, Uint8 green, Uint8 blue) |
| | Update a gamepad's LED color.
|
| void | SendGamepadEffect (GamepadRef gamepad, const void *data, int size) |
| | Send a gamepad specific effect packet.
|
| void | CloseGamepad (GamepadRaw gamepad) |
| | Close a gamepad previously opened with OpenGamepad().
|
| const char * | GetGamepadAppleSFSymbolsNameForButton (GamepadRef gamepad, GamepadButton button) |
| | Return the sfSymbolsName for a given button on a gamepad on Apple platforms.
|
| const char * | GetGamepadAppleSFSymbolsNameForAxis (GamepadRef gamepad, GamepadAxis axis) |
| | Return the sfSymbolsName for a given axis on a gamepad on Apple platforms.
|
| bool | GPUSupportsShaderFormats (GPUShaderFormat format_flags, StringParam name) |
| | Checks for GPU runtime support.
|
| bool | GPUSupportsProperties (PropertiesRef props) |
| | Checks for GPU runtime support.
|
| GPUDevice | CreateGPUDevice (GPUShaderFormat format_flags, bool debug_mode, StringParam name) |
| | Creates a GPU context.
|
| GPUDevice | CreateGPUDeviceWithProperties (PropertiesRef props) |
| | Creates a GPU context.
|
| void | DestroyGPUDevice (GPUDeviceRaw device) |
| | Destroys a GPU context previously returned by CreateGPUDevice.
|
| int | GetNumGPUDrivers () |
| | Get the number of GPU drivers compiled into SDL.
|
| const char * | GetGPUDriver (int index) |
| | Get the name of a built in GPU driver.
|
| const char * | GetGPUDeviceDriver (GPUDeviceRef device) |
| | Returns the name of the backend used to create this GPU context.
|
| GPUShaderFormat | GetGPUShaderFormats (GPUDeviceRef device) |
| | Returns the supported shader formats for this GPU context.
|
| PropertiesRef | GetGPUDeviceProperties (GPUDeviceRef device) |
| | Get the properties associated with a GPU device.
|
| GPUComputePipeline | CreateGPUComputePipeline (GPUDeviceRef device, const GPUComputePipelineCreateInfo &createinfo) |
| | Creates a pipeline object to be used in a compute workflow.
|
| GPUGraphicsPipeline | CreateGPUGraphicsPipeline (GPUDeviceRef device, const GPUGraphicsPipelineCreateInfo &createinfo) |
| | Creates a pipeline object to be used in a graphics workflow.
|
| GPUSampler | CreateGPUSampler (GPUDeviceRef device, const GPUSamplerCreateInfo &createinfo) |
| | Creates a sampler object to be used when binding textures in a graphics workflow.
|
| GPUShader | CreateGPUShader (GPUDeviceRef device, const GPUShaderCreateInfo &createinfo) |
| | Creates a shader to be used when creating a graphics pipeline.
|
| GPUTexture | CreateGPUTexture (GPUDeviceRef device, const GPUTextureCreateInfo &createinfo) |
| | Creates a texture object to be used in graphics or compute workflows.
|
| GPUBuffer | CreateGPUBuffer (GPUDeviceRef device, const GPUBufferCreateInfo &createinfo) |
| | Creates a buffer object to be used in graphics or compute workflows.
|
| GPUTransferBuffer | CreateGPUTransferBuffer (GPUDeviceRef device, const GPUTransferBufferCreateInfo &createinfo) |
| | Creates a transfer buffer to be used when uploading to or downloading from graphics resources.
|
| void | SetGPUBufferName (GPUDeviceRef device, GPUBuffer buffer, StringParam text) |
| | Sets an arbitrary string constant to label a buffer.
|
| void | SetGPUTextureName (GPUDeviceRef device, GPUTexture texture, StringParam text) |
| | Sets an arbitrary string constant to label a texture.
|
| void | InsertGPUDebugLabel (GPUCommandBuffer command_buffer, StringParam text) |
| | Inserts an arbitrary string label into the command buffer callstream.
|
| void | PushGPUDebugGroup (GPUCommandBuffer command_buffer, StringParam name) |
| | Begins a debug group with an arbitrary name.
|
| void | PopGPUDebugGroup (GPUCommandBuffer command_buffer) |
| | Ends the most-recently pushed debug group.
|
| void | ReleaseGPUTexture (GPUDeviceRef device, GPUTexture texture) |
| | Frees the given texture as soon as it is safe to do so.
|
| void | ReleaseGPUSampler (GPUDeviceRef device, GPUSampler sampler) |
| | Frees the given sampler as soon as it is safe to do so.
|
| void | ReleaseGPUBuffer (GPUDeviceRef device, GPUBuffer buffer) |
| | Frees the given buffer as soon as it is safe to do so.
|
| void | ReleaseGPUTransferBuffer (GPUDeviceRef device, GPUTransferBuffer transfer_buffer) |
| | Frees the given transfer buffer as soon as it is safe to do so.
|
| void | ReleaseGPUComputePipeline (GPUDeviceRef device, GPUComputePipeline compute_pipeline) |
| | Frees the given compute pipeline as soon as it is safe to do so.
|
| void | ReleaseGPUShader (GPUDeviceRef device, GPUShader shader) |
| | Frees the given shader as soon as it is safe to do so.
|
| void | ReleaseGPUGraphicsPipeline (GPUDeviceRef device, GPUGraphicsPipeline graphics_pipeline) |
| | Frees the given graphics pipeline as soon as it is safe to do so.
|
| GPUCommandBuffer | AcquireGPUCommandBuffer (GPUDeviceRef device) |
| | Acquire a command buffer.
|
| void | PushGPUVertexUniformData (GPUCommandBuffer command_buffer, Uint32 slot_index, SourceBytes data) |
| | Pushes data to a vertex uniform slot on the command buffer.
|
| void | PushGPUFragmentUniformData (GPUCommandBuffer command_buffer, Uint32 slot_index, SourceBytes data) |
| | Pushes data to a fragment uniform slot on the command buffer.
|
| void | PushGPUComputeUniformData (GPUCommandBuffer command_buffer, Uint32 slot_index, SourceBytes data) |
| | Pushes data to a uniform slot on the command buffer.
|
| GPURenderPass | BeginGPURenderPass (GPUCommandBuffer command_buffer, std::span< const GPUColorTargetInfo > color_target_infos, OptionalRef< const GPUDepthStencilTargetInfo > depth_stencil_target_info) |
| | Begins a render pass on a command buffer.
|
| void | BindGPUGraphicsPipeline (GPURenderPass render_pass, GPUGraphicsPipeline graphics_pipeline) |
| | Binds a graphics pipeline on a render pass to be used in rendering.
|
| void | SetGPUViewport (GPURenderPass render_pass, const GPUViewport &viewport) |
| | Sets the current viewport state on a command buffer.
|
| void | SetGPUScissor (GPURenderPass render_pass, const RectRaw &scissor) |
| | Sets the current scissor state on a command buffer.
|
| void | SetGPUBlendConstants (GPURenderPass render_pass, FColorRaw blend_constants) |
| | Sets the current blend constants on a command buffer.
|
| void | SetGPUStencilReference (GPURenderPass render_pass, Uint8 reference) |
| | Sets the current stencil reference value on a command buffer.
|
| void | BindGPUVertexBuffers (GPURenderPass render_pass, Uint32 first_slot, std::span< const GPUBufferBinding > bindings) |
| | Binds vertex buffers on a command buffer for use with subsequent draw calls.
|
| void | BindGPUIndexBuffer (GPURenderPass render_pass, const GPUBufferBinding &binding, GPUIndexElementSize index_element_size) |
| | Binds an index buffer on a command buffer for use with subsequent draw calls.
|
| void | BindGPUVertexSamplers (GPURenderPass render_pass, Uint32 first_slot, std::span< const GPUTextureSamplerBinding > texture_sampler_bindings) |
| | Binds texture-sampler pairs for use on the vertex shader.
|
| void | BindGPUVertexStorageTextures (GPURenderPass render_pass, Uint32 first_slot, SpanRef< const GPUTextureRaw > storage_textures) |
| | Binds storage textures for use on the vertex shader.
|
| void | BindGPUVertexStorageBuffers (GPURenderPass render_pass, Uint32 first_slot, SpanRef< const GPUBufferRaw > storage_buffers) |
| | Binds storage buffers for use on the vertex shader.
|
| void | BindGPUFragmentSamplers (GPURenderPass render_pass, Uint32 first_slot, std::span< const GPUTextureSamplerBinding > texture_sampler_bindings) |
| | Binds texture-sampler pairs for use on the fragment shader.
|
| void | BindGPUFragmentStorageTextures (GPURenderPass render_pass, Uint32 first_slot, SpanRef< const GPUTextureRaw > storage_textures) |
| | Binds storage textures for use on the fragment shader.
|
| void | BindGPUFragmentStorageBuffers (GPURenderPass render_pass, Uint32 first_slot, SpanRef< const GPUBufferRaw > storage_buffers) |
| | Binds storage buffers for use on the fragment shader.
|
| void | DrawGPUIndexedPrimitives (GPURenderPass render_pass, Uint32 num_indices, Uint32 num_instances, Uint32 first_index, Sint32 vertex_offset, Uint32 first_instance) |
| | Draws data using bound graphics state with an index buffer and instancing enabled.
|
| void | DrawGPUPrimitives (GPURenderPass render_pass, Uint32 num_vertices, Uint32 num_instances, Uint32 first_vertex, Uint32 first_instance) |
| | Draws data using bound graphics state.
|
| void | DrawGPUPrimitivesIndirect (GPURenderPass render_pass, GPUBuffer buffer, Uint32 offset, Uint32 draw_count) |
| | Draws data using bound graphics state and with draw parameters set from a buffer.
|
| void | DrawGPUIndexedPrimitivesIndirect (GPURenderPass render_pass, GPUBuffer buffer, Uint32 offset, Uint32 draw_count) |
| | Draws data using bound graphics state with an index buffer enabled and with draw parameters set from a buffer.
|
| void | EndGPURenderPass (GPURenderPass render_pass) |
| | Ends the given render pass.
|
| GPUComputePass | BeginGPUComputePass (GPUCommandBuffer command_buffer, std::span< const GPUStorageTextureReadWriteBinding > storage_texture_bindings, std::span< const GPUStorageBufferReadWriteBinding > storage_buffer_bindings) |
| | Begins a compute pass on a command buffer.
|
| void | BindGPUComputePipeline (GPUComputePass compute_pass, GPUComputePipeline compute_pipeline) |
| | Binds a compute pipeline on a command buffer for use in compute dispatch.
|
| void | BindGPUComputeSamplers (GPUComputePass compute_pass, Uint32 first_slot, std::span< const GPUTextureSamplerBinding > texture_sampler_bindings) |
| | Binds texture-sampler pairs for use on the compute shader.
|
| void | BindGPUComputeStorageTextures (GPUComputePass compute_pass, Uint32 first_slot, SpanRef< const GPUTextureRaw > storage_textures) |
| | Binds storage textures as readonly for use on the compute pipeline.
|
| void | BindGPUComputeStorageBuffers (GPUComputePass compute_pass, Uint32 first_slot, SpanRef< const GPUBufferRaw > storage_buffers) |
| | Binds storage buffers as readonly for use on the compute pipeline.
|
| void | DispatchGPUCompute (GPUComputePass compute_pass, Uint32 groupcount_x, Uint32 groupcount_y, Uint32 groupcount_z) |
| | Dispatches compute work.
|
| void | DispatchGPUComputeIndirect (GPUComputePass compute_pass, GPUBuffer buffer, Uint32 offset) |
| | Dispatches compute work with parameters set from a buffer.
|
| void | EndGPUComputePass (GPUComputePass compute_pass) |
| | Ends the current compute pass.
|
| void * | MapGPUTransferBuffer (GPUDeviceRef device, GPUTransferBuffer transfer_buffer, bool cycle) |
| | Maps a transfer buffer into application address space.
|
| void | UnmapGPUTransferBuffer (GPUDeviceRef device, GPUTransferBuffer transfer_buffer) |
| | Unmaps a previously mapped transfer buffer.
|
| GPUCopyPass | BeginGPUCopyPass (GPUCommandBuffer command_buffer) |
| | Begins a copy pass on a command buffer.
|
| void | UploadToGPUTexture (GPUCopyPass copy_pass, const GPUTextureTransferInfo &source, const GPUTextureRegion &destination, bool cycle) |
| | Uploads data from a transfer buffer to a texture.
|
| void | UploadToGPUBuffer (GPUCopyPass copy_pass, const GPUTransferBufferLocation &source, const GPUBufferRegion &destination, bool cycle) |
| | Uploads data from a transfer buffer to a buffer.
|
| void | CopyGPUTextureToTexture (GPUCopyPass copy_pass, const GPUTextureLocation &source, const GPUTextureLocation &destination, Uint32 w, Uint32 h, Uint32 d, bool cycle) |
| | Performs a texture-to-texture copy.
|
| void | CopyGPUBufferToBuffer (GPUCopyPass copy_pass, const GPUBufferLocation &source, const GPUBufferLocation &destination, Uint32 size, bool cycle) |
| | Performs a buffer-to-buffer copy.
|
| void | DownloadFromGPUTexture (GPUCopyPass copy_pass, const GPUTextureRegion &source, const GPUTextureTransferInfo &destination) |
| | Copies data from a texture to a transfer buffer on the GPU timeline.
|
| void | DownloadFromGPUBuffer (GPUCopyPass copy_pass, const GPUBufferRegion &source, const GPUTransferBufferLocation &destination) |
| | Copies data from a buffer to a transfer buffer on the GPU timeline.
|
| void | EndGPUCopyPass (GPUCopyPass copy_pass) |
| | Ends the current copy pass.
|
| void | GenerateMipmapsForGPUTexture (GPUCommandBuffer command_buffer, GPUTexture texture) |
| | Generates mipmaps for the given texture.
|
| void | BlitGPUTexture (GPUCommandBuffer command_buffer, const GPUBlitInfo &info) |
| | Blits from a source texture region to a destination texture region.
|
| bool | WindowSupportsGPUSwapchainComposition (GPUDeviceRef device, WindowRef window, GPUSwapchainComposition swapchain_composition) |
| | Determines whether a swapchain composition is supported by the window.
|
| bool | WindowSupportsGPUPresentMode (GPUDeviceRef device, WindowRef window, GPUPresentMode present_mode) |
| | Determines whether a presentation mode is supported by the window.
|
| void | ClaimWindowForGPUDevice (GPUDeviceRef device, WindowRef window) |
| | Claims a window, creating a swapchain structure for it.
|
| void | ReleaseWindowFromGPUDevice (GPUDeviceRef device, WindowRef window) |
| | Unclaims a window, destroying its swapchain structure.
|
| bool | SetGPUSwapchainParameters (GPUDeviceRef device, WindowRef window, GPUSwapchainComposition swapchain_composition, GPUPresentMode present_mode) |
| | Changes the swapchain parameters for the given claimed window.
|
| bool | SetGPUAllowedFramesInFlight (GPUDeviceRef device, Uint32 allowed_frames_in_flight) |
| | Configures the maximum allowed number of frames in flight.
|
| GPUTextureFormat | GetGPUSwapchainTextureFormat (GPUDeviceRef device, WindowRef window) |
| | Obtains the texture format of the swapchain for the given window.
|
| GPUTexture | AcquireGPUSwapchainTexture (GPUCommandBuffer command_buffer, WindowRef window, Uint32 *swapchain_texture_width=nullptr, Uint32 *swapchain_texture_height=nullptr) |
| | Acquire a texture to use in presentation.
|
| void | WaitForGPUSwapchain (GPUDeviceRef device, WindowRef window) |
| | Blocks the thread until a swapchain texture is available to be acquired.
|
| GPUTexture | WaitAndAcquireGPUSwapchainTexture (GPUCommandBuffer command_buffer, WindowRef window, Uint32 *swapchain_texture_width=nullptr, Uint32 *swapchain_texture_height=nullptr) |
| | Blocks the thread until a swapchain texture is available to be acquired, and then acquires it.
|
| void | SubmitGPUCommandBuffer (GPUCommandBuffer command_buffer) |
| | Submits a command buffer so its commands can be processed on the GPU.
|
| GPUFence * | SubmitGPUCommandBufferAndAcquireFence (GPUCommandBuffer command_buffer) |
| | Submits a command buffer so its commands can be processed on the GPU, and acquires a fence associated with the command buffer.
|
| void | CancelGPUCommandBuffer (GPUCommandBuffer command_buffer) |
| | Cancels a command buffer.
|
| void | WaitForGPUIdle (GPUDeviceRef device) |
| | Blocks the thread until the GPU is completely idle.
|
| void | WaitForGPUFences (GPUDeviceRef device, bool wait_all, std::span< GPUFence *const > fences) |
| | Blocks the thread until the given fences are signaled.
|
| bool | QueryGPUFence (GPUDeviceRef device, GPUFence *fence) |
| | Checks the status of a fence.
|
| void | ReleaseGPUFence (GPUDeviceRef device, GPUFence *fence) |
| | Releases a fence obtained from GPUCommandBuffer.SubmitAndAcquireFence.
|
| Uint32 | GPUTextureFormatTexelBlockSize (GPUTextureFormat format) |
| | Obtains the texel block size for a texture format.
|
| bool | GPUTextureSupportsFormat (GPUDeviceRef device, GPUTextureFormat format, GPUTextureType type, GPUTextureUsageFlags usage) |
| | Determines whether a texture format is supported for a given type and usage.
|
| bool | GPUTextureSupportsSampleCount (GPUDeviceRef device, GPUTextureFormat format, GPUSampleCount sample_count) |
| | Determines if a sample count for a texture format is supported.
|
| Uint32 | CalculateGPUTextureFormatSize (GPUTextureFormat format, Uint32 width, Uint32 height, Uint32 depth_or_layer_count) |
| | Calculate the size in bytes of a texture format with dimensions.
|
| PixelFormat | GetPixelFormatFromGPUTextureFormat (GPUTextureFormat format) |
| | Get the SDL pixel format corresponding to a GPU texture format.
|
| GPUTextureFormat | GetGPUTextureFormatFromPixelFormat (PixelFormat format) |
| | Get the GPU texture format corresponding to an SDL pixel format.
|
| void | GDKSuspendGPU (GPUDeviceRef device) |
| | Call this to suspend GPU operation on Xbox when you receive the EVENT_DID_ENTER_BACKGROUND event.
|
| void | GDKResumeGPU (GPUDeviceRef device) |
| | Call this to resume GPU operation on Xbox when you receive the EVENT_WILL_ENTER_FOREGROUND event.
|
| std::string | GUIDToString (const GUIDRaw &guid) |
| | Get an ASCII string representation for a given GUID.
|
| GUID | StringToGUID (StringParam pchGUID) |
| | Convert a GUID string into a GUID structure.
|
| OwnArray< HapticID > | GetHaptics () |
| | Get a list of currently connected haptic devices.
|
| const char * | GetHapticNameForID (HapticID instance_id) |
| | Get the implementation dependent name of a haptic device.
|
| Haptic | OpenHaptic (HapticID instance_id) |
| | Open a haptic device for use.
|
| HapticRef | GetHapticFromID (HapticID instance_id) |
| | Get the Haptic associated with an instance ID, if it has been opened.
|
| HapticID | GetHapticID (HapticRef haptic) |
| | Get the instance ID of an opened haptic device.
|
| const char * | GetHapticName (HapticRef haptic) |
| | Get the implementation dependent name of a haptic device.
|
| bool | IsMouseHaptic () |
| | Query whether or not the current mouse has haptic capabilities.
|
| Haptic | OpenHapticFromMouse () |
| | Try to open a haptic device from the current mouse.
|
| bool | IsJoystickHaptic (JoystickRef joystick) |
| | Query if a joystick has haptic features.
|
| Haptic | OpenHapticFromJoystick (JoystickRef joystick) |
| | Open a haptic device for use from a joystick device.
|
| void | CloseHaptic (HapticRaw haptic) |
| | Close a haptic device previously opened with OpenHaptic().
|
| int | GetMaxHapticEffects (HapticRef haptic) |
| | Get the number of effects a haptic device can store.
|
| int | GetMaxHapticEffectsPlaying (HapticRef haptic) |
| | Get the number of effects a haptic device can play at the same time.
|
| Uint32 | GetHapticFeatures (HapticRef haptic) |
| | Get the haptic device's supported features in bitwise manner.
|
| int | GetNumHapticAxes (HapticRef haptic) |
| | Get the number of haptic axes the device has.
|
| bool | HapticEffectSupported (HapticRef haptic, const HapticEffect &effect) |
| | Check to see if an effect is supported by a haptic device.
|
| HapticEffectID | CreateHapticEffect (HapticRef haptic, const HapticEffect &effect) |
| | Create a new haptic effect on a specified device.
|
| void | UpdateHapticEffect (HapticRef haptic, HapticEffectID effect, const HapticEffect &data) |
| | Update the properties of an effect.
|
| void | RunHapticEffect (HapticRef haptic, HapticEffectID effect, Uint32 iterations) |
| | Run the haptic effect on its associated haptic device.
|
| void | StopHapticEffect (HapticRef haptic, HapticEffectID effect) |
| | Stop the haptic effect on its associated haptic device.
|
| void | DestroyHapticEffect (HapticRef haptic, HapticEffectID effect) |
| | Destroy a haptic effect on the device.
|
| bool | GetHapticEffectStatus (HapticRef haptic, HapticEffectID effect) |
| | Get the status of the current effect on the specified haptic device.
|
| void | SetHapticGain (HapticRef haptic, int gain) |
| | Set the global gain of the specified haptic device.
|
| void | SetHapticAutocenter (HapticRef haptic, int autocenter) |
| | Set the global autocenter of the device.
|
| void | PauseHaptic (HapticRef haptic) |
| | Pause a haptic device.
|
| void | ResumeHaptic (HapticRef haptic) |
| | Resume a haptic device.
|
| void | StopHapticEffects (HapticRef haptic) |
| | Stop all the currently playing effects on a haptic device.
|
| bool | HapticRumbleSupported (HapticRef haptic) |
| | Check whether rumble is supported on a haptic device.
|
| void | InitHapticRumble (HapticRef haptic) |
| | Initialize a haptic device for simple rumble playback.
|
| void | PlayHapticRumble (HapticRef haptic, float strength, Uint32 length) |
| | Run a simple rumble effect on a haptic device.
|
| void | StopHapticRumble (HapticRef haptic) |
| | Stop the simple rumble on a haptic device.
|
| void | hid_init () |
| | Initialize the HIDAPI library.
|
| void | hid_exit () |
| | Finalize the HIDAPI library.
|
| Uint32 | hid_device_change_count () |
| | Check to see if devices may have been added or removed.
|
| hid_device_info * | hid_enumerate (unsigned short vendor_id, unsigned short product_id) |
| | Enumerate the HID Devices.
|
| void | hid_free_enumeration (hid_device_info *devs) |
| | Free an enumeration linked list.
|
| HidDevice | hid_open (unsigned short vendor_id, unsigned short product_id, const wchar_t *serial_number) |
| | Open a HID device using a Vendor ID (VID), Product ID (PID) and optionally a serial number.
|
| HidDevice | hid_open_path (StringParam path) |
| | Open a HID device by its path name.
|
| PropertiesRef | hid_get_properties (HidDeviceRef dev) |
| | Get the properties associated with an HidDevice.
|
| int | hid_write (HidDeviceRef dev, SourceBytes data) |
| | Write an Output report to a HID device.
|
| int | hid_read_timeout (HidDeviceRef dev, TargetBytes data, Milliseconds timeout) |
| | Read an Input report from a HID device with timeout.
|
| int | hid_read (HidDeviceRef dev, TargetBytes data) |
| | Read an Input report from a HID device.
|
| void | hid_set_nonblocking (HidDeviceRef dev, bool nonblock) |
| | Set the device handle to be non-blocking.
|
| int | hid_send_feature_report (HidDeviceRef dev, SourceBytes data) |
| | Send a Feature report to the device.
|
| int | hid_get_feature_report (HidDeviceRef dev, TargetBytes data) |
| | Get a feature report from a HID device.
|
| int | hid_get_input_report (HidDeviceRef dev, TargetBytes data) |
| | Get an input report from a HID device.
|
| void | hid_close (HidDeviceRaw dev) |
| | Close a HID device.
|
| void | hid_get_manufacturer_string (HidDeviceRef dev, wchar_t *string, size_t maxlen) |
| | Get The Manufacturer String from a HID device.
|
| void | hid_get_product_string (HidDeviceRef dev, wchar_t *string, size_t maxlen) |
| | Get The Product String from a HID device.
|
| void | hid_get_serial_number_string (HidDeviceRef dev, wchar_t *string, size_t maxlen) |
| | Get The Serial Number String from a HID device.
|
| void | hid_get_indexed_string (HidDeviceRef dev, int string_index, wchar_t *string, size_t maxlen) |
| | Get a string from a HID device, based on its string index.
|
| hid_device_info * | hid_get_device_info (HidDeviceRef dev) |
| | Get the device info from a HID device.
|
| int | hid_get_report_descriptor (HidDeviceRef dev, TargetBytes buf) |
| | Get a report descriptor from a HID device.
|
| void | hid_ble_scan (bool active) |
| | Start or stop a BLE scan on iOS and tvOS to pair Steam Controllers.
|
| void | SetHintWithPriority (StringParam name, StringParam value, HintPriority priority) |
| | Set a hint with a specific priority.
|
| void | SetHint (StringParam name, StringParam value) |
| | Set a hint with normal priority.
|
| void | ResetHint (StringParam name) |
| | Reset a hint to the default value.
|
| void | ResetHints () |
| | Reset all hints to the default values.
|
| const char * | GetHint (StringParam name) |
| | Get the value of a hint.
|
| bool | GetHintBoolean (StringParam name, bool default_value) |
| | Get the boolean value of a hint variable.
|
| void | AddHintCallback (StringParam name, HintCallback callback, void *userdata) |
| | Add a function to watch a particular hint.
|
| void | AddHintCallback (StringParam name, HintCB callback) |
| | Add a function to watch a particular hint.
|
| void | RemoveHintCallback (StringParam name, HintCallback callback, void *userdata) |
| | Remove a function watching a particular hint.
|
| Surface | LoadSurface (StringParam file) |
| | Load an image from a filesystem path into a software surface.
|
| Surface | LoadSurface_IO (IOStreamRef src, bool closeio=false) |
| | Load an image from an SDL data source into a software surface.
|
| Surface | LoadSurfaceTyped_IO (IOStreamRef src, StringParam type, bool closeio=false) |
| | Load an image from an SDL data source into a software surface.
|
| Texture | LoadTexture (RendererRef renderer, StringParam file) |
| | Load an image from a filesystem path into a texture.
|
| Texture | LoadTexture_IO (RendererRef renderer, IOStreamRef src, bool closeio=false) |
| | Load an image from an SDL data source into a texture.
|
| Texture | LoadTextureTyped_IO (RendererRef renderer, IOStreamRef src, StringParam type, bool closeio=false) |
| | Load an image from an SDL data source into a texture.
|
| GPUTexture | LoadGPUTexture (GPUDeviceRef device, GPUCopyPass copy_pass, StringParam file, int *width=nullptr, int *height=nullptr) |
| | Load an image from a filesystem path into a GPU texture.
|
| Surface | GetClipboardImage () |
| | Load an image from an SDL data source into a GPU texture.
|
| bool | isANI (IOStreamRef src) |
| | Detect ANI animated cursor data on a readable/seekable IOStream.
|
| bool | isAVIF (IOStreamRef src) |
| | Detect AVIF image data on a readable/seekable IOStream.
|
| bool | isCUR (IOStreamRef src) |
| | Detect CUR image data on a readable/seekable IOStream.
|
| bool | isBMP (IOStreamRef src) |
| | Detect BMP image data on a readable/seekable IOStream.
|
| bool | isGIF (IOStreamRef src) |
| | Detect GIF image data on a readable/seekable IOStream.
|
| bool | isICO (IOStreamRef src) |
| | Detect ICO image data on a readable/seekable IOStream.
|
| bool | isJPG (IOStreamRef src) |
| | Detect JPG image data on a readable/seekable IOStream.
|
| bool | isJXL (IOStreamRef src) |
| | Detect JXL image data on a readable/seekable IOStream.
|
| bool | isLBM (IOStreamRef src) |
| | Detect LBM image data on a readable/seekable IOStream.
|
| bool | isPCX (IOStreamRef src) |
| | Detect PCX image data on a readable/seekable IOStream.
|
| bool | isPNG (IOStreamRef src) |
| | Detect PNG image data on a readable/seekable IOStream.
|
| bool | isPNM (IOStreamRef src) |
| | Detect PNM image data on a readable/seekable IOStream.
|
| bool | isQOI (IOStreamRef src) |
| | Detect QOI image data on a readable/seekable IOStream.
|
| bool | isSVG (IOStreamRef src) |
| | Detect SVG image data on a readable/seekable IOStream.
|
| bool | isTIF (IOStreamRef src) |
| | Detect TIFF image data on a readable/seekable IOStream.
|
| bool | isWEBP (IOStreamRef src) |
| | Detect WEBP image data on a readable/seekable IOStream.
|
| bool | isXCF (IOStreamRef src) |
| | Detect XCF image data on a readable/seekable IOStream.
|
| bool | isXPM (IOStreamRef src) |
| | Detect XPM image data on a readable/seekable IOStream.
|
| bool | isXV (IOStreamRef src) |
| | Detect XV image data on a readable/seekable IOStream.
|
| Surface | LoadAVIF_IO (IOStreamRef src) |
| | Load a AVIF image directly.
|
| Surface | LoadCUR_IO (IOStreamRef src) |
| | Load a CUR image directly.
|
| Surface | LoadGIF_IO (IOStreamRef src) |
| | Load a GIF image directly.
|
| Surface | LoadICO_IO (IOStreamRef src) |
| | Load a ICO image directly.
|
| Surface | LoadJPG_IO (IOStreamRef src) |
| | Load a JPG image directly.
|
| Surface | LoadJXL_IO (IOStreamRef src) |
| | Load a JXL image directly.
|
| Surface | LoadLBM_IO (IOStreamRef src) |
| | Load a LBM image directly.
|
| Surface | LoadPCX_IO (IOStreamRef src) |
| | Load a PCX image directly.
|
| Surface | LoadPNG_IO (IOStreamRef src) |
| | Load a PNG image directly.
|
| Surface | LoadPNG_IO (IOStreamRef src, bool closeio) |
| | Load a PNG image directly.
|
| Surface | LoadPNG (StringParam file) |
| | Load a PNG image from a file.
|
| Surface | LoadPNM_IO (IOStreamRef src) |
| | Load a PNM image directly.
|
| Surface | LoadSVG_IO (IOStreamRef src) |
| | Load a SVG image directly.
|
| Surface | LoadSizedSVG_IO (IOStreamRef src, const PointRaw &size) |
| | Load an SVG image, scaled to a specific size.
|
| Surface | LoadQOI_IO (IOStreamRef src) |
| | Load a QOI image directly.
|
| Surface | LoadTGA_IO (IOStreamRef src) |
| | Load a TGA image directly.
|
| Surface | LoadTIF_IO (IOStreamRef src) |
| | Load a TIFF image directly.
|
| Surface | LoadWEBP_IO (IOStreamRef src) |
| | Load a WEBP image directly.
|
| Surface | LoadXCF_IO (IOStreamRef src) |
| | Load a XCF image directly.
|
| Surface | LoadXPM_IO (IOStreamRef src) |
| | Load a XPM image directly.
|
| Surface | LoadXV_IO (IOStreamRef src) |
| | Load a XV image directly.
|
| Surface | ReadXPMFromArray (char **xpm) |
| | Load an XPM image from a memory array.
|
| Surface | ReadXPMFromArrayToRGB888 (char **xpm) |
| | Load an XPM image from a memory array.
|
| void | Save (SurfaceConstRef surface, StringParam file) |
| | Save an Surface into an image file.
|
| void | SaveTyped_IO (SurfaceConstRef surface, IOStreamRef dst, StringParam type, bool closeio=false) |
| | Save an Surface into formatted image data, via an IOStream.
|
| void | SaveAVIF (SurfaceRef surface, StringParam file, int quality) |
| | Save an Surface into a AVIF image file.
|
| void | SaveAVIF_IO (SurfaceRef surface, IOStreamRef dst, int quality, bool closeio=false) |
| | Save an Surface into AVIF image data, via an IOStream.
|
| void | SaveCUR (SurfaceRef surface, StringParam file) |
| | Save an Surface into a CUR image file.
|
| void | SaveCUR_IO (SurfaceRef surface, IOStreamRef dst, bool closeio=false) |
| | Save an Surface into CUR image data, via an IOStream.
|
| void | SaveGIF (SurfaceRef surface, StringParam file) |
| | Save an Surface into a GIF image file.
|
| void | SaveGIF_IO (SurfaceRef surface, IOStreamRef dst, bool closeio=false) |
| | Save an Surface into GIF image data, via an IOStream.
|
| void | SaveICO (SurfaceRef surface, StringParam file) |
| | Save an Surface into a ICO image file.
|
| void | SaveICO_IO (SurfaceRef surface, IOStreamRef dst, bool closeio=false) |
| | Save an Surface into ICO image data, via an IOStream.
|
| void | SaveJPG (SurfaceRef surface, StringParam file, int quality) |
| | Save an Surface into a JPEG image file.
|
| void | SaveJPG_IO (SurfaceRef surface, IOStreamRef dst, int quality, bool closeio=false) |
| | Save an Surface into JPEG image data, via an IOStream.
|
| void | SavePNG (SurfaceRef surface, StringParam file) |
| | Save an Surface into a PNG image file.
|
| void | SavePNG_IO (SurfaceRef surface, IOStreamRef dst, bool closeio=false) |
| | Save an Surface into PNG image data, via an IOStream.
|
| void | SaveTGA (SurfaceRef surface, StringParam file) |
| | Save an Surface into a TGA image file.
|
| void | SaveTGA_IO (SurfaceRef surface, IOStreamRef dst, bool closeio=false) |
| | Save an Surface into TGA image data, via an IOStream.
|
| void | SaveWEBP (SurfaceRef surface, StringParam file, float quality) |
| | Save an Surface into a WEBP image file.
|
| void | SaveWEBP_IO (SurfaceRef surface, IOStreamRef dst, float quality, bool closeio=false) |
| | Save an Surface into WEBP image data, via an IOStream.
|
|
int | GetAnimationWidth (AnimationConstRef anim) |
| | Get the width in pixels.
|
|
int | GetAnimationHeight (AnimationConstRef anim) |
| | Get the height in pixels.
|
|
Point | GetAnimationSize (AnimationConstRef anim) |
| | Get the size in pixels.
|
|
int | GetAnimationCount (AnimationConstRef anim) |
| | Return the number of frames.
|
| Surface | GetAnimationFrame (AnimationConstRef anim, int index) |
| | Return the frame image under given index.
|
| int | GetAnimationDelay (AnimationConstRef anim, int index) |
| | Return the frame delay under given index.
|
| Animation | LoadAnimation (StringParam file) |
| | Load an animation from a file.
|
| Animation | LoadAnimation_IO (IOStreamRef src, bool closeio=false) |
| | Load an animation from an IOStream.
|
| Animation | LoadAnimationTyped_IO (IOStreamRef src, StringParam type, bool closeio=false) |
| | Load an animation from an IOStream.
|
| Animation | LoadANIAnimation_IO (IOStreamRef src) |
| | Load an ANI animation directly from an IOStream.
|
| Animation | LoadAPNGAnimation_IO (IOStreamRef src) |
| | Load an APNG animation directly from an IOStream.
|
| Animation | LoadAVIFAnimation_IO (IOStreamRef src) |
| | Load an AVIF animation directly from an IOStream.
|
| Animation | LoadGIFAnimation_IO (IOStreamRef src) |
| | Load a GIF animation directly.
|
| Animation | LoadWEBPAnimation_IO (IOStreamRef src) |
| | Load a WEBP animation directly.
|
| void | SaveAnimation (AnimationRef anim, StringParam file) |
| | Save an animation to a file.
|
| void | SaveAnimationTyped_IO (AnimationRef anim, IOStreamRef dst, StringParam type, bool closeio=false) |
| | Save an animation to an IOStream.
|
| void | SaveANIAnimation_IO (AnimationRef anim, IOStreamRef dst, bool closeio=false) |
| | Save an animation in ANI format to an IOStream.
|
| void | SaveAPNGAnimation_IO (AnimationRef anim, IOStreamRef dst, bool closeio=false) |
| | Save an animation in APNG format to an IOStream.
|
| void | SaveAVIFAnimation_IO (AnimationRef anim, IOStreamRef dst, int quality, bool closeio=false) |
| | Save an animation in AVIF format to an IOStream.
|
| void | SaveGIFAnimation_IO (AnimationRef anim, IOStreamRef dst, bool closeio=false) |
| | Save an animation in GIF format to an IOStream.
|
| void | SaveWEBPAnimation_IO (AnimationRef anim, IOStreamRef dst, int quality, bool closeio=false) |
| | Save an animation in WEBP format to an IOStream.
|
| Cursor | CreateAnimatedCursor (AnimationRef anim, const PointRaw &hotspot) |
| | Create an animated cursor from an animation.
|
| void | FreeAnimation (AnimationRaw anim) |
| | Dispose of an Animation and free its resources.
|
| AnimationEncoder | CreateAnimationEncoder (StringParam file) |
| | Create an encoder to save a series of images to a file.
|
| AnimationEncoder | CreateAnimationEncoder_IO (IOStreamRef dst, StringParam type, bool closeio=false) |
| | Create an encoder to save a series of images to an IOStream.
|
| AnimationEncoder | CreateAnimationEncoderWithProperties (PropertiesRef props) |
| | Create an animation encoder with the specified properties.
|
| void | AddAnimationEncoderFrame (AnimationEncoderRef encoder, SurfaceRef surface, Uint64 duration) |
| | Add a frame to an animation encoder.
|
| void | CloseAnimationEncoder (AnimationEncoderRaw encoder) |
| | Close an animation encoder, finishing any encoding.
|
| AnimationDecoder | CreateAnimationDecoder (StringParam file) |
| | Create a decoder to read a series of images from a file.
|
| AnimationDecoder | CreateAnimationDecoder_IO (IOStreamRef src, StringParam type, bool closeio=false) |
| | Create a decoder to read a series of images from an IOStream.
|
| AnimationDecoder | CreateAnimationDecoderWithProperties (PropertiesRef props) |
| | Create an animation decoder with the specified properties.
|
| PropertiesRef | GetAnimationDecoderProperties (AnimationDecoderRef decoder) |
| | Get the properties of an animation decoder.
|
| Surface | GetAnimationDecoderFrame (AnimationDecoderRef decoder, Uint64 *duration) |
| | Get the next frame in an animation decoder.
|
| AnimationDecoderStatus | GetAnimationDecoderStatus (AnimationDecoderRef decoder) |
| | Get the decoder status indicating the current state of the decoder.
|
| void | ResetAnimationDecoder (AnimationDecoderRef decoder) |
| | Reset an animation decoder.
|
| void | CloseAnimationDecoder (AnimationDecoderRaw decoder) |
| | Close an animation decoder, finishing any decoding.
|
| void | Init (InitFlags flags) |
| | Initialize the SDL library.
|
| void | InitSubSystem (InitFlags flags) |
| | Compatibility function to initialize the SDL library.
|
| void | QuitSubSystem (InitFlags flags) |
| | Shut down specific SDL subsystems.
|
| InitFlags | WasInit (InitFlags flags) |
| | Get a mask of the specified subsystems which are currently initialized.
|
| void | Quit () |
| | Clean up all initialized subsystems.
|
| bool | IsMainThread () |
| | Return whether this is the main thread.
|
| void | RunOnMainThread (MainThreadCallback callback, void *userdata, bool wait_complete) |
| | Call a function on the main thread during event processing.
|
| void | RunOnMainThread (MainThreadCB callback, bool wait_complete) |
| | Call a function on the main thread during event processing.
|
| void | SetAppMetadata (StringParam appname, StringParam appversion, StringParam appidentifier) |
| | Specify basic metadata about your app.
|
| void | SetAppMetadataProperty (StringParam name, StringParam value) |
| | Specify metadata about your app through a set of properties.
|
| const char * | GetAppMetadataProperty (StringParam name) |
| | Get metadata about your app.
|
| template<HasIterateFunction T> |
| AppResult | IterateClass (T *state) |
| | Iterate the state.
|
| template<class T> |
| AppResult | DefaultEventClass (T *, const SDL_Event &event) |
| | Default handle by finishing if QUIT is requested.
|
| template<class T> |
| void | DefaultClassDestroy (T *state) |
| | Destroy state with delete;.
|
| IOStream | IOFromFile (StringParam file, StringParam mode) |
| | Use this function to create a new IOStream structure for reading from and/or writing to a named file.
|
| IOStream | IOFromMem (TargetBytes mem) |
| | Use this function to prepare a read-write memory buffer for use with IOStream.
|
| IOStream | IOFromConstMem (SourceBytes mem) |
| | Use this function to prepare a read-only memory buffer for use with IOStream.
|
| IOStream | IOFromDynamicMem () |
| | Use this function to create an IOStream that is backed by dynamically allocated memory.
|
| IOStream | OpenIO (const IOStreamInterface &iface, void *userdata) |
| | Create a custom IOStream.
|
| void | CloseIO (IOStreamRaw context) |
| | Close and free an allocated IOStream structure.
|
| PropertiesRef | GetIOProperties (IOStreamRef context) |
| | Get the properties associated with an IOStream.
|
| IOStatus | GetIOStatus (IOStreamRef context) |
| | Query the stream status of an IOStream.
|
| Sint64 | GetIOSize (IOStreamRef context) |
| | Use this function to get the size of the data stream in an IOStream.
|
| Sint64 | SeekIO (IOStreamRef context, Sint64 offset, IOWhence whence) |
| | Seek within an IOStream data stream.
|
| Sint64 | TellIO (IOStreamRef context) |
| | Determine the current read/write offset in an IOStream data stream.
|
| size_t | ReadIO (IOStreamRef context, TargetBytes buf) |
| | Read from a data source.
|
| size_t | WriteIO (IOStreamRef context, SourceBytes buf) |
| | Write to an IOStream data stream.
|
| size_t | IOprintf (IOStreamRef context, SDL_PRINTF_FORMAT_STRING const char *fmt,...) |
| | Print to an IOStream data stream.
|
| size_t | IOvprintf (IOStreamRef context, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) |
| | Print to an IOStream data stream.
|
| void | FlushIO (IOStreamRef context) |
| | Flush any buffered data in the stream.
|
| StringResult | LoadFile_IO (IOStreamRef src, bool closeio=true) |
| | Load all the data from an SDL data stream.
|
| template<class T> |
| OwnArray< T > | LoadFileAs (StringParam file) |
| | Load all the data from a file path.
|
| StringResult | LoadFile (StringParam file) |
| | Load all the data from a file path.
|
| void | SaveFile_IO (IOStreamRef src, SourceBytes data, bool closeio=true) |
| | Save all the data into an SDL data stream.
|
| void | SaveFile (StringParam file, SourceBytes data) |
| | Save all the data into a file path.
|
| Uint8 | ReadU8 (IOStreamRef src) |
| | Use this function to read a byte from an IOStream.
|
| Sint8 | ReadS8 (IOStreamRef src) |
| | Use this function to read a signed byte from an IOStream.
|
| Uint16 | ReadU16LE (IOStreamRef src) |
| | Use this function to read 16 bits of little-endian data from an IOStream and return in native format.
|
| Sint16 | ReadS16LE (IOStreamRef src) |
| | Use this function to read 16 bits of little-endian data from an IOStream and return in native format.
|
| Uint16 | ReadU16BE (IOStreamRef src) |
| | Use this function to read 16 bits of big-endian data from an IOStream and return in native format.
|
| Sint16 | ReadS16BE (IOStreamRef src) |
| | Use this function to read 16 bits of big-endian data from an IOStream and return in native format.
|
| Uint32 | ReadU32LE (IOStreamRef src) |
| | Use this function to read 32 bits of little-endian data from an IOStream and return in native format.
|
| Sint32 | ReadS32LE (IOStreamRef src) |
| | Use this function to read 32 bits of little-endian data from an IOStream and return in native format.
|
| Uint32 | ReadU32BE (IOStreamRef src) |
| | Use this function to read 32 bits of big-endian data from an IOStream and return in native format.
|
| Sint32 | ReadS32BE (IOStreamRef src) |
| | Use this function to read 32 bits of big-endian data from an IOStream and return in native format.
|
| Uint64 | ReadU64LE (IOStreamRef src) |
| | Use this function to read 64 bits of little-endian data from an IOStream and return in native format.
|
| Sint64 | ReadS64LE (IOStreamRef src) |
| | Use this function to read 64 bits of little-endian data from an IOStream and return in native format.
|
| Uint64 | ReadU64BE (IOStreamRef src) |
| | Use this function to read 64 bits of big-endian data from an IOStream and return in native format.
|
| Sint64 | ReadS64BE (IOStreamRef src) |
| | Use this function to read 64 bits of big-endian data from an IOStream and return in native format.
|
| void | WriteU8 (IOStreamRef dst, Uint8 value) |
| | Use this function to write a byte to an IOStream.
|
| void | WriteS8 (IOStreamRef dst, Sint8 value) |
| | Use this function to write a signed byte to an IOStream.
|
| void | WriteU16LE (IOStreamRef dst, Uint16 value) |
| | Use this function to write 16 bits in native format to an IOStream as little-endian data.
|
| void | WriteS16LE (IOStreamRef dst, Sint16 value) |
| | Use this function to write 16 bits in native format to an IOStream as little-endian data.
|
| void | WriteU16BE (IOStreamRef dst, Uint16 value) |
| | Use this function to write 16 bits in native format to an IOStream as big-endian data.
|
| void | WriteS16BE (IOStreamRef dst, Sint16 value) |
| | Use this function to write 16 bits in native format to an IOStream as big-endian data.
|
| void | WriteU32LE (IOStreamRef dst, Uint32 value) |
| | Use this function to write 32 bits in native format to an IOStream as little-endian data.
|
| void | WriteS32LE (IOStreamRef dst, Sint32 value) |
| | Use this function to write 32 bits in native format to an IOStream as little-endian data.
|
| void | WriteU32BE (IOStreamRef dst, Uint32 value) |
| | Use this function to write 32 bits in native format to an IOStream as big-endian data.
|
| void | WriteS32BE (IOStreamRef dst, Sint32 value) |
| | Use this function to write 32 bits in native format to an IOStream as big-endian data.
|
| void | WriteU64LE (IOStreamRef dst, Uint64 value) |
| | Use this function to write 64 bits in native format to an IOStream as little-endian data.
|
| void | WriteS64LE (IOStreamRef dst, Sint64 value) |
| | Use this function to write 64 bits in native format to an IOStream as little-endian data.
|
| void | WriteU64BE (IOStreamRef dst, Uint64 value) |
| | Use this function to write 64 bits in native format to an IOStream as big-endian data.
|
| void | WriteS64BE (IOStreamRef dst, Sint64 value) |
| | Use this function to write 64 bits in native format to an IOStream as big-endian data.
|
| void | LockJoysticks () |
| | Locking for atomic access to the joystick API.
|
| void | UnlockJoysticks () |
| | Unlocking for atomic access to the joystick API.
|
| bool | HasJoystick () |
| | Return whether a joystick is currently connected.
|
| OwnArray< JoystickID > | GetJoysticks () |
| | Get a list of currently connected joysticks.
|
| const char * | GetJoystickNameForID (JoystickID instance_id) |
| | Get the implementation dependent name of a joystick.
|
| const char * | GetJoystickPathForID (JoystickID instance_id) |
| | Get the implementation dependent path of a joystick.
|
| int | GetJoystickPlayerIndexForID (JoystickID instance_id) |
| | Get the player index of a joystick.
|
| GUID | GetJoystickGUIDForID (JoystickID instance_id) |
| | Get the implementation-dependent GUID of a joystick.
|
| Uint16 | GetJoystickVendorForID (JoystickID instance_id) |
| | Get the USB vendor ID of a joystick, if available.
|
| Uint16 | GetJoystickProductForID (JoystickID instance_id) |
| | Get the USB product ID of a joystick, if available.
|
| Uint16 | GetJoystickProductVersionForID (JoystickID instance_id) |
| | Get the product version of a joystick, if available.
|
| JoystickType | GetJoystickTypeForID (JoystickID instance_id) |
| | Get the type of a joystick, if available.
|
| Joystick | OpenJoystick (JoystickID instance_id) |
| | Open a joystick for use.
|
| JoystickRef | GetJoystickFromID (JoystickID instance_id) |
| | Get the Joystick associated with an instance ID, if it has been opened.
|
| JoystickRef | GetJoystickFromPlayerIndex (int player_index) |
| | Get the Joystick associated with a player index.
|
| JoystickID | AttachVirtualJoystick (const VirtualJoystickDesc &desc) |
| | Attach a new virtual joystick.
|
| void | DetachVirtualJoystick (JoystickID instance_id) |
| | Detach a virtual joystick.
|
| bool | IsJoystickVirtual (JoystickID instance_id) |
| | Query whether or not a joystick is virtual.
|
| void | SetJoystickVirtualAxis (JoystickRef joystick, int axis, Sint16 value) |
| | Set the state of an axis on an opened virtual joystick.
|
| void | SetJoystickVirtualBall (JoystickRef joystick, int ball, Sint16 xrel, Sint16 yrel) |
| | Generate ball motion on an opened virtual joystick.
|
| void | SetJoystickVirtualButton (JoystickRef joystick, int button, bool down) |
| | Set the state of a button on an opened virtual joystick.
|
| void | SetJoystickVirtualHat (JoystickRef joystick, int hat, Uint8 value) |
| | Set the state of a hat on an opened virtual joystick.
|
| void | SetJoystickVirtualTouchpad (JoystickRef joystick, int touchpad, int finger, bool down, const FPointRaw &p, float pressure) |
| | Set touchpad finger state on an opened virtual joystick.
|
| void | SendJoystickVirtualSensorData (JoystickRef joystick, SensorType type, Uint64 sensor_timestamp, const float *data, int num_values) |
| | Send a sensor update for an opened virtual joystick.
|
| PropertiesRef | GetJoystickProperties (JoystickRef joystick) |
| | Get the properties associated with a joystick.
|
| const char * | GetJoystickName (JoystickRef joystick) |
| | Get the implementation dependent name of a joystick.
|
| const char * | GetJoystickPath (JoystickRef joystick) |
| | Get the implementation dependent path of a joystick.
|
| int | GetJoystickPlayerIndex (JoystickRef joystick) |
| | Get the player index of an opened joystick.
|
| void | SetJoystickPlayerIndex (JoystickRef joystick, int player_index) |
| | Set the player index of an opened joystick.
|
| GUID | GetJoystickGUID (JoystickRef joystick) |
| | Get the implementation-dependent GUID for the joystick.
|
| Uint16 | GetJoystickVendor (JoystickRef joystick) |
| | Get the USB vendor ID of an opened joystick, if available.
|
| Uint16 | GetJoystickProduct (JoystickRef joystick) |
| | Get the USB product ID of an opened joystick, if available.
|
| Uint16 | GetJoystickProductVersion (JoystickRef joystick) |
| | Get the product version of an opened joystick, if available.
|
| Uint16 | GetJoystickFirmwareVersion (JoystickRef joystick) |
| | Get the firmware version of an opened joystick, if available.
|
| const char * | GetJoystickSerial (JoystickRef joystick) |
| | Get the serial number of an opened joystick, if available.
|
| JoystickType | GetJoystickType (JoystickRef joystick) |
| | Get the type of an opened joystick.
|
| void | GetJoystickGUIDInfo (GUID guid, Uint16 *vendor, Uint16 *product, Uint16 *version, Uint16 *crc16) |
| | Get the device information encoded in a GUID structure.
|
| bool | JoystickConnected (JoystickRef joystick) |
| | Get the status of a specified joystick.
|
| JoystickID | GetJoystickID (JoystickRef joystick) |
| | Get the instance ID of an opened joystick.
|
| int | GetNumJoystickAxes (JoystickRef joystick) |
| | Get the number of general axis controls on a joystick.
|
| int | GetNumJoystickBalls (JoystickRef joystick) |
| | Get the number of trackballs on a joystick.
|
| int | GetNumJoystickHats (JoystickRef joystick) |
| | Get the number of POV hats on a joystick.
|
| int | GetNumJoystickButtons (JoystickRef joystick) |
| | Get the number of buttons on a joystick.
|
| void | SetJoystickEventsEnabled (bool enabled) |
| | Set the state of joystick event processing.
|
| bool | JoystickEventsEnabled () |
| | Query the state of joystick event processing.
|
| void | UpdateJoysticks () |
| | Update the current state of the open joysticks.
|
| Sint16 | GetJoystickAxis (JoystickRef joystick, int axis) |
| | Get the current state of an axis control on a joystick.
|
| bool | GetJoystickAxisInitialState (JoystickRef joystick, int axis, Sint16 *state) |
| | Get the initial state of an axis control on a joystick.
|
| void | GetJoystickBall (JoystickRef joystick, int ball, int *dx, int *dy) |
| | Get the ball axis change since the last poll.
|
| Uint8 | GetJoystickHat (JoystickRef joystick, int hat) |
| | Get the current state of a POV hat on a joystick.
|
| bool | GetJoystickButton (JoystickRef joystick, int button) |
| | Get the current state of a button on a joystick.
|
| bool | RumbleJoystick (JoystickRef joystick, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms) |
| | Start a rumble effect.
|
| void | RumbleJoystickTriggers (JoystickRef joystick, Uint16 left_rumble, Uint16 right_rumble, Uint32 duration_ms) |
| | Start a rumble effect in the joystick's triggers.
|
| void | SetJoystickLED (JoystickRef joystick, Uint8 red, Uint8 green, Uint8 blue) |
| | Update a joystick's LED color.
|
| void | SendJoystickEffect (JoystickRef joystick, const void *data, int size) |
| | Send a joystick specific effect packet.
|
| void | CloseJoystick (JoystickRaw joystick) |
| | Close a joystick previously opened with JoystickID.OpenJoystick().
|
| JoystickConnectionState | GetJoystickConnectionState (JoystickRef joystick) |
| | Get the connection state of a joystick.
|
| PowerState | GetJoystickPowerInfo (JoystickRef joystick, int *percent) |
| | Get the battery state of a joystick.
|
| bool | HasKeyboard () |
| | Return whether a keyboard is currently connected.
|
| OwnArray< KeyboardID > | GetKeyboards () |
| | Get a list of currently connected keyboards.
|
| const char * | GetKeyboardNameForID (KeyboardID instance_id) |
| | Get the name of a keyboard.
|
| WindowRef | GetKeyboardFocus () |
| | Query the window which currently has keyboard focus.
|
| std::span< const bool > | GetKeyboardState () |
| | Get a snapshot of the current state of the keyboard.
|
| void | ResetKeyboard () |
| | Clear the state of the keyboard.
|
| Keymod | GetModState () |
| | Get the current key modifier state for the keyboard.
|
| void | SetModState (Keymod modstate) |
| | Set the current key modifier state for the keyboard.
|
| bool | HasScreenKeyboardSupport () |
| | Check whether the platform has screen keyboard support.
|
| constexpr Keycode | ScancodeToKeycode (Scancode x) |
| | Transform scancode to keycode.
|
| SharedObject | LoadObject (StringParam sofile) |
| | Dynamically load a shared object.
|
| FunctionPointer | LoadFunction (SharedObjectRef handle, StringParam name) |
| | Look up the address of the named function in a shared object.
|
| void | UnloadObject (SharedObjectRaw handle) |
| | Unload a shared object from memory.
|
| OwnArray< Locale * > | GetPreferredLocales () |
| | Report the user's preferred locale.
|
| void | SetMainReady () |
| | Circumvent failure of Init() when not using SDL_main() as an entry point.
|
| int | RunApp (int argc, char *argv[], main_func mainFunction, void *reserved) |
| | Initializes and launches an SDL application, by doing platform-specific initialization before calling your mainFunction and cleanups after it returns, if that is needed for a specific platform, otherwise it just calls mainFunction.
|
| int | EnterAppMainCallbacks (int argc, char *argv[], AppInit_func appinit, AppIterate_func appiter, AppEvent_func appevent, AppQuit_func appquit) |
| | An entry point for SDL's use in SDL3PP_MAIN_USE_CALLBACKS.
|
| bool | RegisterApp (StringParam name, Uint32 style, void *hInst) |
| | Register a win32 window class for SDL's use.
|
| void | UnregisterApp () |
| | Deregister the win32 window class from an RegisterApp call.
|
| void | GDKSuspendComplete () |
| | Callback from the application to let the suspend continue.
|
| void | ShowMessageBox (const MessageBoxRaw &messageboxdata, int *buttonid) |
| | Create a modal message box.
|
| void | ShowSimpleMessageBox (MessageBoxFlags flags, StringParam title, StringParam message, WindowRef window) |
| | Display a simple modal message box.
|
| MetalView | Metal_CreateView (WindowRef window) |
| | Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.
|
| void | Metal_DestroyView (MetalViewRaw view) |
| | Destroy an existing MetalView object.
|
| void * | Metal_GetLayer (MetalViewRef view) |
| | Get a pointer to the backing CAMetalLayer for the given view.
|
| void | OpenURL (StringParam url) |
| | Open a URL/URI in the browser or other appropriate external application.
|
| int | GetNumAudioDecoders () |
| | Report the number of audio decoders available for use.
|
| const char * | GetAudioDecoder (int index) |
| | Report the name of a specific audio decoders.
|
| Mixer | CreateMixerDevice (AudioDeviceRef devid, const AudioSpec &spec) |
| | Create a mixer that plays sound directly to an audio device.
|
| Mixer | CreateMixer (const AudioSpec &spec) |
| | Create a mixer that generates audio to a memory buffer.
|
| void | DestroyMixer (MixerRaw mixer) |
| | Free a mixer.
|
| PropertiesRef | GetMixerProperties (MixerRef mixer) |
| | Get the properties associated with a mixer.
|
| void | GetMixerFormat (MixerRef mixer, AudioSpec *spec) |
| | Get the audio format a mixer is generating.
|
| void | LockMixer (MixerRef mixer) |
| | Lock a mixer by obtaining its internal mutex.
|
| void | UnlockMixer (MixerRef mixer) |
| | Unlock a mixer previously locked by a call to Mixer.Lock().
|
| Audio | LoadAudio_IO (MixerRef mixer, IOStreamRef io, bool predecode, bool closeio=false) |
| | Load audio for playback from an IOStream.
|
| Audio | LoadAudio (MixerRef mixer, StringParam path, bool predecode) |
| | Load audio for playback from a file.
|
| Audio | LoadAudioNoCopy (MixerRef mixer, SourceBytes data, bool free_when_done) |
| | Load audio for playback from a memory buffer without making a copy.
|
| Audio | LoadAudioWithProperties (PropertiesRef props) |
| | Load audio for playback through a collection of properties.
|
| Audio | LoadRawAudio_IO (MixerRef mixer, IOStreamRef io, const AudioSpec &spec, bool closeio=false) |
| | Load raw PCM data from an IOStream.
|
| Audio | LoadRawAudio (MixerRef mixer, SourceBytes data, const AudioSpec &spec) |
| | Load raw PCM data from a memory buffer.
|
| Audio | LoadRawAudioNoCopy (MixerRef mixer, SourceBytes data, const AudioSpec &spec, bool free_when_done) |
| | Load raw PCM data from a memory buffer without making a copy.
|
| Audio | CreateSineWaveAudio (MixerRef mixer, int hz, float amplitude, Sint64 ms) |
| | Create a Audio that generates a sinewave.
|
| PropertiesRef | GetAudioProperties (AudioRef audio) |
| | Get the properties associated with a Audio.
|
| Sint64 | GetAudioDuration (AudioRef audio) |
| | Get the length of a Audio's playback in sample frames.
|
| void | GetAudioFormat (AudioRef audio, AudioSpec *spec) |
| | Query the initial audio format of a Audio.
|
| void | DestroyAudio (AudioRaw audio) |
| | Destroy the specified audio.
|
| Track | CreateTrack (MixerRef mixer) |
| | Create a new track on a mixer.
|
| void | DestroyTrack (TrackRaw track) |
| | Destroy the specified track.
|
| PropertiesRef | GetTrackProperties (TrackRef track) |
| | Get the properties associated with a track.
|
| MixerRef | GetTrackMixer (TrackRef track) |
| | Get the Mixer that owns a Track.
|
| void | SetTrackAudio (TrackRef track, AudioRef audio) |
| | Set a Track's input to a Audio.
|
| void | SetTrackAudioStream (TrackRef track, AudioStreamRef stream) |
| | Set a Track's input to an AudioStream.
|
| void | SetTrackIOStream (TrackRef track, IOStreamRef io, bool closeio=false) |
| | Set a Track's input to an IOStream.
|
| void | SetTrackRawIOStream (TrackRef track, IOStreamRef io, const AudioSpec &spec, bool closeio=false) |
| | Set a Track's input to an IOStream providing raw PCM data.
|
| void | TagTrack (TrackRef track, StringParam tag) |
| | Assign an arbitrary tag to a track.
|
| void | UntagTrack (TrackRef track, StringParam tag) |
| | Remove an arbitrary tag from a track.
|
| OwnArray< char * > | GetTrackTags (TrackRef track) |
| | Get the tags currently associated with a track.
|
| OwnArray< TrackRef > | GetTaggedTracks (MixerRef mixer, StringParam tag) |
| | Get all tracks with a specific tag.
|
| void | SetTrackPlaybackPosition (TrackRef track, Sint64 frames) |
| | Seek a playing track to a new position in its input.
|
| Sint64 | GetTrackPlaybackPosition (TrackRef track) |
| | Get the current input position of a playing track.
|
| Sint64 | GetTrackFadeFrames (TrackRef track) |
| | Query whether a given track is fading.
|
| int | GetTrackLoops (TrackRef track) |
| | Query how many loops remain for a given track.
|
| void | SetTrackLoops (TrackRef track, int num_loops) |
| | Change the number of times a currently-playing track will loop.
|
| AudioRef | GetTrackAudio (TrackRef track) |
| | Query the Audio assigned to a track.
|
| AudioStreamRef | GetTrackAudioStream (TrackRef track) |
| | Query the AudioStream assigned to a track.
|
| Sint64 | GetTrackRemaining (TrackRef track) |
| | Return the number of sample frames remaining to be mixed in a track.
|
| Sint64 | TrackMSToFrames (TrackRef track, Milliseconds ms) |
| | Convert milliseconds to sample frames for a track's current format.
|
| Milliseconds | TrackFramesToMS (TrackRef track, Sint64 frames) |
| | Convert sample frames for a track's current format to milliseconds.
|
| Sint64 | AudioMSToFrames (AudioRef audio, Milliseconds ms) |
| | Convert milliseconds to sample frames for a Audio's format.
|
| Milliseconds | AudioFramesToMS (AudioRef audio, Sint64 frames) |
| | Convert sample frames for a Audio's format to milliseconds.
|
| Sint64 | MSToFrames (int sample_rate, Milliseconds ms) |
| | Convert milliseconds to sample frames at a specific sample rate.
|
| Milliseconds | FramesToMS (int sample_rate, Sint64 frames) |
| | Convert sample frames, at a specific sample rate, to milliseconds.
|
| void | PlayTrack (TrackRef track, PropertiesRef options=nullptr) |
| | Start (or restart) mixing a track for playback.
|
| void | PlayTag (MixerRef mixer, StringParam tag, PropertiesRef options) |
| | Start (or restart) mixing all tracks with a specific tag for playback.
|
| bool | PlayAudio (MixerRef mixer, AudioRef audio) |
| | Play a Audio from start to finish without any management.
|
| bool | StopTrack (TrackRef track, Sint64 fade_out_frames) |
| | Halt a currently-playing track, possibly fading out over time.
|
| void | StopAllTracks (MixerRef mixer, Sint64 fade_out_ms) |
| | Halt all currently-playing tracks, possibly fading out over time.
|
| void | StopTag (MixerRef mixer, StringParam tag, Sint64 fade_out_ms) |
| | Halt all tracks with a specific tag, possibly fading out over time.
|
| bool | PauseTrack (TrackRef track) |
| | Pause a currently-playing track.
|
| void | PauseAllTracks (MixerRef mixer) |
| | Pause all currently-playing tracks.
|
| void | PauseTag (MixerRef mixer, StringParam tag) |
| | Pause all tracks with a specific tag.
|
| bool | ResumeTrack (TrackRef track) |
| | Resume a currently-paused track.
|
| void | ResumeAllTracks (MixerRef mixer) |
| | Resume all currently-paused tracks.
|
| void | ResumeTag (MixerRef mixer, StringParam tag) |
| | Resume all tracks with a specific tag.
|
| bool | TrackPlaying (TrackRef track) |
| | Query if a track is currently playing.
|
| bool | TrackPaused (TrackRef track) |
| | Query if a track is currently paused.
|
| void | SetMixerGain (MixerRef mixer, float gain) |
| | Set a mixer's master gain control.
|
| float | GetMixerGain (MixerRef mixer) |
| | Get a mixer's master gain control.
|
| void | SetTrackGain (TrackRef track, float gain) |
| | Set a track's gain control.
|
| float | GetTrackGain (TrackRef track) |
| | Get a track's gain control.
|
| void | SetTagGain (MixerRef mixer, StringParam tag, float gain) |
| | Set the gain control of all tracks with a specific tag.
|
| void | SetMixerFrequencyRatio (MixerRef mixer, float ratio) |
| | Set a mixer's master frequency ratio.
|
| float | GetMixerFrequencyRatio (MixerRef mixer) |
| | Get a mixer's master frequency ratio.
|
| void | SetTrackFrequencyRatio (TrackRef track, float ratio) |
| | Change the frequency ratio of a track.
|
| float | GetTrackFrequencyRatio (TrackRef track) |
| | Query the frequency ratio of a track.
|
| void | SetTrackOutputChannelMap (TrackRef track, std::span< const int > chmap) |
| | Set the current output channel map of a track.
|
| void | SetTrackStereo (TrackRef track, const StereoGains &gains) |
| | Force a track to stereo output, with optionally left/right panning.
|
| void | SetTrack3DPosition (TrackRef track, const Point3D &position) |
| | Set a track's position in 3D space.
|
| Point3D | GetTrack3DPosition (TrackRef track) |
| | Get a track's current position in 3D space.
|
| Group | CreateGroup (MixerRef mixer) |
| | Create a mixing group.
|
| void | DestroyGroup (GroupRaw group) |
| | Destroy a mixing group.
|
| PropertiesRef | GetGroupProperties (GroupRef group) |
| | Get the properties associated with a group.
|
| MixerRef | GetGroupMixer (GroupRef group) |
| | Get the Mixer that owns a Group.
|
| void | SetTrackGroup (TrackRef track, GroupRef group) |
| | Assign a track to a mixing group.
|
| void | SetTrackStoppedCallback (TrackRef track, TrackStoppedCallback cb, void *userdata) |
| | Set a callback that fires when a Track is stopped.
|
| void | SetTrackStoppedCallback (TrackRef track, TrackStoppedCB cb) |
| | Set a callback that fires when a Track is stopped.
|
| void | SetTrackRawCallback (TrackRef track, TrackMixCallback cb, void *userdata) |
| | Set a callback that fires when a Track has initial decoded audio.
|
| void | SetTrackRawCallback (TrackRef track, TrackMixCB cb) |
| | Set a callback that fires when a Track has initial decoded audio.
|
| void | SetTrackCookedCallback (TrackRef track, TrackMixCallback cb, void *userdata) |
| | Set a callback that fires when the mixer has transformed a track's audio.
|
| void | SetTrackCookedCallback (TrackRef track, TrackMixCB cb) |
| | Set a callback that fires when the mixer has transformed a track's audio.
|
| void | SetGroupPostMixCallback (GroupRef group, GroupMixCallback cb, void *userdata) |
| | Set a callback that fires when a mixer group has completed mixing.
|
| void | SetGroupPostMixCallback (GroupRef group, GroupMixCB cb) |
| | Set a callback that fires when a mixer group has completed mixing.
|
| void | SetPostMixCallback (MixerRef mixer, PostMixCallback cb, void *userdata) |
| | Set a callback that fires when all mixing has completed.
|
| void | SetPostMixCallback (MixerRef mixer, PostMixCB cb) |
| | Set a callback that fires when all mixing has completed.
|
| int | Generate (MixerRef mixer, TargetBytes buffer) |
| | Generate mixer output when not driving an audio device.
|
| AudioDecoder | CreateAudioDecoder (StringParam path, PropertiesRef props=nullptr) |
| | Create a AudioDecoder from a path on the filesystem.
|
| AudioDecoder | CreateAudioDecoder_IO (IOStreamRef io, bool closeio=false, PropertiesRef props=nullptr) |
| | Create a AudioDecoder from an IOStream.
|
| void | DestroyAudioDecoder (AudioDecoderRaw audiodecoder) |
| | Destroy the specified audio decoder.
|
| PropertiesRef | GetAudioDecoderProperties (AudioDecoderRef audiodecoder) |
| | Get the properties associated with a AudioDecoder.
|
| void | GetAudioDecoderFormat (AudioDecoderRef audiodecoder, AudioSpec *spec) |
| | Query the initial audio format of a AudioDecoder.
|
| int | DecodeAudio (AudioDecoderRef audiodecoder, TargetBytes buffer, const AudioSpec &spec) |
| | Decode more audio from a AudioDecoder.
|
|
constexpr MouseButtonFlags | ButtonMask (MouseButton button) |
| | Returns mask for button.
|
| bool | HasMouse () |
| | Return whether a mouse is currently connected.
|
| OwnArray< MouseID > | GetMice () |
| | Get a list of currently connected mice.
|
| const char * | GetMouseNameForID (MouseID instance_id) |
| | Get the name of a mouse.
|
| WindowRef | GetMouseFocus () |
| | Get the window which currently has mouse focus.
|
| MouseButtonFlags | GetMouseState (float *x, float *y) |
| | Query SDL's cache for the synchronous mouse button state and the window-relative SDL-cursor position.
|
| MouseButtonFlags | GetGlobalMouseState (float *x, float *y) |
| | Query the platform for the asynchronous mouse button state and the desktop-relative platform-cursor position.
|
| MouseButtonFlags | GetRelativeMouseState (float *x, float *y) |
| | Query SDL's cache for the synchronous mouse button state and accumulated mouse delta since last call.
|
| void | WarpMouse (const FPointRaw &p) |
| | Move the mouse to the given position in global screen space.
|
| void | SetRelativeMouseTransform (MouseMotionTransformCallback callback, void *userdata) |
| | Set a user-defined function by which to transform relative mouse inputs.
|
| void | SetRelativeMouseTransform (MouseMotionTransformCB callback) |
| | Set a user-defined function by which to transform relative mouse inputs.
|
| void | CaptureMouse (bool enabled) |
| | Capture the mouse and to track input outside an SDL window.
|
| Cursor | CreateCursor (const Uint8 *data, const Uint8 *mask, const PointRaw &size, const PointRaw &hot) |
| | Create a cursor using the specified bitmap data and mask (in MSB format).
|
| Cursor | CreateColorCursor (SurfaceRef surface, const PointRaw &hot) |
| | Create a color cursor.
|
| CursorRef | CreateAnimatedCursor (CursorFrameInfo *frames, int frame_count, int hot_x, int hot_y) |
| | Create an animated color cursor.
|
| Cursor | CreateSystemCursor (SystemCursor id) |
| | Create a system cursor.
|
| void | SetCursor (CursorRef cursor) |
| | Set the active cursor.
|
| CursorRef | GetCursor () |
| | Get the active cursor.
|
| CursorRef | GetDefaultCursor () |
| | Get the default cursor.
|
| void | DestroyCursor (CursorRaw cursor) |
| | Free a previously-created cursor.
|
| void | ShowCursor () |
| | Show the cursor.
|
| void | HideCursor () |
| | Hide the cursor.
|
| bool | CursorVisible () |
| | Return whether the cursor is currently being shown.
|
| Mutex | CreateMutex () |
| | Create a new mutex.
|
| void | LockMutex (MutexRef mutex) |
| | Lock the mutex.
|
| bool | TryLockMutex (MutexRef mutex) |
| | Try to lock a mutex without blocking.
|
| void | UnlockMutex (MutexRef mutex) |
| | Unlock the mutex.
|
| void | DestroyMutex (MutexRaw mutex) |
| | Destroy a mutex created with CreateMutex().
|
| RWLock | CreateRWLock () |
| | Create a new read/write lock.
|
| void | LockRWLockForReading (RWLockRef rwlock) |
| | Lock the read/write lock for read only operations.
|
| void | LockRWLockForWriting (RWLockRef rwlock) |
| | Lock the read/write lock for write operations.
|
| bool | TryLockRWLockForReading (RWLockRef rwlock) |
| | Try to lock a read/write lock for reading without blocking.
|
| bool | TryLockRWLockForWriting (RWLockRef rwlock) |
| | Try to lock a read/write lock for writing without blocking.
|
| void | UnlockRWLock (RWLockRef rwlock) |
| | Unlock the read/write lock.
|
| void | DestroyRWLock (RWLockRaw rwlock) |
| | Destroy a read/write lock created with CreateRWLock().
|
| Semaphore | CreateSemaphore (Uint32 initial_value) |
| | Create a semaphore.
|
| void | DestroySemaphore (SemaphoreRaw sem) |
| | Destroy a semaphore.
|
| void | WaitSemaphore (SemaphoreRef sem) |
| | Wait until a semaphore has a positive value and then decrements it.
|
| bool | TryWaitSemaphore (SemaphoreRef sem) |
| | See if a semaphore has a positive value and decrement it if it does.
|
| bool | WaitSemaphoreTimeout (SemaphoreRef sem, std::chrono::milliseconds timeout) |
| | Wait until a semaphore has a positive value and then decrements it.
|
| void | SignalSemaphore (SemaphoreRef sem) |
| | Atomically increment a semaphore's value and wake waiting threads.
|
| Uint32 | GetSemaphoreValue (SemaphoreRef sem) |
| | Get the current value of a semaphore.
|
| Condition | CreateCondition () |
| | Create a condition variable.
|
| void | DestroyCondition (ConditionRaw cond) |
| | Destroy a condition variable.
|
| void | SignalCondition (ConditionRef cond) |
| | Restart one of the threads that are waiting on the condition variable.
|
| void | BroadcastCondition (ConditionRef cond) |
| | Restart all threads that are waiting on the condition variable.
|
| void | WaitCondition (ConditionRef cond, MutexRef mutex) |
| | Wait until a condition variable is signaled.
|
| bool | WaitConditionTimeout (ConditionRef cond, MutexRef mutex, std::chrono::milliseconds timeout) |
| | Wait until a condition variable is signaled or a certain time has passed.
|
| bool | ShouldInit (InitStateRaw *state) |
| | Return whether initialization should be done.
|
| bool | ShouldQuit (InitStateRaw *state) |
| | Return whether cleanup should be done.
|
| void | SetInitialized (InitStateRaw *state, bool initialized) |
| | Finish an initialization state transition.
|
|
template<class T> |
| constexpr OptionalRef< T > | fromNullable (T *ptr) |
| | Create OptionalRef from a nullable pointer.
|
| PenDeviceType | GetPenDeviceType (PenID instance_id) |
| | Get the device type of the given pen.
|
| constexpr Uint32 | DefinePixelFourCC (Uint8 A, Uint8 B, Uint8 C, Uint8 D) |
| | A function for defining custom FourCC pixel formats.
|
| constexpr PixelFormat | DefinePixelFormat (PixelType type, int order, PackedLayout layout, int bits, int bytes) |
| | A macro for defining custom non-FourCC pixel formats.
|
| constexpr Uint8 | PixelFormatFlags (PixelFormatRaw format) |
| | Retrieve the flags of an PixelFormat.
|
| constexpr PixelType | PixelFormatType (PixelFormatRaw format) |
| | A macro to retrieve the type of an PixelFormat.
|
| constexpr int | PixelFormatOrder (PixelFormatRaw format) |
| | A macro to retrieve the order of an PixelFormat.
|
| constexpr PackedLayout | PixelFormatLayout (PixelFormatRaw format) |
| | A macro to retrieve the layout of an PixelFormat.
|
| constexpr int | PixelFormatBitsPerPixel (PixelFormatRaw format) |
| | A macro to determine an PixelFormat's bits per pixel.
|
| constexpr int | PixelFormatBytesPerPixel (PixelFormatRaw format) |
| | A macro to determine an PixelFormat's bytes per pixel.
|
| constexpr bool | IsPixelFormatIndexed (PixelFormatRaw format) |
| | A macro to determine if an PixelFormat is an indexed format.
|
| constexpr bool | IsPixelFormatPacked (PixelFormatRaw format) |
| | A macro to determine if an PixelFormat is a packed format.
|
| constexpr bool | IsPixelFormatArray (PixelFormatRaw format) |
| | A macro to determine if an PixelFormat is an array format.
|
| constexpr bool | IsPixelFormat10Bit (PixelFormatRaw format) |
| | A macro to determine if an PixelFormat is a 10-bit format.
|
| constexpr bool | IsPixelFormatFloat (PixelFormatRaw format) |
| | A macro to determine if an PixelFormat is a floating point format.
|
| constexpr Colorspace | DefineColorspace (ColorType type, ColorRange range, ColorPrimaries primaries, TransferCharacteristics transfer, MatrixCoefficients matrix, ChromaLocation chroma) |
| | A macro for defining custom Colorspace formats.
|
| constexpr ColorType | ColorspaceType (ColorspaceRaw cspace) |
| | A macro to retrieve the type of an Colorspace.
|
| constexpr ColorRange | ColorspaceRange (ColorspaceRaw cspace) |
| | A macro to retrieve the range of an Colorspace.
|
| constexpr ChromaLocation | ColorspaceChroma (ColorspaceRaw cspace) |
| | A macro to retrieve the chroma sample location of an Colorspace.
|
| constexpr ColorPrimaries | ColorspacePrimaries (ColorspaceRaw cspace) |
| | A macro to retrieve the primaries of an Colorspace.
|
| constexpr TransferCharacteristics | ColorspaceTransfer (ColorspaceRaw cspace) |
| | A macro to retrieve the transfer characteristics of an Colorspace.
|
| constexpr MatrixCoefficients | ColorspaceMatrix (ColorspaceRaw cspace) |
| | A macro to retrieve the matrix coefficients of an Colorspace.
|
| constexpr bool | IsColorspaceMatrixBT601 (ColorspaceRaw cspace) |
| | A macro to determine if an Colorspace uses BT601 (or BT470BG) matrix coefficients.
|
| constexpr bool | IsColorspaceMatrixBT709 (ColorspaceRaw cspace) |
| | A macro to determine if an Colorspace uses BT709 matrix coefficients.
|
| constexpr bool | IsColorspaceMatrixBT2020_NCL (ColorspaceRaw cspace) |
| | Determine if an Colorspace uses BT2020_NCL matrix coefficients.
|
| constexpr bool | IsColorspaceLimitedRange (ColorspaceRaw cspace) |
| | A macro to determine if an Colorspace has a limited range.
|
| constexpr bool | IsColorspaceFullRange (ColorspaceRaw cspace) |
| | A macro to determine if an Colorspace has a full range.
|
|
constexpr bool | operator== (ColorRaw lhs, ColorRaw rhs) noexcept |
| | Comparison operator for Color.
|
|
constexpr bool | operator== (const FColorRaw &lhs, const FColorRaw &rhs) noexcept |
| | Comparison operator for FColor.
|
|
constexpr auto | operator<=> (ColorRaw lhs, ColorRaw rhs) noexcept |
| | Spaceship operator for Color.
|
|
constexpr auto | operator<=> (const FColorRaw &lhs, const FColorRaw &rhs) noexcept |
| | Spaceship operator for FColor.
|
| const char * | GetPixelFormatName (PixelFormatRaw format) |
| | Get the human readable name of a pixel format.
|
| void | GetMasksForPixelFormat (PixelFormatRaw format, int *bpp, Uint32 *Rmask, Uint32 *Gmask, Uint32 *Bmask, Uint32 *Amask) |
| | Convert one of the enumerated pixel formats to a bpp value and RGBA masks.
|
| PixelFormat | GetPixelFormatForMasks (int bpp, Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask) |
| | Convert a bpp value and RGBA masks to an enumerated pixel format.
|
| const PixelFormatDetails & | GetPixelFormatDetails (PixelFormatRaw format) |
| | Create an PixelFormatDetails structure corresponding to a pixel format.
|
| Palette | CreatePalette (int ncolors) |
| | Create a palette structure with the specified number of color entries.
|
| void | SetPaletteColors (PaletteRef palette, SpanRef< const ColorRaw > colors, int firstcolor=0) |
| | Set a range of colors in a palette.
|
| void | DestroyPalette (PaletteRaw palette) |
| | Free a palette created with CreatePalette().
|
| Uint32 | MapRGB (const PixelFormatDetails &format, PaletteConstRef palette, Uint8 r, Uint8 g, Uint8 b) |
| | Map an RGB triple to an opaque pixel value for a given pixel format.
|
| Uint32 | MapRGBA (const PixelFormatDetails &format, Uint8 r, Uint8 g, Uint8 b, Uint8 a, PaletteConstRef palette={}) |
| | Map an RGBA quadruple to a pixel value for a given pixel format.
|
| Uint32 | MapColor (const PixelFormatDetails &format, ColorRaw c, PaletteConstRef palette={}) |
| | Map an RGBA quadruple to a pixel value for a given pixel format.
|
| void | GetRGB (Uint32 pixelvalue, const PixelFormatDetails &format, PaletteConstRef palette, Uint8 *r, Uint8 *g, Uint8 *b) |
| | Get RGB values from a pixel in the specified format.
|
| void | GetRGBA (Uint32 pixelvalue, const PixelFormatDetails &format, PaletteConstRef palette, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) |
| | Get RGBA values from a pixel in the specified format.
|
| Color | GetColor (Uint32 pixel, const PixelFormatDetails &format, PaletteConstRef palette={}) |
| | Get RGBA values from a pixel in the specified format.
|
| const char * | GetPlatform () |
| | Get the name of the platform.
|
| PowerState | GetPowerInfo (int *seconds, int *percent) |
| | Get the current power supply details.
|
| Process | CreateProcess (const char *const *args, bool pipe_stdio) |
| | Create a new process.
|
| Process | CreateProcessWithProperties (PropertiesRef props) |
| | Create a new process with the specified properties.
|
| PropertiesRef | GetProcessProperties (ProcessRef process) |
| | Get the properties associated with a process.
|
| StringResult | ReadProcess (ProcessRef process, int *exitcode=nullptr) |
| | Read all the output from a process.
|
| IOStreamRef | GetProcessInput (ProcessRef process) |
| | Get the IOStream associated with process standard input.
|
| IOStreamRef | GetProcessOutput (ProcessRef process) |
| | Get the IOStream associated with process standard output.
|
| void | KillProcess (ProcessRef process, bool force) |
| | Stop a process.
|
| bool | WaitProcess (ProcessRef process, bool block, int *exitcode) |
| | Wait for a process to finish.
|
| void | DestroyProcess (ProcessRaw process) |
| | Destroy a previously created process object.
|
| PropertiesRef | GetGlobalProperties () |
| | Get the global SDL properties.
|
| Properties | CreateProperties () |
| | Create a group of properties.
|
| void | CopyProperties (PropertiesRef src, PropertiesRef dst) |
| | Copy a group of properties.
|
| void | LockProperties (PropertiesRef props) |
| | Lock a group of properties.
|
| void | UnlockProperties (PropertiesRef props) |
| | Unlock a group of properties.
|
| void | SetPointerPropertyWithCleanup (PropertiesRef props, StringParam name, void *value, CleanupPropertyCallback cleanup, void *userdata) |
| | Set a pointer property in a group of properties with a cleanup function that is called when the property is deleted.
|
| void | SetPointerPropertyWithCleanup (PropertiesRef props, StringParam name, void *value, CleanupPropertyCB cleanup) |
| | Set a pointer property in a group of properties with a cleanup function that is called when the property is deleted.
|
| void | SetPointerProperty (PropertiesRef props, StringParam name, void *value) |
| | Set a pointer property in a group of properties.
|
| void | SetStringProperty (PropertiesRef props, StringParam name, StringParam value) |
| | Set a string property in a group of properties.
|
| void | SetNumberProperty (PropertiesRef props, StringParam name, Sint64 value) |
| | Set an integer property in a group of properties.
|
| void | SetFloatProperty (PropertiesRef props, StringParam name, float value) |
| | Set a floating point property in a group of properties.
|
| void | SetBooleanProperty (PropertiesRef props, StringParam name, bool value) |
| | Set a boolean property in a group of properties.
|
| bool | HasProperty (PropertiesRef props, StringParam name) |
| | Return whether a property exists in a group of properties.
|
| PropertyType | GetPropertyType (PropertiesRef props, StringParam name) |
| | Get the type of a property in a group of properties.
|
| void * | GetPointerProperty (PropertiesRef props, StringParam name, void *default_value) |
| | Get a pointer property from a group of properties.
|
| const char * | GetStringProperty (PropertiesRef props, StringParam name, StringParam default_value) |
| | Get a string property from a group of properties.
|
| Sint64 | GetNumberProperty (PropertiesRef props, StringParam name, Sint64 default_value) |
| | Get a number property from a group of properties.
|
| float | GetFloatProperty (PropertiesRef props, StringParam name, float default_value) |
| | Get a floating point property from a group of properties.
|
| bool | GetBooleanProperty (PropertiesRef props, StringParam name, bool default_value) |
| | Get a boolean property from a group of properties.
|
| void | ClearProperty (PropertiesRef props, StringParam name) |
| | Clear a property from a group of properties.
|
| void | EnumerateProperties (PropertiesRef props, EnumeratePropertiesCallback callback, void *userdata) |
| | Enumerate the properties contained in a group of properties.
|
| void | EnumerateProperties (PropertiesRef props, EnumeratePropertiesCB callback) |
| | Enumerate the properties contained in a group of properties.
|
| Uint64 | CountProperties (PropertiesRef props) |
| | Returns the number of properties this has.
|
| void | DestroyProperties (PropertiesID props) |
| | Destroy a group of properties.
|
|
constexpr bool | operator== (const PointRaw &lhs, const PointRaw &rhs) noexcept |
| | Comparison operator for Point.
|
|
constexpr bool | operator== (const FPointRaw &lhs, const FPointRaw &rhs) noexcept |
| | Comparison operator for FPoint.
|
|
bool | operator== (const RectRaw &lhs, const RectRaw &rhs) noexcept |
| | Comparison operator for Rect.
|
|
bool | operator== (const FRectRaw &lhs, const FRectRaw &rhs) noexcept |
| | Comparison operator for FRect.
|
|
constexpr auto | operator<=> (const PointRaw &lhs, const PointRaw &rhs) noexcept |
| | Spaceship operator for Point.
|
|
constexpr auto | operator<=> (const FPointRaw &lhs, const FPointRaw &rhs) noexcept |
| | Spaceship operator for FPoint.
|
| FRect | RectToFRect (const RectRaw &rect) |
| | Convert an Rect to FRect.
|
| bool | PointInRect (const PointRaw &p, const RectRaw &r) |
| | Determine whether a point resides inside a rectangle.
|
| bool | RectEmpty (const RectRaw &r) |
| | Determine whether a rectangle has no area.
|
| bool | RectsEqual (const RectRaw &a, const RectRaw &b) |
| | Determine whether two rectangles are equal.
|
| bool | HasRectIntersection (const RectRaw &A, const RectRaw &B) |
| | Determine whether two rectangles intersect.
|
| Rect | GetRectIntersection (const RectRaw &A, const RectRaw &B) |
| | Calculate the intersection of two rectangles.
|
| constexpr Rect | GetRectUnion (const RectRaw &A, const RectRaw &B) |
| | Calculate the union of two rectangles.
|
| Rect | GetRectEnclosingPoints (SpanRef< const PointRaw > points, OptionalRef< const RectRaw > clip=std::nullopt) |
| | Calculate a minimal rectangle enclosing a set of points.
|
| bool | GetRectAndLineIntersection (const RectRaw &rect, int *X1, int *Y1, int *X2, int *Y2) |
| | Calculate the intersection of a rectangle and line segment.
|
| bool | PointInRectFloat (const FPointRaw &p, const FRectRaw &r) |
| | Determine whether a point resides inside a floating point rectangle.
|
| bool | RectEmptyFloat (const FRectRaw &r) |
| | Determine whether a floating point rectangle takes no space.
|
| bool | RectsEqualEpsilon (const FRectRaw &a, const FRectRaw &b, const float epsilon) |
| | Determine whether two floating point rectangles are equal, within some given epsilon.
|
| bool | RectsEqualFloat (const FRectRaw &a, const FRectRaw &b) |
| | Determine whether two floating point rectangles are equal, within a default epsilon.
|
| bool | HasRectIntersectionFloat (const FRectRaw &A, const FRectRaw &B) |
| | Determine whether two rectangles intersect with float precision.
|
| FRect | GetRectIntersectionFloat (const FRectRaw &A, const FRectRaw &B) |
| | Calculate the intersection of two rectangles with float precision.
|
| constexpr FRect | GetRectUnionFloat (const FRectRaw &A, const FRectRaw &B) |
| | Calculate the union of two rectangles with float precision.
|
| FRect | GetRectEnclosingPointsFloat (SpanRef< const FPointRaw > points, OptionalRef< const FRectRaw > clip=std::nullopt) |
| | Calculate a minimal rectangle enclosing a set of points with float precision.
|
| bool | GetRectAndLineIntersectionFloat (const FRectRaw &rect, float *X1, float *Y1, float *X2, float *Y2) |
| | Calculate the intersection of a rectangle and line segment with float precision.
|
| int | GetNumRenderDrivers () |
| | Get the number of 2D rendering drivers available for the current display.
|
| const char * | GetRenderDriver (int index) |
| | Use this function to get the name of a built in 2D rendering driver.
|
| void | CreateWindowAndRendererRaw (StringParam title, const PointRaw &size, WindowFlags window_flags, WindowRaw *window, RendererRaw *renderer) |
| | Create a window and default renderer.
|
| void | CreateWindowAndRenderer (StringParam title, const PointRaw &size, WindowFlags window_flags, Window *window, Renderer *renderer) |
| | Create a window and default renderer.
|
| std::pair< Window, Renderer > | CreateWindowAndRenderer (StringParam title, const PointRaw &size, WindowFlags window_flags=0) |
| | Create a window and default renderer.
|
| Window | CreateWindowAndRenderer (StringParam title, const PointRaw &size, WindowFlags window_flags, Renderer *renderer) |
| | Create a window and default renderer.
|
| Renderer | CreateRenderer (WindowRef window, StringParam name=nullptr) |
| | Create a 2D rendering context for a window.
|
| Renderer | CreateRendererWithProperties (PropertiesRef props) |
| | Create a 2D rendering context for a window, with the specified properties.
|
| RendererRef | CreateGPURenderer (GPUDeviceRef device, WindowRef window) |
| | Create a 2D GPU rendering context.
|
| GPUDeviceRef | GetGPURendererDevice (RendererRef renderer) |
| | Return the GPU device used by a renderer.
|
| Renderer | CreateSoftwareRenderer (SurfaceRef surface) |
| | Create a 2D software rendering context for a surface.
|
| WindowRef | GetRenderWindow (RendererRef renderer) |
| | Get the window associated with a renderer.
|
| const char * | GetRendererName (RendererRef renderer) |
| | Get the name of a renderer.
|
| PropertiesRef | GetRendererProperties (RendererRef renderer) |
| | Get the properties associated with a renderer.
|
| void | GetRenderOutputSize (RendererRef renderer, int *w, int *h) |
| | Get the output size in pixels of a rendering context.
|
| Point | GetRenderOutputSize (RendererRef renderer) |
| | Get the output size in pixels of a rendering context.
|
| void | GetCurrentRenderOutputSize (RendererRef renderer, int *w, int *h) |
| | Get the current output size in pixels of a rendering context.
|
| Point | GetCurrentRenderOutputSize (RendererRef renderer) |
| | Get the current output size in pixels of a rendering context.
|
| Texture | CreateTexture (RendererRef renderer, PixelFormat format, TextureAccess access, const PointRaw &size) |
| | Create a texture for a rendering context.
|
| Texture | CreateTextureFromSurface (RendererRef renderer, SurfaceRef surface) |
| | Create a texture from an existing surface.
|
| Texture | CreateTextureWithProperties (RendererRef renderer, PropertiesRef props) |
| | Create a texture for a rendering context with the specified properties.
|
| PropertiesRef | GetTextureProperties (TextureConstRef texture) |
| | Get the properties associated with a texture.
|
| RendererRef | GetRendererFromTexture (TextureConstRef texture) |
| | Get the renderer that created an Texture.
|
| void | GetTextureSize (TextureConstRef texture, float *w, float *h) |
| | Get the size of a texture, as floating point values.
|
|
Point | GetTextureSize (TextureConstRef texture) |
| | Get the size of a texture.
|
|
FPoint | GetTextureSizeFloat (TextureConstRef texture) |
| | Get the size of a texture, as floating point values.
|
|
int | GetTextureWidth (TextureConstRef texture) |
| | Get the width in pixels.
|
|
int | GetTextureHeight (TextureConstRef texture) |
| | Get the height in pixels.
|
|
PixelFormat | GetTextureFormat (TextureConstRef texture) |
| | Get the pixel format.
|
| void | SetTexturePalette (TextureRef texture, PaletteRef palette) |
| | Set the palette used by a texture.
|
| Palette | GetTexturePalette (TextureRef texture) |
| | Get the palette used by a texture.
|
| void | SetTextureColorMod (TextureRef texture, Uint8 r, Uint8 g, Uint8 b) |
| | Set an additional color value multiplied into render copy operations.
|
| void | SetTextureColorModFloat (TextureRef texture, float r, float g, float b) |
| | Set an additional color value multiplied into render copy operations.
|
| void | GetTextureColorMod (TextureConstRef texture, Uint8 *r, Uint8 *g, Uint8 *b) |
| | Get the additional color value multiplied into render copy operations.
|
| void | GetTextureColorModFloat (TextureConstRef texture, float *r, float *g, float *b) |
| | Get the additional color value multiplied into render copy operations.
|
| void | SetTextureAlphaMod (TextureRef texture, Uint8 alpha) |
| | Set an additional alpha value multiplied into render copy operations.
|
| void | SetTextureAlphaModFloat (TextureRef texture, float alpha) |
| | Set an additional alpha value multiplied into render copy operations.
|
| Uint8 | GetTextureAlphaMod (TextureConstRef texture) |
| | Get the additional alpha value multiplied into render copy operations.
|
| float | GetTextureAlphaModFloat (TextureConstRef texture) |
| | Get the additional alpha value multiplied into render copy operations.
|
| void | SetTextureMod (TextureRef texture, Color c) |
| | Set an additional color and alpha values multiplied into render copy operations.
|
| void | SetTextureModFloat (TextureRef texture, FColor c) |
| | Set an additional color and alpha values multiplied into render copy operations.
|
| Color | GetTextureMod (TextureConstRef texture) |
| | Get the additional color value multiplied into render copy operations.
|
| FColor | GetTextureModFloat (TextureConstRef texture) |
| | Get the additional color value multiplied into render copy operations.
|
| void | SetTextureBlendMode (TextureRef texture, BlendMode blendMode) |
| | Set the blend mode for a texture, used by Renderer.RenderTexture().
|
| BlendMode | GetTextureBlendMode (TextureConstRef texture) |
| | Get the blend mode used for texture copy operations.
|
| void | SetTextureScaleMode (TextureRef texture, ScaleMode scaleMode) |
| | Set the scale mode used for texture scale operations.
|
| ScaleMode | GetTextureScaleMode (TextureConstRef texture) |
| | Get the scale mode used for texture scale operations.
|
| void | UpdateTexture (TextureRef texture, OptionalRef< const RectRaw > rect, const void *pixels, int pitch) |
| | Update the given texture rectangle with new pixel data.
|
| void | UpdateTexture (TextureRef texture, SurfaceConstRef surface, OptionalRef< const RectRaw > rect=std::nullopt) |
| | Update the given texture rectangle with new pixel data.
|
| void | UpdateYUVTexture (TextureRef texture, OptionalRef< const RectRaw > rect, const Uint8 *Yplane, int Ypitch, const Uint8 *Uplane, int Upitch, const Uint8 *Vplane, int Vpitch) |
| | Update a rectangle within a planar YV12 or IYUV texture with new pixel data.
|
| void | UpdateNVTexture (TextureRef texture, OptionalRef< const RectRaw > rect, const Uint8 *Yplane, int Ypitch, const Uint8 *UVplane, int UVpitch) |
| | Update a rectangle within a planar NV12 or NV21 texture with new pixels.
|
| void | LockTexture (TextureRef texture, OptionalRef< const RectRaw > rect, void **pixels, int *pitch) |
| | Lock a portion of the texture for write-only pixel access.
|
| Surface | LockTextureToSurface (TextureRef texture, OptionalRef< const RectRaw > rect=std::nullopt) |
| | Lock a portion of the texture for write-only pixel access, and expose it as a SDL surface.
|
| void | UnlockTexture (TextureRef texture) |
| | Unlock a texture, uploading the changes to video memory, if needed.
|
| void | SetRenderTarget (RendererRef renderer, TextureRef texture) |
| | Set a texture as the current rendering target.
|
| void | ResetRenderTarget (RendererRef renderer) |
| | Set target texture back to window.
|
| Texture | GetRenderTarget (RendererRef renderer) |
| | Get the current render target.
|
| void | SetRenderLogicalPresentation (RendererRef renderer, const PointRaw &size, RendererLogicalPresentation mode) |
| | Set a device-independent resolution and presentation mode for rendering.
|
| void | GetRenderLogicalPresentation (RendererRef renderer, int *w, int *h, RendererLogicalPresentation *mode) |
| | Get device independent resolution and presentation mode for rendering.
|
| void | GetRenderLogicalPresentation (RendererRef renderer, PointRaw *size, RendererLogicalPresentation *mode) |
| | Get device independent resolution and presentation mode for rendering.
|
| FRect | GetRenderLogicalPresentationRect (RendererRef renderer) |
| | Get the final presentation rectangle for rendering.
|
| FPoint | RenderCoordinatesFromWindow (RendererRef renderer, const FPointRaw &window_coord) |
| | Get a point in render coordinates when given a point in window coordinates.
|
| FPoint | RenderCoordinatesToWindow (RendererRef renderer, const FPointRaw &coord) |
| | Get a point in window coordinates when given a point in render coordinates.
|
| void | ConvertEventToRenderCoordinates (RendererRef renderer, Event *event) |
| | Convert the coordinates in an event to render coordinates.
|
| void | SetRenderViewport (RendererRef renderer, OptionalRef< const RectRaw > rect) |
| | Set the drawing area for rendering on the current target.
|
| void | ResetRenderViewport (RendererRef renderer) |
| | Reset the drawing area for rendering to the entire target.
|
| Rect | GetRenderViewport (RendererRef renderer) |
| | Get the drawing area for the current target.
|
| bool | RenderViewportSet (RendererRef renderer) |
| | Return whether an explicit rectangle was set as the viewport.
|
| Rect | GetRenderSafeArea (RendererRef renderer) |
| | Get the safe area for rendering within the current viewport.
|
| void | SetRenderClipRect (RendererRef renderer, OptionalRef< const RectRaw > rect) |
| | Set the clip rectangle for rendering on the specified target.
|
| void | ResetRenderClipRect (RendererRef renderer) |
| | Reset the clip rectangle for rendering to the entire render target.
|
| Rect | GetRenderClipRect (RendererRef renderer) |
| | Get the clip rectangle for the current target.
|
| bool | RenderClipEnabled (RendererRef renderer) |
| | Get whether clipping is enabled on the given render target.
|
| void | SetRenderScale (RendererRef renderer, const FPointRaw &scale) |
| | Set the drawing scale for rendering on the current target.
|
| void | GetRenderScale (RendererRef renderer, float *scaleX, float *scaleY) |
| | Get the drawing scale for the current target.
|
| FPoint | GetRenderScale (RendererRef renderer) |
| | Get the drawing scale for the current target.
|
| void | SetRenderDrawColor (RendererRef renderer, ColorRaw c) |
| | Set the color used for drawing operations.
|
| void | SetRenderDrawColorFloat (RendererRef renderer, const FColorRaw &c) |
| | Set the color used for drawing operations (Rect, Line and Clear).
|
| void | GetRenderDrawColor (RendererRef renderer, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) |
| | Get the color used for drawing operations (Rect, Line and Clear).
|
| Color | GetRenderDrawColor (RendererRef renderer) |
| | Get the color used for drawing operations (Rect, Line and Clear).
|
| void | GetRenderDrawColorFloat (RendererRef renderer, float *r, float *g, float *b, float *a) |
| | Get the color used for drawing operations (Rect, Line and Clear).
|
| FColor | GetRenderDrawColorFloat (RendererRef renderer) |
| | Get the color used for drawing operations (Rect, Line and Clear).
|
| void | SetRenderColorScale (RendererRef renderer, float scale) |
| | Set the color scale used for render operations.
|
| float | GetRenderColorScale (RendererRef renderer) |
| | Get the color scale used for render operations.
|
| void | SetRenderDrawBlendMode (RendererRef renderer, BlendMode blendMode) |
| | Set the blend mode used for drawing operations (Fill and Line).
|
| BlendMode | GetRenderDrawBlendMode (RendererRef renderer) |
| | Get the blend mode used for drawing operations.
|
| void | RenderClear (RendererRef renderer) |
| | Clear the current rendering target with the drawing color.
|
| void | RenderPoint (RendererRef renderer, const FPointRaw &p) |
| | Draw a point on the current rendering target at subpixel precision.
|
| void | RenderPoints (RendererRef renderer, SpanRef< const FPointRaw > points) |
| | Draw multiple points on the current rendering target at subpixel precision.
|
| void | RenderLine (RendererRef renderer, const FPointRaw &p1, const FPointRaw &p2) |
| | Draw a line on the current rendering target at subpixel precision.
|
| void | RenderLines (RendererRef renderer, SpanRef< const FPointRaw > points) |
| | Draw a series of connected lines on the current rendering target at subpixel precision.
|
| void | RenderRect (RendererRef renderer, OptionalRef< const FRectRaw > rect) |
| | Draw a rectangle on the current rendering target at subpixel precision.
|
| void | RenderRects (RendererRef renderer, SpanRef< const FRectRaw > rects) |
| | Draw some number of rectangles on the current rendering target at subpixel precision.
|
| void | RenderFillRect (RendererRef renderer, OptionalRef< const FRectRaw > rect) |
| | Fill a rectangle on the current rendering target with the drawing color at subpixel precision.
|
| void | RenderFillRects (RendererRef renderer, SpanRef< const FRectRaw > rects) |
| | Fill some number of rectangles on the current rendering target with the drawing color at subpixel precision.
|
| void | RenderTexture (RendererRef renderer, TextureRef texture, OptionalRef< const FRectRaw > srcrect, OptionalRef< const FRectRaw > dstrect) |
| | Copy a portion of the texture to the current rendering target at subpixel precision.
|
| void | RenderTextureRotated (RendererRef renderer, TextureRef texture, OptionalRef< const FRectRaw > srcrect, OptionalRef< const FRectRaw > dstrect, double angle, OptionalRef< const FPointRaw > center, FlipMode flip=FlipMode::SDL_FLIP_NONE) |
| | Copy a portion of the source texture to the current rendering target, with rotation and flipping, at subpixel precision.
|
| void | RenderTextureAffine (RendererRef renderer, TextureRef texture, OptionalRef< const FRectRaw > srcrect, OptionalRef< const FPointRaw > origin, OptionalRef< const FPointRaw > right, OptionalRef< const FPointRaw > down) |
| | Copy a portion of the source texture to the current rendering target, with affine transform, at subpixel precision.
|
| void | RenderTextureTiled (RendererRef renderer, TextureRef texture, OptionalRef< const FRectRaw > srcrect, float scale, OptionalRef< const FRectRaw > dstrect) |
| | Tile a portion of the texture to the current rendering target at subpixel precision.
|
| void | RenderTexture9Grid (RendererRef renderer, TextureRef texture, OptionalRef< const FRectRaw > srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, OptionalRef< const FRectRaw > dstrect) |
| | Perform a scaled copy using the 9-grid algorithm to the current rendering target at subpixel precision.
|
| void | RenderTexture9GridTiled (RendererRef renderer, TextureRef texture, const FRectRaw &srcrect, float left_width, float right_width, float top_height, float bottom_height, float scale, const FRectRaw &dstrect, float tileScale) |
| | Perform a scaled copy using the 9-grid algorithm to the current rendering target at subpixel precision.
|
| void | RenderGeometry (RendererRef renderer, TextureRef texture, std::span< const Vertex > vertices, std::span< const int > indices={}) |
| | Render a list of triangles, optionally using a texture and indices into the vertex array Color and alpha modulation is done per vertex (Texture.SetColorMod and Texture.SetAlphaMod are ignored).
|
| void | RenderGeometryRaw (RendererRef renderer, TextureRef texture, const float *xy, int xy_stride, const FColor *color, int color_stride, const float *uv, int uv_stride, int num_vertices, const void *indices, int num_indices, int size_indices) |
| | Render a list of triangles, optionally using a texture and indices into the vertex arrays Color and alpha modulation is done per vertex (Texture.SetColorMod and Texture.SetAlphaMod are ignored).
|
| void | SetRenderTextureAddressMode (RendererRef renderer, TextureAddressMode u_mode, TextureAddressMode v_mode) |
| | Set the texture addressing mode used in Renderer.RenderGeometry().
|
| void | GetRenderTextureAddressMode (RendererRef renderer, TextureAddressMode *u_mode, TextureAddressMode *v_mode) |
| | Get the texture addressing mode used in Renderer.RenderGeometry().
|
| Surface | RenderReadPixels (RendererRef renderer, OptionalRef< const RectRaw > rect={}) |
| | Read pixels from the current rendering target.
|
| void | RenderPresent (RendererRef renderer) |
| | Update the screen with any rendering performed since the previous call.
|
| void | DestroyTexture (TextureRaw texture) |
| | Destroy the specified texture.
|
| void | DestroyRenderer (RendererRaw renderer) |
| | Destroy the rendering context for a window and free all associated textures.
|
| void | FlushRenderer (RendererRef renderer) |
| | Force the rendering context to flush any pending commands and state.
|
| void * | GetRenderMetalLayer (RendererRef renderer) |
| | Get the CAMetalLayer associated with the given Metal renderer.
|
| void * | GetRenderMetalCommandEncoder (RendererRef renderer) |
| | Get the Metal command encoder for the current frame.
|
| void | AddVulkanRenderSemaphores (RendererRef renderer, Uint32 wait_stage_mask, Sint64 wait_semaphore, Sint64 signal_semaphore) |
| | Add a set of synchronization semaphores for the current frame.
|
| void | SetRenderVSync (RendererRef renderer, int vsync) |
| | Toggle VSync of the given renderer.
|
| int | GetRenderVSync (RendererRef renderer) |
| | Get VSync of the given renderer.
|
| void | RenderDebugText (RendererRef renderer, const FPointRaw &p, StringParam str) |
| | Draw debug text to an Renderer.
|
| template<class... ARGS> |
| void | RenderDebugTextFormat (RendererRef renderer, const FPointRaw &p, std::string_view fmt, ARGS... args) |
| | Draw debug text to an Renderer.
|
| void | SetDefaultTextureScaleMode (RendererRef renderer, ScaleMode scale_mode) |
| | Set default scale mode for new textures for given renderer.
|
| void | GetDefaultTextureScaleMode (RendererRef renderer, ScaleMode *scale_mode) |
| | Get default texture scale mode of the given renderer.
|
| GPURenderState | CreateGPURenderState (RendererRef renderer, const GPURenderStateCreateInfo &createinfo) |
| | Create custom GPU render state.
|
| void | SetGPURenderStateFragmentUniforms (GPURenderStateRef state, Uint32 slot_index, const void *data, Uint32 length) |
| | Set fragment shader uniform variables in a custom GPU render state.
|
| void | SetGPURenderState (RendererRef renderer, GPURenderStateRef state) |
| | Set custom GPU render state.
|
| void | DestroyGPURenderState (GPURenderStateRaw state) |
| | Destroy custom GPU render state.
|
| OwnArray< SensorID > | GetSensors () |
| | Get a list of currently connected sensors.
|
| const char * | GetSensorNameForID (SensorID instance_id) |
| | Get the implementation dependent name of a sensor.
|
| SensorType | GetSensorTypeForID (SensorID instance_id) |
| | Get the type of a sensor.
|
| int | GetSensorNonPortableTypeForID (SensorID instance_id) |
| | Get the platform dependent type of a sensor.
|
| Sensor | OpenSensor (SensorID instance_id) |
| | Open a sensor for use.
|
| SensorRef | GetSensorFromID (SensorID instance_id) |
| | Return the Sensor associated with an instance ID.
|
| PropertiesRef | GetSensorProperties (SensorRef sensor) |
| | Get the properties associated with a sensor.
|
| const char * | GetSensorName (SensorRef sensor) |
| | Get the implementation dependent name of a sensor.
|
| SensorType | GetSensorType (SensorRef sensor) |
| | Get the type of a sensor.
|
| int | GetSensorNonPortableType (SensorRef sensor) |
| | Get the platform dependent type of a sensor.
|
| SensorID | GetSensorID (SensorRef sensor) |
| | Get the instance ID of a sensor.
|
| void | GetSensorData (SensorRef sensor, float *data, int num_values) |
| | Get the current state of an opened sensor.
|
| void | CloseSensor (SensorRaw sensor) |
| | Close a sensor previously opened with OpenSensor().
|
| void | UpdateSensors () |
| | Update the current state of the open sensors.
|
| template<class T, std::size_t N> |
| constexpr std::size_t | arraysize (const T(&array)[N]) |
| | The number of elements in a static array.
|
| constexpr Uint32 | FourCC (Uint8 a, Uint8 b, Uint8 c, Uint8 d) |
| | Define a four character code as a Uint32.
|
|
constexpr float | ToSeconds (Seconds duration) |
| | Converts a time duration to seconds (float).
|
|
constexpr Seconds | FromSeconds (float duration) |
| | Converts a float to seconds representation.
|
|
constexpr Sint64 | ToNS (Nanoseconds duration) |
| | Converts a time duration to nanoseconds (Sint64);.
|
|
constexpr Nanoseconds | FromNS (Sint64 duration) |
| | Converts a Sint64 to nanoseconds representation.
|
| template<Interface I> |
| constexpr void | InitInterface (I *iface) |
| | A macro to initialize an SDL interface.
|
| void * | malloc (size_t size) |
| | Allocate uninitialized memory.
|
| void * | calloc (size_t nmemb, size_t size) |
| | Allocate a zero-initialized array.
|
| void * | realloc (void *mem, size_t size) |
| | Change the size of allocated memory.
|
| void | free (void *mem) |
| | Free allocated memory.
|
| void | GetOriginalMemoryFunctions (malloc_func *malloc_func, calloc_func *calloc_func, realloc_func *realloc_func, free_func *free_func) |
| | Get the original set of SDL memory functions.
|
| void | GetMemoryFunctions (malloc_func *malloc_func, calloc_func *calloc_func, realloc_func *realloc_func, free_func *free_func) |
| | Get the current set of SDL memory functions.
|
| void | SetMemoryFunctions (malloc_func malloc_func, calloc_func calloc_func, realloc_func realloc_func, free_func free_func) |
| | Replace SDL's memory allocation functions with a custom set.
|
| void * | aligned_alloc (size_t alignment, size_t size) |
| | Allocate memory aligned to a specific alignment.
|
| void | aligned_free (void *mem) |
| | Free memory allocated by aligned_alloc().
|
| int | GetNumAllocations () |
| | Get the number of outstanding (unfreed) allocations.
|
| EnvironmentRaw | GetEnvironment () |
| | Get the process environment.
|
| Environment | CreateEnvironment (bool populated) |
| | Create a set of environment variables.
|
| const char * | GetEnvironmentVariable (EnvironmentRef env, StringParam name) |
| | Get the value of a variable in the environment.
|
| OwnArray< char * > | GetEnvironmentVariables (EnvironmentRef env) |
| | Get all variables in the environment.
|
| void | SetEnvironmentVariable (EnvironmentRef env, StringParam name, StringParam value, bool overwrite) |
| | Set the value of a variable in the environment.
|
| void | UnsetEnvironmentVariable (EnvironmentRef env, StringParam name) |
| | Clear a variable from the environment.
|
| void | DestroyEnvironment (EnvironmentRaw env) |
| | Destroy a set of environment variables.
|
| const char * | getenv (StringParam name) |
| | Get the value of a variable in the environment.
|
| const char * | getenv_unsafe (StringParam name) |
| | Get the value of a variable in the environment.
|
| int | setenv_unsafe (StringParam name, StringParam value, int overwrite) |
| | Set the value of a variable in the environment.
|
| int | unsetenv_unsafe (StringParam name) |
| | Clear a variable from the environment.
|
| void | qsort (void *base, size_t nmemb, size_t size, CompareCallback compare) |
| | Sort an array.
|
| void * | bsearch (const void *key, const void *base, size_t nmemb, size_t size, CompareCallback compare) |
| | Perform a binary search on a previously sorted array.
|
| void | qsort_r (void *base, size_t nmemb, size_t size, CompareCallback_r compare, void *userdata) |
| | Sort an array, passing a userdata pointer to the compare function.
|
| void | qsort_r (void *base, size_t nmemb, size_t size, CompareCB compare) |
| | Sort an array, passing a userdata pointer to the compare function.
|
| void * | bsearch_r (const void *key, const void *base, size_t nmemb, size_t size, CompareCallback_r compare, void *userdata) |
| | Perform a binary search on a previously sorted array, passing a userdata pointer to the compare function.
|
| void * | bsearch_r (const void *key, const void *base, size_t nmemb, size_t size, CompareCB compare) |
| | Perform a binary search on a previously sorted array, passing a userdata pointer to the compare function.
|
| int | abs (int x) |
| | Compute the absolute value of x.
|
| double | abs (double x) |
| | Compute the absolute value of x.
|
| float | abs (float x) |
| | Compute the absolute value of x.
|
| template<class T, class U> |
| constexpr T | min (T x, U y) |
| | Return the lesser of two values.
|
| template<class T, class U> |
| constexpr T | max (T x, U y) |
| | Return the greater of two values.
|
| template<class T, class U, class V> |
| constexpr T | clamp (T x, U a, V b) |
| | Return a value clamped to a range.
|
| int | isalpha (int x) |
| | Query if a character is alphabetic (a letter).
|
| int | isalnum (int x) |
| | Query if a character is alphabetic (a letter) or a number.
|
| int | isblank (int x) |
| | Report if a character is blank (a space or tab).
|
| int | iscntrl (int x) |
| | Report if a character is a control character.
|
| int | isdigit (int x) |
| | Report if a character is a numeric digit.
|
| int | isxdigit (int x) |
| | Report if a character is a hexadecimal digit.
|
| int | ispunct (int x) |
| | Report if a character is a punctuation mark.
|
| int | isspace (int x) |
| | Report if a character is whitespace.
|
| int | isupper (int x) |
| | Report if a character is upper case.
|
| int | islower (int x) |
| | Report if a character is lower case.
|
| int | isprint (int x) |
| | Report if a character is "printable".
|
| int | isgraph (int x) |
| | Report if a character is any "printable" except space.
|
| int | toupper (int x) |
| | Convert low-ASCII English letters to uppercase.
|
| int | tolower (int x) |
| | Convert low-ASCII English letters to lowercase.
|
| Uint16 | crc16 (Uint16 crc, const void *data, size_t len) |
| | Calculate a CRC-16 value.
|
| Uint32 | crc32 (Uint32 crc, const void *data, size_t len) |
| | Calculate a CRC-32 value.
|
| Uint32 | murmur3_32 (const void *data, size_t len, Uint32 seed) |
| | Calculate a 32-bit MurmurHash3 value for a block of data.
|
| void * | memcpy (void *dst, const void *src, size_t len) |
| | Copy non-overlapping memory.
|
| template<typename T, typename U> |
| constexpr T * | copyp (T *dst, const U *src) |
| | A macro to copy memory between objects, with basic type checking.
|
| void * | memmove (void *dst, const void *src, size_t len) |
| | Copy memory ranges that might overlap.
|
| void * | memset (void *dst, int c, size_t len) |
| | Initialize all bytes of buffer of memory to a specific value.
|
| void * | memset4 (void *dst, Uint32 val, size_t dwords) |
| | Initialize all 32-bit words of buffer of memory to a specific value.
|
| template<class T> |
| void | zero (T &x) |
| | Clear an object's memory to zero.
|
| template<class T> |
| void | zerop (T *x) |
| | Clear an object's memory to zero, using a pointer.
|
| template<class T, std::size_t N> |
| void | zeroa (T(&x)[N]) |
| | Clear an array's memory to zero.
|
| int | memcmp (const void *s1, const void *s2, size_t len) |
| | Compare two buffers of memory.
|
| size_t | wcslen (const wchar_t *wstr) |
| | This works exactly like wcslen() but doesn't require access to a C runtime.
|
| size_t | wcsnlen (const wchar_t *wstr, size_t maxlen) |
| | This works exactly like wcsnlen() but doesn't require access to a C runtime.
|
| size_t | wcslcpy (wchar_t *dst, const wchar_t *src, size_t maxlen) |
| | Copy a wide string.
|
| size_t | wcslcat (wchar_t *dst, const wchar_t *src, size_t maxlen) |
| | Concatenate wide strings.
|
| wchar_t * | wcsdup (const wchar_t *wstr) |
| | Allocate a copy of a wide string.
|
| wchar_t * | wcsstr (const wchar_t *haystack, const wchar_t *needle) |
| | Search a wide string for the first instance of a specific substring.
|
| wchar_t * | wcsnstr (const wchar_t *haystack, const wchar_t *needle, size_t maxlen) |
| | Search a wide string, up to n wide chars, for the first instance of a specific substring.
|
| int | wcscmp (const wchar_t *str1, const wchar_t *str2) |
| | Compare two null-terminated wide strings.
|
| int | wcsncmp (const wchar_t *str1, const wchar_t *str2, size_t maxlen) |
| | Compare two wide strings up to a number of wchar_t values.
|
| int | wcscasecmp (const wchar_t *str1, const wchar_t *str2) |
| | Compare two null-terminated wide strings, case-insensitively.
|
| int | wcsncasecmp (const wchar_t *str1, const wchar_t *str2, size_t maxlen) |
| | Compare two wide strings, case-insensitively, up to a number of wchar_t.
|
| long | wcstol (const wchar_t *str, wchar_t **endp, int base) |
| | Parse a long from a wide string.
|
| size_t | strlen (StringParam str) |
| | This works exactly like strlen() but doesn't require access to a C runtime.
|
| size_t | strnlen (StringParam str, size_t maxlen) |
| | This works exactly like strnlen() but doesn't require access to a C runtime.
|
| size_t | strlcpy (char *dst, StringParam src, size_t maxlen) |
| | Copy a string.
|
| size_t | utf8strlcpy (char *dst, StringParam src, size_t dst_bytes) |
| | Copy an UTF-8 string.
|
| size_t | strlcat (char *dst, StringParam src, size_t maxlen) |
| | Concatenate strings.
|
| char * | strdup (StringParam str) |
| | Allocate a copy of a string.
|
| char * | strndup (StringParam str, size_t maxlen) |
| | Allocate a copy of a string, up to n characters.
|
| char * | strrev (char *str) |
| | Reverse a string's contents.
|
| char * | strupr (char *str) |
| | Convert a string to uppercase.
|
| char * | strlwr (char *str) |
| | Convert a string to lowercase.
|
| char * | strchr (StringParam str, int c) |
| | Search a string for the first instance of a specific byte.
|
| char * | strrchr (StringParam str, int c) |
| | Search a string for the last instance of a specific byte.
|
| char * | strstr (StringParam haystack, StringParam needle) |
| | Search a string for the first instance of a specific substring.
|
| char * | strnstr (StringParam haystack, StringParam needle, size_t maxlen) |
| | Search a string, up to n bytes, for the first instance of a specific substring.
|
| char * | strcasestr (StringParam haystack, StringParam needle) |
| | Search a UTF-8 string for the first instance of a specific substring, case-insensitively.
|
| char * | strtok_r (char *str, StringParam delim, char **saveptr) |
| | This works exactly like strtok_r() but doesn't require access to a C runtime.
|
| size_t | utf8strlen (StringParam str) |
| | Count the number of codepoints in a UTF-8 string.
|
| size_t | utf8strnlen (StringParam str, size_t bytes) |
| | Count the number of codepoints in a UTF-8 string, up to n bytes.
|
| char * | itoa (int value, char *str, int radix) |
| | Convert an integer into a string.
|
| char * | uitoa (unsigned int value, char *str, int radix) |
| | Convert an unsigned integer into a string.
|
| char * | ltoa (long value, char *str, int radix) |
| | Convert a long integer into a string.
|
| char * | ultoa (unsigned long value, char *str, int radix) |
| | Convert an unsigned long integer into a string.
|
| int | atoi (StringParam str) |
| | Parse an int from a string.
|
| double | atof (StringParam str) |
| | Parse a double from a string.
|
| long | strtol (StringParam str, char **endp, int base) |
| | Parse a long from a string.
|
| unsigned long | strtoul (StringParam str, char **endp, int base) |
| | Parse an unsigned long from a string.
|
| double | strtod (StringParam str, char **endp) |
| | Parse a double from a string.
|
| int | strcmp (StringParam str1, StringParam str2) |
| | Compare two null-terminated UTF-8 strings.
|
| int | strncmp (StringParam str1, StringParam str2, size_t maxlen) |
| | Compare two UTF-8 strings up to a number of bytes.
|
| int | strcasecmp (StringParam str1, StringParam str2) |
| | Compare two null-terminated UTF-8 strings, case-insensitively.
|
| int | strncasecmp (StringParam str1, StringParam str2, size_t maxlen) |
| | Compare two UTF-8 strings, case-insensitively, up to a number of bytes.
|
| char * | strpbrk (StringParam str, StringParam breakset) |
| | Searches a string for the first occurrence of any character contained in a breakset, and returns a pointer from the string to that character.
|
| Uint32 | StepUTF8 (const char **pstr, size_t *pslen) |
| | Decode a UTF-8 string, one Unicode codepoint at a time.
|
| Uint32 | StepBackUTF8 (StringParam start, const char **pstr) |
| | Decode a UTF-8 string in reverse, one Unicode codepoint at a time.
|
| char * | UCS4ToUTF8 (Uint32 codepoint, char *dst) |
| | Convert a single Unicode codepoint to UTF-8.
|
| int | sscanf (StringParam text, SDL_SCANF_FORMAT_STRING const char *fmt,...) |
| | This works exactly like sscanf() but doesn't require access to a C runtime.
|
| int | vsscanf (StringParam text, SDL_SCANF_FORMAT_STRING const char *fmt, va_list ap) |
| | This works exactly like vsscanf() but doesn't require access to a C runtime.
|
| int | snprintf (char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt,...) |
| | This works exactly like snprintf() but doesn't require access to a C runtime.
|
| int | swprintf (wchar_t *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const wchar_t *fmt,...) |
| | This works exactly like swprintf() but doesn't require access to a C runtime.
|
| int | vsnprintf (char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) |
| | This works exactly like vsnprintf() but doesn't require access to a C runtime.
|
| int | vswprintf (wchar_t *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const wchar_t *fmt, va_list ap) |
| | This works exactly like vswprintf() but doesn't require access to a C runtime.
|
| int | asprintf (char **strp, SDL_PRINTF_FORMAT_STRING const char *fmt,...) |
| | This works exactly like asprintf() but doesn't require access to a C runtime.
|
| int | vasprintf (char **strp, SDL_PRINTF_FORMAT_STRING const char *fmt, va_list ap) |
| | This works exactly like vasprintf() but doesn't require access to a C runtime.
|
| void | srand (Uint64 seed) |
| | Seeds the pseudo-random number generator.
|
| Sint32 | rand (Sint32 n) |
| | Generate a pseudo-random number less than n for positive n.
|
| Sint32 | rand (Uint64 *state, Sint32 n) |
| | Generate a pseudo-random number less than n for positive n.
|
| Sint32 | rand (Random &state, Sint32 n) |
| | Generate a pseudo-random number less than n for positive n.
|
| float | randf () |
| | Generate a uniform pseudo-random floating point number less than 1.0.
|
| float | randf (Uint64 *state) |
| | Generate a uniform pseudo-random floating point number less than 1.0.
|
| float | randf (Random &state) |
| | Generate a uniform pseudo-random floating point number less than 1.0.
|
| Uint32 | rand_bits () |
| | Generate 32 pseudo-random bits.
|
| Uint32 | rand_bits (Uint64 *state) |
| | Generate 32 pseudo-random bits.
|
| Uint32 | rand_bits (Random &state) |
| | Generate 32 pseudo-random bits.
|
| double | acos (double x) |
| | Compute the arc cosine of x.
|
| float | acos (float x) |
| | Compute the arc cosine of x.
|
| double | asin (double x) |
| | Compute the arc sine of x.
|
| float | asin (float x) |
| | Compute the arc sine of x.
|
| double | atan (double x) |
| | Compute the arc tangent of x.
|
| float | atan (float x) |
| | Compute the arc tangent of x.
|
| double | atan2 (double y, double x) |
| | Compute the arc tangent of y / x, using the signs of x and y to adjust the result's quadrant.
|
| float | atan2 (float y, float x) |
| | Compute the arc tangent of y / x, using the signs of x and y to adjust the result's quadrant.
|
| double | ceil (double x) |
| | Compute the ceiling of x.
|
| float | ceil (float x) |
| | Compute the ceiling of x.
|
| double | copysign (double x, double y) |
| | Copy the sign of one floating-point value to another.
|
| float | copysign (float x, float y) |
| | Copy the sign of one floating-point value to another.
|
| double | cos (double x) |
| | Compute the cosine of x.
|
| float | cos (float x) |
| | Compute the cosine of x.
|
| double | exp (double x) |
| | Compute the exponential of x.
|
| float | exp (float x) |
| | Compute the exponential of x.
|
| double | floor (double x) |
| | Compute the floor of x.
|
| float | floor (float x) |
| | Compute the floor of x.
|
| double | trunc (double x) |
| | Truncate x to an integer.
|
| float | trunc (float x) |
| | Truncate x to an integer.
|
| double | fmod (double x, double y) |
| | Return the floating-point remainder of x / y.
|
| float | fmod (float x, float y) |
| | Return the floating-point remainder of x / y.
|
| int | isinf (double x) |
| | Return whether the value is infinity.
|
| int | isinf (float x) |
| | Return whether the value is infinity.
|
| int | isnan (double x) |
| | Return whether the value is NaN.
|
| int | isnan (float x) |
| | Return whether the value is NaN.
|
| double | log (double x) |
| | Compute the natural logarithm of x.
|
| float | log (float x) |
| | Compute the natural logarithm of x.
|
| double | log10 (double x) |
| | Compute the base-10 logarithm of x.
|
| float | log10 (float x) |
| | Compute the base-10 logarithm of x.
|
| double | modf (double x, double *y) |
| | Split x into integer and fractional parts.
|
| float | modf (float x, float *y) |
| | Split x into integer and fractional parts.
|
| double | pow (double x, double y) |
| | Raise x to the power y.
|
| float | pow (float x, float y) |
| | Raise x to the power y.
|
| double | round (double x) |
| | Round x to the nearest integer.
|
| float | round (float x) |
| | Round x to the nearest integer.
|
| long | lround (double x) |
| | Round x to the nearest integer representable as a long.
|
| long | lround (float x) |
| | Round x to the nearest integer representable as a long.
|
| double | scalbn (double x, int n) |
| | Scale x by an integer power of two.
|
| float | scalbn (float x, int n) |
| | Scale x by an integer power of two.
|
| double | sin (double x) |
| | Compute the sine of x.
|
| float | sin (float x) |
| | Compute the sine of x.
|
| double | sqrt (double x) |
| | Compute the square root of x.
|
| float | sqrt (float x) |
| | Compute the square root of x.
|
| double | tan (double x) |
| | Compute the tangent of x.
|
| float | tan (float x) |
| | Compute the tangent of x.
|
| IConv | iconv_open (StringParam tocode, StringParam fromcode) |
| | This function allocates a context for the specified character set conversion.
|
| int | iconv_close (IConvRaw cd) |
| | This function frees a context used for character set conversion.
|
| size_t | iconv (IConvRaw cd, const char **inbuf, size_t *inbytesleft, char **outbuf, size_t *outbytesleft) |
| | This function converts text between encodings, reading from and writing to a buffer.
|
| OwnArray< char > | iconv_string (StringParam tocode, StringParam fromcode, SourceBytes inbuf) |
| | Helper function to convert a string's encoding in one call.
|
| OwnArray< char > | iconv_utf8_locale (std::string_view S) |
| | Convert a UTF-8 string to the current locale's character encoding.
|
| OwnArray< Uint16 > | iconv_utf8_ucs2 (std::string_view S) |
| | Convert a UTF-8 string to UCS-2.
|
| OwnArray< Uint32 > | iconv_utf8_ucs4 (std::string_view S) |
| | Convert a UTF-8 string to UCS-4.
|
| OwnArray< char > | iconv_wchar_utf8 (std::wstring_view S) |
| | Convert a wchar_t string to UTF-8.
|
| bool | size_mul_check_overflow (size_t a, size_t b, size_t *ret) |
| | Multiply two integers, checking for overflow.
|
| bool | size_add_check_overflow (size_t a, size_t b, size_t *ret) |
| | Add two integers, checking for overflow.
|
|
template<std::integral T> |
| Sint32 | narrowS32 (T value) |
| | Narrows to Sint32.
|
|
template<std::integral T> |
| Uint32 | narrowU32 (T value) |
| | Narrows to Uint32.
|
| Storage | OpenTitleStorage (StringParam override, PropertiesRef props) |
| | Opens up a read-only container for the application's filesystem.
|
| Storage | OpenUserStorage (StringParam org, StringParam app, PropertiesRef props) |
| | Opens up a container for a user's unique read/write filesystem.
|
| Storage | OpenFileStorage (StringParam path) |
| | Opens up a container for local filesystem storage.
|
| Storage | OpenStorage (const StorageInterface &iface, void *userdata) |
| | Opens up a container using a client-provided storage interface.
|
| bool | CloseStorage (StorageRaw storage) |
| | Closes and frees a storage container.
|
| bool | StorageReady (StorageRef storage) |
| | Checks if the storage container is ready to use.
|
| std::optional< Uint64 > | GetStorageFileSize (StorageRef storage, StringParam path) |
| | Query the size of a file within a storage container.
|
| bool | ReadStorageFile (StorageRef storage, StringParam path, TargetBytes destination) |
| | Synchronously read a file from a storage container into a client-provided buffer.
|
| std::string | ReadStorageFile (StorageRef storage, StringParam path) |
| | Synchronously read a file from a storage container into a client-provided buffer.
|
| template<class T> |
| std::vector< T > | ReadStorageFileAs (StorageRef storage, StringParam path) |
| | Synchronously read a file from a storage container into a client-provided buffer.
|
| void | WriteStorageFile (StorageRef storage, StringParam path, SourceBytes source) |
| | Synchronously write a file from client memory into a storage container.
|
| void | CreateStorageDirectory (StorageRef storage, StringParam path) |
| | Create a directory in a writable storage container.
|
| void | EnumerateStorageDirectory (StorageRef storage, StringParam path, EnumerateDirectoryCallback callback, void *userdata) |
| | Enumerate a directory in a storage container through a callback function.
|
| void | EnumerateStorageDirectory (StorageRef storage, StringParam path, EnumerateDirectoryCB callback) |
| | Enumerate a directory in a storage container through a callback function.
|
| std::vector< Path > | EnumerateStorageDirectory (StorageRef storage, StringParam path) |
| | Enumerate a directory in a storage container through a callback function.
|
| void | RemoveStoragePath (StorageRef storage, StringParam path) |
| | Remove a file or an empty directory in a writable storage container.
|
| void | RenameStoragePath (StorageRef storage, StringParam oldpath, StringParam newpath) |
| | Rename a file or directory in a writable storage container.
|
| void | CopyStorageFile (StorageRef storage, StringParam oldpath, StringParam newpath) |
| | Copy a file in a writable storage container.
|
| PathInfo | GetStoragePathInfo (StorageRef storage, StringParam path) |
| | Get information about a filesystem path in a storage container.
|
| Uint64 | GetStorageSpaceRemaining (StorageRef storage) |
| | Queries the remaining space in a storage container.
|
| OwnArray< char * > | GlobStorageDirectory (StorageRef storage, StringParam path, StringParam pattern, GlobFlags flags) |
| | Enumerate a directory tree, filtered by pattern, and return a list.
|
| constexpr bool | MustLock (SurfaceConstRef S) |
| | Evaluates to true if the surface needs to be locked before access.
|
| Surface | CreateSurface (const PointRaw &size, PixelFormat format) |
| | Allocate a new surface with a specific pixel format.
|
| Surface | CreateSurfaceFrom (const PointRaw &size, PixelFormat format, void *pixels, int pitch) |
| | Allocate a new surface with a specific pixel format and existing pixel data.
|
| void | DestroySurface (SurfaceRaw surface) |
| | Free a surface.
|
| PropertiesRef | GetSurfaceProperties (SurfaceConstRef surface) |
| | Get the properties associated with a surface.
|
| void | SetSurfaceColorspace (SurfaceRef surface, Colorspace colorspace) |
| | Set the colorspace used by a surface.
|
| Colorspace | GetSurfaceColorspace (SurfaceConstRef surface) |
| | Get the colorspace used by a surface.
|
| Palette | CreateSurfacePalette (SurfaceRef surface) |
| | Create a palette and associate it with a surface.
|
| void | SetSurfacePalette (SurfaceRef surface, PaletteRef palette) |
| | Set the palette used by a surface.
|
| Palette | GetSurfacePalette (SurfaceConstRef surface) |
| | Get the palette used by a surface.
|
| void | AddSurfaceAlternateImage (SurfaceRef surface, SurfaceRef image) |
| | Add an alternate version of a surface.
|
| bool | SurfaceHasAlternateImages (SurfaceConstRef surface) |
| | Return whether a surface has alternate versions available.
|
| OwnArray< SurfaceRaw > | GetSurfaceImages (SurfaceConstRef surface) |
| | Get an array including all versions of a surface.
|
| void | RemoveSurfaceAlternateImages (SurfaceRef surface) |
| | Remove all alternate versions of a surface.
|
| void | LockSurface (SurfaceRef surface) |
| | Set up a surface for directly accessing the pixels.
|
| void | UnlockSurface (SurfaceRef surface) |
| | Release a surface after directly accessing the pixels.
|
| Surface | LoadBMP_IO (IOStreamRef src, bool closeio=false) |
| | Load a BMP image from a seekable SDL data stream.
|
| Surface | LoadBMP (StringParam file) |
| | Load a BMP image from a file.
|
| void | SaveBMP_IO (SurfaceConstRef surface, IOStreamRef dst, bool closeio=false) |
| | Save a surface to a seekable SDL data stream in BMP format.
|
| void | SaveBMP (SurfaceConstRef surface, StringParam file) |
| | Save a surface to a file in BMP format.
|
| Surface | LoadTrustedPNG_IO (IOStreamRef src, bool closeio=false) |
| | Load a PNG image from a seekable SDL data stream.
|
| Surface | LoadTrustedPNG (StringParam file) |
| | Load a PNG image from a file.
|
| void | SaveTrustedPNG_IO (SurfaceConstRef surface, IOStreamRef dst, bool closeio=false) |
| | Save a surface to a seekable SDL data stream in PNG format.
|
| void | SaveTrustedPNG (SurfaceConstRef surface, StringParam file) |
| | Save a surface to a file in PNG format.
|
| void | SetSurfaceRLE (SurfaceRef surface, bool enabled) |
| | Set the RLE acceleration hint for a surface.
|
| bool | SurfaceHasRLE (SurfaceConstRef surface) |
| | Returns whether the surface is RLE enabled.
|
| void | SetSurfaceColorKey (SurfaceRef surface, std::optional< Uint32 > key) |
| | Set the color key (transparent pixel) in a surface.
|
| void | ClearSurfaceColorKey (SurfaceRef surface) |
| | Unset the color key (transparent pixel) in a surface.
|
| bool | SurfaceHasColorKey (SurfaceConstRef surface) |
| | Returns whether the surface has a color key.
|
| std::optional< Uint32 > | GetSurfaceColorKey (SurfaceConstRef surface) |
| | Get the color key (transparent pixel) for a surface.
|
| void | SetSurfaceColorMod (SurfaceRef surface, Uint8 r, Uint8 g, Uint8 b) |
| | Set an additional color value multiplied into blit operations.
|
| void | GetSurfaceColorMod (SurfaceConstRef surface, Uint8 *r, Uint8 *g, Uint8 *b) |
| | Get the additional color value multiplied into blit operations.
|
| void | SetSurfaceAlphaMod (SurfaceRef surface, Uint8 alpha) |
| | Set an additional alpha value used in blit operations.
|
| Uint8 | GetSurfaceAlphaMod (SurfaceConstRef surface) |
| | Get the additional alpha value used in blit operations.
|
| void | SetSurfaceMod (SurfaceRef surface, Color color) |
| | Set an additional color and alpha value multiplied into blit operations.
|
| Color | GetSurfaceMod (SurfaceConstRef surface) |
| | Get the additional color and alpha value multiplied into blit operations.
|
| void | SetSurfaceBlendMode (SurfaceRef surface, BlendMode blendMode) |
| | Set the blend mode used for blit operations.
|
| BlendMode | GetSurfaceBlendMode (SurfaceConstRef surface) |
| | Get the blend mode used for blit operations.
|
| bool | SetSurfaceClipRect (SurfaceRef surface, OptionalRef< const RectRaw > rect) |
| | Set the clipping rectangle for a surface.
|
| void | ResetSurfaceClipRect (SurfaceRef surface) |
| | Disable the clipping rectangle for a surface.
|
| Rect | GetSurfaceClipRect (SurfaceConstRef surface) |
| | Get the clipping rectangle for a surface.
|
| void | FlipSurface (SurfaceRef surface, FlipMode flip) |
| | Flip a surface vertically or horizontally.
|
| Surface | RotateSurface (SurfaceRef surface, float angle) |
| | Return a copy of a surface rotated clockwise a number of degrees.
|
| Surface | DuplicateSurface (SurfaceConstRef surface) |
| | Creates a new surface identical to the existing surface.
|
| Surface | ScaleSurface (SurfaceConstRef surface, const PointRaw &size, ScaleMode scaleMode) |
| | Creates a new surface identical to the existing surface, scaled to the desired size.
|
| Surface | ConvertSurface (SurfaceConstRef surface, PixelFormat format) |
| | Copy an existing surface to a new surface of the specified format.
|
| Surface | ConvertSurfaceAndColorspace (SurfaceConstRef surface, PixelFormat format, PaletteRef palette, Colorspace colorspace, PropertiesRef props) |
| | Copy an existing surface to a new surface of the specified format and colorspace.
|
| void | ConvertPixels (const PointRaw &size, PixelFormat src_format, const void *src, int src_pitch, PixelFormat dst_format, void *dst, int dst_pitch) |
| | Copy a block of pixels of one format to another format.
|
| void | ConvertPixelsAndColorspace (const PointRaw &size, PixelFormat src_format, Colorspace src_colorspace, PropertiesRef src_properties, const void *src, int src_pitch, PixelFormat dst_format, Colorspace dst_colorspace, PropertiesRef dst_properties, void *dst, int dst_pitch) |
| | Copy a block of pixels of one format and colorspace to another format and colorspace.
|
| void | PremultiplyAlpha (const PointRaw &size, PixelFormat src_format, const void *src, int src_pitch, PixelFormat dst_format, void *dst, int dst_pitch, bool linear) |
| | Premultiply the alpha on a block of pixels.
|
| void | PremultiplySurfaceAlpha (SurfaceRef surface, bool linear) |
| | Premultiply the alpha in a surface.
|
| void | ClearSurface (SurfaceRef surface, const FColorRaw &c) |
| | Clear a surface with a specific color, with floating point precision.
|
| void | FillSurfaceRect (SurfaceRef dst, OptionalRef< const RectRaw > rect, Uint32 color) |
| | Perform a fast fill of a rectangle with a specific color.
|
| void | FillSurface (SurfaceRef dst, Uint32 color) |
| | Perform a fast fill of a rectangle with a specific color.
|
| void | FillSurfaceRects (SurfaceRef dst, SpanRef< const RectRaw > rects, Uint32 color) |
| | Perform a fast fill of a set of rectangles with a specific color.
|
| void | BlitSurface (SurfaceRef src, OptionalRef< const RectRaw > srcrect, SurfaceRef dst, OptionalRef< const RectRaw > dstrect) |
| | Performs a fast blit from the source surface to the destination surface with clipping.
|
| void | BlitSurfaceAt (SurfaceRef src, OptionalRef< const RectRaw > srcrect, SurfaceRef dst, const PointRaw &dstpos) |
| | Performs a fast blit from the source surface to the destination surface with clipping.
|
| void | BlitSurfaceUnchecked (SurfaceRef src, const RectRaw &srcrect, SurfaceRef dst, const RectRaw &dstrect) |
| | Perform low-level surface blitting only.
|
| void | BlitSurfaceScaled (SurfaceRef src, OptionalRef< const RectRaw > srcrect, SurfaceRef dst, OptionalRef< const RectRaw > dstrect, ScaleMode scaleMode) |
| | Perform a scaled blit to a destination surface, which may be of a different format.
|
| void | BlitSurfaceUncheckedScaled (SurfaceRef src, const RectRaw &srcrect, SurfaceRef dst, const RectRaw &dstrect, ScaleMode scaleMode) |
| | Perform low-level surface scaled blitting only.
|
| void | StretchSurface (SurfaceRef src, OptionalRef< RectRaw > srcrect, SurfaceRef dst, OptionalRef< RectRaw > dstrect, ScaleMode scaleMode) |
| | Perform a stretched pixel copy from one surface to another.
|
| void | BlitSurfaceTiled (SurfaceRef src, OptionalRef< const RectRaw > srcrect, SurfaceRef dst, OptionalRef< const RectRaw > dstrect) |
| | Perform a tiled blit to a destination surface, which may be of a different format.
|
| void | BlitSurfaceTiledWithScale (SurfaceRef src, OptionalRef< const RectRaw > srcrect, float scale, ScaleMode scaleMode, SurfaceRef dst, OptionalRef< const RectRaw > dstrect) |
| | Perform a scaled and tiled blit to a destination surface, which may be of a different format.
|
| void | BlitSurface9Grid (SurfaceRef src, OptionalRef< const RectRaw > srcrect, int left_width, int right_width, int top_height, int bottom_height, SurfaceRef dst, OptionalRef< const RectRaw > dstrect, float scale=1, ScaleMode scaleMode=SCALEMODE_NEAREST) |
| | Perform a scaled blit using the 9-grid algorithm to a destination surface, which may be of a different format.
|
| Uint32 | MapSurfaceRGB (SurfaceConstRef surface, Uint8 r, Uint8 g, Uint8 b) |
| | Map an RGB triple to an opaque pixel value for a surface.
|
| Uint32 | MapSurfaceRGBA (SurfaceConstRef surface, ColorRaw c) |
| | Map an RGBA quadruple to a pixel value for a surface.
|
| void | ReadSurfacePixel (SurfaceConstRef surface, const PointRaw &p, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) |
| | Retrieves a single pixel from a surface.
|
| Color | ReadSurfacePixel (SurfaceConstRef surface, const PointRaw &p) |
| | Retrieves a single pixel from a surface.
|
| void | ReadSurfacePixel (const SurfaceLock &lock, const PointRaw &p, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) |
| | Retrieves a single pixel from a surface.
|
| Color | ReadSurfacePixel (const SurfaceLock &lock, const PointRaw &p) |
| | Retrieves a single pixel from a surface.
|
| void | ReadSurfacePixelFloat (SurfaceConstRef surface, const PointRaw &p, float *r, float *g, float *b, float *a) |
| | Retrieves a single pixel from a surface.
|
| FColor | ReadSurfacePixelFloat (SurfaceConstRef surface, const PointRaw &p) |
| | Retrieves a single pixel from a surface.
|
| void | ReadSurfacePixelFloat (const SurfaceLock &lock, const PointRaw &p, float *r, float *g, float *b, float *a) |
| | Retrieves a single pixel from a surface.
|
| FColor | ReadSurfacePixelFloat (const SurfaceLock &lock, const PointRaw &p) |
| | Retrieves a single pixel from a surface.
|
| void | WriteSurfacePixel (SurfaceRef surface, const PointRaw &p, ColorRaw c) |
| | Writes a single pixel to a surface.
|
| void | WriteSurfacePixel (SurfaceLock &lock, const PointRaw &p, ColorRaw c) |
| | Writes a single pixel to a surface.
|
| void | WriteSurfacePixelFloat (SurfaceRef surface, const PointRaw &p, const FColorRaw &c) |
| | Writes a single pixel to a surface.
|
| void | WriteSurfacePixelFloat (SurfaceLock &lock, const PointRaw &p, const FColorRaw &c) |
| | Writes a single pixel to a surface.
|
|
constexpr int | GetSurfaceWidth (SurfaceConstRef surface) |
| | Get the width in pixels.
|
|
constexpr int | GetSurfaceWidth (const SurfaceLock &lock) |
| | Get the width in pixels.
|
|
constexpr int | GetSurfaceHeight (SurfaceConstRef surface) |
| | Get the height in pixels.
|
|
constexpr int | GetSurfaceHeight (const SurfaceLock &lock) |
| | Get the height in pixels.
|
|
constexpr Point | GetSurfaceSize (SurfaceConstRef surface) |
| | Get the size in pixels.
|
|
constexpr Point | GetSurfaceSize (const SurfaceLock &lock) |
| | Get the size in pixels.
|
|
constexpr int | GetSurfacePitch (SurfaceConstRef surface) |
| | Get pitch in bytes.
|
|
constexpr int | GetSurfacePitch (const SurfaceLock &lock) |
| | Get pitch in bytes.
|
|
constexpr PixelFormat | GetSurfaceFormat (SurfaceConstRef surface) |
| | Get the pixel format.
|
|
constexpr PixelFormat | GetSurfaceFormat (const SurfaceLock &lock) |
| | Get the pixel format.
|
|
constexpr void * | GetSurfacePixels (SurfaceConstRef surface) |
| | Get the pixels.
|
|
constexpr void * | GetSurfacePixels (const SurfaceLock &lock) |
| | Get the pixels.
|
| void | SetWindowsMessageHook (WindowsMessageHook callback, void *userdata) |
| | Set a callback for every Windows message, run before TranslateMessage().
|
| int | GetDirect3D9AdapterIndex (Display displayID) |
| | Get the D3D9 adapter index that matches the specified display.
|
| void | GetDXGIOutputInfo (Display displayID, int *adapterIndex, int *outputIndex) |
| | Get the DXGI Adapter and Output indices for the specified display.
|
| void | SetX11EventHook (X11EventHook callback, void *userdata) |
| | Set a callback for every X11 event.
|
| void | SetLinuxThreadPriority (Sint64 threadID, int priority) |
| | Sets the UNIX nice value for a thread.
|
| void | SetLinuxThreadPriorityAndPolicy (Sint64 threadID, int sdlPriority, int schedPolicy) |
| | Sets the priority (not nice level) and scheduling policy for a thread.
|
| void | SetiOSAnimationCallback (WindowRef window, int interval, iOSAnimationCallback callback, void *callbackParam) |
| | Use this function to set the animation callback on Apple iOS.
|
| void | SetiOSEventPump (bool enabled) |
| | Use this function to enable or disable the SDL event pump on Apple iOS.
|
| void * | GetAndroidJNIEnv () |
| | Get the Android Java Native Interface Environment of the current thread.
|
| void * | GetAndroidActivity () |
| | Retrieve the Java instance of the Android activity class.
|
| int | GetAndroidSDKVersion () |
| | Query Android API level of the current device.
|
| bool | IsChromebook () |
| | Query if the application is running on a Chromebook.
|
| bool | IsDeXMode () |
| | Query if the application is running on a Samsung DeX docking station.
|
| void | SendAndroidBackButton () |
| | Trigger the Android system back button behavior.
|
| const char * | GetAndroidInternalStoragePath () |
| | Get the path used for internal storage for this Android application.
|
| Uint32 | GetAndroidExternalStorageState () |
| | Get the current state of external storage for this Android application.
|
| const char * | GetAndroidExternalStoragePath () |
| | Get the path used for external storage for this Android application.
|
| const char * | GetAndroidCachePath () |
| | Get the path used for caching data for this Android application.
|
| bool | RequestAndroidPermission (StringParam permission, RequestAndroidPermissionCallback cb, void *userdata) |
| | Request permissions at runtime, asynchronously.
|
| bool | RequestAndroidPermission (StringParam permission, RequestAndroidPermissionCB cb) |
| | Request permissions at runtime, asynchronously.
|
| void | ShowAndroidToast (StringParam message, int duration, int gravity, int xoffset, int yoffset) |
| | Shows an Android toast notification.
|
| void | SendAndroidMessage (Uint32 command, int param) |
| | Send a user command to SDLActivity.
|
| bool | IsTablet () |
| | Query if the current device is a tablet.
|
| bool | IsTV () |
| | Query if the current device is a TV.
|
| Sandbox | GetSandbox () |
| | Get the application sandbox environment, if any.
|
| void | OnApplicationWillTerminate () |
| | Let iOS apps with external event handling report onApplicationWillTerminate.
|
| void | OnApplicationDidReceiveMemoryWarning () |
| | Let iOS apps with external event handling report onApplicationDidReceiveMemoryWarning.
|
| void | OnApplicationWillEnterBackground () |
| | Let iOS apps with external event handling report onApplicationWillResignActive.
|
| void | OnApplicationDidEnterBackground () |
| | Let iOS apps with external event handling report onApplicationDidEnterBackground.
|
| void | OnApplicationWillEnterForeground () |
| | Let iOS apps with external event handling report onApplicationWillEnterForeground.
|
| void | OnApplicationDidEnterForeground () |
| | Let iOS apps with external event handling report onApplicationDidBecomeActive.
|
| void | OnApplicationDidChangeStatusBarOrientation () |
| | Let iOS apps with external event handling report onApplicationDidChangeStatusBarOrientation.
|
| void | GetGDKTaskQueue (XTaskQueueHandle *outTaskQueue) |
| | Gets a reference to the global async task queue handle for GDK, initializing if needed.
|
| bool | GetGDKDefaultUser (XUserHandle *outUserHandle) |
| | Gets a reference to the default user handle for GDK.
|
| Thread | CreateThread (ThreadFunction fn, StringParam name, void *data) |
| | Create a new thread with a default stack size.
|
| Thread | CreateThread (ThreadCB fn, StringParam name) |
| | Create a new thread with a default stack size.
|
| Thread | CreateThreadWithProperties (PropertiesRef props) |
| | Create a new thread with with the specified properties.
|
| const char * | GetThreadName (ThreadRef thread) |
| | Get the thread name as it was specified in CreateThread().
|
| ThreadID | GetCurrentThreadID () |
| | Get the thread identifier for the current thread.
|
| ThreadID | GetThreadID (ThreadRef thread) |
| | Get the thread identifier for the specified thread.
|
| void | SetCurrentThreadPriority (ThreadPriority priority) |
| | Set the priority for the current thread.
|
| void | WaitThread (ThreadRef thread, int *status) |
| | Wait for a thread to finish.
|
| ThreadState | GetThreadState (ThreadRef thread) |
| | Get the current state of a thread.
|
| void | DetachThread (ThreadRaw thread) |
| | Let a thread clean up on exit without intervention.
|
| void * | GetTLS (TLSID *id) |
| | Get the current thread's value associated with a thread local storage ID.
|
| void | SetTLS (TLSID *id, const void *value, TLSDestructorCallback destructor) |
| | Set the current thread's value associated with a thread local storage ID.
|
| void | CleanupTLS () |
| | Cleanup all TLS data for this thread.
|
| void | GetDateTimeLocalePreferences (DateFormat *dateFormat, TimeFormat *timeFormat) |
| | Gets the current preferred date and time format for the system locale.
|
| DateTime | TimeToDateTime (Time ticks, bool localTime=true) |
| | Converts an Time in nanoseconds since the epoch to a calendar time in the DateTime format.
|
| Time | DateTimeToTime (const DateTimeRaw &dt) |
| | Converts a calendar time to an Time in nanoseconds since the epoch.
|
| int | GetDaysInMonth (int year, int month) |
| | Get the number of days in a month for a given year.
|
| int | GetDayOfYear (int year, int month, int day) |
| | Get the day of year for a calendar date.
|
| int | GetDayOfWeek (int year, int month, int day) |
| | Get the day of week for a calendar date.
|
| std::chrono::nanoseconds | GetTicks () |
| | Get the time elapsed since SDL library initialization.
|
| Uint64 | GetTicksMS () |
| | Get the number of milliseconds that have elapsed since the SDL library initialization.
|
| Uint64 | GetTicksNS () |
| | Get the number of nanoseconds since SDL library initialization.
|
| Uint64 | GetPerformanceCounter () |
| | Get the current value of the high resolution counter.
|
| Uint64 | GetPerformanceFrequency () |
| | Get the count per second of the high resolution counter.
|
| void | Delay (Uint32 ms) |
| | Wait a specified number of milliseconds before returning.
|
| void | Delay (std::chrono::nanoseconds duration) |
| | Wait a specified duration before returning.
|
| void | DelayNS (Uint64 ns) |
| | Wait a specified number of nanoseconds before returning.
|
| void | DelayPrecise (Uint64 ns) |
| | Wait a specified number of nanoseconds before returning.
|
| void | DelayPrecise (std::chrono::nanoseconds duration) |
| | Wait a specified duration before returning.
|
| TimerID | AddTimer (std::chrono::milliseconds interval, MSTimerCallback callback, void *userdata) |
| | Call a callback function at a future time.
|
| TimerID | AddTimer (std::chrono::nanoseconds interval, NSTimerCallback callback, void *userdata) |
| | Call a callback function at a future time.
|
| TimerID | AddTimer (std::chrono::nanoseconds interval, TimerCB callback) |
| | Call a callback function at a future time.
|
| void | RemoveTimer (TimerID id) |
| | Remove a timer created with AddTimer().
|
| OwnArray< TouchID > | GetTouchDevices () |
| | Get a list of registered touch devices.
|
| const char * | GetTouchDeviceName (TouchID touchID) |
| | Get the touch device name as reported from the driver.
|
| TouchDeviceType | GetTouchDeviceType (TouchID touchID) |
| | Get the type of the given touch device.
|
| OwnArray< Finger * > | GetTouchFingers (TouchID touchID) |
| | Get a list of active fingers for a given touch device.
|
| Tray | CreateTray (SurfaceRef icon, StringParam tooltip) |
| | Create an icon to be placed in the operating system's tray, or equivalent.
|
| void | SetTrayIcon (TrayRef tray, SurfaceRef icon) |
| | Updates the system tray icon's icon.
|
| void | SetTrayTooltip (TrayRef tray, StringParam tooltip) |
| | Updates the system tray icon's tooltip.
|
| TrayMenu | CreateTrayMenu (TrayRef tray) |
| | Create a menu for a system tray.
|
| TrayMenu | CreateTraySubmenu (TrayEntry entry) |
| | Create a submenu for a system tray entry.
|
| TrayMenu | GetTrayMenu (TrayRef tray) |
| | Gets a previously created tray menu.
|
| TrayMenu | GetTraySubmenu (TrayEntry entry) |
| | Gets a previously created tray entry submenu.
|
| std::span< TrayEntry > | GetTrayEntries (TrayMenu menu) |
| | Returns a list of entries in the menu, in order.
|
| void | RemoveTrayEntry (TrayEntryRaw entry) |
| | Removes a tray entry.
|
| TrayEntry | InsertTrayEntryAt (TrayMenu menu, int pos, StringParam label, TrayEntryFlags flags) |
| | Insert a tray entry at a given position.
|
| TrayEntry | AppendTrayEntry (TrayMenuRaw menu, StringParam label, TrayEntryFlags flags) |
| | Appends a tray entry.
|
| void | SetTrayEntryLabel (TrayEntry entry, StringParam label) |
| | Sets the label of an entry.
|
| const char * | GetTrayEntryLabel (TrayEntryRef entry) |
| | Gets the label of an entry.
|
| void | SetTrayEntryChecked (TrayEntry entry, bool checked) |
| | Sets whether or not an entry is checked.
|
| bool | GetTrayEntryChecked (TrayEntryRef entry) |
| | Gets whether or not an entry is checked.
|
| void | SetTrayEntryEnabled (TrayEntry entry, bool enabled) |
| | Sets whether or not an entry is enabled.
|
| bool | GetTrayEntryEnabled (TrayEntryRef entry) |
| | Gets whether or not an entry is enabled.
|
| void | SetTrayEntryCallback (TrayEntry entry, TrayCallback callback, void *userdata) |
| | Sets a callback to be invoked when the entry is selected.
|
| void | SetTrayEntryCallback (TrayEntry entry, TrayCB callback) |
| | Sets a callback to be invoked when the entry is selected.
|
| void | ClickTrayEntry (TrayEntry entry) |
| | Simulate a click on a tray entry.
|
| void | DestroyTray (TrayRaw tray) |
| | Destroys a tray object.
|
| TrayMenu | GetTrayEntryParent (TrayEntry entry) |
| | Gets the menu containing a certain tray entry.
|
| TrayEntry | GetTrayMenuParentEntry (TrayMenuRaw menu) |
| | Gets the entry for which the menu is a submenu, if the current menu is a submenu.
|
| TrayRef | GetTrayMenuParentTray (TrayMenuRaw menu) |
| | Gets the tray for which this menu is the first-level menu, if the current menu isn't a submenu.
|
| void | UpdateTrays () |
| | Update the trays.
|
| void | GetFreeTypeVersion (int *major, int *minor, int *patch) |
| | Query the version of the FreeType library in use.
|
| void | GetHarfBuzzVersion (int *major, int *minor, int *patch) |
| | Query the version of the HarfBuzz library in use.
|
| Font | OpenFont (StringParam file, float ptsize) |
| | Create a font from a file, using a specified point size.
|
| Font | OpenFontIO (IOStreamRef src, float ptsize, bool closeio=false) |
| | Create a font from an IOStream, using a specified point size.
|
| Font | OpenFontWithProperties (PropertiesRef props) |
| | Create a font with the specified properties.
|
| Font | CopyFont (FontRef existing_font) |
| | Create a copy of an existing font.
|
| PropertiesRef | GetFontProperties (FontRef font) |
| | Get the properties associated with a font.
|
| Uint32 | GetFontGeneration (FontRef font) |
| | Get the font generation.
|
| void | AddFallbackFont (FontRef font, FontRef fallback) |
| | Add a fallback font.
|
| void | RemoveFallbackFont (FontRef font, FontRef fallback) |
| | Remove a fallback font.
|
| void | ClearFallbackFonts (FontRef font) |
| | Remove all fallback fonts.
|
| void | SetFontSize (FontRef font, float ptsize) |
| | Set a font's size dynamically.
|
| void | SetFontSizeDPI (FontRef font, float ptsize, int hdpi, int vdpi) |
| | Set font size dynamically with target resolutions, in dots per inch.
|
| float | GetFontSize (FontRef font) |
| | Get the size of a font.
|
| void | GetFontDPI (FontRef font, int *hdpi, int *vdpi) |
| | Get font target resolutions, in dots per inch.
|
| void | SetFontStyle (FontRef font, FontStyleFlags style) |
| | Set a font's current style.
|
| FontStyleFlags | GetFontStyle (FontRef font) |
| | Query a font's current style.
|
| void | SetFontOutline (FontRef font, int outline) |
| | Set a font's current outline.
|
| int | GetFontOutline (FontRef font) |
| | Query a font's current outline.
|
| void | SetFontHinting (FontRef font, HintingFlags hinting) |
| | Set a font's current hinter setting.
|
| int | GetNumFontFaces (FontRef font) |
| | Query the number of faces of a font.
|
| HintingFlags | GetFontHinting (FontRef font) |
| | Query a font's current FreeType hinter setting.
|
| void | SetFontSDF (FontRef font, bool enabled) |
| | Enable Signed Distance Field rendering for a font.
|
| bool | GetFontSDF (FontRef font) |
| | Query whether Signed Distance Field rendering is enabled for a font.
|
| int | GetFontWeight (FontRef font) |
| | Query a font's weight, in terms of the lightness/heaviness of the strokes.
|
| void | SetFontWrapAlignment (FontRef font, HorizontalAlignment align) |
| | Set a font's current wrap alignment option.
|
| HorizontalAlignment | GetFontWrapAlignment (FontRef font) |
| | Query a font's current wrap alignment option.
|
| int | GetFontHeight (FontRef font) |
| | Query the total height of a font.
|
| int | GetFontAscent (FontRef font) |
| | Query the offset from the baseline to the top of a font.
|
| int | GetFontDescent (FontRef font) |
| | Query the offset from the baseline to the bottom of a font.
|
| void | SetFontLineSkip (FontRef font, int lineskip) |
| | Set the spacing between lines of text for a font.
|
| int | GetFontLineSkip (FontRef font) |
| | Query the spacing between lines of text for a font.
|
| void | SetFontKerning (FontRef font, bool enabled) |
| | Set if kerning is enabled for a font.
|
| bool | GetFontKerning (FontRef font) |
| | Query whether or not kerning is enabled for a font.
|
| bool | FontIsFixedWidth (FontRef font) |
| | Query whether a font is fixed-width.
|
| bool | FontIsScalable (FontRef font) |
| | Query whether a font is scalable or not.
|
| const char * | GetFontFamilyName (FontRef font) |
| | Query a font's family name.
|
| const char * | GetFontStyleName (FontRef font) |
| | Query a font's style name.
|
| void | SetFontDirection (FontRef font, Direction direction) |
| | Set the direction to be used for text shaping by a font.
|
| Direction | GetFontDirection (FontRef font) |
| | Get the direction to be used for text shaping by a font.
|
| Uint32 | StringToTag (StringParam string) |
| | Convert from a 4 character string to a 32-bit tag.
|
| void | TagToString (Uint32 tag, char *string, size_t size) |
| | Convert from a 32-bit tag to a 4 character string.
|
| void | SetFontScript (FontRef font, Uint32 script) |
| | Set the script to be used for text shaping by a font.
|
| Uint32 | GetFontScript (FontRef font) |
| | Get the script used for text shaping a font.
|
| Uint32 | GetGlyphScript (Uint32 ch) |
| | Get the script used by a 32-bit codepoint.
|
| void | SetFontLanguage (FontRef font, StringParam language_bcp47) |
| | Set language to be used for text shaping by a font.
|
| bool | FontHasGlyph (FontRef font, Uint32 ch) |
| | Check whether a glyph is provided by the font for a UNICODE codepoint.
|
| Surface | GetGlyphImage (FontRef font, Uint32 ch, ImageType *image_type) |
| | Get the pixel image for a UNICODE codepoint.
|
| Surface | GetGlyphImageForIndex (FontRef font, Uint32 glyph_index, ImageType *image_type) |
| | Get the pixel image for a character index.
|
| void | GetGlyphMetrics (FontRef font, Uint32 ch, int *minx, int *maxx, int *miny, int *maxy, int *advance) |
| | Query the metrics (dimensions) of a font's glyph for a UNICODE codepoint.
|
| int | GetGlyphKerning (FontRef font, Uint32 previous_ch, Uint32 ch) |
| | Query the kerning size between the glyphs of two UNICODE codepoints.
|
| void | GetStringSize (FontRef font, std::string_view text, int *w, int *h) |
| | Calculate the dimensions of a rendered string of UTF-8 text.
|
| void | GetStringSizeWrapped (FontRef font, std::string_view text, int wrap_width, int *w, int *h) |
| | Calculate the dimensions of a rendered string of UTF-8 text.
|
| void | MeasureString (FontRef font, std::string_view text, int max_width, int *measured_width, size_t *measured_length) |
| | Calculate how much of a UTF-8 string will fit in a given width.
|
| Surface | RenderText_Solid (FontRef font, std::string_view text, Color fg) |
| | Render UTF-8 text at fast quality to a new 8-bit surface.
|
| Surface | RenderText_Solid_Wrapped (FontRef font, std::string_view text, Color fg, int wrapLength) |
| | Render word-wrapped UTF-8 text at fast quality to a new 8-bit surface.
|
| Surface | RenderGlyph_Solid (FontRef font, Uint32 ch, ColorRaw fg) |
| | Render a single 32-bit glyph at fast quality to a new 8-bit surface.
|
| Surface | RenderText_Shaded (FontRef font, std::string_view text, Color fg, Color bg) |
| | Render UTF-8 text at high quality to a new 8-bit surface.
|
| Surface | RenderText_Shaded_Wrapped (FontRef font, std::string_view text, Color fg, Color bg, int wrap_width) |
| | Render word-wrapped UTF-8 text at high quality to a new 8-bit surface.
|
| Surface | RenderGlyph_Shaded (FontRef font, Uint32 ch, ColorRaw fg, ColorRaw bg) |
| | Render a single UNICODE codepoint at high quality to a new 8-bit surface.
|
| Surface | RenderText_Blended (FontRef font, std::string_view text, Color fg) |
| | Render UTF-8 text at high quality to a new ARGB surface.
|
| Surface | RenderText_Blended_Wrapped (FontRef font, std::string_view text, Color fg, int wrap_width) |
| | Render word-wrapped UTF-8 text at high quality to a new ARGB surface.
|
| Surface | RenderGlyph_Blended (FontRef font, Uint32 ch, ColorRaw fg) |
| | Render a single UNICODE codepoint at high quality to a new ARGB surface.
|
| Surface | RenderText_LCD (FontRef font, std::string_view text, Color fg, Color bg) |
| | Render UTF-8 text at LCD subpixel quality to a new ARGB surface.
|
| Surface | RenderText_LCD_Wrapped (FontRef font, std::string_view text, Color fg, Color bg, int wrap_width) |
| | Render word-wrapped UTF-8 text at LCD subpixel quality to a new ARGB surface.
|
| Surface | RenderGlyph_LCD (FontRef font, Uint32 ch, ColorRaw fg, ColorRaw bg) |
| | Render a single UNICODE codepoint at LCD subpixel quality to a new ARGB surface.
|
| SurfaceTextEngine | CreateSurfaceTextEngine () |
| | Create a text engine for drawing text on SDL surfaces.
|
| void | DrawSurfaceText (TextConstRef text, Point p, SurfaceRef surface) |
| | Draw text to an SDL surface.
|
| void | DestroySurfaceTextEngine (TextEngineRaw engine) |
| | Destroy a text engine created for drawing text on SDL surfaces.
|
| RendererTextEngine | CreateRendererTextEngine (RendererRef renderer) |
| | Create a text engine for drawing text on an SDL renderer.
|
| RendererTextEngine | CreateRendererTextEngineWithProperties (PropertiesRef props) |
| | Create a text engine for drawing text on an SDL renderer, with the specified properties.
|
| void | DrawRendererText (TextConstRef text, FPoint p) |
| | Draw text to an SDL renderer.
|
| void | DestroyRendererTextEngine (TextEngineRaw engine) |
| | Destroy a text engine created for drawing text on an SDL renderer.
|
| GPUTextEngine | CreateGPUTextEngine (GPUDeviceRef device) |
| | Create a text engine for drawing text with the SDL GPU API.
|
| GPUTextEngine | CreateGPUTextEngineWithProperties (PropertiesRef props) |
| | Create a text engine for drawing text with the SDL GPU API, with the specified properties.
|
| GPUAtlasDrawSequence * | GetGPUTextDrawData (TextConstRef text) |
| | Get the geometry data needed for drawing the text.
|
| void | DestroyGPUTextEngine (TextEngineRaw engine) |
| | Destroy a text engine created for drawing text with the SDL GPU API.
|
| void | SetGPUTextEngineWinding (TextEngineRef engine, GPUTextEngineWinding winding) |
| | Sets the winding order of the vertices returned by Text.GetGPUDrawData for a particular GPU text engine.
|
| GPUTextEngineWinding | GetGPUTextEngineWinding (TextEngineRef engine) |
| | Get the winding order of the vertices returned by Text.GetGPUDrawData for a particular GPU text engine.
|
| Text | CreateText (TextEngineRef engine, FontRef font, std::string_view text) |
| | Create a text object from UTF-8 text and a text engine.
|
| PropertiesRef | GetTextProperties (TextConstRef text) |
| | Get the properties associated with a text object.
|
| void | SetTextEngine (TextRef text, TextEngineRef engine) |
| | Set the text engine used by a text object.
|
| TextEngineRef | GetTextEngine (TextConstRef text) |
| | Get the text engine used by a text object.
|
| bool | SetTextFont (TextRef text, FontRef font) |
| | Set the font used by a text object.
|
| FontRef | GetTextFont (TextConstRef text) |
| | Get the font used by a text object.
|
| void | SetTextDirection (TextRef text, Direction direction) |
| | Set the direction to be used for text shaping a text object.
|
| Direction | GetTextDirection (TextConstRef text) |
| | Get the direction to be used for text shaping a text object.
|
| void | SetTextScript (TextRef text, Uint32 script) |
| | Set the script to be used for text shaping a text object.
|
| Uint32 | GetTextScript (TextConstRef text) |
| | Get the script used for text shaping a text object.
|
| void | SetTextColor (TextRef text, Color c) |
| | Set the color of a text object.
|
| void | SetTextColorFloat (TextRef text, FColor c) |
| | Set the color of a text object.
|
| void | GetTextColor (TextConstRef text, Uint8 *r, Uint8 *g, Uint8 *b, Uint8 *a) |
| | Get the color of a text object.
|
| Color | GetTextColor (TextRef text) |
| | Get the color of a text object.
|
| void | GetTextColorFloat (TextConstRef text, float *r, float *g, float *b, float *a) |
| | Get the color of a text object.
|
| FColor | GetTextColorFloat (TextRef text) |
| | Get the color of a text object.
|
| void | SetTextPosition (TextRef text, const PointRaw &p) |
| | Set the position of a text object.
|
| void | GetTextPosition (TextConstRef text, int *x, int *y) |
| | Get the position of a text object.
|
| Point | GetTextPosition (TextRef text) |
| | Get the position of a text object.
|
| void | SetTextWrapWidth (TextRef text, int wrap_width) |
| | Set whether wrapping is enabled on a text object.
|
| int | GetTextWrapWidth (TextConstRef text) |
| | Get whether wrapping is enabled on a text object.
|
| void | SetTextWrapWhitespaceVisible (TextRef text, bool visible) |
| | Set whether whitespace should be visible when wrapping a text object.
|
| bool | TextWrapWhitespaceVisible (TextConstRef text) |
| | Return whether whitespace is shown when wrapping a text object.
|
| void | SetTextString (TextRef text, std::string_view string) |
| | Set the UTF-8 text used by a text object.
|
| void | InsertTextString (TextRef text, int offset, std::string_view string) |
| | Insert UTF-8 text into a text object.
|
| void | AppendTextString (TextRef text, std::string_view string) |
| | Append UTF-8 text to a text object.
|
| void | DeleteTextString (TextRef text, int offset, int length) |
| | Delete UTF-8 text from a text object.
|
| void | GetTextSize (TextConstRef text, int *w, int *h) |
| | Get the size of a text object.
|
| Point | GetTextSize (TextRef text) |
| | Get the size of a text object.
|
| void | GetTextSubString (TextConstRef text, int offset, SubString *substring) |
| | Get the substring of a text object that surrounds a text offset.
|
| void | GetTextSubStringForLine (TextConstRef text, int line, SubString *substring) |
| | Get the substring of a text object that contains the given line.
|
| OwnArray< SubString * > | GetTextSubStringsForRange (TextConstRef text, int offset, int length) |
| | Get the substrings of a text object that contain a range of text.
|
| void | GetTextSubStringForPoint (TextConstRef text, Point p, SubString *substring) |
| | Get the portion of a text string that is closest to a point.
|
| void | GetPreviousTextSubString (TextConstRef text, const SubString &substring, SubString *previous) |
| | Get the previous substring in a text object.
|
| void | GetNextTextSubString (TextConstRef text, const SubString &substring, SubString *next) |
| | Get the next substring in a text object.
|
| void | UpdateText (TextRef text) |
| | Update the layout of a text object.
|
| void | DestroyText (TextRaw text) |
| | Destroy a text object created by a text engine.
|
| void | CloseFont (FontRaw font) |
| | Dispose of a previously-created font.
|
| int | GetVersion () |
| | Get the version of SDL that is linked against your program.
|
| const char * | GetRevision () |
| | Get the code revision of the SDL library that is linked against your program.
|
| constexpr int | WINDOWPOS_UNDEFINED_DISPLAY (int X) |
| | Used to indicate that you don't care what the window position is.
|
| constexpr bool | WINDOWPOS_ISUNDEFINED (int X) |
| | A macro to test if the window position is marked as "undefined.".
|
| constexpr int | WINDOWPOS_CENTERED_DISPLAY (int X) |
| | Used to indicate that the window position should be centered.
|
| constexpr bool | WINDOWPOS_ISCENTERED (int X) |
| | A macro to test if the window position is marked as "centered.".
|
| int | GetNumVideoDrivers () |
| | Get the number of video drivers compiled into SDL.
|
| const char * | GetVideoDriver (int index) |
| | Get the name of a built in video driver.
|
| const char * | GetCurrentVideoDriver () |
| | Get the name of the currently initialized video driver.
|
| SystemTheme | GetSystemTheme () |
| | Get the current system theme.
|
| OwnArray< DisplayID > | GetDisplays () |
| | Get a list of currently connected displays.
|
| Display | GetPrimaryDisplay () |
| | Return the primary display.
|
| PropertiesRef | GetDisplayProperties (DisplayID displayID) |
| | Get the properties associated with a display.
|
| const char * | GetDisplayName (DisplayID displayID) |
| | Get the name of a display in UTF-8 encoding.
|
| Rect | GetDisplayBounds (Display displayID) |
| | Get the desktop area represented by a display.
|
| Rect | GetDisplayUsableBounds (Display displayID) |
| | Get the usable desktop area represented by a display, in screen coordinates.
|
| DisplayOrientation | GetNaturalDisplayOrientation (DisplayID displayID) |
| | Get the orientation of a display when it is unrotated.
|
| DisplayOrientation | GetCurrentDisplayOrientation (DisplayID displayID) |
| | Get the orientation of a display.
|
| float | GetDisplayContentScale (DisplayID displayID) |
| | Get the content scale of a display.
|
| OwnArray< DisplayMode * > | GetFullscreenDisplayModes (Display displayID) |
| | Get a list of fullscreen display modes available on a display.
|
| DisplayMode | GetClosestFullscreenDisplayMode (Display displayID, const PointRaw &size, float refresh_rate, bool include_high_density_modes) |
| | Get the closest match to the requested display mode.
|
| const DisplayMode & | GetDesktopDisplayMode (DisplayID displayID) |
| | Get information about the desktop's display mode.
|
| const DisplayMode & | GetCurrentDisplayMode (DisplayID displayID) |
| | Get information about the current display mode.
|
| Display | GetDisplayForPoint (const PointRaw &point) |
| | Get the display containing a point.
|
| Display | GetDisplayForRect (const RectRaw &rect) |
| | Get the display primarily containing a rect.
|
| Display | GetDisplayForWindow (WindowRef window) |
| | Get the display associated with a window.
|
| float | GetWindowPixelDensity (WindowRef window) |
| | Get the pixel density of a window.
|
| float | GetWindowDisplayScale (WindowRef window) |
| | Get the content display scale relative to a window's pixel size.
|
| void | SetWindowFullscreenMode (WindowRef window, OptionalRef< const DisplayMode > mode) |
| | Set the display mode to use when a window is visible and fullscreen.
|
| const DisplayMode & | GetWindowFullscreenMode (WindowRef window) |
| | Query the display mode to use when a window is visible at fullscreen.
|
| OwnPtr< void > | GetWindowICCProfile (WindowRef window) |
| | Get the raw ICC profile data for the screen the window is currently on.
|
| PixelFormat | GetWindowPixelFormat (WindowRef window) |
| | Get the pixel format associated with the window.
|
| OwnArray< WindowRef > | GetWindows () |
| | Get a list of valid windows.
|
| Window | CreateWindow (StringParam title, const PointRaw &size, WindowFlags flags) |
| | Create a window with the specified dimensions and flags.
|
| Window | CreatePopupWindow (WindowRef parent, const PointRaw &offset, const PointRaw &size, WindowFlags flags) |
| | Create a child popup window of the specified parent window.
|
| Window | CreateWindowWithProperties (PropertiesRef props) |
| | Create a window with the specified properties.
|
| WindowID | GetWindowID (WindowRef window) |
| | Get the numeric ID of a window.
|
| WindowRef | GetWindowFromID (WindowID id) |
| | Get a window from a stored ID.
|
| WindowRef | GetWindowParent (WindowRef window) |
| | Get parent of a window.
|
| PropertiesRef | GetWindowProperties (WindowRef window) |
| | Get the properties associated with a window.
|
| WindowFlags | GetWindowFlags (WindowRef window) |
| | Get the window flags.
|
| void | SetWindowTitle (WindowRef window, StringParam title) |
| | Set the title of a window.
|
| const char * | GetWindowTitle (WindowRef window) |
| | Get the title of a window.
|
| void | SetWindowIcon (WindowRef window, SurfaceRef icon) |
| | Set the icon for a window.
|
| void | SetWindowPosition (WindowRef window, const PointRaw &p) |
| | Request that the window's position be set.
|
| void | GetWindowPosition (WindowRef window, int *x, int *y) |
| | Get the position of a window.
|
| Point | GetWindowPosition (WindowRef window) |
| | Get the position of a window.
|
| void | SetWindowSize (WindowRef window, const PointRaw &size) |
| | Request that the size of a window's client area be set.
|
| void | GetWindowSize (WindowRef window, int *w, int *h) |
| | Get the size of a window's client area.
|
| Point | GetWindowSize (WindowRef window) |
| | Get the size of a window's client area.
|
| void | SetWindowRect (WindowRef window, Rect rect) |
| | Request the window's position and size to be set.
|
| Rect | GetWindowRect (WindowRef window) |
| | Get the position and client size of a window.
|
| Rect | GetWindowSafeArea (WindowRef window) |
| | Get the safe area for this window.
|
| void | SetWindowAspectRatio (WindowRef window, float min_aspect, float max_aspect) |
| | Request that the aspect ratio of a window's client area be set.
|
| void | GetWindowAspectRatio (WindowRef window, float *min_aspect, float *max_aspect) |
| | Get the aspect ratio of a window's client area.
|
| void | GetWindowBordersSize (WindowRef window, int *top, int *left, int *bottom, int *right) |
| | Get the size of a window's borders (decorations) around the client area.
|
| void | GetWindowSizeInPixels (WindowRef window, int *w, int *h) |
| | Get the size of a window's client area, in pixels.
|
| Point | GetWindowSizeInPixels (WindowRef window) |
| | Get the size of a window's client area, in pixels.
|
| void | SetWindowMinimumSize (WindowRef window, const PointRaw &p) |
| | Set the minimum size of a window's client area.
|
| void | GetWindowMinimumSize (WindowRef window, int *w, int *h) |
| | Get the minimum size of a window's client area.
|
| void | SetWindowMaximumSize (WindowRef window, const PointRaw &p) |
| | Set the maximum size of a window's client area.
|
| void | GetWindowMaximumSize (WindowRef window, int *w, int *h) |
| | Get the maximum size of a window's client area.
|
| void | SetWindowBordered (WindowRef window, bool bordered) |
| | Set the border state of a window.
|
| void | SetWindowResizable (WindowRef window, bool resizable) |
| | Set the user-resizable state of a window.
|
| void | SetWindowAlwaysOnTop (WindowRef window, bool on_top) |
| | Set the window to always be above the others.
|
| void | SetWindowFillDocument (WindowRef window, bool fill) |
| | Set the window to fill the current document space (Emscripten only).
|
| void | ShowWindow (WindowRef window) |
| | Show a window.
|
| void | HideWindow (WindowRef window) |
| | Hide a window.
|
| void | RaiseWindow (WindowRef window) |
| | Request that a window be raised above other windows and gain the input focus.
|
| void | MaximizeWindow (WindowRef window) |
| | Request that the window be made as large as possible.
|
| void | MinimizeWindow (WindowRef window) |
| | Request that the window be minimized to an iconic representation.
|
| void | RestoreWindow (WindowRef window) |
| | Request that the size and position of a minimized or maximized window be restored.
|
| void | SetWindowFullscreen (WindowRef window, bool fullscreen) |
| | Request that the window's fullscreen state be changed.
|
| bool | SyncWindow (WindowRef window) |
| | Block until any pending window state is finalized.
|
| bool | WindowHasSurface (WindowRef window) |
| | Return whether the window has a surface associated with it.
|
| Surface | GetWindowSurface (WindowRef window) |
| | Get the SDL surface associated with the window.
|
| void | SetWindowSurfaceVSync (WindowRef window, int vsync) |
| | Toggle VSync for the window surface.
|
| int | GetWindowSurfaceVSync (WindowRef window) |
| | Get VSync for the window surface.
|
| void | UpdateWindowSurface (WindowRef window) |
| | Copy the window surface to the screen.
|
| void | UpdateWindowSurfaceRects (WindowRef window, SpanRef< const RectRaw > rects) |
| | Copy areas of the window surface to the screen.
|
| void | DestroyWindowSurface (WindowRef window) |
| | Destroy the surface associated with the window.
|
| void | SetWindowKeyboardGrab (WindowRef window, bool grabbed) |
| | Set a window's keyboard grab mode.
|
| void | SetWindowMouseGrab (WindowRef window, bool grabbed) |
| | Set a window's mouse grab mode.
|
| bool | GetWindowKeyboardGrab (WindowRef window) |
| | Get a window's keyboard grab mode.
|
| bool | GetWindowMouseGrab (WindowRef window) |
| | Get a window's mouse grab mode.
|
| WindowRef | GetGrabbedWindow () |
| | Get the window that currently has an input grab enabled.
|
| void | SetWindowMouseRect (WindowRef window, const RectRaw &rect) |
| | Confines the cursor to the specified area of a window.
|
| const RectRaw * | GetWindowMouseRect (WindowRef window) |
| | Get the mouse confinement rectangle of a window.
|
| void | SetWindowOpacity (WindowRef window, float opacity) |
| | Set the opacity for a window.
|
| float | GetWindowOpacity (WindowRef window) |
| | Get the opacity of a window.
|
| void | SetWindowParent (WindowRef window, WindowRef parent) |
| | Set the window as a child of a parent window.
|
| void | SetWindowModal (WindowRef window, bool modal) |
| | Toggle the state of the window as modal.
|
| void | SetWindowFocusable (WindowRef window, bool focusable) |
| | Set whether the window may have input focus.
|
| void | ShowWindowSystemMenu (WindowRef window, const PointRaw &p) |
| | Display the system-level window menu.
|
| void | SetWindowHitTest (WindowRef window, HitTest callback, void *callback_data) |
| | Provide a callback that decides if a window region has special properties.
|
| void | SetWindowHitTest (WindowRef window, HitTestCB callback) |
| | Provide a callback that decides if a window region has special properties.
|
| void | SetWindowShape (WindowRef window, SurfaceRef shape) |
| | Set the shape of a transparent window.
|
| void | FlashWindow (WindowRef window, FlashOperation operation) |
| | Request a window to demand attention from the user.
|
| void | SetWindowProgressState (WindowRef window, ProgressState state) |
| | Sets the state of the progress bar for the given window’s taskbar icon.
|
| ProgressState | GetWindowProgressState (WindowRef window) |
| | Get the state of the progress bar for the given window’s taskbar icon.
|
| void | SetWindowProgressValue (WindowRef window, float value) |
| | Sets the value of the progress bar for the given window’s taskbar icon.
|
| float | GetWindowProgressValue (WindowRef window) |
| | Get the value of the progress bar for the given window’s taskbar icon.
|
| void | DestroyWindow (WindowRaw window) |
| | Destroy a window.
|
| bool | ScreenSaverEnabled () |
| | Check whether the screensaver is currently enabled.
|
| void | EnableScreenSaver () |
| | Allow the screen to be blanked by a screen saver.
|
| void | DisableScreenSaver () |
| | Prevent the screen from being blanked by a screen saver.
|
| void | GL_LoadLibrary (StringParam path) |
| | Dynamically load an OpenGL library.
|
| FunctionPointer | GL_GetProcAddress (StringParam proc) |
| | Get an OpenGL function by name.
|
| FunctionPointer | EGL_GetProcAddress (StringParam proc) |
| | Get an EGL library function by name.
|
| void | GL_UnloadLibrary () |
| | Unload the OpenGL library previously loaded by GL_LoadLibrary().
|
| bool | GL_ExtensionSupported (StringParam extension) |
| | Check if an OpenGL extension is supported for the current context.
|
| void | GL_ResetAttributes () |
| | Reset all previously set OpenGL context attributes to their default values.
|
| void | GL_SetAttribute (GLAttr attr, int value) |
| | Set an OpenGL window attribute before window creation.
|
| void | GL_GetAttribute (GLAttr attr, int *value) |
| | Get the actual value for an attribute from the current context.
|
| GLContext | GL_CreateContext (WindowRef window) |
| | Create an OpenGL context for an OpenGL window, and make it current.
|
| void | GL_MakeCurrent (WindowRef window, GLContext context) |
| | Set up an OpenGL context for rendering into an OpenGL window.
|
| WindowRef | GL_GetCurrentWindow () |
| | Get the currently active OpenGL window.
|
| GLContext | GL_GetCurrentContext () |
| | Get the currently active OpenGL context.
|
| EGLDisplay | EGL_GetCurrentDisplay () |
| | Get the currently active EGL display.
|
| EGLConfig | EGL_GetCurrentConfig () |
| | Get the currently active EGL config.
|
| EGLSurface | EGL_GetWindowSurface (WindowRef window) |
| | Get the EGL surface associated with the window.
|
| void | EGL_SetAttributeCallbacks (EGLAttribArrayCallback platformAttribCallback, EGLIntArrayCallback surfaceAttribCallback, EGLIntArrayCallback contextAttribCallback, void *userdata) |
| | Sets the callbacks for defining custom EGLAttrib arrays for EGL initialization.
|
| void | GL_SetSwapInterval (int interval) |
| | Set the swap interval for the current OpenGL context.
|
| void | GL_GetSwapInterval (int *interval) |
| | Get the swap interval for the current OpenGL context.
|
| void | GL_SwapWindow (WindowRef window) |
| | Update a window with OpenGL rendering.
|
| void | GL_DestroyContext (GLContextRaw context) |
| | Delete an OpenGL context.
|
| void | Vulkan_LoadLibrary (StringParam path) |
| | Dynamically load the Vulkan loader library.
|
| FunctionPointer | Vulkan_GetVkGetInstanceProcAddr () |
| | Get the address of the vkGetInstanceProcAddr function.
|
| void | Vulkan_UnloadLibrary () |
| | Unload the Vulkan library previously loaded by Vulkan_LoadLibrary().
|
| std::span< char const *const > | Vulkan_GetInstanceExtensions () |
| | Get the Vulkan instance extensions needed for vkCreateInstance.
|
| void | Vulkan_CreateSurface (WindowRef window, VkInstance instance, const struct VkAllocationCallbacks *allocator, VkSurfaceKHR *surface) |
| | Create a Vulkan rendering surface for a window.
|
| void | Vulkan_DestroySurface (VkInstance instance, VkSurfaceKHR surface, const struct VkAllocationCallbacks *allocator) |
| | Destroy the Vulkan rendering surface of a window.
|
| bool | Vulkan_GetPresentationSupport (VkInstance instance, VkPhysicalDevice physicalDevice, Uint32 queueFamilyIndex) |
| | Query support for presentation via a given physical device and queue family.
|
| template<class T> |
| AppResult | DefaultCreateClass (T **state, AppArgs args) |
| | Allocate and initialize state with new.
|
| template<class T> |
| AppResult | InitClass (T **state, AppArgs args) |
| | Init state with arguments.
|
|
template<HasInitFunction T> |
| AppResult | InitClass (T **state, AppArgs args) |
| template<class T> |
| AppResult | EventClass (T *state, const SDL_Event &event) |
| | Iterate the state.
|
|
template<HasEventFunction T> |
| AppResult | EventClass (T *state, const SDL_Event &event) |
| template<class T> |
| void | QuitClass (T *state, AppResult) |
| | Destroy state with given result.
|
|
template<HasQuitFunction T> |
| void | QuitClass (T *state, AppResult result) |
|
| constexpr AssertState | ASSERTION_RETRY |
| | Retry the assert immediately.
|
| constexpr AssertState | ASSERTION_BREAK |
| | Make the debugger trigger a breakpoint.
|
| constexpr AssertState | ASSERTION_ABORT |
| | Terminate the program.
|
| constexpr AssertState | ASSERTION_IGNORE |
| | Ignore the assert.
|
| constexpr AssertState | ASSERTION_ALWAYS_IGNORE |
| | Ignore the assert from now on.
|
| constexpr AsyncIOTaskType | ASYNCIO_TASK_READ |
| | A read operation.
|
| constexpr AsyncIOTaskType | ASYNCIO_TASK_WRITE |
| | A write operation.
|
| constexpr AsyncIOTaskType | ASYNCIO_TASK_CLOSE |
| | A close operation.
|
| constexpr AsyncIOResult | ASYNCIO_COMPLETE |
| | request was completed without error
|
| constexpr AsyncIOResult | ASYNCIO_FAILURE |
| | request failed for some reason; check GetError()!
|
| constexpr AsyncIOResult | ASYNCIO_CANCELED |
| | request was canceled before completing.
|
| constexpr Uint32 | AUDIO_MASK_BITSIZE = SDL_AUDIO_MASK_BITSIZE |
| | Mask of bits in an AudioFormat that contains the format bit size.
|
| constexpr Uint32 | AUDIO_MASK_FLOAT = SDL_AUDIO_MASK_FLOAT |
| | Mask of bits in an AudioFormat that contain the floating point flag.
|
| constexpr Uint32 | AUDIO_MASK_BIG_ENDIAN = SDL_AUDIO_MASK_BIG_ENDIAN |
| | Mask of bits in an AudioFormat that contain the bigendian flag.
|
| constexpr Uint32 | AUDIO_MASK_SIGNED = SDL_AUDIO_MASK_SIGNED |
| | Mask of bits in an AudioFormat that contain the signed data flag.
|
| constexpr AudioFormat | AUDIO_UNKNOWN |
| | Unspecified audio format.
|
|
constexpr AudioFormat | AUDIO_U8 = SDL_AUDIO_U8 |
| | Unsigned 8-bit samples.
|
|
constexpr AudioFormat | AUDIO_S8 = SDL_AUDIO_S8 |
| | Signed 8-bit samples.
|
|
constexpr AudioFormat | AUDIO_S16LE = SDL_AUDIO_S16LE |
| | Signed 16-bit samples.
|
| constexpr AudioFormat | AUDIO_S16BE |
| | As above, but big-endian byte order.
|
|
constexpr AudioFormat | AUDIO_S32LE = SDL_AUDIO_S32LE |
| | 32-bit integer samples
|
| constexpr AudioFormat | AUDIO_S32BE |
| | As above, but big-endian byte order.
|
| constexpr AudioFormat | AUDIO_F32LE |
| | 32-bit floating point samples
|
| constexpr AudioFormat | AUDIO_F32BE |
| | As above, but big-endian byte order.
|
|
constexpr AudioFormat | AUDIO_S16 = SDL_AUDIO_S16 |
| | AUDIO_S16.
|
|
constexpr AudioFormat | AUDIO_S32 = SDL_AUDIO_S32 |
| | AUDIO_S32.
|
|
constexpr AudioFormat | AUDIO_F32 = SDL_AUDIO_F32 |
| | AUDIO_F32.
|
| constexpr AudioDeviceID | AUDIO_DEVICE_DEFAULT_PLAYBACK |
| | A value used to request a default playback audio device.
|
| constexpr AudioDeviceID | AUDIO_DEVICE_DEFAULT_RECORDING |
| | A value used to request a default recording audio device.
|
| constexpr BlendOperation | BLENDOPERATION_ADD |
| | dst + src: supported by all renderers
|
|
constexpr BlendOperation | BLENDOPERATION_SUBTRACT = SDL_BLENDOPERATION_SUBTRACT |
| | src - dst : supported by D3D, OpenGL, OpenGLES, and Vulkan
|
| constexpr BlendOperation | BLENDOPERATION_REV_SUBTRACT |
| | dst - src : supported by D3D, OpenGL, OpenGLES, and Vulkan
|
|
constexpr BlendOperation | BLENDOPERATION_MINIMUM = SDL_BLENDOPERATION_MINIMUM |
| | min(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan
|
|
constexpr BlendOperation | BLENDOPERATION_MAXIMUM = SDL_BLENDOPERATION_MAXIMUM |
| | max(dst, src) : supported by D3D, OpenGL, OpenGLES, and Vulkan
|
|
constexpr BlendFactor | BLENDFACTOR_ZERO = SDL_BLENDFACTOR_ZERO |
| | 0, 0, 0, 0
|
|
constexpr BlendFactor | BLENDFACTOR_ONE = SDL_BLENDFACTOR_ONE |
| | 1, 1, 1, 1
|
| constexpr BlendFactor | BLENDFACTOR_SRC_COLOR |
| | srcR, srcG, srcB, srcA
|
| constexpr BlendFactor | BLENDFACTOR_ONE_MINUS_SRC_COLOR |
| | 1-srcR, 1-srcG, 1-srcB, 1-srcA
|
| constexpr BlendFactor | BLENDFACTOR_SRC_ALPHA |
| | srcA, srcA, srcA, srcA
|
| constexpr BlendFactor | BLENDFACTOR_ONE_MINUS_SRC_ALPHA |
| | 1-srcA, 1-srcA, 1-srcA, 1-srcA
|
| constexpr BlendFactor | BLENDFACTOR_DST_COLOR |
| | dstR, dstG, dstB, dstA
|
| constexpr BlendFactor | BLENDFACTOR_ONE_MINUS_DST_COLOR |
| | 1-dstR, 1-dstG, 1-dstB, 1-dstA
|
| constexpr BlendFactor | BLENDFACTOR_DST_ALPHA |
| | dstA, dstA, dstA, dstA
|
| constexpr BlendFactor | BLENDFACTOR_ONE_MINUS_DST_ALPHA |
| | 1-dstA, 1-dstA, 1-dstA, 1-dstA
|
| constexpr CameraPosition | CAMERA_POSITION_UNKNOWN |
| | CAMERA_POSITION_UNKNOWN.
|
| constexpr CameraPosition | CAMERA_POSITION_FRONT_FACING |
| | CAMERA_POSITION_FRONT_FACING.
|
| constexpr CameraPosition | CAMERA_POSITION_BACK_FACING |
| | CAMERA_POSITION_BACK_FACING.
|
| constexpr CameraPermissionState | CAMERA_PERMISSION_STATE_DENIED |
| | CAMERA_PERMISSION_STATE_DENIED.
|
| constexpr CameraPermissionState | CAMERA_PERMISSION_STATE_PENDING |
| | CAMERA_PERMISSION_STATE_PENDING.
|
| constexpr CameraPermissionState | CAMERA_PERMISSION_STATE_APPROVED |
| | CAMERA_PERMISSION_STATE_APPROVED.
|
| constexpr int | CACHELINE_SIZE = SDL_CACHELINE_SIZE |
| | A guess for the cacheline size used for padding.
|
| constexpr FileDialogType | FILEDIALOG_OPENFILE |
| | OPENFILE.
|
| constexpr FileDialogType | FILEDIALOG_SAVEFILE |
| | SAVEFILE.
|
| constexpr FileDialogType | FILEDIALOG_OPENFOLDER |
| | OPENFOLDER.
|
|
constexpr EventType | EVENT_FIRST = SDL_EVENT_FIRST |
| | Unused (do not remove).
|
|
constexpr EventType | EVENT_QUIT = SDL_EVENT_QUIT |
| | User-requested quit.
|
| constexpr EventType | EVENT_TERMINATING = SDL_EVENT_TERMINATING |
| | The application is being terminated by the OS.
|
| constexpr EventType | EVENT_LOW_MEMORY = SDL_EVENT_LOW_MEMORY |
| | The application is low on memory, free memory if possible.
|
| constexpr EventType | EVENT_WILL_ENTER_BACKGROUND |
| | The application is about to enter the background.
|
| constexpr EventType | EVENT_DID_ENTER_BACKGROUND = SDL_EVENT_DID_ENTER_BACKGROUND |
| | The application did enter the background and may not get CPU for some time.
|
| constexpr EventType | EVENT_WILL_ENTER_FOREGROUND |
| | The application is about to enter the foreground.
|
| constexpr EventType | EVENT_DID_ENTER_FOREGROUND = SDL_EVENT_DID_ENTER_FOREGROUND |
| | The application is now interactive.
|
| constexpr EventType | EVENT_LOCALE_CHANGED |
| | The user's locale preferences have changed.
|
| constexpr EventType | EVENT_SYSTEM_THEME_CHANGED |
| | The system theme changed.
|
| constexpr EventType | EVENT_DISPLAY_ORIENTATION |
| | Display orientation has changed to data1.
|
| constexpr EventType | EVENT_DISPLAY_ADDED |
| | Display has been added to the system.
|
| constexpr EventType | EVENT_DISPLAY_REMOVED |
| | Display has been removed from the system.
|
| constexpr EventType | EVENT_DISPLAY_MOVED |
| | Display has changed position.
|
| constexpr EventType | EVENT_DISPLAY_DESKTOP_MODE_CHANGED |
| | Display has changed desktop mode.
|
| constexpr EventType | EVENT_DISPLAY_CURRENT_MODE_CHANGED |
| | Display has changed current mode.
|
| constexpr EventType | EVENT_DISPLAY_CONTENT_SCALE_CHANGED |
| | Display has changed content scale.
|
| constexpr EventType | EVENT_DISPLAY_USABLE_BOUNDS_CHANGED |
| | Display has changed usable bounds.
|
| constexpr EventType | EVENT_DISPLAY_FIRST |
| | DISPLAY_FIRST.
|
| constexpr EventType | EVENT_DISPLAY_LAST |
| | DISPLAY_LAST.
|
| constexpr EventType | EVENT_WINDOW_SHOWN |
| | Window has been shown.
|
| constexpr EventType | EVENT_WINDOW_HIDDEN |
| | Window has been hidden.
|
| constexpr EventType | EVENT_WINDOW_EXPOSED = SDL_EVENT_WINDOW_EXPOSED |
| | Window has been exposed and should be redrawn, and can be redrawn directly from event watchers for this event.
|
| constexpr EventType | EVENT_WINDOW_MOVED |
| | Window has been moved to data1, data2.
|
| constexpr EventType | EVENT_WINDOW_RESIZED |
| | Window has been resized to data1xdata2.
|
| constexpr EventType | EVENT_WINDOW_PIXEL_SIZE_CHANGED |
| | The pixel size of the window has changed to data1xdata2.
|
| constexpr EventType | EVENT_WINDOW_METAL_VIEW_RESIZED |
| | The pixel size of a Metal view associated with the window has changed.
|
| constexpr EventType | EVENT_WINDOW_MINIMIZED |
| | Window has been minimized.
|
| constexpr EventType | EVENT_WINDOW_MAXIMIZED |
| | Window has been maximized.
|
|
constexpr EventType | EVENT_WINDOW_RESTORED = SDL_EVENT_WINDOW_RESTORED |
| | Window has been restored to normal size and position.
|
| constexpr EventType | EVENT_WINDOW_MOUSE_ENTER |
| | Window has gained mouse focus.
|
| constexpr EventType | EVENT_WINDOW_MOUSE_LEAVE |
| | Window has lost mouse focus.
|
| constexpr EventType | EVENT_WINDOW_FOCUS_GAINED |
| | Window has gained keyboard focus.
|
| constexpr EventType | EVENT_WINDOW_FOCUS_LOST |
| | Window has lost keyboard focus.
|
| constexpr EventType | EVENT_WINDOW_CLOSE_REQUESTED |
| | The window manager requests that the window be closed.
|
| constexpr EventType | EVENT_WINDOW_HIT_TEST |
| | Window had a hit test that wasn't HITTEST_NORMAL.
|
| constexpr EventType | EVENT_WINDOW_ICCPROF_CHANGED |
| | The ICC profile of the window's display has changed.
|
| constexpr EventType | EVENT_WINDOW_DISPLAY_CHANGED |
| | Window has been moved to display data1.
|
| constexpr EventType | EVENT_WINDOW_DISPLAY_SCALE_CHANGED |
| | Window display scale has been changed.
|
| constexpr EventType | EVENT_WINDOW_SAFE_AREA_CHANGED |
| | The window safe area has been changed.
|
| constexpr EventType | EVENT_WINDOW_OCCLUDED |
| | The window has been occluded.
|
| constexpr EventType | EVENT_WINDOW_ENTER_FULLSCREEN |
| | The window has entered fullscreen mode.
|
| constexpr EventType | EVENT_WINDOW_LEAVE_FULLSCREEN |
| | The window has left fullscreen mode.
|
| constexpr EventType | EVENT_WINDOW_DESTROYED = SDL_EVENT_WINDOW_DESTROYED |
| | The window with the associated ID is being or has been destroyed.
|
| constexpr EventType | EVENT_WINDOW_HDR_STATE_CHANGED |
| | Window HDR properties have changed.
|
| constexpr EventType | EVENT_WINDOW_FIRST |
| | WINDOW_FIRST.
|
|
constexpr EventType | EVENT_WINDOW_LAST = SDL_EVENT_WINDOW_LAST |
| | WINDOW_LAST.
|
|
constexpr EventType | EVENT_KEY_DOWN = SDL_EVENT_KEY_DOWN |
| | Key pressed.
|
|
constexpr EventType | EVENT_KEY_UP = SDL_EVENT_KEY_UP |
| | Key released.
|
| constexpr EventType | EVENT_TEXT_EDITING |
| | Keyboard text editing (composition).
|
| constexpr EventType | EVENT_TEXT_INPUT |
| | Keyboard text input.
|
|
constexpr EventType | EVENT_KEYMAP_CHANGED = SDL_EVENT_KEYMAP_CHANGED |
| | Keymap changed due to a system event such as an input language or keyboard layout change.
|
| constexpr EventType | EVENT_KEYBOARD_ADDED |
| | A new keyboard has been inserted into the system.
|
| constexpr EventType | EVENT_KEYBOARD_REMOVED |
| | A keyboard has been removed.
|
| constexpr EventType | EVENT_TEXT_EDITING_CANDIDATES |
| | Keyboard text editing candidates.
|
| constexpr EventType | EVENT_SCREEN_KEYBOARD_SHOWN |
| | The on-screen keyboard has been shown.
|
| constexpr EventType | EVENT_SCREEN_KEYBOARD_HIDDEN |
| | The on-screen keyboard has been hidden.
|
| constexpr EventType | EVENT_MOUSE_MOTION |
| | Mouse moved.
|
| constexpr EventType | EVENT_MOUSE_BUTTON_DOWN |
| | Mouse button pressed.
|
| constexpr EventType | EVENT_MOUSE_BUTTON_UP |
| | Mouse button released.
|
| constexpr EventType | EVENT_MOUSE_WHEEL |
| | Mouse wheel motion.
|
| constexpr EventType | EVENT_MOUSE_ADDED |
| | A new mouse has been inserted into the system.
|
| constexpr EventType | EVENT_MOUSE_REMOVED |
| | A mouse has been removed.
|
| constexpr EventType | EVENT_JOYSTICK_AXIS_MOTION |
| | Joystick axis motion.
|
| constexpr EventType | EVENT_JOYSTICK_BALL_MOTION |
| | Joystick trackball motion.
|
| constexpr EventType | EVENT_JOYSTICK_HAT_MOTION |
| | Joystick hat position change.
|
| constexpr EventType | EVENT_JOYSTICK_BUTTON_DOWN |
| | Joystick button pressed.
|
| constexpr EventType | EVENT_JOYSTICK_BUTTON_UP |
| | Joystick button released.
|
| constexpr EventType | EVENT_JOYSTICK_ADDED |
| | A new joystick has been inserted into the system.
|
| constexpr EventType | EVENT_JOYSTICK_REMOVED |
| | An opened joystick has been removed.
|
| constexpr EventType | EVENT_JOYSTICK_BATTERY_UPDATED |
| | Joystick battery level change.
|
| constexpr EventType | EVENT_JOYSTICK_UPDATE_COMPLETE |
| | Joystick update is complete.
|
| constexpr EventType | EVENT_GAMEPAD_AXIS_MOTION |
| | Gamepad axis motion.
|
| constexpr EventType | EVENT_GAMEPAD_BUTTON_DOWN |
| | Gamepad button pressed.
|
| constexpr EventType | EVENT_GAMEPAD_BUTTON_UP |
| | Gamepad button released.
|
| constexpr EventType | EVENT_GAMEPAD_ADDED |
| | A new gamepad has been inserted into the system.
|
| constexpr EventType | EVENT_GAMEPAD_REMOVED |
| | A gamepad has been removed.
|
| constexpr EventType | EVENT_GAMEPAD_REMAPPED |
| | The gamepad mapping was updated.
|
| constexpr EventType | EVENT_GAMEPAD_TOUCHPAD_DOWN |
| | Gamepad touchpad was touched.
|
| constexpr EventType | EVENT_GAMEPAD_TOUCHPAD_MOTION |
| | Gamepad touchpad finger was moved.
|
| constexpr EventType | EVENT_GAMEPAD_TOUCHPAD_UP |
| | Gamepad touchpad finger was lifted.
|
| constexpr EventType | EVENT_GAMEPAD_SENSOR_UPDATE |
| | Gamepad sensor was updated.
|
| constexpr EventType | EVENT_GAMEPAD_UPDATE_COMPLETE |
| | Gamepad update is complete.
|
| constexpr EventType | EVENT_GAMEPAD_STEAM_HANDLE_UPDATED |
| | Gamepad Steam handle has changed.
|
|
constexpr EventType | EVENT_FINGER_DOWN = SDL_EVENT_FINGER_DOWN |
| | FINGER_DOWN.
|
|
constexpr EventType | EVENT_FINGER_UP = SDL_EVENT_FINGER_UP |
| | FINGER_UP.
|
| constexpr EventType | EVENT_FINGER_MOTION |
| | FINGER_MOTION.
|
| constexpr EventType | EVENT_FINGER_CANCELED |
| | FINGER_CANCELED.
|
| constexpr EventType | EVENT_PINCH_BEGIN |
| | Pinch gesture started.
|
| constexpr EventType | EVENT_PINCH_UPDATE |
| | Pinch gesture updated.
|
| constexpr EventType | EVENT_PINCH_END |
| | Pinch gesture ended.
|
| constexpr EventType | EVENT_CLIPBOARD_UPDATE |
| | The clipboard changed.
|
| constexpr EventType | EVENT_DROP_FILE |
| | The system requests a file open.
|
| constexpr EventType | EVENT_DROP_TEXT |
| | text/plain drag-and-drop event
|
| constexpr EventType | EVENT_DROP_BEGIN |
| | A new set of drops is beginning (NULL filename).
|
|
constexpr EventType | EVENT_DROP_COMPLETE = SDL_EVENT_DROP_COMPLETE |
| | Current set of drops is now complete (NULL filename).
|
| constexpr EventType | EVENT_DROP_POSITION |
| | Position while moving over the window.
|
| constexpr EventType | EVENT_AUDIO_DEVICE_ADDED |
| | A new audio device is available.
|
| constexpr EventType | EVENT_AUDIO_DEVICE_REMOVED |
| | An audio device has been removed.
|
| constexpr EventType | EVENT_AUDIO_DEVICE_FORMAT_CHANGED |
| | An audio device's format has been changed by the system.
|
| constexpr EventType | EVENT_SENSOR_UPDATE |
| | A sensor was updated.
|
| constexpr EventType | EVENT_PEN_PROXIMITY_IN |
| | Pressure-sensitive pen has become available.
|
| constexpr EventType | EVENT_PEN_PROXIMITY_OUT |
| | Pressure-sensitive pen has become unavailable.
|
| constexpr EventType | EVENT_PEN_DOWN |
| | Pressure-sensitive pen touched drawing surface.
|
|
constexpr EventType | EVENT_PEN_UP = SDL_EVENT_PEN_UP |
| | Pressure-sensitive pen stopped touching drawing surface.
|
| constexpr EventType | EVENT_PEN_BUTTON_DOWN |
| | Pressure-sensitive pen button pressed.
|
| constexpr EventType | EVENT_PEN_BUTTON_UP |
| | Pressure-sensitive pen button released.
|
| constexpr EventType | EVENT_PEN_MOTION |
| | Pressure-sensitive pen is moving on the tablet.
|
| constexpr EventType | EVENT_PEN_AXIS |
| | Pressure-sensitive pen angle/pressure/etc changed.
|
| constexpr EventType | EVENT_CAMERA_DEVICE_ADDED |
| | A new camera device is available.
|
| constexpr EventType | EVENT_CAMERA_DEVICE_REMOVED |
| | A camera device has been removed.
|
| constexpr EventType | EVENT_CAMERA_DEVICE_APPROVED |
| | A camera device has been approved for use by the user.
|
|
constexpr EventType | EVENT_CAMERA_DEVICE_DENIED = SDL_EVENT_CAMERA_DEVICE_DENIED |
| | A camera device has been denied for use by the user.
|
|
constexpr EventType | EVENT_RENDER_TARGETS_RESET = SDL_EVENT_RENDER_TARGETS_RESET |
| | The render targets have been reset and their contents need to be updated.
|
|
constexpr EventType | EVENT_RENDER_DEVICE_RESET = SDL_EVENT_RENDER_DEVICE_RESET |
| | The device has been reset and all textures need to be recreated.
|
| constexpr EventType | EVENT_RENDER_DEVICE_LOST |
| | The device has been lost and can't be recovered.
|
|
constexpr EventType | EVENT_PRIVATE0 = SDL_EVENT_PRIVATE0 |
| | PRIVATE0.
|
|
constexpr EventType | EVENT_PRIVATE1 = SDL_EVENT_PRIVATE1 |
| | PRIVATE1.
|
|
constexpr EventType | EVENT_PRIVATE2 = SDL_EVENT_PRIVATE2 |
| | PRIVATE2.
|
|
constexpr EventType | EVENT_PRIVATE3 = SDL_EVENT_PRIVATE3 |
| | PRIVATE3.
|
| constexpr EventType | EVENT_POLL_SENTINEL |
| | Signals the end of an event poll cycle.
|
|
constexpr EventType | EVENT_USER = SDL_EVENT_USER |
| | Events EVENT_USER through EVENT_LAST are for your use, and should be allocated with RegisterEvents().
|
|
constexpr EventType | EVENT_LAST = SDL_EVENT_LAST |
| | This last event is only for bounding internal arrays.
|
| constexpr EventType | EVENT_ENUM_PADDING |
| | ENUM_PADDING.
|
| constexpr Folder | FOLDER_HOME = SDL_FOLDER_HOME |
| | The folder which contains all of the current user's data, preferences, and documents.
|
| constexpr Folder | FOLDER_DESKTOP = SDL_FOLDER_DESKTOP |
| | The folder of files that are displayed on the desktop.
|
| constexpr Folder | FOLDER_DOCUMENTS = SDL_FOLDER_DOCUMENTS |
| | User document files, possibly application-specific.
|
|
constexpr Folder | FOLDER_DOWNLOADS = SDL_FOLDER_DOWNLOADS |
| | Standard folder for user files downloaded from the internet.
|
|
constexpr Folder | FOLDER_MUSIC = SDL_FOLDER_MUSIC |
| | Music files that can be played using a standard music player (mp3, ogg...).
|
|
constexpr Folder | FOLDER_PICTURES = SDL_FOLDER_PICTURES |
| | Image files that can be displayed using a standard viewer (png, jpg...).
|
|
constexpr Folder | FOLDER_PUBLICSHARE = SDL_FOLDER_PUBLICSHARE |
| | Files that are meant to be shared with other users on the same computer.
|
| constexpr Folder | FOLDER_SAVEDGAMES |
| | Save files for games.
|
| constexpr Folder | FOLDER_SCREENSHOTS |
| | Application screenshots.
|
| constexpr Folder | FOLDER_TEMPLATES = SDL_FOLDER_TEMPLATES |
| | Template files to be used when the user requests the desktop environment to create a new file in a certain folder, such as "New Text File.txt".
|
|
constexpr Folder | FOLDER_VIDEOS = SDL_FOLDER_VIDEOS |
| | Video files that can be played using a standard video player (mp4, webm...).
|
|
constexpr Folder | FOLDER_COUNT = SDL_FOLDER_COUNT |
| | Total number of types in this enum, not a folder type by itself.
|
|
constexpr PathType | PATHTYPE_NONE = SDL_PATHTYPE_NONE |
| | path does not exist
|
|
constexpr PathType | PATHTYPE_FILE = SDL_PATHTYPE_FILE |
| | a normal file
|
|
constexpr PathType | PATHTYPE_DIRECTORY = SDL_PATHTYPE_DIRECTORY |
| | a directory
|
|
constexpr PathType | PATHTYPE_OTHER = SDL_PATHTYPE_OTHER |
| | something completely different like a device node (not a symlink, those are always followed)
|
| constexpr GlobFlags | GLOB_CASEINSENSITIVE |
| | CASEINSENSITIVE.
|
| constexpr EnumerationResult | ENUM_CONTINUE |
| | Value that requests that enumeration continue.
|
|
constexpr EnumerationResult | ENUM_SUCCESS = SDL_ENUM_SUCCESS |
| | Value that requests that enumeration stop, successfully.
|
|
constexpr EnumerationResult | ENUM_FAILURE = SDL_ENUM_FAILURE |
| | Value that requests that enumeration stop, as a failure.
|
| constexpr GamepadType | GAMEPAD_TYPE_UNKNOWN |
| | GAMEPAD_TYPE_UNKNOWN.
|
| constexpr GamepadType | GAMEPAD_TYPE_STANDARD |
| | GAMEPAD_TYPE_STANDARD.
|
| constexpr GamepadType | GAMEPAD_TYPE_XBOX360 |
| | GAMEPAD_TYPE_XBOX360.
|
| constexpr GamepadType | GAMEPAD_TYPE_XBOXONE |
| | GAMEPAD_TYPE_XBOXONE.
|
| constexpr GamepadType | GAMEPAD_TYPE_PS3 |
| | GAMEPAD_TYPE_PS3.
|
| constexpr GamepadType | GAMEPAD_TYPE_PS4 |
| | GAMEPAD_TYPE_PS4.
|
| constexpr GamepadType | GAMEPAD_TYPE_PS5 |
| | GAMEPAD_TYPE_PS5.
|
| constexpr GamepadType | GAMEPAD_TYPE_NINTENDO_SWITCH_PRO |
| | GAMEPAD_TYPE_NINTENDO_SWITCH_PRO.
|
| constexpr GamepadType | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_LEFT |
| | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_LEFT.
|
| constexpr GamepadType | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT |
| | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT.
|
| constexpr GamepadType | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_PAIR |
| | GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_PAIR.
|
| constexpr GamepadType | GAMEPAD_TYPE_GAMECUBE |
| | GAMEPAD_TYPE_GAMECUBE.
|
| constexpr GamepadType | GAMEPAD_TYPE_COUNT |
| | GAMEPAD_TYPE_COUNT.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_INVALID |
| | GAMEPAD_BUTTON_INVALID.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_SOUTH |
| | Bottom face button (e.g. Xbox A button).
|
| constexpr GamepadButton | GAMEPAD_BUTTON_EAST |
| | Right face button (e.g. Xbox B button).
|
| constexpr GamepadButton | GAMEPAD_BUTTON_WEST |
| | Left face button (e.g. Xbox X button).
|
| constexpr GamepadButton | GAMEPAD_BUTTON_NORTH |
| | Top face button (e.g. Xbox Y button).
|
| constexpr GamepadButton | GAMEPAD_BUTTON_BACK |
| | GAMEPAD_BUTTON_BACK.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_GUIDE |
| | GAMEPAD_BUTTON_GUIDE.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_START |
| | GAMEPAD_BUTTON_START.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_LEFT_STICK |
| | GAMEPAD_BUTTON_LEFT_STICK.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_RIGHT_STICK |
| | GAMEPAD_BUTTON_RIGHT_STICK.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_LEFT_SHOULDER |
| | GAMEPAD_BUTTON_LEFT_SHOULDER.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_RIGHT_SHOULDER |
| | GAMEPAD_BUTTON_RIGHT_SHOULDER.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_DPAD_UP |
| | GAMEPAD_BUTTON_DPAD_UP.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_DPAD_DOWN |
| | GAMEPAD_BUTTON_DPAD_DOWN.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_DPAD_LEFT |
| | GAMEPAD_BUTTON_DPAD_LEFT.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_DPAD_RIGHT |
| | GAMEPAD_BUTTON_DPAD_RIGHT.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_MISC1 = SDL_GAMEPAD_BUTTON_MISC1 |
| | Additional button (e.g.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_RIGHT_PADDLE1 |
| | Upper or primary paddle, under your right hand (e.g.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_LEFT_PADDLE1 |
| | Upper or primary paddle, under your left hand (e.g.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_RIGHT_PADDLE2 |
| | Lower or secondary paddle, under your right hand (e.g.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_LEFT_PADDLE2 |
| | Lower or secondary paddle, under your left hand (e.g.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_TOUCHPAD |
| | PS4/PS5 touchpad button.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_MISC2 |
| | Additional button.
|
|
constexpr GamepadButton | GAMEPAD_BUTTON_MISC3 = SDL_GAMEPAD_BUTTON_MISC3 |
| | Additional button (e.g. Nintendo GameCube left trigger click).
|
|
constexpr GamepadButton | GAMEPAD_BUTTON_MISC4 = SDL_GAMEPAD_BUTTON_MISC4 |
| | Additional button (e.g. Nintendo GameCube right trigger click).
|
| constexpr GamepadButton | GAMEPAD_BUTTON_MISC5 |
| | Additional button.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_MISC6 |
| | Additional button.
|
| constexpr GamepadButton | GAMEPAD_BUTTON_COUNT |
| | GAMEPAD_BUTTON_COUNT.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_UNKNOWN |
| | GAMEPAD_BUTTON_LABEL_UNKNOWN.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_A |
| | GAMEPAD_BUTTON_LABEL_A.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_B |
| | GAMEPAD_BUTTON_LABEL_B.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_X |
| | GAMEPAD_BUTTON_LABEL_X.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_Y |
| | GAMEPAD_BUTTON_LABEL_Y.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_CROSS |
| | GAMEPAD_BUTTON_LABEL_CROSS.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_CIRCLE |
| | GAMEPAD_BUTTON_LABEL_CIRCLE.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_SQUARE |
| | GAMEPAD_BUTTON_LABEL_SQUARE.
|
| constexpr GamepadButtonLabel | GAMEPAD_BUTTON_LABEL_TRIANGLE |
| | GAMEPAD_BUTTON_LABEL_TRIANGLE.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_INVALID |
| | GAMEPAD_AXIS_INVALID.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_LEFTX |
| | GAMEPAD_AXIS_LEFTX.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_LEFTY |
| | GAMEPAD_AXIS_LEFTY.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_RIGHTX |
| | GAMEPAD_AXIS_RIGHTX.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_RIGHTY |
| | GAMEPAD_AXIS_RIGHTY.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_LEFT_TRIGGER |
| | GAMEPAD_AXIS_LEFT_TRIGGER.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_RIGHT_TRIGGER |
| | GAMEPAD_AXIS_RIGHT_TRIGGER.
|
| constexpr GamepadAxis | GAMEPAD_AXIS_COUNT |
| | GAMEPAD_AXIS_COUNT.
|
| constexpr GamepadBindingType | GAMEPAD_BINDTYPE_NONE |
| | GAMEPAD_BINDTYPE_NONE.
|
| constexpr GamepadBindingType | GAMEPAD_BINDTYPE_BUTTON |
| | GAMEPAD_BINDTYPE_BUTTON.
|
| constexpr GamepadBindingType | GAMEPAD_BINDTYPE_AXIS |
| | GAMEPAD_BINDTYPE_AXIS.
|
| constexpr GamepadBindingType | GAMEPAD_BINDTYPE_HAT |
| | GAMEPAD_BINDTYPE_HAT.
|
| constexpr GPUIndexElementSize | GPU_INDEXELEMENTSIZE_16BIT |
| | The index elements are 16-bit.
|
| constexpr GPUIndexElementSize | GPU_INDEXELEMENTSIZE_32BIT |
| | The index elements are 32-bit.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_INVALID |
| | INVALID.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_PRIVATE |
| | Shaders for NDA'd platforms.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_SPIRV |
| | SPIR-V shaders for Vulkan.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_DXBC |
| | DXBC SM5_1 shaders for D3D12.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_DXIL |
| | DXIL SM6_0 shaders for D3D12.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_MSL |
| | MSL shaders for Metal.
|
| constexpr GPUShaderFormat | GPU_SHADERFORMAT_METALLIB |
| | Precompiled metallib shaders for Metal.
|
| constexpr GPUSwapchainComposition | GPU_SWAPCHAINCOMPOSITION_SDR |
| | GPU_SWAPCHAINCOMPOSITION_SDR.
|
| constexpr GPUSwapchainComposition | GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR |
| | GPU_SWAPCHAINCOMPOSITION_SDR_LINEAR.
|
| constexpr GPUSwapchainComposition | GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR |
| | GPU_SWAPCHAINCOMPOSITION_HDR_EXTENDED_LINEAR.
|
| constexpr GPUSwapchainComposition | GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084 |
| | GPU_SWAPCHAINCOMPOSITION_HDR10_ST2084.
|
| constexpr GPUPresentMode | GPU_PRESENTMODE_VSYNC |
| | GPU_PRESENTMODE_VSYNC.
|
| constexpr GPUPresentMode | GPU_PRESENTMODE_IMMEDIATE |
| | GPU_PRESENTMODE_IMMEDIATE.
|
| constexpr GPUPresentMode | GPU_PRESENTMODE_MAILBOX |
| | GPU_PRESENTMODE_MAILBOX.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_INVALID |
| | GPU_TEXTUREFORMAT_INVALID.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_A8_UNORM |
| | GPU_TEXTUREFORMAT_A8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8_UNORM |
| | GPU_TEXTUREFORMAT_R8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8_UNORM |
| | GPU_TEXTUREFORMAT_R8G8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8B8A8_UNORM |
| | GPU_TEXTUREFORMAT_R8G8B8A8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16_UNORM |
| | GPU_TEXTUREFORMAT_R16_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16_UNORM |
| | GPU_TEXTUREFORMAT_R16G16_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16B16A16_UNORM |
| | GPU_TEXTUREFORMAT_R16G16B16A16_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R10G10B10A2_UNORM |
| | GPU_TEXTUREFORMAT_R10G10B10A2_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_B5G6R5_UNORM |
| | GPU_TEXTUREFORMAT_B5G6R5_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_B5G5R5A1_UNORM |
| | GPU_TEXTUREFORMAT_B5G5R5A1_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_B4G4R4A4_UNORM |
| | GPU_TEXTUREFORMAT_B4G4R4A4_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_B8G8R8A8_UNORM |
| | GPU_TEXTUREFORMAT_B8G8R8A8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC1_RGBA_UNORM |
| | GPU_TEXTUREFORMAT_BC1_RGBA_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC2_RGBA_UNORM |
| | GPU_TEXTUREFORMAT_BC2_RGBA_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC3_RGBA_UNORM |
| | GPU_TEXTUREFORMAT_BC3_RGBA_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC4_R_UNORM |
| | GPU_TEXTUREFORMAT_BC4_R_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC5_RG_UNORM |
| | GPU_TEXTUREFORMAT_BC5_RG_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC7_RGBA_UNORM |
| | GPU_TEXTUREFORMAT_BC7_RGBA_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC6H_RGB_FLOAT |
| | GPU_TEXTUREFORMAT_BC6H_RGB_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC6H_RGB_UFLOAT |
| | GPU_TEXTUREFORMAT_BC6H_RGB_UFLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8_SNORM |
| | GPU_TEXTUREFORMAT_R8_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8_SNORM |
| | GPU_TEXTUREFORMAT_R8G8_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8B8A8_SNORM |
| | GPU_TEXTUREFORMAT_R8G8B8A8_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16_SNORM |
| | GPU_TEXTUREFORMAT_R16_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16_SNORM |
| | GPU_TEXTUREFORMAT_R16G16_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16B16A16_SNORM |
| | GPU_TEXTUREFORMAT_R16G16B16A16_SNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16_FLOAT |
| | GPU_TEXTUREFORMAT_R16_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16_FLOAT |
| | GPU_TEXTUREFORMAT_R16G16_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT |
| | GPU_TEXTUREFORMAT_R16G16B16A16_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32_FLOAT |
| | GPU_TEXTUREFORMAT_R32_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32_FLOAT |
| | GPU_TEXTUREFORMAT_R32G32_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32B32A32_FLOAT |
| | GPU_TEXTUREFORMAT_R32G32B32A32_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R11G11B10_UFLOAT |
| | GPU_TEXTUREFORMAT_R11G11B10_UFLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8_UINT |
| | GPU_TEXTUREFORMAT_R8_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8_UINT |
| | GPU_TEXTUREFORMAT_R8G8_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8B8A8_UINT |
| | GPU_TEXTUREFORMAT_R8G8B8A8_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16_UINT |
| | GPU_TEXTUREFORMAT_R16_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16_UINT |
| | GPU_TEXTUREFORMAT_R16G16_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16B16A16_UINT |
| | GPU_TEXTUREFORMAT_R16G16B16A16_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32_UINT |
| | GPU_TEXTUREFORMAT_R32_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32_UINT |
| | GPU_TEXTUREFORMAT_R32G32_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32B32A32_UINT |
| | GPU_TEXTUREFORMAT_R32G32B32A32_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8_INT |
| | GPU_TEXTUREFORMAT_R8_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8_INT |
| | GPU_TEXTUREFORMAT_R8G8_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8B8A8_INT |
| | GPU_TEXTUREFORMAT_R8G8B8A8_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16_INT |
| | GPU_TEXTUREFORMAT_R16_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16_INT |
| | GPU_TEXTUREFORMAT_R16G16_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R16G16B16A16_INT |
| | GPU_TEXTUREFORMAT_R16G16B16A16_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32_INT |
| | GPU_TEXTUREFORMAT_R32_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32_INT |
| | GPU_TEXTUREFORMAT_R32G32_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R32G32B32A32_INT |
| | GPU_TEXTUREFORMAT_R32G32B32A32_INT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_R8G8B8A8_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_R8G8B8A8_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_B8G8R8A8_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_B8G8R8A8_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC1_RGBA_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_BC1_RGBA_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC2_RGBA_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_BC2_RGBA_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC3_RGBA_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_BC3_RGBA_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_BC7_RGBA_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_BC7_RGBA_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_D16_UNORM |
| | GPU_TEXTUREFORMAT_D16_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_D24_UNORM |
| | GPU_TEXTUREFORMAT_D24_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_D32_FLOAT |
| | GPU_TEXTUREFORMAT_D32_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_D24_UNORM_S8_UINT |
| | GPU_TEXTUREFORMAT_D24_UNORM_S8_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_D32_FLOAT_S8_UINT |
| | GPU_TEXTUREFORMAT_D32_FLOAT_S8_UINT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_4x4_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_4x4_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x4_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_5x4_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x5_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_5x5_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x5_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_6x5_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x6_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_6x6_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x5_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_8x5_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x6_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_8x6_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x8_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_8x8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x5_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_10x5_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x6_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_10x6_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x8_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_10x8_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x10_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_10x10_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x10_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_12x10_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x12_UNORM |
| | GPU_TEXTUREFORMAT_ASTC_12x12_UNORM.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_4x4_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_4x4_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x4_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_5x4_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x5_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_5x5_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x5_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_6x5_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x6_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_6x6_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x5_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_8x5_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x6_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_8x6_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x8_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_8x8_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x5_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_10x5_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x6_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_10x6_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x8_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_10x8_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x10_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_10x10_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x10_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_12x10_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x12_UNORM_SRGB |
| | GPU_TEXTUREFORMAT_ASTC_12x12_UNORM_SRGB.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_4x4_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_4x4_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x4_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_5x4_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_5x5_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_5x5_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x5_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_6x5_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_6x6_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_6x6_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x5_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_8x5_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x6_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_8x6_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_8x8_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_8x8_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x5_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_10x5_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x6_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_10x6_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x8_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_10x8_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_10x10_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_10x10_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x10_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_12x10_FLOAT.
|
| constexpr GPUTextureFormat | GPU_TEXTUREFORMAT_ASTC_12x12_FLOAT |
| | GPU_TEXTUREFORMAT_ASTC_12x12_FLOAT.
|
| constexpr GPUTextureType | GPU_TEXTURETYPE_2D |
| | The texture is a 2-dimensional image.
|
| constexpr GPUTextureType | GPU_TEXTURETYPE_2D_ARRAY |
| | The texture is a 2-dimensional array image.
|
| constexpr GPUTextureType | GPU_TEXTURETYPE_3D |
| | The texture is a 3-dimensional image.
|
| constexpr GPUTextureType | GPU_TEXTURETYPE_CUBE |
| | The texture is a cube image.
|
| constexpr GPUTextureType | GPU_TEXTURETYPE_CUBE_ARRAY |
| | The texture is a cube array image.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_SAMPLER |
| | Texture supports sampling.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_COLOR_TARGET |
| | Texture is a color render target.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_DEPTH_STENCIL_TARGET |
| | Texture is a depth stencil target.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_GRAPHICS_STORAGE_READ |
| | Texture supports storage reads in graphics stages.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_COMPUTE_STORAGE_READ |
| | Texture supports storage reads in the compute stage.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_COMPUTE_STORAGE_WRITE |
| | Texture supports storage writes in the compute stage.
|
| constexpr GPUTextureUsageFlags | GPU_TEXTUREUSAGE_COMPUTE_STORAGE_SIMULTANEOUS_READ_WRITE |
| | Texture supports reads and writes in the same compute shader.
|
| constexpr GPUSampleCount | GPU_SAMPLECOUNT_1 |
| | No multisampling.
|
|
constexpr GPUSampleCount | GPU_SAMPLECOUNT_2 = SDL_GPU_SAMPLECOUNT_2 |
| | MSAA 2x.
|
|
constexpr GPUSampleCount | GPU_SAMPLECOUNT_4 = SDL_GPU_SAMPLECOUNT_4 |
| | MSAA 4x.
|
|
constexpr GPUSampleCount | GPU_SAMPLECOUNT_8 = SDL_GPU_SAMPLECOUNT_8 |
| | MSAA 8x.
|
| constexpr GPUPrimitiveType | GPU_PRIMITIVETYPE_TRIANGLELIST |
| | A series of separate triangles.
|
| constexpr GPUPrimitiveType | GPU_PRIMITIVETYPE_TRIANGLESTRIP |
| | A series of connected triangles.
|
| constexpr GPUPrimitiveType | GPU_PRIMITIVETYPE_LINELIST |
| | A series of separate lines.
|
| constexpr GPUPrimitiveType | GPU_PRIMITIVETYPE_LINESTRIP |
| | A series of connected lines.
|
| constexpr GPUPrimitiveType | GPU_PRIMITIVETYPE_POINTLIST |
| | A series of separate points.
|
|
constexpr GPULoadOp | GPU_LOADOP_LOAD = SDL_GPU_LOADOP_LOAD |
| | The previous contents of the texture will be preserved.
|
|
constexpr GPULoadOp | GPU_LOADOP_CLEAR = SDL_GPU_LOADOP_CLEAR |
| | The contents of the texture will be cleared to a color.
|
| constexpr GPULoadOp | GPU_LOADOP_DONT_CARE = SDL_GPU_LOADOP_DONT_CARE |
| | The previous contents of the texture need not be preserved.
|
|
constexpr GPUStoreOp | GPU_STOREOP_STORE = SDL_GPU_STOREOP_STORE |
| | The contents generated during the render pass will be written to memory.
|
| constexpr GPUStoreOp | GPU_STOREOP_DONT_CARE = SDL_GPU_STOREOP_DONT_CARE |
| | The contents generated during the render pass are not needed and may be discarded.
|
| constexpr GPUStoreOp | GPU_STOREOP_RESOLVE = SDL_GPU_STOREOP_RESOLVE |
| | The multisample contents generated during the render pass will be resolved to a non-multisample texture.
|
| constexpr GPUStoreOp | GPU_STOREOP_RESOLVE_AND_STORE |
| | The multisample contents generated during the render pass will be resolved to a non-multisample texture.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_POSITIVEX |
| | GPU_CUBEMAPFACE_POSITIVEX.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_NEGATIVEX |
| | GPU_CUBEMAPFACE_NEGATIVEX.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_POSITIVEY |
| | GPU_CUBEMAPFACE_POSITIVEY.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_NEGATIVEY |
| | GPU_CUBEMAPFACE_NEGATIVEY.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_POSITIVEZ |
| | GPU_CUBEMAPFACE_POSITIVEZ.
|
| constexpr GPUCubeMapFace | GPU_CUBEMAPFACE_NEGATIVEZ |
| | GPU_CUBEMAPFACE_NEGATIVEZ.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_VERTEX |
| | Buffer is a vertex buffer.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_INDEX |
| | Buffer is an index buffer.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_INDIRECT |
| | Buffer is an indirect buffer.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_GRAPHICS_STORAGE_READ |
| | Buffer supports storage reads in graphics stages.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_COMPUTE_STORAGE_READ |
| | Buffer supports storage reads in the compute stage.
|
| constexpr GPUBufferUsageFlags | GPU_BUFFERUSAGE_COMPUTE_STORAGE_WRITE |
| | Buffer supports storage writes in the compute stage.
|
| constexpr GPUTransferBufferUsage | GPU_TRANSFERBUFFERUSAGE_UPLOAD |
| | GPU_TRANSFERBUFFERUSAGE_UPLOAD.
|
| constexpr GPUTransferBufferUsage | GPU_TRANSFERBUFFERUSAGE_DOWNLOAD |
| | GPU_TRANSFERBUFFERUSAGE_DOWNLOAD.
|
| constexpr GPUShaderStage | GPU_SHADERSTAGE_VERTEX |
| | GPU_SHADERSTAGE_VERTEX.
|
| constexpr GPUShaderStage | GPU_SHADERSTAGE_FRAGMENT |
| | GPU_SHADERSTAGE_FRAGMENT.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_INVALID |
| | GPU_VERTEXELEMENTFORMAT_INVALID.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_INT |
| | GPU_VERTEXELEMENTFORMAT_INT.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_INT2 |
| | GPU_VERTEXELEMENTFORMAT_INT2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_INT3 |
| | GPU_VERTEXELEMENTFORMAT_INT3.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_INT4 |
| | GPU_VERTEXELEMENTFORMAT_INT4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UINT |
| | GPU_VERTEXELEMENTFORMAT_UINT.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UINT2 |
| | GPU_VERTEXELEMENTFORMAT_UINT2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UINT3 |
| | GPU_VERTEXELEMENTFORMAT_UINT3.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UINT4 |
| | GPU_VERTEXELEMENTFORMAT_UINT4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_FLOAT |
| | GPU_VERTEXELEMENTFORMAT_FLOAT.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_FLOAT2 |
| | GPU_VERTEXELEMENTFORMAT_FLOAT2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_FLOAT3 |
| | GPU_VERTEXELEMENTFORMAT_FLOAT3.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_FLOAT4 |
| | GPU_VERTEXELEMENTFORMAT_FLOAT4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_BYTE2 |
| | GPU_VERTEXELEMENTFORMAT_BYTE2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_BYTE4 |
| | GPU_VERTEXELEMENTFORMAT_BYTE4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UBYTE2 |
| | GPU_VERTEXELEMENTFORMAT_UBYTE2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UBYTE4 |
| | GPU_VERTEXELEMENTFORMAT_UBYTE4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_BYTE2_NORM |
| | GPU_VERTEXELEMENTFORMAT_BYTE2_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_BYTE4_NORM |
| | GPU_VERTEXELEMENTFORMAT_BYTE4_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UBYTE2_NORM |
| | GPU_VERTEXELEMENTFORMAT_UBYTE2_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_UBYTE4_NORM |
| | GPU_VERTEXELEMENTFORMAT_UBYTE4_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_SHORT2 |
| | GPU_VERTEXELEMENTFORMAT_SHORT2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_SHORT4 |
| | GPU_VERTEXELEMENTFORMAT_SHORT4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_USHORT2 |
| | GPU_VERTEXELEMENTFORMAT_USHORT2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_USHORT4 |
| | GPU_VERTEXELEMENTFORMAT_USHORT4.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_SHORT2_NORM |
| | GPU_VERTEXELEMENTFORMAT_SHORT2_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_SHORT4_NORM |
| | GPU_VERTEXELEMENTFORMAT_SHORT4_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_USHORT2_NORM |
| | GPU_VERTEXELEMENTFORMAT_USHORT2_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_USHORT4_NORM |
| | GPU_VERTEXELEMENTFORMAT_USHORT4_NORM.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_HALF2 |
| | GPU_VERTEXELEMENTFORMAT_HALF2.
|
| constexpr GPUVertexElementFormat | GPU_VERTEXELEMENTFORMAT_HALF4 |
| | GPU_VERTEXELEMENTFORMAT_HALF4.
|
| constexpr GPUVertexInputRate | GPU_VERTEXINPUTRATE_VERTEX |
| | Attribute addressing is a function of the vertex index.
|
| constexpr GPUVertexInputRate | GPU_VERTEXINPUTRATE_INSTANCE |
| | Attribute addressing is a function of the instance index.
|
| constexpr GPUFillMode | GPU_FILLMODE_FILL |
| | Polygons will be rendered via rasterization.
|
| constexpr GPUFillMode | GPU_FILLMODE_LINE |
| | Polygon edges will be drawn as line segments.
|
| constexpr GPUCullMode | GPU_CULLMODE_NONE |
| | No triangles are culled.
|
| constexpr GPUCullMode | GPU_CULLMODE_FRONT |
| | Front-facing triangles are culled.
|
| constexpr GPUCullMode | GPU_CULLMODE_BACK |
| | Back-facing triangles are culled.
|
| constexpr GPUFrontFace | GPU_FRONTFACE_COUNTER_CLOCKWISE |
| | A triangle with counter-clockwise vertex winding will be considered front-facing.
|
|
constexpr GPUFrontFace | GPU_FRONTFACE_CLOCKWISE = SDL_GPU_FRONTFACE_CLOCKWISE |
| | A triangle with clockwise vertex winding will be considered front-facing.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_INVALID |
| | GPU_COMPAREOP_INVALID.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_NEVER |
| | The comparison always evaluates false.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_LESS |
| | The comparison evaluates reference < test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_EQUAL |
| | The comparison evaluates reference == test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_LESS_OR_EQUAL |
| | The comparison evaluates reference <= test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_GREATER |
| | The comparison evaluates reference > test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_NOT_EQUAL |
| | The comparison evaluates reference != test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_GREATER_OR_EQUAL |
| | The comparison evaluates reference >= test.
|
| constexpr GPUCompareOp | GPU_COMPAREOP_ALWAYS |
| | The comparison always evaluates true.
|
| constexpr GPUStencilOp | GPU_STENCILOP_INVALID |
| | GPU_STENCILOP_INVALID.
|
| constexpr GPUStencilOp | GPU_STENCILOP_KEEP |
| | Keeps the current value.
|
| constexpr GPUStencilOp | GPU_STENCILOP_ZERO |
| | Sets the value to 0.
|
| constexpr GPUStencilOp | GPU_STENCILOP_REPLACE |
| | Sets the value to reference.
|
| constexpr GPUStencilOp | GPU_STENCILOP_INCREMENT_AND_CLAMP |
| | Increments the current value and clamps to the maximum value.
|
| constexpr GPUStencilOp | GPU_STENCILOP_DECREMENT_AND_CLAMP |
| | Decrements the current value and clamps to 0.
|
| constexpr GPUStencilOp | GPU_STENCILOP_INVERT |
| | Bitwise-inverts the current value.
|
| constexpr GPUStencilOp | GPU_STENCILOP_INCREMENT_AND_WRAP |
| | Increments the current value and wraps back to 0.
|
| constexpr GPUStencilOp | GPU_STENCILOP_DECREMENT_AND_WRAP |
| | Decrements the current value and wraps to the maximum value.
|
| constexpr GPUBlendOp | GPU_BLENDOP_INVALID |
| | GPU_BLENDOP_INVALID.
|
|
constexpr GPUBlendOp | GPU_BLENDOP_ADD = SDL_GPU_BLENDOP_ADD |
| | (source * source_factor) + (destination * destination_factor)
|
|
constexpr GPUBlendOp | GPU_BLENDOP_SUBTRACT = SDL_GPU_BLENDOP_SUBTRACT |
| | (source * source_factor) - (destination * destination_factor)
|
| constexpr GPUBlendOp | GPU_BLENDOP_REVERSE_SUBTRACT |
| | (destination * destination_factor) - (source * source_factor)
|
| constexpr GPUBlendOp | GPU_BLENDOP_MIN |
| | min(source, destination)
|
| constexpr GPUBlendOp | GPU_BLENDOP_MAX |
| | max(source, destination)
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_INVALID |
| | GPU_BLENDFACTOR_INVALID.
|
|
constexpr GPUBlendFactor | GPU_BLENDFACTOR_ZERO = SDL_GPU_BLENDFACTOR_ZERO |
| | 0
|
|
constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE = SDL_GPU_BLENDFACTOR_ONE |
| | 1
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_SRC_COLOR |
| | source color
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE_MINUS_SRC_COLOR |
| | 1 - source color
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_DST_COLOR |
| | destination color
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE_MINUS_DST_COLOR |
| | 1 - destination color
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_SRC_ALPHA |
| | source alpha
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE_MINUS_SRC_ALPHA |
| | 1 - source alpha
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_DST_ALPHA |
| | destination alpha
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE_MINUS_DST_ALPHA |
| | 1 - destination alpha
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_CONSTANT_COLOR |
| | blend constant
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_ONE_MINUS_CONSTANT_COLOR |
| | 1 - blend constant
|
| constexpr GPUBlendFactor | GPU_BLENDFACTOR_SRC_ALPHA_SATURATE |
| | min(source alpha, 1 - destination alpha)
|
| constexpr GPUColorComponentFlags | GPU_COLORCOMPONENT_R |
| | the red component
|
| constexpr GPUColorComponentFlags | GPU_COLORCOMPONENT_G |
| | the green component
|
| constexpr GPUColorComponentFlags | GPU_COLORCOMPONENT_B |
| | the blue component
|
| constexpr GPUColorComponentFlags | GPU_COLORCOMPONENT_A |
| | the alpha component
|
| constexpr GPUFilter | GPU_FILTER_NEAREST |
| | Point filtering.
|
| constexpr GPUFilter | GPU_FILTER_LINEAR |
| | Linear filtering.
|
| constexpr GPUSamplerMipmapMode | GPU_SAMPLERMIPMAPMODE_NEAREST |
| | Point filtering.
|
| constexpr GPUSamplerMipmapMode | GPU_SAMPLERMIPMAPMODE_LINEAR |
| | Linear filtering.
|
| constexpr GPUSamplerAddressMode | GPU_SAMPLERADDRESSMODE_REPEAT |
| | Specifies that the coordinates will wrap around.
|
| constexpr GPUSamplerAddressMode | GPU_SAMPLERADDRESSMODE_MIRRORED_REPEAT |
| | Specifies that the coordinates will wrap around mirrored.
|
| constexpr GPUSamplerAddressMode | GPU_SAMPLERADDRESSMODE_CLAMP_TO_EDGE |
| | Specifies that the coordinates will clamp to the 0-1 range.
|
| constexpr Uint32 | HAPTIC_INFINITY = SDL_HAPTIC_INFINITY |
| | Used to play a device an infinite number of times.
|
| constexpr hid_bus_type | HID_API_BUS_UNKNOWN |
| | Unknown bus type.
|
| constexpr hid_bus_type | HID_API_BUS_USB = SDL_HID_API_BUS_USB |
| | USB bus Specifications:
|
| constexpr hid_bus_type | HID_API_BUS_BLUETOOTH = SDL_HID_API_BUS_BLUETOOTH |
| | Bluetooth or Bluetooth LE bus Specifications:
|
| constexpr hid_bus_type | HID_API_BUS_I2C = SDL_HID_API_BUS_I2C |
| | I2C bus Specifications:
|
| constexpr hid_bus_type | HID_API_BUS_SPI = SDL_HID_API_BUS_SPI |
| | SPI bus Specifications:
|
|
constexpr HintPriority | HINT_DEFAULT = SDL_HINT_DEFAULT |
| | DEFAULT.
|
|
constexpr HintPriority | HINT_NORMAL = SDL_HINT_NORMAL |
| | NORMAL.
|
|
constexpr HintPriority | HINT_OVERRIDE = SDL_HINT_OVERRIDE |
| | OVERRIDE.
|
| constexpr AnimationDecoderStatus | DECODER_STATUS_INVALID |
| | The decoder is invalid.
|
| constexpr AnimationDecoderStatus | DECODER_STATUS_OK |
| | The decoder is ready to decode the next frame.
|
| constexpr AnimationDecoderStatus | DECODER_STATUS_FAILED |
| | The decoder failed to decode a frame, call GetError() for more information.
|
| constexpr AnimationDecoderStatus | DECODER_STATUS_COMPLETE |
| | No more frames available.
|
| constexpr InitFlags | INIT_AUDIO |
| | INIT_AUDIO implies INIT_EVENTS
|
|
constexpr InitFlags | INIT_VIDEO = SDL_INIT_VIDEO |
| | INIT_VIDEO implies INIT_EVENTS, should be initialized on the main thread
|
| constexpr InitFlags | INIT_JOYSTICK |
| | INIT_JOYSTICK implies INIT_EVENTS
|
|
constexpr InitFlags | INIT_HAPTIC = SDL_INIT_HAPTIC |
| | HAPTIC.
|
| constexpr InitFlags | INIT_GAMEPAD |
| | INIT_GAMEPAD implies INIT_JOYSTICK
|
|
constexpr InitFlags | INIT_EVENTS = SDL_INIT_EVENTS |
| | EVENTS.
|
| constexpr InitFlags | INIT_SENSOR |
| | INIT_SENSOR implies INIT_EVENTS
|
| constexpr InitFlags | INIT_CAMERA |
| | INIT_CAMERA implies INIT_EVENTS
|
| constexpr IOStatus | IO_STATUS_READY |
| | Everything is ready (no errors and not EOF).
|
| constexpr IOStatus | IO_STATUS_ERROR |
| | Read or write I/O error.
|
|
constexpr IOStatus | IO_STATUS_EOF = SDL_IO_STATUS_EOF |
| | End of file.
|
| constexpr IOStatus | IO_STATUS_NOT_READY |
| | Non blocking I/O, not ready.
|
| constexpr IOStatus | IO_STATUS_READONLY |
| | Tried to write a read-only buffer.
|
| constexpr IOStatus | IO_STATUS_WRITEONLY |
| | Tried to read a write-only buffer.
|
| constexpr IOWhence | IO_SEEK_SET |
| | Seek from the beginning of data.
|
| constexpr IOWhence | IO_SEEK_CUR |
| | Seek relative to current read point.
|
| constexpr IOWhence | IO_SEEK_END |
| | Seek relative to the end of data.
|
| constexpr JoystickType | JOYSTICK_TYPE_UNKNOWN |
| | JOYSTICK_TYPE_UNKNOWN.
|
| constexpr JoystickType | JOYSTICK_TYPE_GAMEPAD |
| | JOYSTICK_TYPE_GAMEPAD.
|
| constexpr JoystickType | JOYSTICK_TYPE_WHEEL |
| | JOYSTICK_TYPE_WHEEL.
|
| constexpr JoystickType | JOYSTICK_TYPE_ARCADE_STICK |
| | JOYSTICK_TYPE_ARCADE_STICK.
|
| constexpr JoystickType | JOYSTICK_TYPE_FLIGHT_STICK |
| | JOYSTICK_TYPE_FLIGHT_STICK.
|
| constexpr JoystickType | JOYSTICK_TYPE_DANCE_PAD |
| | JOYSTICK_TYPE_DANCE_PAD.
|
| constexpr JoystickType | JOYSTICK_TYPE_GUITAR |
| | JOYSTICK_TYPE_GUITAR.
|
| constexpr JoystickType | JOYSTICK_TYPE_DRUM_KIT |
| | JOYSTICK_TYPE_DRUM_KIT.
|
| constexpr JoystickType | JOYSTICK_TYPE_ARCADE_PAD |
| | JOYSTICK_TYPE_ARCADE_PAD.
|
| constexpr JoystickType | JOYSTICK_TYPE_THROTTLE |
| | JOYSTICK_TYPE_THROTTLE.
|
| constexpr JoystickType | JOYSTICK_TYPE_COUNT |
| | JOYSTICK_TYPE_COUNT.
|
| constexpr JoystickConnectionState | JOYSTICK_CONNECTION_INVALID |
| | JOYSTICK_CONNECTION_INVALID.
|
| constexpr JoystickConnectionState | JOYSTICK_CONNECTION_UNKNOWN |
| | JOYSTICK_CONNECTION_UNKNOWN.
|
| constexpr JoystickConnectionState | JOYSTICK_CONNECTION_WIRED |
| | JOYSTICK_CONNECTION_WIRED.
|
| constexpr JoystickConnectionState | JOYSTICK_CONNECTION_WIRELESS |
| | JOYSTICK_CONNECTION_WIRELESS.
|
|
constexpr Uint8 | HAT_CENTERED = SDL_HAT_CENTERED |
| | CENTERED.
|
|
constexpr Uint8 | HAT_UP = SDL_HAT_UP |
| | UP.
|
|
constexpr Uint8 | HAT_RIGHT = SDL_HAT_RIGHT |
| | RIGHT.
|
|
constexpr Uint8 | HAT_DOWN = SDL_HAT_DOWN |
| | DOWN.
|
|
constexpr Uint8 | HAT_LEFT = SDL_HAT_LEFT |
| | LEFT.
|
|
constexpr Uint8 | HAT_RIGHTUP = SDL_HAT_RIGHTUP |
| | RIGHTUP.
|
|
constexpr Uint8 | HAT_RIGHTDOWN = SDL_HAT_RIGHTDOWN |
| | RIGHTDOWN.
|
|
constexpr Uint8 | HAT_LEFTUP = SDL_HAT_LEFTUP |
| | LEFTUP.
|
|
constexpr Uint8 | HAT_LEFTDOWN = SDL_HAT_LEFTDOWN |
| | LEFTDOWN.
|
| constexpr int | JOYSTICK_AXIS_MAX = SDL_JOYSTICK_AXIS_MAX |
| | The largest value an Joystick's axis can report.
|
| constexpr int | JOYSTICK_AXIS_MIN = SDL_JOYSTICK_AXIS_MIN |
| | The smallest value an Joystick's axis can report.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT |
| | The input is text.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT_NAME |
| | The input is a person's name.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT_EMAIL |
| | The input is an e-mail address.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT_USERNAME |
| | The input is a username.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT_PASSWORD_HIDDEN |
| | The input is a secure password that is hidden.
|
| constexpr TextInputType | TEXTINPUT_TYPE_TEXT_PASSWORD_VISIBLE |
| | The input is a secure password that is visible.
|
| constexpr TextInputType | TEXTINPUT_TYPE_NUMBER |
| | The input is a number.
|
| constexpr TextInputType | TEXTINPUT_TYPE_NUMBER_PASSWORD_HIDDEN |
| | The input is a secure PIN that is hidden.
|
| constexpr TextInputType | TEXTINPUT_TYPE_NUMBER_PASSWORD_VISIBLE |
| | The input is a secure PIN that is visible.
|
| constexpr Capitalization | CAPITALIZE_NONE |
| | No auto-capitalization will be done.
|
| constexpr Capitalization | CAPITALIZE_SENTENCES |
| | The first letter of sentences will be capitalized.
|
| constexpr Capitalization | CAPITALIZE_WORDS |
| | The first letter of words will be capitalized.
|
| constexpr Capitalization | CAPITALIZE_LETTERS |
| | All letters will be capitalized.
|
|
constexpr Keymod | KMOD_NONE = SDL_KMOD_NONE |
| | no modifier is applicable.
|
|
constexpr Keymod | KMOD_LSHIFT = SDL_KMOD_LSHIFT |
| | the left Shift key is down.
|
| constexpr Keymod | KMOD_RSHIFT |
| | the right Shift key is down.
|
| constexpr Keymod | KMOD_LEVEL5 |
| | the Level 5 Shift key is down.
|
| constexpr Keymod | KMOD_LCTRL |
| | the left Ctrl (Control) key is down.
|
| constexpr Keymod | KMOD_RCTRL |
| | the right Ctrl (Control) key is down.
|
|
constexpr Keymod | KMOD_LALT = SDL_KMOD_LALT |
| | the left Alt key is down.
|
|
constexpr Keymod | KMOD_RALT = SDL_KMOD_RALT |
| | the right Alt key is down.
|
| constexpr Keymod | KMOD_LGUI |
| | the left GUI key (often the Windows key) is down.
|
| constexpr Keymod | KMOD_RGUI |
| | the right GUI key (often the Windows key) is down.
|
|
constexpr Keymod | KMOD_NUM = SDL_KMOD_NUM |
| | the Num Lock key (may be located on an extended keypad) is down.
|
|
constexpr Keymod | KMOD_CAPS = SDL_KMOD_CAPS |
| | the Caps Lock key is down.
|
|
constexpr Keymod | KMOD_MODE = SDL_KMOD_MODE |
| | the !AltGr key is down.
|
| constexpr Keymod | KMOD_SCROLL |
| | the Scroll Lock key is down.
|
|
constexpr Keymod | KMOD_CTRL = SDL_KMOD_CTRL |
| | Any Ctrl key is down.
|
|
constexpr Keymod | KMOD_SHIFT = SDL_KMOD_SHIFT |
| | Any Shift key is down.
|
|
constexpr Keymod | KMOD_ALT = SDL_KMOD_ALT |
| | Any Alt key is down.
|
|
constexpr Keymod | KMOD_GUI = SDL_KMOD_GUI |
| | Any GUI key is down.
|
|
constexpr Keycode | KEYCODE_UNKNOWN = SDLK_UNKNOWN |
| | 0
|
|
constexpr Keycode | KEYCODE_RETURN = SDLK_RETURN |
| | '\r'
|
|
constexpr Keycode | KEYCODE_ESCAPE = SDLK_ESCAPE |
| | '\x1B'
|
|
constexpr Keycode | KEYCODE_BACKSPACE = SDLK_BACKSPACE |
| | '\b'
|
|
constexpr Keycode | KEYCODE_TAB = SDLK_TAB |
| | '\t'
|
|
constexpr Keycode | KEYCODE_SPACE = SDLK_SPACE |
| | ' '
|
|
constexpr Keycode | KEYCODE_EXCLAIM = SDLK_EXCLAIM |
| | '!'
|
|
constexpr Keycode | KEYCODE_DBLAPOSTROPHE = SDLK_DBLAPOSTROPHE |
| | '"'
|
|
constexpr Keycode | KEYCODE_HASH = SDLK_HASH |
| | '#'
|
|
constexpr Keycode | KEYCODE_DOLLAR = SDLK_DOLLAR |
| | '$'
|
|
constexpr Keycode | KEYCODE_PERCENT = SDLK_PERCENT |
| | ''
|
|
constexpr Keycode | KEYCODE_AMPERSAND = SDLK_AMPERSAND |
| | '&'
|
|
constexpr Keycode | KEYCODE_APOSTROPHE = SDLK_APOSTROPHE |
| | '\''
|
|
constexpr Keycode | KEYCODE_LEFTPAREN = SDLK_LEFTPAREN |
| | '('
|
|
constexpr Keycode | KEYCODE_RIGHTPAREN = SDLK_RIGHTPAREN |
| | ')'
|
|
constexpr Keycode | KEYCODE_ASTERISK = SDLK_ASTERISK |
| | '*'
|
|
constexpr Keycode | KEYCODE_PLUS = SDLK_PLUS |
| | '+'
|
|
constexpr Keycode | KEYCODE_COMMA = SDLK_COMMA |
| | ','
|
|
constexpr Keycode | KEYCODE_MINUS = SDLK_MINUS |
| | '-'
|
|
constexpr Keycode | KEYCODE_PERIOD = SDLK_PERIOD |
| | '.'
|
|
constexpr Keycode | KEYCODE_SLASH = SDLK_SLASH |
| | '/'
|
|
constexpr Keycode | KEYCODE_0 = SDLK_0 |
| | '0'
|
|
constexpr Keycode | KEYCODE_1 = SDLK_1 |
| | '1'
|
|
constexpr Keycode | KEYCODE_2 = SDLK_2 |
| | '2'
|
|
constexpr Keycode | KEYCODE_3 = SDLK_3 |
| | '3'
|
|
constexpr Keycode | KEYCODE_4 = SDLK_4 |
| | '4'
|
|
constexpr Keycode | KEYCODE_5 = SDLK_5 |
| | '5'
|
|
constexpr Keycode | KEYCODE_6 = SDLK_6 |
| | '6'
|
|
constexpr Keycode | KEYCODE_7 = SDLK_7 |
| | '7'
|
|
constexpr Keycode | KEYCODE_8 = SDLK_8 |
| | '8'
|
|
constexpr Keycode | KEYCODE_9 = SDLK_9 |
| | '9'
|
|
constexpr Keycode | KEYCODE_COLON = SDLK_COLON |
| | ':'
|
|
constexpr Keycode | KEYCODE_SEMICOLON = SDLK_SEMICOLON |
| | ';'
|
|
constexpr Keycode | KEYCODE_LESS = SDLK_LESS |
| | '<'
|
|
constexpr Keycode | KEYCODE_EQUALS = SDLK_EQUALS |
| | '='
|
|
constexpr Keycode | KEYCODE_GREATER = SDLK_GREATER |
| | '>'
|
|
constexpr Keycode | KEYCODE_QUESTION = SDLK_QUESTION |
| | '?'
|
|
constexpr Keycode | KEYCODE_AT = SDLK_AT |
| | '@'
|
|
constexpr Keycode | KEYCODE_LEFTBRACKET = SDLK_LEFTBRACKET |
| | '['
|
|
constexpr Keycode | KEYCODE_BACKSLASH = SDLK_BACKSLASH |
| | '\b'
|
|
constexpr Keycode | KEYCODE_RIGHTBRACKET = SDLK_RIGHTBRACKET |
| | ']'
|
|
constexpr Keycode | KEYCODE_CARET = SDLK_CARET |
| | '^'
|
|
constexpr Keycode | KEYCODE_UNDERSCORE = SDLK_UNDERSCORE |
| | '_'
|
|
constexpr Keycode | KEYCODE_GRAVE = SDLK_GRAVE |
| | '`'
|
|
constexpr Keycode | KEYCODE_A = SDLK_A |
| | 'a'
|
|
constexpr Keycode | KEYCODE_B = SDLK_B |
| | 'b'
|
|
constexpr Keycode | KEYCODE_C = SDLK_C |
| | 'c'
|
|
constexpr Keycode | KEYCODE_D = SDLK_D |
| | 'd'
|
|
constexpr Keycode | KEYCODE_E = SDLK_E |
| | 'e'
|
|
constexpr Keycode | KEYCODE_F = SDLK_F |
| | 'f'
|
|
constexpr Keycode | KEYCODE_G = SDLK_G |
| | 'g'
|
|
constexpr Keycode | KEYCODE_H = SDLK_H |
| | 'h'
|
|
constexpr Keycode | KEYCODE_I = SDLK_I |
| | 'i'
|
|
constexpr Keycode | KEYCODE_J = SDLK_J |
| | 'j'
|
|
constexpr Keycode | KEYCODE_K = SDLK_K |
| | 'k'
|
|
constexpr Keycode | KEYCODE_L = SDLK_L |
| | 'l'
|
|
constexpr Keycode | KEYCODE_M = SDLK_M |
| | 'm'
|
|
constexpr Keycode | KEYCODE_N = SDLK_N |
| | 'n'
|
|
constexpr Keycode | KEYCODE_O = SDLK_O |
| | 'o'
|
|
constexpr Keycode | KEYCODE_P = SDLK_P |
| | 'p'
|
|
constexpr Keycode | KEYCODE_Q = SDLK_Q |
| | 'q'
|
|
constexpr Keycode | KEYCODE_R = SDLK_R |
| | 'r'
|
|
constexpr Keycode | KEYCODE_S = SDLK_S |
| | 's'
|
|
constexpr Keycode | KEYCODE_T = SDLK_T |
| | 't'
|
|
constexpr Keycode | KEYCODE_U = SDLK_U |
| | 'u'
|
|
constexpr Keycode | KEYCODE_V = SDLK_V |
| | 'v'
|
|
constexpr Keycode | KEYCODE_W = SDLK_W |
| | 'w'
|
|
constexpr Keycode | KEYCODE_X = SDLK_X |
| | 'x'
|
|
constexpr Keycode | KEYCODE_Y = SDLK_Y |
| | 'y'
|
|
constexpr Keycode | KEYCODE_Z = SDLK_Z |
| | 'z'
|
|
constexpr Keycode | KEYCODE_LEFTBRACE = SDLK_LEFTBRACE |
| | '{'
|
|
constexpr Keycode | KEYCODE_PIPE = SDLK_PIPE |
| | '|'
|
|
constexpr Keycode | KEYCODE_RIGHTBRACE = SDLK_RIGHTBRACE |
| | '}'
|
|
constexpr Keycode | KEYCODE_TILDE = SDLK_TILDE |
| | '~'
|
|
constexpr Keycode | KEYCODE_DELETE = SDLK_DELETE |
| | '\x7F'
|
|
constexpr Keycode | KEYCODE_PLUSMINUS = SDLK_PLUSMINUS |
| | '\xB1'
|
| constexpr Keycode | KEYCODE_CAPSLOCK |
| | ScancodeToKeycode(SCANCODE_CAPSLOCK).
|
|
constexpr Keycode | KEYCODE_F1 = SDLK_F1 |
| | ScancodeToKeycode(SCANCODE_F1).
|
|
constexpr Keycode | KEYCODE_F2 = SDLK_F2 |
| | ScancodeToKeycode(SCANCODE_F2).
|
|
constexpr Keycode | KEYCODE_F3 = SDLK_F3 |
| | ScancodeToKeycode(SCANCODE_F3).
|
|
constexpr Keycode | KEYCODE_F4 = SDLK_F4 |
| | ScancodeToKeycode(SCANCODE_F4).
|
|
constexpr Keycode | KEYCODE_F5 = SDLK_F5 |
| | ScancodeToKeycode(SCANCODE_F5).
|
|
constexpr Keycode | KEYCODE_F6 = SDLK_F6 |
| | ScancodeToKeycode(SCANCODE_F6).
|
|
constexpr Keycode | KEYCODE_F7 = SDLK_F7 |
| | ScancodeToKeycode(SCANCODE_F7).
|
|
constexpr Keycode | KEYCODE_F8 = SDLK_F8 |
| | ScancodeToKeycode(SCANCODE_F8).
|
|
constexpr Keycode | KEYCODE_F9 = SDLK_F9 |
| | ScancodeToKeycode(SCANCODE_F9).
|
|
constexpr Keycode | KEYCODE_F10 = SDLK_F10 |
| | ScancodeToKeycode(SCANCODE_F10).
|
|
constexpr Keycode | KEYCODE_F11 = SDLK_F11 |
| | ScancodeToKeycode(SCANCODE_F11).
|
|
constexpr Keycode | KEYCODE_F12 = SDLK_F12 |
| | ScancodeToKeycode(SCANCODE_F12).
|
| constexpr Keycode | KEYCODE_PRINTSCREEN |
| | ScancodeToKeycode(SCANCODE_PRINTSCREEN).
|
| constexpr Keycode | KEYCODE_SCROLLLOCK |
| | ScancodeToKeycode(SCANCODE_SCROLLLOCK).
|
| constexpr Keycode | KEYCODE_PAUSE |
| | ScancodeToKeycode(SCANCODE_PAUSE).
|
| constexpr Keycode | KEYCODE_INSERT |
| | ScancodeToKeycode(SCANCODE_INSERT).
|
| constexpr Keycode | KEYCODE_HOME |
| | ScancodeToKeycode(SCANCODE_HOME).
|
| constexpr Keycode | KEYCODE_PAGEUP |
| | ScancodeToKeycode(SCANCODE_PAGEUP).
|
|
constexpr Keycode | KEYCODE_END = SDLK_END |
| | ScancodeToKeycode(SCANCODE_END).
|
| constexpr Keycode | KEYCODE_PAGEDOWN |
| | ScancodeToKeycode(SCANCODE_PAGEDOWN).
|
| constexpr Keycode | KEYCODE_RIGHT |
| | ScancodeToKeycode(SCANCODE_RIGHT).
|
| constexpr Keycode | KEYCODE_LEFT |
| | ScancodeToKeycode(SCANCODE_LEFT).
|
| constexpr Keycode | KEYCODE_DOWN |
| | ScancodeToKeycode(SCANCODE_DOWN).
|
|
constexpr Keycode | KEYCODE_UP = SDLK_UP |
| | ScancodeToKeycode(SCANCODE_UP).
|
| constexpr Keycode | KEYCODE_NUMLOCKCLEAR |
| | ScancodeToKeycode(SCANCODE_NUMLOCKCLEAR).
|
| constexpr Keycode | KEYCODE_KP_DIVIDE |
| | ScancodeToKeycode(SCANCODE_KP_DIVIDE).
|
| constexpr Keycode | KEYCODE_KP_MULTIPLY |
| | ScancodeToKeycode(SCANCODE_KP_MULTIPLY).
|
| constexpr Keycode | KEYCODE_KP_MINUS |
| | ScancodeToKeycode(SCANCODE_KP_MINUS).
|
| constexpr Keycode | KEYCODE_KP_PLUS |
| | ScancodeToKeycode(SCANCODE_KP_PLUS).
|
| constexpr Keycode | KEYCODE_KP_ENTER |
| | ScancodeToKeycode(SCANCODE_KP_ENTER).
|
| constexpr Keycode | KEYCODE_KP_1 |
| | ScancodeToKeycode(SCANCODE_KP_1).
|
| constexpr Keycode | KEYCODE_KP_2 |
| | ScancodeToKeycode(SCANCODE_KP_2).
|
| constexpr Keycode | KEYCODE_KP_3 |
| | ScancodeToKeycode(SCANCODE_KP_3).
|
| constexpr Keycode | KEYCODE_KP_4 |
| | ScancodeToKeycode(SCANCODE_KP_4).
|
| constexpr Keycode | KEYCODE_KP_5 |
| | ScancodeToKeycode(SCANCODE_KP_5).
|
| constexpr Keycode | KEYCODE_KP_6 |
| | ScancodeToKeycode(SCANCODE_KP_6).
|
| constexpr Keycode | KEYCODE_KP_7 |
| | ScancodeToKeycode(SCANCODE_KP_7).
|
| constexpr Keycode | KEYCODE_KP_8 |
| | ScancodeToKeycode(SCANCODE_KP_8).
|
| constexpr Keycode | KEYCODE_KP_9 |
| | ScancodeToKeycode(SCANCODE_KP_9).
|
| constexpr Keycode | KEYCODE_KP_0 |
| | ScancodeToKeycode(SCANCODE_KP_0).
|
| constexpr Keycode | KEYCODE_KP_PERIOD |
| | ScancodeToKeycode(SCANCODE_KP_PERIOD).
|
| constexpr Keycode | KEYCODE_APPLICATION |
| | ScancodeToKeycode(SCANCODE_APPLICATION).
|
| constexpr Keycode | KEYCODE_POWER |
| | ScancodeToKeycode(SCANCODE_POWER).
|
| constexpr Keycode | KEYCODE_KP_EQUALS |
| | ScancodeToKeycode(SCANCODE_KP_EQUALS).
|
|
constexpr Keycode | KEYCODE_F13 = SDLK_F13 |
| | ScancodeToKeycode(SCANCODE_F13).
|
|
constexpr Keycode | KEYCODE_F14 = SDLK_F14 |
| | ScancodeToKeycode(SCANCODE_F14).
|
|
constexpr Keycode | KEYCODE_F15 = SDLK_F15 |
| | ScancodeToKeycode(SCANCODE_F15).
|
|
constexpr Keycode | KEYCODE_F16 = SDLK_F16 |
| | ScancodeToKeycode(SCANCODE_F16).
|
|
constexpr Keycode | KEYCODE_F17 = SDLK_F17 |
| | ScancodeToKeycode(SCANCODE_F17).
|
|
constexpr Keycode | KEYCODE_F18 = SDLK_F18 |
| | ScancodeToKeycode(SCANCODE_F18).
|
|
constexpr Keycode | KEYCODE_F19 = SDLK_F19 |
| | ScancodeToKeycode(SCANCODE_F19).
|
|
constexpr Keycode | KEYCODE_F20 = SDLK_F20 |
| | ScancodeToKeycode(SCANCODE_F20).
|
|
constexpr Keycode | KEYCODE_F21 = SDLK_F21 |
| | ScancodeToKeycode(SCANCODE_F21).
|
|
constexpr Keycode | KEYCODE_F22 = SDLK_F22 |
| | ScancodeToKeycode(SCANCODE_F22).
|
|
constexpr Keycode | KEYCODE_F23 = SDLK_F23 |
| | ScancodeToKeycode(SCANCODE_F23).
|
|
constexpr Keycode | KEYCODE_F24 = SDLK_F24 |
| | ScancodeToKeycode(SCANCODE_F24).
|
| constexpr Keycode | KEYCODE_EXECUTE |
| | ScancodeToKeycode(SCANCODE_EXECUTE).
|
| constexpr Keycode | KEYCODE_HELP |
| | ScancodeToKeycode(SCANCODE_HELP).
|
| constexpr Keycode | KEYCODE_MENU |
| | ScancodeToKeycode(SCANCODE_MENU).
|
| constexpr Keycode | KEYCODE_SELECT |
| | ScancodeToKeycode(SCANCODE_SELECT).
|
| constexpr Keycode | KEYCODE_STOP |
| | ScancodeToKeycode(SCANCODE_STOP).
|
| constexpr Keycode | KEYCODE_AGAIN |
| | ScancodeToKeycode(SCANCODE_AGAIN).
|
| constexpr Keycode | KEYCODE_UNDO |
| | ScancodeToKeycode(SCANCODE_UNDO).
|
|
constexpr Keycode | KEYCODE_CUT = SDLK_CUT |
| | ScancodeToKeycode(SCANCODE_CUT).
|
| constexpr Keycode | KEYCODE_COPY |
| | ScancodeToKeycode(SCANCODE_COPY).
|
| constexpr Keycode | KEYCODE_PASTE |
| | ScancodeToKeycode(SCANCODE_PASTE).
|
| constexpr Keycode | KEYCODE_FIND |
| | ScancodeToKeycode(SCANCODE_FIND).
|
| constexpr Keycode | KEYCODE_MUTE |
| | ScancodeToKeycode(SCANCODE_MUTE).
|
| constexpr Keycode | KEYCODE_VOLUMEUP |
| | ScancodeToKeycode(SCANCODE_VOLUMEUP).
|
| constexpr Keycode | KEYCODE_VOLUMEDOWN |
| | ScancodeToKeycode(SCANCODE_VOLUMEDOWN).
|
| constexpr Keycode | KEYCODE_KP_COMMA |
| | ScancodeToKeycode(SCANCODE_KP_COMMA).
|
| constexpr Keycode | KEYCODE_KP_EQUALSAS400 |
| | ScancodeToKeycode(SCANCODE_KP_EQUALSAS400).
|
| constexpr Keycode | KEYCODE_ALTERASE |
| | ScancodeToKeycode(SCANCODE_ALTERASE).
|
| constexpr Keycode | KEYCODE_SYSREQ |
| | ScancodeToKeycode(SCANCODE_SYSREQ).
|
| constexpr Keycode | KEYCODE_CANCEL |
| | ScancodeToKeycode(SCANCODE_CANCEL).
|
| constexpr Keycode | KEYCODE_CLEAR |
| | ScancodeToKeycode(SCANCODE_CLEAR).
|
| constexpr Keycode | KEYCODE_PRIOR |
| | ScancodeToKeycode(SCANCODE_PRIOR).
|
| constexpr Keycode | KEYCODE_RETURN2 |
| | ScancodeToKeycode(SCANCODE_RETURN2).
|
| constexpr Keycode | KEYCODE_SEPARATOR |
| | ScancodeToKeycode(SCANCODE_SEPARATOR).
|
|
constexpr Keycode | KEYCODE_OUT = SDLK_OUT |
| | ScancodeToKeycode(SCANCODE_OUT).
|
| constexpr Keycode | KEYCODE_OPER |
| | ScancodeToKeycode(SCANCODE_OPER).
|
| constexpr Keycode | KEYCODE_CLEARAGAIN |
| | ScancodeToKeycode(SCANCODE_CLEARAGAIN).
|
| constexpr Keycode | KEYCODE_CRSEL |
| | ScancodeToKeycode(SCANCODE_CRSEL).
|
| constexpr Keycode | KEYCODE_EXSEL |
| | ScancodeToKeycode(SCANCODE_EXSEL).
|
| constexpr Keycode | KEYCODE_KP_00 |
| | ScancodeToKeycode(SCANCODE_KP_00).
|
| constexpr Keycode | KEYCODE_KP_000 |
| | ScancodeToKeycode(SCANCODE_KP_000).
|
| constexpr Keycode | KEYCODE_THOUSANDSSEPARATOR |
| | ScancodeToKeycode(SCANCODE_THOUSANDSSEPARATOR).
|
| constexpr Keycode | KEYCODE_DECIMALSEPARATOR |
| | ScancodeToKeycode(SCANCODE_DECIMALSEPARATOR).
|
| constexpr Keycode | KEYCODE_CURRENCYUNIT |
| | ScancodeToKeycode(SCANCODE_CURRENCYUNIT).
|
| constexpr Keycode | KEYCODE_CURRENCYSUBUNIT |
| | ScancodeToKeycode(SCANCODE_CURRENCYSUBUNIT).
|
| constexpr Keycode | KEYCODE_KP_LEFTPAREN |
| | ScancodeToKeycode(SCANCODE_KP_LEFTPAREN).
|
| constexpr Keycode | KEYCODE_KP_RIGHTPAREN |
| | ScancodeToKeycode(SCANCODE_KP_RIGHTPAREN).
|
| constexpr Keycode | KEYCODE_KP_LEFTBRACE |
| | ScancodeToKeycode(SCANCODE_KP_LEFTBRACE).
|
| constexpr Keycode | KEYCODE_KP_RIGHTBRACE |
| | ScancodeToKeycode(SCANCODE_KP_RIGHTBRACE).
|
| constexpr Keycode | KEYCODE_KP_TAB |
| | ScancodeToKeycode(SCANCODE_KP_TAB).
|
| constexpr Keycode | KEYCODE_KP_BACKSPACE |
| | ScancodeToKeycode(SCANCODE_KP_BACKSPACE).
|
| constexpr Keycode | KEYCODE_KP_A |
| | ScancodeToKeycode(SCANCODE_KP_A).
|
| constexpr Keycode | KEYCODE_KP_B |
| | ScancodeToKeycode(SCANCODE_KP_B).
|
| constexpr Keycode | KEYCODE_KP_C |
| | ScancodeToKeycode(SCANCODE_KP_C).
|
| constexpr Keycode | KEYCODE_KP_D |
| | ScancodeToKeycode(SCANCODE_KP_D).
|
| constexpr Keycode | KEYCODE_KP_E |
| | ScancodeToKeycode(SCANCODE_KP_E).
|
| constexpr Keycode | KEYCODE_KP_F |
| | ScancodeToKeycode(SCANCODE_KP_F).
|
| constexpr Keycode | KEYCODE_KP_XOR |
| | ScancodeToKeycode(SCANCODE_KP_XOR).
|
| constexpr Keycode | KEYCODE_KP_POWER |
| | ScancodeToKeycode(SCANCODE_KP_POWER).
|
| constexpr Keycode | KEYCODE_KP_PERCENT |
| | ScancodeToKeycode(SCANCODE_KP_PERCENT).
|
| constexpr Keycode | KEYCODE_KP_LESS |
| | ScancodeToKeycode(SCANCODE_KP_LESS).
|
| constexpr Keycode | KEYCODE_KP_GREATER |
| | ScancodeToKeycode(SCANCODE_KP_GREATER).
|
| constexpr Keycode | KEYCODE_KP_AMPERSAND |
| | ScancodeToKeycode(SCANCODE_KP_AMPERSAND).
|
| constexpr Keycode | KEYCODE_KP_DBLAMPERSAND |
| | ScancodeToKeycode(SCANCODE_KP_DBLAMPERSAND).
|
| constexpr Keycode | KEYCODE_KP_VERTICALBAR |
| | ScancodeToKeycode(SCANCODE_KP_VERTICALBAR).
|
| constexpr Keycode | KEYCODE_KP_DBLVERTICALBAR |
| | ScancodeToKeycode(SCANCODE_KP_DBLVERTICALBAR).
|
| constexpr Keycode | KEYCODE_KP_COLON |
| | ScancodeToKeycode(SCANCODE_KP_COLON).
|
| constexpr Keycode | KEYCODE_KP_HASH |
| | ScancodeToKeycode(SCANCODE_KP_HASH).
|
| constexpr Keycode | KEYCODE_KP_SPACE |
| | ScancodeToKeycode(SCANCODE_KP_SPACE).
|
| constexpr Keycode | KEYCODE_KP_AT |
| | ScancodeToKeycode(SCANCODE_KP_AT).
|
| constexpr Keycode | KEYCODE_KP_EXCLAM |
| | ScancodeToKeycode(SCANCODE_KP_EXCLAM).
|
| constexpr Keycode | KEYCODE_KP_MEMSTORE |
| | ScancodeToKeycode(SCANCODE_KP_MEMSTORE).
|
| constexpr Keycode | KEYCODE_KP_MEMRECALL |
| | ScancodeToKeycode(SCANCODE_KP_MEMRECALL).
|
| constexpr Keycode | KEYCODE_KP_MEMCLEAR |
| | ScancodeToKeycode(SCANCODE_KP_MEMCLEAR).
|
| constexpr Keycode | KEYCODE_KP_MEMADD |
| | ScancodeToKeycode(SCANCODE_KP_MEMADD).
|
| constexpr Keycode | KEYCODE_KP_MEMSUBTRACT |
| | ScancodeToKeycode(SCANCODE_KP_MEMSUBTRACT).
|
| constexpr Keycode | KEYCODE_KP_MEMMULTIPLY |
| | ScancodeToKeycode(SCANCODE_KP_MEMMULTIPLY).
|
| constexpr Keycode | KEYCODE_KP_MEMDIVIDE |
| | ScancodeToKeycode(SCANCODE_KP_MEMDIVIDE).
|
| constexpr Keycode | KEYCODE_KP_PLUSMINUS |
| | ScancodeToKeycode(SCANCODE_KP_PLUSMINUS).
|
| constexpr Keycode | KEYCODE_KP_CLEAR |
| | ScancodeToKeycode(SCANCODE_KP_CLEAR).
|
| constexpr Keycode | KEYCODE_KP_CLEARENTRY |
| | ScancodeToKeycode(SCANCODE_KP_CLEARENTRY).
|
| constexpr Keycode | KEYCODE_KP_BINARY |
| | ScancodeToKeycode(SCANCODE_KP_BINARY).
|
| constexpr Keycode | KEYCODE_KP_OCTAL |
| | ScancodeToKeycode(SCANCODE_KP_OCTAL).
|
| constexpr Keycode | KEYCODE_KP_DECIMAL |
| | ScancodeToKeycode(SCANCODE_KP_DECIMAL).
|
| constexpr Keycode | KEYCODE_KP_HEXADECIMAL |
| | ScancodeToKeycode(SCANCODE_KP_HEXADECIMAL).
|
| constexpr Keycode | KEYCODE_LCTRL |
| | ScancodeToKeycode(SCANCODE_LCTRL).
|
| constexpr Keycode | KEYCODE_LSHIFT |
| | ScancodeToKeycode(SCANCODE_LSHIFT).
|
| constexpr Keycode | KEYCODE_LALT |
| | ScancodeToKeycode(SCANCODE_LALT).
|
| constexpr Keycode | KEYCODE_LGUI |
| | ScancodeToKeycode(SCANCODE_LGUI).
|
| constexpr Keycode | KEYCODE_RCTRL |
| | ScancodeToKeycode(SCANCODE_RCTRL).
|
| constexpr Keycode | KEYCODE_RSHIFT |
| | ScancodeToKeycode(SCANCODE_RSHIFT).
|
| constexpr Keycode | KEYCODE_RALT |
| | ScancodeToKeycode(SCANCODE_RALT).
|
| constexpr Keycode | KEYCODE_RGUI |
| | ScancodeToKeycode(SCANCODE_RGUI).
|
| constexpr Keycode | KEYCODE_MODE |
| | ScancodeToKeycode(SCANCODE_MODE).
|
| constexpr Keycode | KEYCODE_SLEEP |
| | ScancodeToKeycode(SCANCODE_SLEEP).
|
| constexpr Keycode | KEYCODE_WAKE |
| | ScancodeToKeycode(SCANCODE_WAKE).
|
| constexpr Keycode | KEYCODE_CHANNEL_INCREMENT |
| | ScancodeToKeycode(SCANCODE_CHANNEL_INCREMENT).
|
| constexpr Keycode | KEYCODE_CHANNEL_DECREMENT |
| | ScancodeToKeycode(SCANCODE_CHANNEL_DECREMENT).
|
| constexpr Keycode | KEYCODE_MEDIA_PLAY |
| | ScancodeToKeycode(SCANCODE_MEDIA_PLAY).
|
| constexpr Keycode | KEYCODE_MEDIA_PAUSE |
| | ScancodeToKeycode(SCANCODE_MEDIA_PAUSE).
|
| constexpr Keycode | KEYCODE_MEDIA_RECORD |
| | ScancodeToKeycode(SCANCODE_MEDIA_RECORD).
|
| constexpr Keycode | KEYCODE_MEDIA_FAST_FORWARD |
| | ScancodeToKeycode(SCANCODE_MEDIA_FAST_FORWARD).
|
| constexpr Keycode | KEYCODE_MEDIA_REWIND |
| | ScancodeToKeycode(SCANCODE_MEDIA_REWIND).
|
| constexpr Keycode | KEYCODE_MEDIA_NEXT_TRACK |
| | ScancodeToKeycode(SCANCODE_MEDIA_NEXT_TRACK).
|
| constexpr Keycode | KEYCODE_MEDIA_PREVIOUS_TRACK |
| | ScancodeToKeycode(SCANCODE_MEDIA_PREVIOUS_TRACK).
|
| constexpr Keycode | KEYCODE_MEDIA_STOP |
| | ScancodeToKeycode(SCANCODE_MEDIA_STOP).
|
| constexpr Keycode | KEYCODE_MEDIA_EJECT |
| | ScancodeToKeycode(SCANCODE_MEDIA_EJECT).
|
| constexpr Keycode | KEYCODE_MEDIA_PLAY_PAUSE |
| | ScancodeToKeycode(SCANCODE_MEDIA_PLAY_PAUSE).
|
| constexpr Keycode | KEYCODE_MEDIA_SELECT |
| | ScancodeToKeycode(SCANCODE_MEDIA_SELECT).
|
| constexpr Keycode | KEYCODE_AC_NEW |
| | ScancodeToKeycode(SCANCODE_AC_NEW).
|
| constexpr Keycode | KEYCODE_AC_OPEN |
| | ScancodeToKeycode(SCANCODE_AC_OPEN).
|
| constexpr Keycode | KEYCODE_AC_CLOSE |
| | ScancodeToKeycode(SCANCODE_AC_CLOSE).
|
| constexpr Keycode | KEYCODE_AC_EXIT |
| | ScancodeToKeycode(SCANCODE_AC_EXIT).
|
| constexpr Keycode | KEYCODE_AC_SAVE |
| | ScancodeToKeycode(SCANCODE_AC_SAVE).
|
| constexpr Keycode | KEYCODE_AC_PRINT |
| | ScancodeToKeycode(SCANCODE_AC_PRINT).
|
| constexpr Keycode | KEYCODE_AC_PROPERTIES |
| | ScancodeToKeycode(SCANCODE_AC_PROPERTIES).
|
| constexpr Keycode | KEYCODE_AC_SEARCH |
| | ScancodeToKeycode(SCANCODE_AC_SEARCH).
|
| constexpr Keycode | KEYCODE_AC_HOME |
| | ScancodeToKeycode(SCANCODE_AC_HOME).
|
| constexpr Keycode | KEYCODE_AC_BACK |
| | ScancodeToKeycode(SCANCODE_AC_BACK).
|
| constexpr Keycode | KEYCODE_AC_FORWARD |
| | ScancodeToKeycode(SCANCODE_AC_FORWARD).
|
| constexpr Keycode | KEYCODE_AC_STOP |
| | ScancodeToKeycode(SCANCODE_AC_STOP).
|
| constexpr Keycode | KEYCODE_AC_REFRESH |
| | ScancodeToKeycode(SCANCODE_AC_REFRESH).
|
| constexpr Keycode | KEYCODE_AC_BOOKMARKS |
| | ScancodeToKeycode(SCANCODE_AC_BOOKMARKS).
|
| constexpr Keycode | KEYCODE_SOFTLEFT |
| | ScancodeToKeycode(SCANCODE_SOFTLEFT).
|
| constexpr Keycode | KEYCODE_SOFTRIGHT |
| | ScancodeToKeycode(SCANCODE_SOFTRIGHT).
|
| constexpr Keycode | KEYCODE_CALL |
| | ScancodeToKeycode(SCANCODE_CALL).
|
| constexpr Keycode | KEYCODE_ENDCALL |
| | ScancodeToKeycode(SCANCODE_ENDCALL).
|
|
constexpr Keycode | KEYCODE_LEFT_TAB = SDLK_LEFT_TAB |
| | Extended key Left Tab.
|
| constexpr Keycode | KEYCODE_LEVEL5_SHIFT |
| | Extended key Level 5 Shift.
|
| constexpr Keycode | KEYCODE_MULTI_KEY_COMPOSE |
| | Extended key Multi-key Compose.
|
|
constexpr Keycode | KEYCODE_LMETA = SDLK_LMETA |
| | Extended key Left Meta.
|
|
constexpr Keycode | KEYCODE_RMETA = SDLK_RMETA |
| | Extended key Right Meta.
|
|
constexpr Keycode | KEYCODE_LHYPER = SDLK_LHYPER |
| | Extended key Left Hyper.
|
|
constexpr Keycode | KEYCODE_RHYPER = SDLK_RHYPER |
| | Extended key Right Hyper.
|
|
constexpr Keycode | KEYCODE_EXTENDED_MASK = SDLK_EXTENDED_MASK |
| | EXTENDED_MASK.
|
|
constexpr Keycode | KEYCODE_SCANCODE_MASK = SDLK_SCANCODE_MASK |
| | SCANCODE_MASK.
|
|
constexpr Sint64 | DURATION_UNKNOWN = MIX_DURATION_UNKNOWN |
| | Unknown duration, when the length of the audio can't be determined.
|
|
constexpr Sint64 | DURATION_INFINITE = MIX_DURATION_INFINITE |
| | Infinite duration, when the audio never runs out of sound to generate.
|
| constexpr SystemCursor | SYSTEM_CURSOR_DEFAULT |
| | Default cursor. Usually an arrow.
|
| constexpr SystemCursor | SYSTEM_CURSOR_TEXT |
| | Text selection. Usually an I-beam.
|
|
constexpr SystemCursor | SYSTEM_CURSOR_WAIT = SDL_SYSTEM_CURSOR_WAIT |
| | Wait. Usually an hourglass or watch or spinning ball.
|
| constexpr SystemCursor | SYSTEM_CURSOR_CROSSHAIR |
| | Crosshair.
|
|
constexpr SystemCursor | SYSTEM_CURSOR_PROGRESS = SDL_SYSTEM_CURSOR_PROGRESS |
| | Program is busy but still interactive. Usually it's WAIT with an arrow.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NWSE_RESIZE |
| | Double arrow pointing northwest and southeast.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NESW_RESIZE |
| | Double arrow pointing northeast and southwest.
|
| constexpr SystemCursor | SYSTEM_CURSOR_EW_RESIZE |
| | Double arrow pointing west and east.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NS_RESIZE |
| | Double arrow pointing north and south.
|
|
constexpr SystemCursor | SYSTEM_CURSOR_MOVE = SDL_SYSTEM_CURSOR_MOVE |
| | Four pointed arrow pointing north, south, east, and west.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NOT_ALLOWED |
| | Not permitted. Usually a slashed circle or crossbones.
|
|
constexpr SystemCursor | SYSTEM_CURSOR_POINTER = SDL_SYSTEM_CURSOR_POINTER |
| | Pointer that indicates a link. Usually a pointing hand.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NW_RESIZE = SDL_SYSTEM_CURSOR_NW_RESIZE |
| | Window resize top-left.
|
| constexpr SystemCursor | SYSTEM_CURSOR_N_RESIZE |
| | Window resize top. May be NS_RESIZE.
|
| constexpr SystemCursor | SYSTEM_CURSOR_NE_RESIZE |
| | Window resize top-right. May be NESW_RESIZE.
|
| constexpr SystemCursor | SYSTEM_CURSOR_E_RESIZE |
| | Window resize right. May be EW_RESIZE.
|
| constexpr SystemCursor | SYSTEM_CURSOR_SE_RESIZE |
| | Window resize bottom-right.
|
| constexpr SystemCursor | SYSTEM_CURSOR_S_RESIZE |
| | Window resize bottom. May be NS_RESIZE.
|
| constexpr SystemCursor | SYSTEM_CURSOR_SW_RESIZE |
| | Window resize bottom-left.
|
| constexpr SystemCursor | SYSTEM_CURSOR_W_RESIZE |
| | Window resize left. May be EW_RESIZE.
|
|
constexpr SystemCursor | SYSTEM_CURSOR_COUNT = SDL_SYSTEM_CURSOR_COUNT |
| | COUNT.
|
| constexpr MouseWheelDirection | MOUSEWHEEL_NORMAL |
| | The scroll direction is normal.
|
| constexpr MouseWheelDirection | MOUSEWHEEL_FLIPPED |
| | The scroll direction is flipped / natural.
|
|
constexpr MouseButton | BUTTON_LEFT = SDL_BUTTON_LEFT |
| | Left button.
|
|
constexpr MouseButton | BUTTON_MIDDLE = SDL_BUTTON_MIDDLE |
| | Middle button.
|
|
constexpr MouseButton | BUTTON_RIGHT = SDL_BUTTON_RIGHT |
| | Right button.
|
|
constexpr MouseButton | BUTTON_X1 = SDL_BUTTON_X1 |
| | X1 button.
|
|
constexpr MouseButton | BUTTON_X2 = SDL_BUTTON_X2 |
| | X2 button.
|
|
constexpr MouseButtonFlags | BUTTON_LMASK = SDL_BUTTON_LMASK |
| | LMASK.
|
|
constexpr MouseButtonFlags | BUTTON_MMASK = SDL_BUTTON_MMASK |
| | MMASK.
|
|
constexpr MouseButtonFlags | BUTTON_RMASK = SDL_BUTTON_RMASK |
| | RMASK.
|
|
constexpr MouseButtonFlags | BUTTON_X1MASK = SDL_BUTTON_X1MASK |
| | X1MASK.
|
|
constexpr MouseButtonFlags | BUTTON_X2MASK = SDL_BUTTON_X2MASK |
| | X2MASK.
|
| constexpr InitStatus | INIT_STATUS_UNINITIALIZED |
| | INIT_STATUS_UNINITIALIZED.
|
| constexpr InitStatus | INIT_STATUS_INITIALIZING |
| | INIT_STATUS_INITIALIZING.
|
| constexpr InitStatus | INIT_STATUS_INITIALIZED |
| | INIT_STATUS_INITIALIZED.
|
| constexpr InitStatus | INIT_STATUS_UNINITIALIZING |
| | INIT_STATUS_UNINITIALIZING.
|
| constexpr MouseID | PEN_MOUSEID = SDL_PEN_MOUSEID |
| | The MouseID for mouse events simulated with pen input.
|
| constexpr TouchID | PEN_TOUCHID = SDL_PEN_TOUCHID |
| | The TouchID for touch events simulated with pen input.
|
| constexpr PenInputFlags | PEN_INPUT_DOWN |
| | pen is pressed down
|
| constexpr PenInputFlags | PEN_INPUT_BUTTON_1 |
| | button 1 is pressed
|
| constexpr PenInputFlags | PEN_INPUT_BUTTON_2 |
| | button 2 is pressed
|
| constexpr PenInputFlags | PEN_INPUT_BUTTON_3 |
| | button 3 is pressed
|
| constexpr PenInputFlags | PEN_INPUT_BUTTON_4 |
| | button 4 is pressed
|
| constexpr PenInputFlags | PEN_INPUT_BUTTON_5 |
| | button 5 is pressed
|
| constexpr PenInputFlags | PEN_INPUT_ERASER_TIP |
| | eraser tip is used
|
| constexpr PenInputFlags | PEN_INPUT_IN_PROXIMITY |
| | pen is in proximity (since SDL 3.4.0)
|
| constexpr PenAxis | PEN_AXIS_PRESSURE |
| | Pen pressure. Unidirectional: 0 to 1.0.
|
|
constexpr PenAxis | PEN_AXIS_XTILT = SDL_PEN_AXIS_XTILT |
| | Pen horizontal tilt angle. Bidirectional: -90.0 to 90.0 (left-to-right).
|
|
constexpr PenAxis | PEN_AXIS_YTILT = SDL_PEN_AXIS_YTILT |
| | Pen vertical tilt angle. Bidirectional: -90.0 to 90.0 (top-to-down).
|
|
constexpr PenAxis | PEN_AXIS_DISTANCE = SDL_PEN_AXIS_DISTANCE |
| | Pen distance to drawing surface. Unidirectional: 0.0 to 1.0.
|
| constexpr PenAxis | PEN_AXIS_ROTATION = SDL_PEN_AXIS_ROTATION |
| | Pen barrel rotation.
|
|
constexpr PenAxis | PEN_AXIS_SLIDER = SDL_PEN_AXIS_SLIDER |
| | Pen finger wheel or slider (e.g., Airbrush Pen). Unidirectional: 0 to 1.0.
|
| constexpr PenAxis | PEN_AXIS_TANGENTIAL_PRESSURE |
| | Pressure from squeezing the pen ("barrel pressure").
|
| constexpr PenAxis | PEN_AXIS_COUNT = SDL_PEN_AXIS_COUNT |
| | Total known pen axis types in this version of SDL.
|
| constexpr PenDeviceType | PEN_DEVICE_TYPE_INVALID |
| | Not a valid pen device.
|
| constexpr PenDeviceType | PEN_DEVICE_TYPE_UNKNOWN |
| | Don't know specifics of this pen.
|
| constexpr PenDeviceType | PEN_DEVICE_TYPE_DIRECT |
| | Pen touches display.
|
| constexpr PenDeviceType | PEN_DEVICE_TYPE_INDIRECT |
| | Pen touches something that isn't the display.
|
| constexpr Uint8 | ALPHA_OPAQUE = SDL_ALPHA_OPAQUE |
| | A fully opaque 8-bit alpha value.
|
| constexpr float | ALPHA_OPAQUE_FLOAT = SDL_ALPHA_OPAQUE_FLOAT |
| | A fully opaque floating point alpha value.
|
| constexpr Uint8 | ALPHA_TRANSPARENT = SDL_ALPHA_TRANSPARENT |
| | A fully transparent 8-bit alpha value.
|
| constexpr float | ALPHA_TRANSPARENT_FLOAT = SDL_ALPHA_TRANSPARENT_FLOAT |
| | A fully transparent floating point alpha value.
|
| constexpr ProcessIO | PROCESS_STDIO_INHERITED |
| | The I/O stream is inherited from the application.
|
| constexpr ProcessIO | PROCESS_STDIO_NULL |
| | The I/O stream is ignored.
|
|
constexpr ProcessIO | PROCESS_STDIO_APP = SDL_PROCESS_STDIO_APP |
| | The I/O stream is connected to a new IOStream that the application can read or write.
|
|
constexpr ProcessIO | PROCESS_STDIO_REDIRECT = SDL_PROCESS_STDIO_REDIRECT |
| | The I/O stream is redirected to an existing IOStream.
|
| constexpr PropertyType | PROPERTY_TYPE_INVALID |
| | INVALID.
|
| constexpr PropertyType | PROPERTY_TYPE_POINTER |
| | POINTER.
|
| constexpr PropertyType | PROPERTY_TYPE_STRING |
| | STRING.
|
| constexpr PropertyType | PROPERTY_TYPE_NUMBER |
| | NUMBER.
|
|
constexpr PropertyType | PROPERTY_TYPE_FLOAT = SDL_PROPERTY_TYPE_FLOAT |
| | FLOAT.
|
| constexpr PropertyType | PROPERTY_TYPE_BOOLEAN |
| | BOOLEAN.
|
| constexpr const char * | PROP_NAME_STRING = SDL_PROP_NAME_STRING |
| | A generic property for naming things.
|
| constexpr auto | SOFTWARE_RENDERER = SDL_SOFTWARE_RENDERER |
| | The name of the software renderer.
|
| constexpr auto | GPU_RENDERER = SDL_GPU_RENDERER |
| | The name of the GPU renderer.
|
| constexpr TextureAccess | TEXTUREACCESS_STATIC |
| | Changes rarely, not lockable.
|
| constexpr TextureAccess | TEXTUREACCESS_STREAMING |
| | Changes frequently, lockable.
|
| constexpr TextureAccess | TEXTUREACCESS_TARGET |
| | Texture can be used as a render target.
|
| constexpr TextureAddressMode | TEXTURE_ADDRESS_INVALID |
| | TEXTURE_ADDRESS_INVALID.
|
|
constexpr TextureAddressMode | TEXTURE_ADDRESS_AUTO = SDL_TEXTURE_ADDRESS_AUTO |
| | Wrapping is enabled if texture coordinates are outside [0, 1], this is the default.
|
|
constexpr TextureAddressMode | TEXTURE_ADDRESS_CLAMP = SDL_TEXTURE_ADDRESS_CLAMP |
| | Texture coordinates are clamped to the [0, 1] range.
|
| constexpr TextureAddressMode | TEXTURE_ADDRESS_WRAP |
| | The texture is repeated (tiled).
|
| constexpr RendererLogicalPresentation | LOGICAL_PRESENTATION_DISABLED |
| | There is no logical size in effect.
|
| constexpr RendererLogicalPresentation | LOGICAL_PRESENTATION_STRETCH |
| | The rendered content is stretched to the output resolution.
|
| constexpr RendererLogicalPresentation | LOGICAL_PRESENTATION_LETTERBOX |
| | The rendered content is fit to the largest dimension and the other dimension is letterboxed with the clear color.
|
| constexpr RendererLogicalPresentation | LOGICAL_PRESENTATION_OVERSCAN |
| | The rendered content is fit to the smallest dimension and the other dimension extends beyond the output bounds.
|
| constexpr RendererLogicalPresentation | LOGICAL_PRESENTATION_INTEGER_SCALE |
| | The rendered content is scaled up by integer multiples to fit the output resolution.
|
|
constexpr int | RENDERER_VSYNC_DISABLED = SDL_RENDERER_VSYNC_DISABLED |
| | Constant for disabling renderer vsync.
|
|
constexpr int | RENDERER_VSYNC_ADAPTIVE = SDL_RENDERER_VSYNC_ADAPTIVE |
| | Constant for enabling asaptive renderer vsync.
|
| constexpr int | DEBUG_TEXT_FONT_CHARACTER_SIZE |
| | The size, in pixels, of a single Renderer.RenderDebugText() character.
|
|
constexpr Scancode | SCANCODE_UNKNOWN = SDL_SCANCODE_UNKNOWN |
| | UNKNOWN.
|
|
constexpr Scancode | SCANCODE_A = SDL_SCANCODE_A |
| | A.
|
|
constexpr Scancode | SCANCODE_B = SDL_SCANCODE_B |
| | B.
|
|
constexpr Scancode | SCANCODE_C = SDL_SCANCODE_C |
| | C.
|
|
constexpr Scancode | SCANCODE_D = SDL_SCANCODE_D |
| | D.
|
|
constexpr Scancode | SCANCODE_E = SDL_SCANCODE_E |
| | E.
|
|
constexpr Scancode | SCANCODE_F = SDL_SCANCODE_F |
| | F.
|
|
constexpr Scancode | SCANCODE_G = SDL_SCANCODE_G |
| | G.
|
|
constexpr Scancode | SCANCODE_H = SDL_SCANCODE_H |
| | H.
|
|
constexpr Scancode | SCANCODE_I = SDL_SCANCODE_I |
| | I.
|
|
constexpr Scancode | SCANCODE_J = SDL_SCANCODE_J |
| | J.
|
|
constexpr Scancode | SCANCODE_K = SDL_SCANCODE_K |
| | K.
|
|
constexpr Scancode | SCANCODE_L = SDL_SCANCODE_L |
| | L.
|
|
constexpr Scancode | SCANCODE_M = SDL_SCANCODE_M |
| | M.
|
|
constexpr Scancode | SCANCODE_N = SDL_SCANCODE_N |
| | N.
|
|
constexpr Scancode | SCANCODE_O = SDL_SCANCODE_O |
| | O.
|
|
constexpr Scancode | SCANCODE_P = SDL_SCANCODE_P |
| | P.
|
|
constexpr Scancode | SCANCODE_Q = SDL_SCANCODE_Q |
| | Q.
|
|
constexpr Scancode | SCANCODE_R = SDL_SCANCODE_R |
| | R.
|
|
constexpr Scancode | SCANCODE_S = SDL_SCANCODE_S |
| | S.
|
|
constexpr Scancode | SCANCODE_T = SDL_SCANCODE_T |
| | T.
|
|
constexpr Scancode | SCANCODE_U = SDL_SCANCODE_U |
| | U.
|
|
constexpr Scancode | SCANCODE_V = SDL_SCANCODE_V |
| | V.
|
|
constexpr Scancode | SCANCODE_W = SDL_SCANCODE_W |
| | W.
|
|
constexpr Scancode | SCANCODE_X = SDL_SCANCODE_X |
| | X.
|
|
constexpr Scancode | SCANCODE_Y = SDL_SCANCODE_Y |
| | Y.
|
|
constexpr Scancode | SCANCODE_Z = SDL_SCANCODE_Z |
| | Z.
|
|
constexpr Scancode | SCANCODE_1 = SDL_SCANCODE_1 |
| | 1
|
|
constexpr Scancode | SCANCODE_2 = SDL_SCANCODE_2 |
| | 2
|
|
constexpr Scancode | SCANCODE_3 = SDL_SCANCODE_3 |
| | 3
|
|
constexpr Scancode | SCANCODE_4 = SDL_SCANCODE_4 |
| | 4
|
|
constexpr Scancode | SCANCODE_5 = SDL_SCANCODE_5 |
| | 5
|
|
constexpr Scancode | SCANCODE_6 = SDL_SCANCODE_6 |
| | 6
|
|
constexpr Scancode | SCANCODE_7 = SDL_SCANCODE_7 |
| | 7
|
|
constexpr Scancode | SCANCODE_8 = SDL_SCANCODE_8 |
| | 8
|
|
constexpr Scancode | SCANCODE_9 = SDL_SCANCODE_9 |
| | 9
|
|
constexpr Scancode | SCANCODE_0 = SDL_SCANCODE_0 |
| | 0
|
|
constexpr Scancode | SCANCODE_RETURN = SDL_SCANCODE_RETURN |
| | RETURN.
|
|
constexpr Scancode | SCANCODE_ESCAPE = SDL_SCANCODE_ESCAPE |
| | ESCAPE.
|
|
constexpr Scancode | SCANCODE_BACKSPACE = SDL_SCANCODE_BACKSPACE |
| | BACKSPACE.
|
|
constexpr Scancode | SCANCODE_TAB = SDL_SCANCODE_TAB |
| | TAB.
|
|
constexpr Scancode | SCANCODE_SPACE = SDL_SCANCODE_SPACE |
| | SPACE.
|
|
constexpr Scancode | SCANCODE_MINUS = SDL_SCANCODE_MINUS |
| | MINUS.
|
|
constexpr Scancode | SCANCODE_EQUALS = SDL_SCANCODE_EQUALS |
| | EQUALS.
|
| constexpr Scancode | SCANCODE_LEFTBRACKET |
| | LEFTBRACKET.
|
| constexpr Scancode | SCANCODE_RIGHTBRACKET |
| | RIGHTBRACKET.
|
| constexpr Scancode | SCANCODE_BACKSLASH = SDL_SCANCODE_BACKSLASH |
| | Located at the lower left of the return key on ISO keyboards and at the right end of the QWERTY row on ANSI keyboards.
|
| constexpr Scancode | SCANCODE_NONUSHASH = SDL_SCANCODE_NONUSHASH |
| | ISO USB keyboards actually use this code instead of 49 for the same key, but all OSes I've seen treat the two codes identically.
|
|
constexpr Scancode | SCANCODE_SEMICOLON = SDL_SCANCODE_SEMICOLON |
| | SEMICOLON.
|
| constexpr Scancode | SCANCODE_APOSTROPHE |
| | APOSTROPHE.
|
| constexpr Scancode | SCANCODE_GRAVE = SDL_SCANCODE_GRAVE |
| | Located in the top left corner (on both ANSI and ISO keyboards).
|
|
constexpr Scancode | SCANCODE_COMMA = SDL_SCANCODE_COMMA |
| | COMMA.
|
|
constexpr Scancode | SCANCODE_PERIOD = SDL_SCANCODE_PERIOD |
| | PERIOD.
|
|
constexpr Scancode | SCANCODE_SLASH = SDL_SCANCODE_SLASH |
| | SLASH.
|
|
constexpr Scancode | SCANCODE_CAPSLOCK = SDL_SCANCODE_CAPSLOCK |
| | CAPSLOCK.
|
|
constexpr Scancode | SCANCODE_F1 = SDL_SCANCODE_F1 |
| | F1.
|
|
constexpr Scancode | SCANCODE_F2 = SDL_SCANCODE_F2 |
| | F2.
|
|
constexpr Scancode | SCANCODE_F3 = SDL_SCANCODE_F3 |
| | F3.
|
|
constexpr Scancode | SCANCODE_F4 = SDL_SCANCODE_F4 |
| | F4.
|
|
constexpr Scancode | SCANCODE_F5 = SDL_SCANCODE_F5 |
| | F5.
|
|
constexpr Scancode | SCANCODE_F6 = SDL_SCANCODE_F6 |
| | F6.
|
|
constexpr Scancode | SCANCODE_F7 = SDL_SCANCODE_F7 |
| | F7.
|
|
constexpr Scancode | SCANCODE_F8 = SDL_SCANCODE_F8 |
| | F8.
|
|
constexpr Scancode | SCANCODE_F9 = SDL_SCANCODE_F9 |
| | F9.
|
|
constexpr Scancode | SCANCODE_F10 = SDL_SCANCODE_F10 |
| | F10.
|
|
constexpr Scancode | SCANCODE_F11 = SDL_SCANCODE_F11 |
| | F11.
|
|
constexpr Scancode | SCANCODE_F12 = SDL_SCANCODE_F12 |
| | F12.
|
| constexpr Scancode | SCANCODE_PRINTSCREEN |
| | PRINTSCREEN.
|
| constexpr Scancode | SCANCODE_SCROLLLOCK |
| | SCROLLLOCK.
|
|
constexpr Scancode | SCANCODE_PAUSE = SDL_SCANCODE_PAUSE |
| | PAUSE.
|
|
constexpr Scancode | SCANCODE_INSERT = SDL_SCANCODE_INSERT |
| | insert on PC, help on some Mac keyboards (but does send code 73, not 117)
|
|
constexpr Scancode | SCANCODE_HOME = SDL_SCANCODE_HOME |
| | HOME.
|
|
constexpr Scancode | SCANCODE_PAGEUP = SDL_SCANCODE_PAGEUP |
| | PAGEUP.
|
|
constexpr Scancode | SCANCODE_DELETE = SDL_SCANCODE_DELETE |
| | DELETE.
|
|
constexpr Scancode | SCANCODE_END = SDL_SCANCODE_END |
| | END.
|
|
constexpr Scancode | SCANCODE_PAGEDOWN = SDL_SCANCODE_PAGEDOWN |
| | PAGEDOWN.
|
|
constexpr Scancode | SCANCODE_RIGHT = SDL_SCANCODE_RIGHT |
| | RIGHT.
|
|
constexpr Scancode | SCANCODE_LEFT = SDL_SCANCODE_LEFT |
| | LEFT.
|
|
constexpr Scancode | SCANCODE_DOWN = SDL_SCANCODE_DOWN |
| | DOWN.
|
|
constexpr Scancode | SCANCODE_UP = SDL_SCANCODE_UP |
| | UP.
|
| constexpr Scancode | SCANCODE_NUMLOCKCLEAR |
| | num lock on PC, clear on Mac keyboards
|
|
constexpr Scancode | SCANCODE_KP_DIVIDE = SDL_SCANCODE_KP_DIVIDE |
| | KP_DIVIDE.
|
| constexpr Scancode | SCANCODE_KP_MULTIPLY |
| | KP_MULTIPLY.
|
|
constexpr Scancode | SCANCODE_KP_MINUS = SDL_SCANCODE_KP_MINUS |
| | KP_MINUS.
|
|
constexpr Scancode | SCANCODE_KP_PLUS = SDL_SCANCODE_KP_PLUS |
| | KP_PLUS.
|
|
constexpr Scancode | SCANCODE_KP_ENTER = SDL_SCANCODE_KP_ENTER |
| | KP_ENTER.
|
|
constexpr Scancode | SCANCODE_KP_1 = SDL_SCANCODE_KP_1 |
| | KP_1.
|
|
constexpr Scancode | SCANCODE_KP_2 = SDL_SCANCODE_KP_2 |
| | KP_2.
|
|
constexpr Scancode | SCANCODE_KP_3 = SDL_SCANCODE_KP_3 |
| | KP_3.
|
|
constexpr Scancode | SCANCODE_KP_4 = SDL_SCANCODE_KP_4 |
| | KP_4.
|
|
constexpr Scancode | SCANCODE_KP_5 = SDL_SCANCODE_KP_5 |
| | KP_5.
|
|
constexpr Scancode | SCANCODE_KP_6 = SDL_SCANCODE_KP_6 |
| | KP_6.
|
|
constexpr Scancode | SCANCODE_KP_7 = SDL_SCANCODE_KP_7 |
| | KP_7.
|
|
constexpr Scancode | SCANCODE_KP_8 = SDL_SCANCODE_KP_8 |
| | KP_8.
|
|
constexpr Scancode | SCANCODE_KP_9 = SDL_SCANCODE_KP_9 |
| | KP_9.
|
|
constexpr Scancode | SCANCODE_KP_0 = SDL_SCANCODE_KP_0 |
| | KP_0.
|
|
constexpr Scancode | SCANCODE_KP_PERIOD = SDL_SCANCODE_KP_PERIOD |
| | KP_PERIOD.
|
| constexpr Scancode | SCANCODE_NONUSBACKSLASH = SDL_SCANCODE_NONUSBACKSLASH |
| | This is the additional key that ISO keyboards have over ANSI ones, located between left shift and Z.
|
| constexpr Scancode | SCANCODE_APPLICATION |
| | windows contextual menu, compose
|
|
constexpr Scancode | SCANCODE_POWER = SDL_SCANCODE_POWER |
| | The USB document says this is a status flag, not a physical key - but some Mac keyboards do have a power key.
|
|
constexpr Scancode | SCANCODE_KP_EQUALS = SDL_SCANCODE_KP_EQUALS |
| | KP_EQUALS.
|
|
constexpr Scancode | SCANCODE_F13 = SDL_SCANCODE_F13 |
| | F13.
|
|
constexpr Scancode | SCANCODE_F14 = SDL_SCANCODE_F14 |
| | F14.
|
|
constexpr Scancode | SCANCODE_F15 = SDL_SCANCODE_F15 |
| | F15.
|
|
constexpr Scancode | SCANCODE_F16 = SDL_SCANCODE_F16 |
| | F16.
|
|
constexpr Scancode | SCANCODE_F17 = SDL_SCANCODE_F17 |
| | F17.
|
|
constexpr Scancode | SCANCODE_F18 = SDL_SCANCODE_F18 |
| | F18.
|
|
constexpr Scancode | SCANCODE_F19 = SDL_SCANCODE_F19 |
| | F19.
|
|
constexpr Scancode | SCANCODE_F20 = SDL_SCANCODE_F20 |
| | F20.
|
|
constexpr Scancode | SCANCODE_F21 = SDL_SCANCODE_F21 |
| | F21.
|
|
constexpr Scancode | SCANCODE_F22 = SDL_SCANCODE_F22 |
| | F22.
|
|
constexpr Scancode | SCANCODE_F23 = SDL_SCANCODE_F23 |
| | F23.
|
|
constexpr Scancode | SCANCODE_F24 = SDL_SCANCODE_F24 |
| | F24.
|
|
constexpr Scancode | SCANCODE_EXECUTE = SDL_SCANCODE_EXECUTE |
| | EXECUTE.
|
| constexpr Scancode | SCANCODE_HELP |
| | AL Integrated Help Center.
|
|
constexpr Scancode | SCANCODE_MENU = SDL_SCANCODE_MENU |
| | Menu (show menu).
|
|
constexpr Scancode | SCANCODE_SELECT = SDL_SCANCODE_SELECT |
| | SELECT.
|
|
constexpr Scancode | SCANCODE_STOP = SDL_SCANCODE_STOP |
| | AC Stop.
|
|
constexpr Scancode | SCANCODE_AGAIN = SDL_SCANCODE_AGAIN |
| | AC Redo/Repeat.
|
|
constexpr Scancode | SCANCODE_UNDO = SDL_SCANCODE_UNDO |
| | AC Undo.
|
|
constexpr Scancode | SCANCODE_CUT = SDL_SCANCODE_CUT |
| | AC Cut.
|
|
constexpr Scancode | SCANCODE_COPY = SDL_SCANCODE_COPY |
| | AC Copy.
|
|
constexpr Scancode | SCANCODE_PASTE = SDL_SCANCODE_PASTE |
| | AC Paste.
|
|
constexpr Scancode | SCANCODE_FIND = SDL_SCANCODE_FIND |
| | AC Find.
|
|
constexpr Scancode | SCANCODE_MUTE = SDL_SCANCODE_MUTE |
| | MUTE.
|
|
constexpr Scancode | SCANCODE_VOLUMEUP = SDL_SCANCODE_VOLUMEUP |
| | VOLUMEUP.
|
| constexpr Scancode | SCANCODE_VOLUMEDOWN |
| | VOLUMEDOWN.
|
|
constexpr Scancode | SCANCODE_KP_COMMA = SDL_SCANCODE_KP_COMMA |
| | KP_COMMA.
|
| constexpr Scancode | SCANCODE_KP_EQUALSAS400 |
| | KP_EQUALSAS400.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL1 |
| | used on Asian keyboards, see footnotes in USB doc
|
| constexpr Scancode | SCANCODE_INTERNATIONAL2 |
| | INTERNATIONAL2.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL3 |
| | Yen.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL4 |
| | INTERNATIONAL4.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL5 |
| | INTERNATIONAL5.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL6 |
| | INTERNATIONAL6.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL7 |
| | INTERNATIONAL7.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL8 |
| | INTERNATIONAL8.
|
| constexpr Scancode | SCANCODE_INTERNATIONAL9 |
| | INTERNATIONAL9.
|
| constexpr Scancode | SCANCODE_LANG1 |
| | Hangul/English toggle.
|
|
constexpr Scancode | SCANCODE_LANG2 = SDL_SCANCODE_LANG2 |
| | Hanja conversion.
|
|
constexpr Scancode | SCANCODE_LANG3 = SDL_SCANCODE_LANG3 |
| | Katakana.
|
|
constexpr Scancode | SCANCODE_LANG4 = SDL_SCANCODE_LANG4 |
| | Hiragana.
|
|
constexpr Scancode | SCANCODE_LANG5 = SDL_SCANCODE_LANG5 |
| | Zenkaku/Hankaku.
|
|
constexpr Scancode | SCANCODE_LANG6 = SDL_SCANCODE_LANG6 |
| | reserved
|
|
constexpr Scancode | SCANCODE_LANG7 = SDL_SCANCODE_LANG7 |
| | reserved
|
|
constexpr Scancode | SCANCODE_LANG8 = SDL_SCANCODE_LANG8 |
| | reserved
|
|
constexpr Scancode | SCANCODE_LANG9 = SDL_SCANCODE_LANG9 |
| | reserved
|
|
constexpr Scancode | SCANCODE_ALTERASE = SDL_SCANCODE_ALTERASE |
| | Erase-Eaze.
|
|
constexpr Scancode | SCANCODE_SYSREQ = SDL_SCANCODE_SYSREQ |
| | SYSREQ.
|
|
constexpr Scancode | SCANCODE_CANCEL = SDL_SCANCODE_CANCEL |
| | AC Cancel.
|
|
constexpr Scancode | SCANCODE_CLEAR = SDL_SCANCODE_CLEAR |
| | CLEAR.
|
|
constexpr Scancode | SCANCODE_PRIOR = SDL_SCANCODE_PRIOR |
| | PRIOR.
|
|
constexpr Scancode | SCANCODE_RETURN2 = SDL_SCANCODE_RETURN2 |
| | RETURN2.
|
|
constexpr Scancode | SCANCODE_SEPARATOR = SDL_SCANCODE_SEPARATOR |
| | SEPARATOR.
|
|
constexpr Scancode | SCANCODE_OUT = SDL_SCANCODE_OUT |
| | OUT.
|
|
constexpr Scancode | SCANCODE_OPER = SDL_SCANCODE_OPER |
| | OPER.
|
| constexpr Scancode | SCANCODE_CLEARAGAIN |
| | CLEARAGAIN.
|
|
constexpr Scancode | SCANCODE_CRSEL = SDL_SCANCODE_CRSEL |
| | CRSEL.
|
|
constexpr Scancode | SCANCODE_EXSEL = SDL_SCANCODE_EXSEL |
| | EXSEL.
|
|
constexpr Scancode | SCANCODE_KP_00 = SDL_SCANCODE_KP_00 |
| | KP_00.
|
|
constexpr Scancode | SCANCODE_KP_000 = SDL_SCANCODE_KP_000 |
| | KP_000.
|
| constexpr Scancode | SCANCODE_THOUSANDSSEPARATOR |
| | THOUSANDSSEPARATOR.
|
| constexpr Scancode | SCANCODE_DECIMALSEPARATOR |
| | DECIMALSEPARATOR.
|
| constexpr Scancode | SCANCODE_CURRENCYUNIT |
| | CURRENCYUNIT.
|
| constexpr Scancode | SCANCODE_CURRENCYSUBUNIT |
| | CURRENCYSUBUNIT.
|
| constexpr Scancode | SCANCODE_KP_LEFTPAREN |
| | KP_LEFTPAREN.
|
| constexpr Scancode | SCANCODE_KP_RIGHTPAREN |
| | KP_RIGHTPAREN.
|
| constexpr Scancode | SCANCODE_KP_LEFTBRACE |
| | KP_LEFTBRACE.
|
| constexpr Scancode | SCANCODE_KP_RIGHTBRACE |
| | KP_RIGHTBRACE.
|
|
constexpr Scancode | SCANCODE_KP_TAB = SDL_SCANCODE_KP_TAB |
| | KP_TAB.
|
| constexpr Scancode | SCANCODE_KP_BACKSPACE |
| | KP_BACKSPACE.
|
|
constexpr Scancode | SCANCODE_KP_A = SDL_SCANCODE_KP_A |
| | KP_A.
|
|
constexpr Scancode | SCANCODE_KP_B = SDL_SCANCODE_KP_B |
| | KP_B.
|
|
constexpr Scancode | SCANCODE_KP_C = SDL_SCANCODE_KP_C |
| | KP_C.
|
|
constexpr Scancode | SCANCODE_KP_D = SDL_SCANCODE_KP_D |
| | KP_D.
|
|
constexpr Scancode | SCANCODE_KP_E = SDL_SCANCODE_KP_E |
| | KP_E.
|
|
constexpr Scancode | SCANCODE_KP_F = SDL_SCANCODE_KP_F |
| | KP_F.
|
|
constexpr Scancode | SCANCODE_KP_XOR = SDL_SCANCODE_KP_XOR |
| | KP_XOR.
|
|
constexpr Scancode | SCANCODE_KP_POWER = SDL_SCANCODE_KP_POWER |
| | KP_POWER.
|
| constexpr Scancode | SCANCODE_KP_PERCENT |
| | KP_PERCENT.
|
|
constexpr Scancode | SCANCODE_KP_LESS = SDL_SCANCODE_KP_LESS |
| | KP_LESS.
|
| constexpr Scancode | SCANCODE_KP_GREATER |
| | KP_GREATER.
|
| constexpr Scancode | SCANCODE_KP_AMPERSAND |
| | KP_AMPERSAND.
|
| constexpr Scancode | SCANCODE_KP_DBLAMPERSAND |
| | KP_DBLAMPERSAND.
|
| constexpr Scancode | SCANCODE_KP_VERTICALBAR |
| | KP_VERTICALBAR.
|
| constexpr Scancode | SCANCODE_KP_DBLVERTICALBAR |
| | KP_DBLVERTICALBAR.
|
|
constexpr Scancode | SCANCODE_KP_COLON = SDL_SCANCODE_KP_COLON |
| | KP_COLON.
|
|
constexpr Scancode | SCANCODE_KP_HASH = SDL_SCANCODE_KP_HASH |
| | KP_HASH.
|
|
constexpr Scancode | SCANCODE_KP_SPACE = SDL_SCANCODE_KP_SPACE |
| | KP_SPACE.
|
|
constexpr Scancode | SCANCODE_KP_AT = SDL_SCANCODE_KP_AT |
| | KP_AT.
|
|
constexpr Scancode | SCANCODE_KP_EXCLAM = SDL_SCANCODE_KP_EXCLAM |
| | KP_EXCLAM.
|
| constexpr Scancode | SCANCODE_KP_MEMSTORE |
| | KP_MEMSTORE.
|
| constexpr Scancode | SCANCODE_KP_MEMRECALL |
| | KP_MEMRECALL.
|
| constexpr Scancode | SCANCODE_KP_MEMCLEAR |
| | KP_MEMCLEAR.
|
|
constexpr Scancode | SCANCODE_KP_MEMADD = SDL_SCANCODE_KP_MEMADD |
| | KP_MEMADD.
|
| constexpr Scancode | SCANCODE_KP_MEMSUBTRACT |
| | KP_MEMSUBTRACT.
|
| constexpr Scancode | SCANCODE_KP_MEMMULTIPLY |
| | KP_MEMMULTIPLY.
|
| constexpr Scancode | SCANCODE_KP_MEMDIVIDE |
| | KP_MEMDIVIDE.
|
| constexpr Scancode | SCANCODE_KP_PLUSMINUS |
| | KP_PLUSMINUS.
|
|
constexpr Scancode | SCANCODE_KP_CLEAR = SDL_SCANCODE_KP_CLEAR |
| | KP_CLEAR.
|
| constexpr Scancode | SCANCODE_KP_CLEARENTRY |
| | KP_CLEARENTRY.
|
|
constexpr Scancode | SCANCODE_KP_BINARY = SDL_SCANCODE_KP_BINARY |
| | KP_BINARY.
|
|
constexpr Scancode | SCANCODE_KP_OCTAL = SDL_SCANCODE_KP_OCTAL |
| | KP_OCTAL.
|
| constexpr Scancode | SCANCODE_KP_DECIMAL |
| | KP_DECIMAL.
|
| constexpr Scancode | SCANCODE_KP_HEXADECIMAL |
| | KP_HEXADECIMAL.
|
|
constexpr Scancode | SCANCODE_LCTRL = SDL_SCANCODE_LCTRL |
| | LCTRL.
|
|
constexpr Scancode | SCANCODE_LSHIFT = SDL_SCANCODE_LSHIFT |
| | LSHIFT.
|
|
constexpr Scancode | SCANCODE_LALT = SDL_SCANCODE_LALT |
| | alt, option
|
| constexpr Scancode | SCANCODE_LGUI |
| | windows, command (apple), meta
|
|
constexpr Scancode | SCANCODE_RCTRL = SDL_SCANCODE_RCTRL |
| | RCTRL.
|
|
constexpr Scancode | SCANCODE_RSHIFT = SDL_SCANCODE_RSHIFT |
| | RSHIFT.
|
|
constexpr Scancode | SCANCODE_RALT = SDL_SCANCODE_RALT |
| | alt gr, option
|
| constexpr Scancode | SCANCODE_RGUI |
| | windows, command (apple), meta
|
|
constexpr Scancode | SCANCODE_MODE = SDL_SCANCODE_MODE |
| | I'm not sure if this is really not covered by any of the above, but since there's a special KMOD_MODE for it I'm adding it here.
|
|
constexpr Scancode | SCANCODE_SLEEP = SDL_SCANCODE_SLEEP |
| | Sleep.
|
|
constexpr Scancode | SCANCODE_WAKE = SDL_SCANCODE_WAKE |
| | Wake.
|
| constexpr Scancode | SCANCODE_CHANNEL_INCREMENT |
| | Channel Increment.
|
| constexpr Scancode | SCANCODE_CHANNEL_DECREMENT |
| | Channel Decrement.
|
|
constexpr Scancode | SCANCODE_MEDIA_PLAY = SDL_SCANCODE_MEDIA_PLAY |
| | Play.
|
|
constexpr Scancode | SCANCODE_MEDIA_PAUSE = SDL_SCANCODE_MEDIA_PAUSE |
| | Pause.
|
| constexpr Scancode | SCANCODE_MEDIA_RECORD |
| | Record.
|
| constexpr Scancode | SCANCODE_MEDIA_FAST_FORWARD |
| | Fast Forward.
|
| constexpr Scancode | SCANCODE_MEDIA_REWIND |
| | Rewind.
|
| constexpr Scancode | SCANCODE_MEDIA_NEXT_TRACK |
| | Next Track.
|
| constexpr Scancode | SCANCODE_MEDIA_PREVIOUS_TRACK |
| | Previous Track.
|
|
constexpr Scancode | SCANCODE_MEDIA_STOP = SDL_SCANCODE_MEDIA_STOP |
| | Stop.
|
|
constexpr Scancode | SCANCODE_MEDIA_EJECT = SDL_SCANCODE_MEDIA_EJECT |
| | Eject.
|
| constexpr Scancode | SCANCODE_MEDIA_PLAY_PAUSE |
| | Play / Pause.
|
| constexpr Scancode | SCANCODE_MEDIA_SELECT |
| | MEDIA_SELECT.
|
|
constexpr Scancode | SCANCODE_AC_NEW = SDL_SCANCODE_AC_NEW |
| | AC New.
|
|
constexpr Scancode | SCANCODE_AC_OPEN = SDL_SCANCODE_AC_OPEN |
| | AC Open.
|
|
constexpr Scancode | SCANCODE_AC_CLOSE = SDL_SCANCODE_AC_CLOSE |
| | AC Close.
|
|
constexpr Scancode | SCANCODE_AC_EXIT = SDL_SCANCODE_AC_EXIT |
| | AC Exit.
|
|
constexpr Scancode | SCANCODE_AC_SAVE = SDL_SCANCODE_AC_SAVE |
| | AC Save.
|
|
constexpr Scancode | SCANCODE_AC_PRINT = SDL_SCANCODE_AC_PRINT |
| | AC Print.
|
| constexpr Scancode | SCANCODE_AC_PROPERTIES |
| | AC Properties.
|
|
constexpr Scancode | SCANCODE_AC_SEARCH = SDL_SCANCODE_AC_SEARCH |
| | AC Search.
|
|
constexpr Scancode | SCANCODE_AC_HOME = SDL_SCANCODE_AC_HOME |
| | AC Home.
|
|
constexpr Scancode | SCANCODE_AC_BACK = SDL_SCANCODE_AC_BACK |
| | AC Back.
|
| constexpr Scancode | SCANCODE_AC_FORWARD |
| | AC Forward.
|
|
constexpr Scancode | SCANCODE_AC_STOP = SDL_SCANCODE_AC_STOP |
| | AC Stop.
|
| constexpr Scancode | SCANCODE_AC_REFRESH |
| | AC Refresh.
|
| constexpr Scancode | SCANCODE_AC_BOOKMARKS |
| | AC Bookmarks.
|
|
constexpr Scancode | SCANCODE_SOFTLEFT = SDL_SCANCODE_SOFTLEFT |
| | Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom left of the display.
|
|
constexpr Scancode | SCANCODE_SOFTRIGHT = SDL_SCANCODE_SOFTRIGHT |
| | Usually situated below the display on phones and used as a multi-function feature key for selecting a software defined function shown on the bottom right of the display.
|
| constexpr Scancode | SCANCODE_CALL |
| | Used for accepting phone calls.
|
| constexpr Scancode | SCANCODE_ENDCALL |
| | Used for rejecting phone calls.
|
| constexpr Scancode | SCANCODE_RESERVED |
| | 400-500 reserved for dynamic keycodes
|
|
constexpr Scancode | SCANCODE_COUNT = SDL_SCANCODE_COUNT |
| | not a key, just marks the number of scancodes for array bounds
|
| constexpr SensorType | SENSOR_INVALID |
| | Returned for an invalid sensor.
|
| constexpr SensorType | SENSOR_UNKNOWN |
| | Unknown sensor type.
|
|
constexpr SensorType | SENSOR_ACCEL = SDL_SENSOR_ACCEL |
| | Accelerometer.
|
|
constexpr SensorType | SENSOR_GYRO = SDL_SENSOR_GYRO |
| | Gyroscope.
|
|
constexpr SensorType | SENSOR_ACCEL_L = SDL_SENSOR_ACCEL_L |
| | Accelerometer for left Joy-Con controller and Wii nunchuk.
|
| constexpr SensorType | SENSOR_GYRO_L |
| | Gyroscope for left Joy-Con controller.
|
| constexpr SensorType | SENSOR_ACCEL_R |
| | Accelerometer for right Joy-Con controller.
|
| constexpr SensorType | SENSOR_GYRO_R |
| | Gyroscope for right Joy-Con controller.
|
|
constexpr SensorType | SENSOR_COUNT = SDL_SENSOR_COUNT |
| | SENSOR_COUNT.
|
| constexpr float | STANDARD_GRAVITY = SDL_STANDARD_GRAVITY |
| | A constant to represent standard gravity for accelerometer sensors.
|
|
constexpr Sint8 | MAX_SINT8 = SDL_MAX_SINT8 |
| | Max representable value.
|
|
constexpr Sint8 | MIN_SINT8 = SDL_MIN_SINT8 |
| | Min representable value.
|
|
constexpr Uint8 | MAX_UINT8 = SDL_MAX_UINT8 |
| | Max representable value.
|
|
constexpr Uint8 | MIN_UINT8 = SDL_MIN_UINT8 |
| | Min representable value.
|
|
constexpr Sint16 | MAX_SINT16 = SDL_MAX_SINT16 |
| | Max representable value.
|
|
constexpr Sint16 | MIN_SINT16 = SDL_MIN_SINT16 |
| | Min representable value.
|
|
constexpr Uint16 | MAX_UINT16 = SDL_MAX_UINT16 |
| | Max representable value.
|
|
constexpr Uint16 | MIN_UINT16 = SDL_MIN_UINT16 |
| | Min representable value.
|
|
constexpr Sint32 | MAX_SINT32 = SDL_MAX_SINT32 |
| | Max representable value.
|
|
constexpr Sint32 | MIN_SINT32 = SDL_MIN_SINT32 |
| | Min representable value.
|
|
constexpr Uint32 | MAX_UINT32 = SDL_MAX_UINT32 |
| | Max representable value.
|
|
constexpr Uint8 | MIN_UINT32 = SDL_MIN_UINT32 |
| | Min representable value.
|
|
constexpr Sint64 | MAX_SINT64 = SDL_MAX_SINT64 |
| | Max representable value.
|
|
constexpr Sint64 | MIN_SINT64 = SDL_MIN_SINT64 |
| | Min representable value.
|
|
constexpr Uint64 | MAX_UINT64 = SDL_MAX_UINT64 |
| | Max representable value.
|
|
constexpr Uint8 | MIN_UINT64 = SDL_MIN_UINT64 |
| | Min representable value.
|
|
constexpr Time | MAX_TIME = Time::FromNS(SDL_MAX_TIME) |
| | Max allowed time representation.
|
|
constexpr Time | MIN_TIME = Time::FromNS(SDL_MIN_TIME) |
| | Min allowed time representation.
|
| constexpr float | FLT_EPSILON = 1.1920928955078125e-07F |
| | Epsilon constant, used for comparing floating-point numbers.
|
| constexpr Uint32 | INVALID_UNICODE_CODEPOINT = SDL_INVALID_UNICODE_CODEPOINT |
| | The Unicode REPLACEMENT CHARACTER codepoint.
|
| constexpr double | PI_D = SDL_PI_D |
| | The value of Pi, as a double-precision floating point literal.
|
| constexpr float | PI_F = SDL_PI_F |
| | The value of Pi, as a single-precision floating point literal.
|
| constexpr size_t | ICONV_ERROR |
| | Generic error. Check GetError()?
|
| constexpr size_t | ICONV_E2BIG |
| | Output buffer was too small.
|
| constexpr size_t | ICONV_EILSEQ |
| | Invalid input sequence was encountered.
|
| constexpr size_t | ICONV_EINVAL |
| | Incomplete input sequence was encountered.
|
| constexpr SurfaceFlags | SURFACE_PREALLOCATED |
| | Surface uses preallocated pixel memory.
|
| constexpr SurfaceFlags | SURFACE_LOCK_NEEDED |
| | Surface needs to be locked to access pixels.
|
| constexpr SurfaceFlags | SURFACE_LOCKED |
| | Surface is currently locked.
|
|
constexpr SurfaceFlags | SURFACE_SIMD_ALIGNED = SDL_SURFACE_SIMD_ALIGNED |
| | Surface uses pixel memory allocated with aligned_alloc().
|
|
constexpr ScaleMode | SCALEMODE_INVALID = SDL_SCALEMODE_INVALID |
| | INVALID.
|
| constexpr ScaleMode | SCALEMODE_NEAREST |
| | nearest pixel sampling
|
| constexpr ScaleMode | SCALEMODE_LINEAR |
| | linear filtering
|
|
constexpr ScaleMode | SCALEMODE_PIXELART = SDL_SCALEMODE_PIXELART |
| | nearest pixel sampling with improved scaling for pixel art, available since SDL 3.4.0
|
|
constexpr FlipMode | FLIP_NONE = SDL_FLIP_NONE |
| | Do not flip.
|
|
constexpr FlipMode | FLIP_HORIZONTAL = SDL_FLIP_HORIZONTAL |
| | flip horizontally
|
|
constexpr FlipMode | FLIP_VERTICAL = SDL_FLIP_VERTICAL |
| | flip vertically
|
| constexpr FlipMode | FLIP_HORIZONTAL_AND_VERTICAL |
| | flip horizontally and vertically (not a diagonal flip)
|
| constexpr Uint32 | ANDROID_EXTERNAL_STORAGE_READ |
| | See the official Android developer guide for more information: http://developer.android.com/guide/topics/data/data-storage.html.
|
| constexpr Uint32 | ANDROID_EXTERNAL_STORAGE_WRITE |
| | See the official Android developer guide for more information: http://developer.android.com/guide/topics/data/data-storage.html.
|
|
constexpr Sandbox | SANDBOX_NONE = SDL_SANDBOX_NONE |
| | NONE.
|
| constexpr Sandbox | SANDBOX_UNKNOWN_CONTAINER |
| | UNKNOWN_CONTAINER.
|
|
constexpr Sandbox | SANDBOX_FLATPAK = SDL_SANDBOX_FLATPAK |
| | FLATPAK.
|
|
constexpr Sandbox | SANDBOX_SNAP = SDL_SANDBOX_SNAP |
| | SNAP.
|
|
constexpr Sandbox | SANDBOX_MACOS = SDL_SANDBOX_MACOS |
| | MACOS.
|
|
constexpr ThreadPriority | THREAD_PRIORITY_LOW = SDL_THREAD_PRIORITY_LOW |
| | LOW.
|
| constexpr ThreadPriority | THREAD_PRIORITY_NORMAL |
| | NORMAL.
|
| constexpr ThreadPriority | THREAD_PRIORITY_HIGH |
| | HIGH.
|
| constexpr ThreadPriority | THREAD_PRIORITY_TIME_CRITICAL |
| | TIME_CRITICAL.
|
| constexpr ThreadState | THREAD_UNKNOWN |
| | The thread is not valid.
|
| constexpr ThreadState | THREAD_ALIVE |
| | The thread is currently running.
|
| constexpr ThreadState | THREAD_DETACHED |
| | The thread is detached and can't be waited on.
|
|
constexpr ThreadState | THREAD_COMPLETE = SDL_THREAD_COMPLETE |
| | The thread has finished and should be cleaned up with Thread.Wait().
|
| constexpr DateFormat | DATE_FORMAT_YYYYMMDD |
| | Year/Month/Day.
|
| constexpr DateFormat | DATE_FORMAT_DDMMYYYY |
| | Day/Month/Year.
|
| constexpr DateFormat | DATE_FORMAT_MMDDYYYY |
| | Month/Day/Year.
|
|
constexpr TimeFormat | TIME_FORMAT_24HR = SDL_TIME_FORMAT_24HR |
| | 24 hour time
|
|
constexpr TimeFormat | TIME_FORMAT_12HR = SDL_TIME_FORMAT_12HR |
| | 12 hour time
|
| constexpr TouchDeviceType | TOUCH_DEVICE_INVALID |
| | TOUCH_DEVICE_INVALID.
|
| constexpr TouchDeviceType | TOUCH_DEVICE_DIRECT |
| | touch screen with window-relative coordinates
|
| constexpr TouchDeviceType | TOUCH_DEVICE_INDIRECT_ABSOLUTE |
| | trackpad with absolute device coordinates
|
| constexpr TouchDeviceType | TOUCH_DEVICE_INDIRECT_RELATIVE |
| | trackpad with screen cursor-relative coordinates
|
| constexpr MouseID | TOUCH_MOUSEID = SDL_TOUCH_MOUSEID |
| | The MouseID for mouse events simulated with touch input.
|
| constexpr TouchID | MOUSE_TOUCHID = SDL_MOUSE_TOUCHID |
| | The TouchID for touch events simulated with mouse input.
|
| constexpr TrayEntryFlags | TRAYENTRY_BUTTON |
| | Make the entry a simple button. Required.
|
| constexpr TrayEntryFlags | TRAYENTRY_CHECKBOX |
| | Make the entry a checkbox. Required.
|
| constexpr TrayEntryFlags | TRAYENTRY_SUBMENU |
| | Prepare the entry to have a submenu. Required.
|
| constexpr TrayEntryFlags | TRAYENTRY_DISABLED |
| | Make the entry disabled. Optional.
|
|
constexpr TrayEntryFlags | TRAYENTRY_CHECKED = SDL_TRAYENTRY_CHECKED |
| | Make the entry checked. This is valid only for checkboxes. Optional.
|
|
constexpr FontStyleFlags | STYLE_NORMAL = TTF_STYLE_NORMAL |
| | No special style.
|
|
constexpr FontStyleFlags | STYLE_BOLD = TTF_STYLE_BOLD |
| | Bold style.
|
|
constexpr FontStyleFlags | STYLE_ITALIC = TTF_STYLE_ITALIC |
| | Italic style.
|
| constexpr FontStyleFlags | STYLE_UNDERLINE |
| | Underlined text.
|
| constexpr FontStyleFlags | STYLE_STRIKETHROUGH |
| | Strikethrough text.
|
|
constexpr HintingFlags | HINTING_INVALID = TTF_HINTING_INVALID |
| | INVALID.
|
| constexpr HintingFlags | HINTING_NORMAL |
| | Normal hinting applies standard grid-fitting.
|
|
constexpr HintingFlags | HINTING_LIGHT = TTF_HINTING_LIGHT |
| | Light hinting applies subtle adjustments to improve rendering.
|
|
constexpr HintingFlags | HINTING_MONO = TTF_HINTING_MONO |
| | Monochrome hinting adjusts the font for better rendering at lower resolutions.
|
|
constexpr HintingFlags | HINTING_NONE = TTF_HINTING_NONE |
| | No hinting, the font is rendered without any grid-fitting.
|
|
constexpr HintingFlags | HINTING_LIGHT_SUBPIXEL = TTF_HINTING_LIGHT_SUBPIXEL |
| | Light hinting with subpixel rendering for more precise font edges.
|
| constexpr HorizontalAlignment | HORIZONTAL_ALIGN_INVALID |
| | INVALID.
|
| constexpr HorizontalAlignment | HORIZONTAL_ALIGN_LEFT |
| | LEFT.
|
| constexpr HorizontalAlignment | HORIZONTAL_ALIGN_CENTER |
| | CENTER.
|
| constexpr HorizontalAlignment | HORIZONTAL_ALIGN_RIGHT |
| | RIGHT.
|
|
constexpr Direction | DIRECTION_INVALID = TTF_DIRECTION_INVALID |
| | INVALID.
|
|
constexpr Direction | DIRECTION_LTR = TTF_DIRECTION_LTR |
| | Left to Right.
|
|
constexpr Direction | DIRECTION_RTL = TTF_DIRECTION_RTL |
| | Right to Left.
|
|
constexpr Direction | DIRECTION_TTB = TTF_DIRECTION_TTB |
| | Top to Bottom.
|
|
constexpr Direction | DIRECTION_BTT = TTF_DIRECTION_BTT |
| | Bottom to Top.
|
|
constexpr ImageType | IMAGE_INVALID = TTF_IMAGE_INVALID |
| | INVALID.
|
| constexpr ImageType | IMAGE_ALPHA |
| | The color channels are white.
|
| constexpr ImageType | IMAGE_COLOR |
| | The color channels have image data.
|
|
constexpr ImageType | IMAGE_SDF = TTF_IMAGE_SDF |
| | The alpha channel has signed distance field information.
|
| constexpr int | FONT_WEIGHT_THIN |
| | Thin (100) named font weight value.
|
| constexpr int | FONT_WEIGHT_EXTRA_LIGHT |
| | ExtraLight (200) named font weight value.
|
| constexpr int | FONT_WEIGHT_LIGHT |
| | Light (300) named font weight value.
|
| constexpr int | FONT_WEIGHT_NORMAL |
| | Normal (400) named font weight value.
|
| constexpr int | FONT_WEIGHT_MEDIUM |
| | Medium (500) named font weight value.
|
| constexpr int | FONT_WEIGHT_SEMI_BOLD |
| | SemiBold (600) named font weight value.
|
| constexpr int | FONT_WEIGHT_BOLD |
| | Bold (700) named font weight value.
|
| constexpr int | FONT_WEIGHT_EXTRA_BOLD |
| | ExtraBold (800) named font weight value.
|
| constexpr int | FONT_WEIGHT_BLACK |
| | Black (900) named font weight value.
|
| constexpr int | FONT_WEIGHT_EXTRA_BLACK |
| | ExtraBlack (950) named font weight value.
|
| constexpr SubStringFlags | SUBSTRING_DIRECTION_MASK |
| | The mask for the flow direction for this substring.
|
| constexpr SubStringFlags | SUBSTRING_TEXT_START |
| | This substring contains the beginning of the text.
|
|
constexpr SubStringFlags | SUBSTRING_LINE_START = TTF_SUBSTRING_LINE_START |
| | This substring contains the beginning of line line_index.
|
|
constexpr SubStringFlags | SUBSTRING_LINE_END = TTF_SUBSTRING_LINE_END |
| | This substring contains the end of line line_index.
|
| constexpr SubStringFlags | SUBSTRING_TEXT_END |
| | This substring contains the end of the text.
|
| constexpr GPUTextEngineWinding | GPU_TEXTENGINE_WINDING_INVALID |
| | INVALID.
|
| constexpr GPUTextEngineWinding | GPU_TEXTENGINE_WINDING_CLOCKWISE |
| | CLOCKWISE.
|
| constexpr GPUTextEngineWinding | GPU_TEXTENGINE_WINDING_COUNTER_CLOCKWISE |
| | COUNTER_CLOCKWISE.
|
| constexpr DisplayOrientation | ORIENTATION_UNKNOWN |
| | The display orientation can't be determined.
|
|
constexpr DisplayOrientation | ORIENTATION_LANDSCAPE = SDL_ORIENTATION_LANDSCAPE |
| | The display is in landscape mode, with the right side up, relative to portrait mode.
|
| constexpr DisplayOrientation | ORIENTATION_LANDSCAPE_FLIPPED |
| | The display is in landscape mode, with the left side up, relative to portrait mode.
|
| constexpr DisplayOrientation | ORIENTATION_PORTRAIT |
| | The display is in portrait mode.
|
| constexpr DisplayOrientation | ORIENTATION_PORTRAIT_FLIPPED |
| | The display is in portrait mode, upside down.
|
| constexpr SystemTheme | SYSTEM_THEME_UNKNOWN |
| | Unknown system theme.
|
| constexpr SystemTheme | SYSTEM_THEME_LIGHT |
| | Light colored system theme.
|
| constexpr SystemTheme | SYSTEM_THEME_DARK |
| | Dark colored system theme.
|
| constexpr WindowFlags | WINDOW_FULLSCREEN |
| | window is in fullscreen mode
|
| constexpr WindowFlags | WINDOW_OPENGL |
| | window usable with OpenGL context
|
| constexpr WindowFlags | WINDOW_OCCLUDED |
| | window is occluded
|
|
constexpr WindowFlags | WINDOW_HIDDEN = SDL_WINDOW_HIDDEN |
| | window is neither mapped onto the desktop nor shown in the taskbar/dock/window list; Window.Show() is required for it to become visible
|
| constexpr WindowFlags | WINDOW_BORDERLESS |
| | no window decoration
|
| constexpr WindowFlags | WINDOW_RESIZABLE |
| | window can be resized
|
| constexpr WindowFlags | WINDOW_MINIMIZED |
| | window is minimized
|
| constexpr WindowFlags | WINDOW_MAXIMIZED |
| | window is maximized
|
| constexpr WindowFlags | WINDOW_MOUSE_GRABBED |
| | window has grabbed mouse input
|
| constexpr WindowFlags | WINDOW_INPUT_FOCUS |
| | window has input focus
|
| constexpr WindowFlags | WINDOW_MOUSE_FOCUS |
| | window has mouse focus
|
| constexpr WindowFlags | WINDOW_EXTERNAL |
| | window not created by SDL
|
|
constexpr WindowFlags | WINDOW_MODAL = SDL_WINDOW_MODAL |
| | window is modal
|
|
constexpr WindowFlags | WINDOW_HIGH_PIXEL_DENSITY = SDL_WINDOW_HIGH_PIXEL_DENSITY |
| | window uses high pixel density back buffer if possible
|
|
constexpr WindowFlags | WINDOW_MOUSE_CAPTURE = SDL_WINDOW_MOUSE_CAPTURE |
| | window has mouse captured (unrelated to MOUSE_GRABBED)
|
| constexpr WindowFlags | WINDOW_MOUSE_RELATIVE_MODE |
| | window has relative mode enabled
|
| constexpr WindowFlags | WINDOW_ALWAYS_ON_TOP |
| | window should always be above others
|
|
constexpr WindowFlags | WINDOW_UTILITY = SDL_WINDOW_UTILITY |
| | window should be treated as a utility window, not showing in the task bar and window list
|
|
constexpr WindowFlags | WINDOW_TOOLTIP = SDL_WINDOW_TOOLTIP |
| | window should be treated as a tooltip and does not get mouse or keyboard focus, requires a parent window
|
|
constexpr WindowFlags | WINDOW_POPUP_MENU = SDL_WINDOW_POPUP_MENU |
| | window should be treated as a popup menu, requires a parent window
|
| constexpr WindowFlags | WINDOW_KEYBOARD_GRABBED |
| | window has grabbed keyboard input
|
|
constexpr WindowFlags | WINDOW_FILL_DOCUMENT = SDL_WINDOW_FILL_DOCUMENT |
| | window is in fill-document mode (Emscripten only), since SDL 3.4.0
|
| constexpr WindowFlags | WINDOW_VULKAN |
| | window usable for Vulkan surface
|
| constexpr WindowFlags | WINDOW_METAL |
| | window usable for Metal view
|
| constexpr WindowFlags | WINDOW_TRANSPARENT |
| | window with transparent buffer
|
| constexpr WindowFlags | WINDOW_NOT_FOCUSABLE |
| | window should not be focusable
|
| constexpr FlashOperation | FLASH_CANCEL |
| | Cancel any window flash state.
|
| constexpr FlashOperation | FLASH_BRIEFLY |
| | Flash the window briefly to get attention.
|
| constexpr FlashOperation | FLASH_UNTIL_FOCUSED |
| | Flash the window until it gets focus.
|
| constexpr HitTestResult | HITTEST_NORMAL |
| | Region is normal. No special properties.
|
| constexpr HitTestResult | HITTEST_DRAGGABLE |
| | Region can drag entire window.
|
| constexpr HitTestResult | HITTEST_RESIZE_TOPLEFT |
| | Region is the resizable top-left corner border.
|
| constexpr HitTestResult | HITTEST_RESIZE_TOP |
| | Region is the resizable top border.
|
| constexpr HitTestResult | HITTEST_RESIZE_TOPRIGHT |
| | Region is the resizable top-right corner border.
|
| constexpr HitTestResult | HITTEST_RESIZE_RIGHT |
| | Region is the resizable right border.
|
| constexpr HitTestResult | HITTEST_RESIZE_BOTTOMRIGHT |
| | Region is the resizable bottom-right corner border.
|
| constexpr HitTestResult | HITTEST_RESIZE_BOTTOM |
| | Region is the resizable bottom border.
|
| constexpr HitTestResult | HITTEST_RESIZE_BOTTOMLEFT |
| | Region is the resizable bottom-left corner border.
|
| constexpr HitTestResult | HITTEST_RESIZE_LEFT |
| | Region is the resizable left border.
|
|
constexpr ProgressState | PROGRESS_STATE_INVALID = SDL_PROGRESS_STATE_INVALID |
| | An invalid progress state indicating an error; check GetError().
|
| constexpr ProgressState | PROGRESS_STATE_NONE |
| | No progress bar is shown.
|
| constexpr ProgressState | PROGRESS_STATE_INDETERMINATE |
| | The progress bar is shown in a indeterminate state.
|
| constexpr ProgressState | PROGRESS_STATE_NORMAL |
| | The progress bar is shown in a normal state.
|
| constexpr ProgressState | PROGRESS_STATE_PAUSED |
| | The progress bar is shown in a paused state.
|
|
constexpr ProgressState | PROGRESS_STATE_ERROR = SDL_PROGRESS_STATE_ERROR |
| | The progress bar is shown in a state indicating the application had an error.
|
| constexpr int | WINDOWPOS_UNDEFINED_MASK = SDL_WINDOWPOS_UNDEFINED_MASK |
| | A magic value used with WINDOWPOS_UNDEFINED.
|
| constexpr int | WINDOWPOS_UNDEFINED = SDL_WINDOWPOS_UNDEFINED |
| | Used to indicate that you don't care what the window position/display is.
|
| constexpr int | WINDOWPOS_CENTERED_MASK = SDL_WINDOWPOS_CENTERED_MASK |
| | A magic value used with WINDOWPOS_CENTERED.
|
| constexpr int | WINDOWPOS_CENTERED = SDL_WINDOWPOS_CENTERED |
| | Used to indicate that the window position should be centered.
|
|
constexpr GLAttr | GL_RED_SIZE = SDL_GL_RED_SIZE |
| | the minimum number of bits for the red channel of the color buffer; defaults to 8.
|
|
constexpr GLAttr | GL_GREEN_SIZE = SDL_GL_GREEN_SIZE |
| | the minimum number of bits for the green channel of the color buffer; defaults to 8.
|
|
constexpr GLAttr | GL_BLUE_SIZE = SDL_GL_BLUE_SIZE |
| | the minimum number of bits for the blue channel of the color buffer; defaults to 8.
|
|
constexpr GLAttr | GL_ALPHA_SIZE = SDL_GL_ALPHA_SIZE |
| | the minimum number of bits for the alpha channel of the color buffer; defaults to 8.
|
|
constexpr GLAttr | GL_BUFFER_SIZE = SDL_GL_BUFFER_SIZE |
| | the minimum number of bits for frame buffer size; defaults to 0.
|
|
constexpr GLAttr | GL_DOUBLEBUFFER = SDL_GL_DOUBLEBUFFER |
| | whether the output is single or double buffered; defaults to double buffering on.
|
|
constexpr GLAttr | GL_DEPTH_SIZE = SDL_GL_DEPTH_SIZE |
| | the minimum number of bits in the depth buffer; defaults to 16.
|
|
constexpr GLAttr | GL_STENCIL_SIZE = SDL_GL_STENCIL_SIZE |
| | the minimum number of bits in the stencil buffer; defaults to 0.
|
|
constexpr GLAttr | GL_ACCUM_RED_SIZE = SDL_GL_ACCUM_RED_SIZE |
| | the minimum number of bits for the red channel of the accumulation buffer; defaults to 0.
|
|
constexpr GLAttr | GL_ACCUM_GREEN_SIZE = SDL_GL_ACCUM_GREEN_SIZE |
| | the minimum number of bits for the green channel of the accumulation buffer; defaults to 0.
|
|
constexpr GLAttr | GL_ACCUM_BLUE_SIZE = SDL_GL_ACCUM_BLUE_SIZE |
| | the minimum number of bits for the blue channel of the accumulation buffer; defaults to 0.
|
|
constexpr GLAttr | GL_ACCUM_ALPHA_SIZE = SDL_GL_ACCUM_ALPHA_SIZE |
| | the minimum number of bits for the alpha channel of the accumulation buffer; defaults to 0.
|
| constexpr GLAttr | GL_STEREO |
| | whether the output is stereo 3D; defaults to off.
|
|
constexpr GLAttr | GL_MULTISAMPLEBUFFERS = SDL_GL_MULTISAMPLEBUFFERS |
| | the number of buffers used for multisample anti-aliasing; defaults to 0.
|
|
constexpr GLAttr | GL_MULTISAMPLESAMPLES = SDL_GL_MULTISAMPLESAMPLES |
| | the number of samples used around the current pixel used for multisample anti-aliasing.
|
|
constexpr GLAttr | GL_ACCELERATED_VISUAL = SDL_GL_ACCELERATED_VISUAL |
| | set to 1 to require hardware acceleration, set to 0 to force software rendering; defaults to allow either.
|
| constexpr GLAttr | GL_RETAINED_BACKING |
| | not used (deprecated).
|
| constexpr GLAttr | GL_CONTEXT_MAJOR_VERSION |
| | OpenGL context major version.
|
| constexpr GLAttr | GL_CONTEXT_MINOR_VERSION |
| | OpenGL context minor version.
|
|
constexpr GLAttr | GL_CONTEXT_FLAGS = SDL_GL_CONTEXT_FLAGS |
| | some combination of 0 or more of elements of the GLContextFlag enumeration; defaults to 0.
|
| constexpr GLAttr | GL_CONTEXT_PROFILE_MASK = SDL_GL_CONTEXT_PROFILE_MASK |
| | type of GL context (Core, Compatibility, ES).
|
| constexpr GLAttr | GL_SHARE_WITH_CURRENT_CONTEXT |
| | OpenGL context sharing; defaults to 0.
|
| constexpr GLAttr | GL_FRAMEBUFFER_SRGB_CAPABLE = SDL_GL_FRAMEBUFFER_SRGB_CAPABLE |
| | requests sRGB-capable visual if 1.
|
| constexpr GLAttr | GL_CONTEXT_RELEASE_BEHAVIOR = SDL_GL_CONTEXT_RELEASE_BEHAVIOR |
| | sets context the release behavior.
|
| constexpr GLAttr | GL_CONTEXT_RESET_NOTIFICATION |
| | set context reset notification.
|
| constexpr GLAttr | GL_CONTEXT_NO_ERROR |
| | GL_CONTEXT_NO_ERROR.
|
|
constexpr GLAttr | GL_FLOATBUFFERS = SDL_GL_FLOATBUFFERS |
| | GL_FLOATBUFFERS.
|
|
constexpr GLAttr | GL_EGL_PLATFORM = SDL_GL_EGL_PLATFORM |
| | GL_EGL_PLATFORM.
|
| constexpr GLProfile | GL_CONTEXT_PROFILE_CORE |
| | OpenGL Core Profile context.
|
| constexpr GLProfile | GL_CONTEXT_PROFILE_COMPATIBILITY |
| | OpenGL Compatibility Profile context.
|
| constexpr GLProfile | GL_CONTEXT_PROFILE_ES |
| | GLX_CONTEXT_ES2_PROFILE_BIT_EXT.
|
| constexpr GLContextFlag | GL_CONTEXT_DEBUG_FLAG |
| | DEBUG_FLAG.
|
| constexpr GLContextFlag | GL_CONTEXT_FORWARD_COMPATIBLE_FLAG |
| | FORWARD_COMPATIBLE_FLAG.
|
| constexpr GLContextFlag | GL_CONTEXT_ROBUST_ACCESS_FLAG |
| | ROBUST_ACCESS_FLAG.
|
| constexpr GLContextFlag | GL_CONTEXT_RESET_ISOLATION_FLAG |
| | RESET_ISOLATION_FLAG.
|
| constexpr GLContextReleaseFlag | GL_CONTEXT_RELEASE_BEHAVIOR_NONE |
| | BEHAVIOR_NONE.
|
| constexpr GLContextReleaseFlag | GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH |
| | BEHAVIOR_FLUSH.
|
| constexpr GLContextResetNotification | GL_CONTEXT_RESET_NO_NOTIFICATION |
| | NO_NOTIFICATION.
|
| constexpr GLContextResetNotification | GL_CONTEXT_RESET_LOSE_CONTEXT |
| | LOSE_CONTEXT.
|
|
constexpr int | WINDOW_SURFACE_VSYNC_DISABLED = SDL_WINDOW_SURFACE_VSYNC_DISABLED |
| | Constant to disable vsync.
|
|
constexpr int | WINDOW_SURFACE_VSYNC_ADAPTIVE = SDL_WINDOW_SURFACE_VSYNC_ADAPTIVE |
| | Constant to enable adaptive vsync.
|
| constexpr PixelFormat | PIXELFORMAT_UNKNOWN |
| | UNKNOWN.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX1LSB |
| | INDEX1LSB.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX1MSB |
| | INDEX1MSB.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX2LSB |
| | INDEX2LSB.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX2MSB |
| | INDEX2MSB.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX4LSB |
| | INDEX4LSB.
|
| constexpr PixelFormat | PIXELFORMAT_INDEX4MSB |
| | INDEX4MSB.
|
|
constexpr PixelFormat | PIXELFORMAT_INDEX8 = SDL_PIXELFORMAT_INDEX8 |
| | INDEX8.
|
|
constexpr PixelFormat | PIXELFORMAT_RGB332 = SDL_PIXELFORMAT_RGB332 |
| | RGB332.
|
| constexpr PixelFormat | PIXELFORMAT_XRGB4444 |
| | XRGB4444.
|
| constexpr PixelFormat | PIXELFORMAT_XBGR4444 |
| | XBGR4444.
|
| constexpr PixelFormat | PIXELFORMAT_XRGB1555 |
| | XRGB1555.
|
| constexpr PixelFormat | PIXELFORMAT_XBGR1555 |
| | XBGR1555.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB4444 |
| | ARGB4444.
|
| constexpr PixelFormat | PIXELFORMAT_RGBA4444 |
| | RGBA4444.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR4444 |
| | ABGR4444.
|
| constexpr PixelFormat | PIXELFORMAT_BGRA4444 |
| | BGRA4444.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB1555 |
| | ARGB1555.
|
| constexpr PixelFormat | PIXELFORMAT_RGBA5551 |
| | RGBA5551.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR1555 |
| | ABGR1555.
|
| constexpr PixelFormat | PIXELFORMAT_BGRA5551 |
| | BGRA5551.
|
|
constexpr PixelFormat | PIXELFORMAT_RGB565 = SDL_PIXELFORMAT_RGB565 |
| | RGB565.
|
|
constexpr PixelFormat | PIXELFORMAT_BGR565 = SDL_PIXELFORMAT_BGR565 |
| | BGR565.
|
|
constexpr PixelFormat | PIXELFORMAT_RGB24 = SDL_PIXELFORMAT_RGB24 |
| | RGB24.
|
|
constexpr PixelFormat | PIXELFORMAT_BGR24 = SDL_PIXELFORMAT_BGR24 |
| | BGR24.
|
| constexpr PixelFormat | PIXELFORMAT_XRGB8888 |
| | XRGB8888.
|
| constexpr PixelFormat | PIXELFORMAT_RGBX8888 |
| | RGBX8888.
|
| constexpr PixelFormat | PIXELFORMAT_XBGR8888 |
| | XBGR8888.
|
| constexpr PixelFormat | PIXELFORMAT_BGRX8888 |
| | BGRX8888.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB8888 |
| | ARGB8888.
|
| constexpr PixelFormat | PIXELFORMAT_RGBA8888 |
| | RGBA8888.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR8888 |
| | ABGR8888.
|
| constexpr PixelFormat | PIXELFORMAT_BGRA8888 |
| | BGRA8888.
|
| constexpr PixelFormat | PIXELFORMAT_XRGB2101010 |
| | XRGB2101010.
|
| constexpr PixelFormat | PIXELFORMAT_XBGR2101010 |
| | XBGR2101010.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB2101010 |
| | ARGB2101010.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR2101010 |
| | ABGR2101010.
|
|
constexpr PixelFormat | PIXELFORMAT_RGB48 = SDL_PIXELFORMAT_RGB48 |
| | RGB48.
|
|
constexpr PixelFormat | PIXELFORMAT_BGR48 = SDL_PIXELFORMAT_BGR48 |
| | BGR48.
|
|
constexpr PixelFormat | PIXELFORMAT_RGBA64 = SDL_PIXELFORMAT_RGBA64 |
| | RGBA64.
|
|
constexpr PixelFormat | PIXELFORMAT_ARGB64 = SDL_PIXELFORMAT_ARGB64 |
| | ARGB64.
|
|
constexpr PixelFormat | PIXELFORMAT_BGRA64 = SDL_PIXELFORMAT_BGRA64 |
| | BGRA64.
|
|
constexpr PixelFormat | PIXELFORMAT_ABGR64 = SDL_PIXELFORMAT_ABGR64 |
| | ABGR64.
|
| constexpr PixelFormat | PIXELFORMAT_RGB48_FLOAT |
| | RGB48_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_BGR48_FLOAT |
| | BGR48_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_RGBA64_FLOAT |
| | RGBA64_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB64_FLOAT |
| | ARGB64_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_BGRA64_FLOAT |
| | BGRA64_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR64_FLOAT |
| | ABGR64_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_RGB96_FLOAT |
| | RGB96_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_BGR96_FLOAT |
| | BGR96_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_RGBA128_FLOAT |
| | RGBA128_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_ARGB128_FLOAT |
| | ARGB128_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_BGRA128_FLOAT |
| | BGRA128_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_ABGR128_FLOAT |
| | ABGR128_FLOAT.
|
| constexpr PixelFormat | PIXELFORMAT_YV12 |
| | Planar mode: Y + V + U (3 planes).
|
| constexpr PixelFormat | PIXELFORMAT_IYUV |
| | Planar mode: Y + U + V (3 planes).
|
| constexpr PixelFormat | PIXELFORMAT_YUY2 |
| | Packed mode: Y0+U0+Y1+V0 (1 plane).
|
| constexpr PixelFormat | PIXELFORMAT_UYVY |
| | Packed mode: U0+Y0+V0+Y1 (1 plane).
|
| constexpr PixelFormat | PIXELFORMAT_YVYU |
| | Packed mode: Y0+V0+Y1+U0 (1 plane).
|
| constexpr PixelFormat | PIXELFORMAT_NV12 |
| | Planar mode: Y + U/V interleaved (2 planes).
|
| constexpr PixelFormat | PIXELFORMAT_NV21 |
| | Planar mode: Y + V/U interleaved (2 planes).
|
| constexpr PixelFormat | PIXELFORMAT_P010 |
| | Planar mode: Y + U/V interleaved (2 planes).
|
| constexpr PixelFormat | PIXELFORMAT_EXTERNAL_OES |
| | Android video texture format.
|
|
constexpr PixelFormat | PIXELFORMAT_MJPG = SDL_PIXELFORMAT_MJPG |
| | Motion JPEG.
|
|
constexpr PixelFormat | PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_RGBA32 |
| | RGBA32.
|
|
constexpr PixelFormat | PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_ARGB32 |
| | ARGB32.
|
|
constexpr PixelFormat | PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_BGRA32 |
| | BGRA32.
|
|
constexpr PixelFormat | PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_ABGR32 |
| | ABGR32.
|
|
constexpr PixelFormat | PIXELFORMAT_RGBX32 = SDL_PIXELFORMAT_RGBX32 |
| | RGBX32.
|
|
constexpr PixelFormat | PIXELFORMAT_XRGB32 = SDL_PIXELFORMAT_XRGB32 |
| | XRGB32.
|
|
constexpr PixelFormat | PIXELFORMAT_BGRX32 = SDL_PIXELFORMAT_BGRX32 |
| | BGRX32.
|
|
constexpr PixelFormat | PIXELFORMAT_XBGR32 = SDL_PIXELFORMAT_XBGR32 |
| | XBGR32.
|
|
constexpr Colorspace | COLORSPACE_UNKNOWN = SDL_COLORSPACE_UNKNOWN |
| | UNKNOWN.
|
|
constexpr Colorspace | COLORSPACE_SRGB = SDL_COLORSPACE_SRGB |
| | Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709.
|
|
constexpr Colorspace | COLORSPACE_SRGB_LINEAR = SDL_COLORSPACE_SRGB_LINEAR |
| | Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G10_NONE_P709.
|
|
constexpr Colorspace | COLORSPACE_HDR10 = SDL_COLORSPACE_HDR10 |
| | Equivalent to DXGI_COLOR_SPACE_RGB_FULL_G2084_NONE_P2020.
|
|
constexpr Colorspace | COLORSPACE_JPEG = SDL_COLORSPACE_JPEG |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_NONE_P709_X601.
|
|
constexpr Colorspace | COLORSPACE_BT601_LIMITED = SDL_COLORSPACE_BT601_LIMITED |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601.
|
|
constexpr Colorspace | COLORSPACE_BT601_FULL = SDL_COLORSPACE_BT601_FULL |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P601.
|
|
constexpr Colorspace | COLORSPACE_BT709_LIMITED = SDL_COLORSPACE_BT709_LIMITED |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709.
|
|
constexpr Colorspace | COLORSPACE_BT709_FULL = SDL_COLORSPACE_BT709_FULL |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P709.
|
|
constexpr Colorspace | COLORSPACE_BT2020_LIMITED = SDL_COLORSPACE_BT2020_LIMITED |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_STUDIO_G22_LEFT_P2020.
|
|
constexpr Colorspace | COLORSPACE_BT2020_FULL = SDL_COLORSPACE_BT2020_FULL |
| | Equivalent to DXGI_COLOR_SPACE_YCBCR_FULL_G22_LEFT_P2020.
|
|
constexpr Colorspace | COLORSPACE_RGB_DEFAULT = SDL_COLORSPACE_RGB_DEFAULT |
| | The default colorspace for RGB surfaces if no colorspace is specified.
|
|
constexpr Colorspace | COLORSPACE_YUV_DEFAULT = SDL_COLORSPACE_YUV_DEFAULT |
| | The default colorspace for YUV surfaces if no colorspace is specified.
|