Skip to content

Neslib.Sdl3.Additional

Interfaces

Name Description
ISdlClipboardDataProvider Implement this interface to provide (non-text) data for the clipboard.

Classes & Records

Name Description
TSdlClipboard SDL provides access to the system clipboard, both for reading information from other processes and publishing information of its own.
TSdlCpu CPU feature detection for SDL.
TSdlDialog Provides (file) dialog functionality
TSdlDialogFileFilter An entry for filters for file dialogs.
TSdlEnvironment A thread-safe set of environment variables
TSdlLocale A record to provide locale data.
TSdlMemoryManager To customize SDL's memory manager
TSdlMessageBoxButtonData Individual button data.
TSdlMessageBoxColor RGB value used in a message box color scheme
TSdlMessageBoxColorScheme A set of colors to use for message box dialogs
TSdlMessageBoxData MessageBox structure containing title, text, window, etc.
TSdlProcess A system process.
TSdlTray A toplevel system tray object.
TSdlTrayEntry An entry on a system tray object.
TSdlTrayMenu A menu/submenu on a system tray object.

Types

Name Description
PSdlMessageBoxButtonData
PSdlMessageBoxColorScheme
TSdlCAllocFunc A callback used to implement SdlCAlloc.
TSdlDialogFileCallback Callback used by file dialog functions.
TSdlFreeFunc A callback used to implement SdlFree.
TSdlMAllocFunc A callback used to implement SdlMAlloc.
TSdlMessageBoxButtonFlag Message box button flags.
TSdlMessageBoxButtonFlags A set of message box button flags.
TSdlMessageBoxColorType An enumeration of indices inside the colors array of TSdlMessageBoxColorScheme.
TSdlMessageBoxFlag Message box flags.
TSdlMessageBoxFlags A set of message box flags.
TSdlPowerState The basic state for the system's power supply.
TSdlProcessIO Description of where standard I/O should be directed when creating a process.
TSdlReallocFunc A callback used to implement SdlRealloc.
TSdlSandbox Application sandbox environment.
TSdlTrayCallback A callback that is invoked when a tray entry is selected.
TSdlTrayEntryFlag Flags that control the creation of system tray entries.
TSdlTrayEntryFlags A set of tray entry flags.

Routines

Name Description
SdlAlignedAlloc Allocate memory aligned to a specific alignment.
SdlAlignedFree Free memory allocated by SdlAlignedAlloc.
SdlCAlloc Allocate a zero-initialized array using SDL's memory manager.
SdlCrc16 Calculate a CRC-16 value.
SdlCrc32 Calculate a CRC-32 value.
SdlFillChar4 Initialize all 32-bit words of buffer of memory to a specific value.
SdlFree Free allocated memory using SDL's memory manager.
SdlGetDirect3D9AdapterIndex Get the D3D9 adapter index that matches the specified display.
SdlGetDxgiOutputInfo Get the DXGI Adapter and Output indices for the specified display.
SdlGetPowerInfo Get the current power supply details.
SdlGetSandbox Get the application sandbox environment, if any.
SdlIsTablet Query if the current device is a tablet.
SdlIsTV Query if the current device is a TV.
SdlMAlloc Allocate uninitialized memory using SDL's memory manager.
SdlMurmur3 Calculate a 32-bit MurmurHash3 value for a block of data.
SdlNumAllocations Get the number of outstanding (unfreed) allocations.
SdlOpenUrl Open a URL/URI in the browser or other appropriate external application.
SdlRealloc Change the size of allocated memory using SDL's memory manager.
SdlShowMessageBox Create a modal message box.
SdlShowSimpleMessageBox(TSdlMessageBoxFlags, String, String, TSdlWindow) Display a simple modal message box.
SdlShowSimpleMessageBox(TSdlMessageBoxFlags, String, String) Display a simple modal message box.

Constants

Name Description
SDL_CACHELINE_SIZE A guess for the cacheline size used for padding.
SDL_SINGLE_EPSILON Epsilon constant, used for comparing floating-point numbers.