Uses of Record Class
club.doki7.sdl3.handle.SDL_Window
Packages that use SDL_Window
-
Uses of SDL_Window in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_WindowModifier and TypeMethodDescriptionSDL3.createPopupWindow
(@Nullable SDL_Window parent, int offset_x, int offset_y, int w, int h, long flags) Create a child popup window of the specified parent window.SDL3.createWindow
(@Nullable BytePtr title, int w, int h, long flags) Create a window with the specified dimensions and flags.SDL3.createWindowWithProperties
(int props) Create a window with the specified properties.SDL3.getGrabbedWindow()
Get the window that currently has an input grab enabled.SDL3.getKeyboardFocus()
Query the window which currently has keyboard focus.SDL3.getMouseFocus()
Get the window which currently has mouse focus.SDL3.getRenderWindow
(@Nullable SDL_Renderer renderer) Get the window associated with a renderer.SDL3.getWindowFromEvent
(@Nullable ISDL_Event event) Get window associated with an event.SDL3.getWindowFromID
(int id) Get a window from a stored ID.SDL3.getWindowParent
(@Nullable SDL_Window window) Get parent of a window.SDL3.GL_GetCurrentWindow()
Get the currently active OpenGL window.Methods in club.doki7.sdl3 with parameters of type SDL_WindowModifier and TypeMethodDescriptionboolean
SDL3.acquireGPUSwapchainTexture
(@Nullable SDL_GPUCommandBuffer command_buffer, @Nullable SDL_Window window, SDL_GPUTexture.Ptr swapchain_texture, @Nullable IntPtr swapchain_texture_width, @Nullable IntPtr swapchain_texture_height) Acquire a texture to use in presentation.boolean
SDL3.claimWindowForGPUDevice
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Claims a window, creating a swapchain structure for it.boolean
SDL3.clearComposition
(@Nullable SDL_Window window) Dismiss the composition window/IME without disabling the subsystem.SDL3.createPopupWindow
(@Nullable SDL_Window parent, int offset_x, int offset_y, int w, int h, long flags) Create a child popup window of the specified parent window.SDL3.createRenderer
(@Nullable SDL_Window window, @Nullable BytePtr name) Create a 2D rendering context for a window.void
SDL3.destroyWindow
(@Nullable SDL_Window window) Destroy a window.boolean
SDL3.destroyWindowSurface
(@Nullable SDL_Window window) Destroy the surface associated with the window.SDL3.EGL_GetWindowSurface
(@Nullable SDL_Window window) Get the EGL surface associated with the window.boolean
SDL3.flashWindow
(@Nullable SDL_Window window, int operation) Request a window to demand attention from the user.int
SDL3.getDisplayForWindow
(@Nullable SDL_Window window) Get the display associated with a window.int
SDL3.getGPUSwapchainTextureFormat
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Obtains the texture format of the swapchain for the given window.SDL3.getRenderer
(@Nullable SDL_Window window) Get the renderer associated with a window.boolean
SDL3.getTextInputArea
(@Nullable SDL_Window window, @Nullable ISDL_Rect rect, @Nullable IntPtr cursor) Get the area used to type Unicode text input.boolean
SDL3.getWindowAspectRatio
(@Nullable SDL_Window window, @Nullable FloatPtr min_aspect, @Nullable FloatPtr max_aspect) Get the size of a window's client area.boolean
SDL3.getWindowBordersSize
(@Nullable SDL_Window window, @Nullable IntPtr top, @Nullable IntPtr left, @Nullable IntPtr bottom, @Nullable IntPtr right) Get the size of a window's borders (decorations) around the client area.float
SDL3.getWindowDisplayScale
(@Nullable SDL_Window window) Get the content display scale relative to a window's pixel size.long
SDL3.getWindowFlags
(@Nullable SDL_Window window) Get the window flags.SDL3.getWindowFullscreenMode
(@Nullable SDL_Window window) Query the display mode to use when a window is visible at fullscreen.SDL3.getWindowICCProfile
(@Nullable SDL_Window window, @Nullable PointerPtr size) Get the raw ICC profile data for the screen the window is currently on.int
SDL3.getWindowID
(@Nullable SDL_Window window) Get the numeric ID of a window.boolean
SDL3.getWindowKeyboardGrab
(@Nullable SDL_Window window) Get a window's keyboard grab mode.boolean
SDL3.getWindowMaximumSize
(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the maximum size of a window's client area.boolean
SDL3.getWindowMinimumSize
(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the minimum size of a window's client area.boolean
SDL3.getWindowMouseGrab
(@Nullable SDL_Window window) Get a window's mouse grab mode.SDL3.getWindowMouseRect
(@Nullable SDL_Window window) Get the mouse confinement rectangle of a window.float
SDL3.getWindowOpacity
(@Nullable SDL_Window window) Get the opacity of a window.SDL3.getWindowParent
(@Nullable SDL_Window window) Get parent of a window.float
SDL3.getWindowPixelDensity
(@Nullable SDL_Window window) Get the pixel density of a window.int
SDL3.getWindowPixelFormat
(@Nullable SDL_Window window) Get the pixel format associated with the window.boolean
SDL3.getWindowPosition
(@Nullable SDL_Window window, @Nullable IntPtr x, @Nullable IntPtr y) Get the position of a window.int
SDL3.getWindowProperties
(@Nullable SDL_Window window) Get the properties associated with a window.boolean
SDL3.getWindowRelativeMouseMode
(@Nullable SDL_Window window) Query whether relative mouse mode is enabled for a window.boolean
SDL3.getWindowSafeArea
(@Nullable SDL_Window window, @Nullable ISDL_Rect rect) Get the safe area for this window.boolean
SDL3.getWindowSize
(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the size of a window's client area.boolean
SDL3.getWindowSizeInPixels
(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the size of a window's client area, in pixels.SDL3.getWindowSurface
(@Nullable SDL_Window window) Get the SDL surface associated with the window.boolean
SDL3.getWindowSurfaceVSync
(@Nullable SDL_Window window, @Nullable IntPtr vsync) Get VSync for the window surface.SDL3.getWindowTitle
(@Nullable SDL_Window window) Get the title of a window.SDL3.GL_CreateContext
(@Nullable SDL_Window window) Create an OpenGL context for an OpenGL window, and make it current.boolean
SDL3.GL_MakeCurrent
(@Nullable SDL_Window window, @Nullable SDL_GLContext context) Set up an OpenGL context for rendering into an OpenGL window.boolean
SDL3.GL_SwapWindow
(@Nullable SDL_Window window) Update a window with OpenGL rendering.boolean
SDL3.hideWindow
(@Nullable SDL_Window window) Hide a window.boolean
SDL3.maximizeWindow
(@Nullable SDL_Window window) Request that the window be made as large as possible.SDL3.metal_CreateView
(@Nullable SDL_Window window) Create a CAMetalLayer-backed NSView/UIView and attach it to the specified window.boolean
SDL3.minimizeWindow
(@Nullable SDL_Window window) Request that the window be minimized to an iconic representation.boolean
SDL3.raiseWindow
(@Nullable SDL_Window window) Request that a window be raised above other windows and gain the input focus.void
SDL3.releaseWindowFromGPUDevice
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Unclaims a window, destroying its swapchain structure.boolean
SDL3.restoreWindow
(@Nullable SDL_Window window) Request that the size and position of a minimized or maximized window be restored.boolean
SDL3.screenKeyboardShown
(@Nullable SDL_Window window) Check whether the screen keyboard is shown for given window.boolean
SDL3.setGPUSwapchainParameters
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window, int swapchain_composition, int present_mode) Changes the swapchain parameters for the given claimed window.boolean
SDL3.setiOSAnimationCallback
(@Nullable SDL_Window window, int interval, MemorySegment callback, MemorySegment callbackParam) Use this function to set the animation callback on Apple iOS.boolean
SDL3.setTextInputArea
(@Nullable SDL_Window window, @Nullable ISDL_Rect rect, int cursor) Set the area used to type Unicode text input.boolean
SDL3.setWindowAlwaysOnTop
(@Nullable SDL_Window window, boolean on_top) Set the window to always be above the others.boolean
SDL3.setWindowAspectRatio
(@Nullable SDL_Window window, float min_aspect, float max_aspect) Request that the aspect ratio of a window's client area be set.boolean
SDL3.setWindowBordered
(@Nullable SDL_Window window, boolean bordered) Set the border state of a window.boolean
SDL3.setWindowFocusable
(@Nullable SDL_Window window, boolean focusable) Set whether the window may have input focus.boolean
SDL3.setWindowFullscreen
(@Nullable SDL_Window window, boolean fullscreen) Request that the window's fullscreen state be changed.boolean
SDL3.setWindowFullscreenMode
(@Nullable SDL_Window window, @Nullable ISDL_DisplayMode mode) Set the display mode to use when a window is visible and fullscreen.boolean
SDL3.setWindowHitTest
(@Nullable SDL_Window window, MemorySegment callback, MemorySegment callback_data) Provide a callback that decides if a window region has special properties.boolean
SDL3.setWindowIcon
(@Nullable SDL_Window window, @Nullable SDL_Surface icon) Set the icon for a window.boolean
SDL3.setWindowKeyboardGrab
(@Nullable SDL_Window window, boolean grabbed) Set a window's keyboard grab mode.boolean
SDL3.setWindowMaximumSize
(@Nullable SDL_Window window, int max_w, int max_h) Set the maximum size of a window's client area.boolean
SDL3.setWindowMinimumSize
(@Nullable SDL_Window window, int min_w, int min_h) Set the minimum size of a window's client area.boolean
SDL3.setWindowModal
(@Nullable SDL_Window window, boolean modal) Toggle the state of the window as modal.boolean
SDL3.setWindowMouseGrab
(@Nullable SDL_Window window, boolean grabbed) Set a window's mouse grab mode.boolean
SDL3.setWindowMouseRect
(@Nullable SDL_Window window, @Nullable ISDL_Rect rect) Confines the cursor to the specified area of a window.boolean
SDL3.setWindowOpacity
(@Nullable SDL_Window window, float opacity) Set the opacity for a window.boolean
SDL3.setWindowParent
(@Nullable SDL_Window window, @Nullable SDL_Window parent) Set the window as a child of a parent window.boolean
SDL3.setWindowPosition
(@Nullable SDL_Window window, int x, int y) Request that the window's position be set.boolean
SDL3.setWindowRelativeMouseMode
(@Nullable SDL_Window window, boolean enabled) Set relative mouse mode for a window.boolean
SDL3.setWindowResizable
(@Nullable SDL_Window window, boolean resizable) Set the user-resizable state of a window.boolean
SDL3.setWindowShape
(@Nullable SDL_Window window, @Nullable SDL_Surface shape) Set the shape of a transparent window.boolean
SDL3.setWindowSize
(@Nullable SDL_Window window, int w, int h) Request that the size of a window's client area be set.boolean
SDL3.setWindowSurfaceVSync
(@Nullable SDL_Window window, int vsync) Toggle VSync for the window surface.boolean
SDL3.setWindowTitle
(@Nullable SDL_Window window, @Nullable BytePtr title) Set the title of a window.void
SDL3.showOpenFileDialog
(MemorySegment callback, MemorySegment userdata, @Nullable SDL_Window window, @Nullable ISDL_DialogFileFilter filters, int nfilters, @Nullable BytePtr default_location, boolean allow_many) Displays a dialog that lets the user select a file on their filesystem.void
SDL3.showOpenFolderDialog
(MemorySegment callback, MemorySegment userdata, @Nullable SDL_Window window, @Nullable BytePtr default_location, boolean allow_many) Displays a dialog that lets the user select a folder on their filesystem.void
SDL3.showSaveFileDialog
(MemorySegment callback, MemorySegment userdata, @Nullable SDL_Window window, @Nullable ISDL_DialogFileFilter filters, int nfilters, @Nullable BytePtr default_location) Displays a dialog that lets the user choose a new or existing file on their filesystem.boolean
SDL3.showSimpleMessageBox
(int flags, @Nullable BytePtr title, @Nullable BytePtr message, @Nullable SDL_Window window) Display a simple modal message box.boolean
SDL3.showWindow
(@Nullable SDL_Window window) Show a window.boolean
SDL3.showWindowSystemMenu
(@Nullable SDL_Window window, int x, int y) Display the system-level window menu.boolean
SDL3.startTextInput
(@Nullable SDL_Window window) Start accepting Unicode text input events in a window.boolean
SDL3.startTextInputWithProperties
(@Nullable SDL_Window window, int props) Start accepting Unicode text input events in a window, with properties describing the input.boolean
SDL3.stopTextInput
(@Nullable SDL_Window window) Stop receiving any text input events in a window.boolean
SDL3.syncWindow
(@Nullable SDL_Window window) Block until any pending window state is finalized.boolean
SDL3.textInputActive
(@Nullable SDL_Window window) Check whether or not Unicode text input events are enabled for a window.boolean
SDL3.updateWindowSurface
(@Nullable SDL_Window window) Copy the window surface to the screen.boolean
SDL3.updateWindowSurfaceRects
(@Nullable SDL_Window window, @Nullable ISDL_Rect rects, int numrects) Copy areas of the window surface to the screen.boolean
SDL3.waitAndAcquireGPUSwapchainTexture
(@Nullable SDL_GPUCommandBuffer command_buffer, @Nullable SDL_Window window, SDL_GPUTexture.Ptr swapchain_texture, @Nullable IntPtr swapchain_texture_width, @Nullable IntPtr swapchain_texture_height) Blocks the thread until a swapchain texture is available to be acquired, and then acquires it.boolean
SDL3.waitForGPUSwapchain
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Blocks the thread until a swapchain texture is available to be acquired.void
SDL3.warpMouseInWindow
(@Nullable SDL_Window window, float x, float y) Move the mouse cursor to the given position within the window.boolean
SDL3.windowHasSurface
(@Nullable SDL_Window window) Return whether the window has a surface associated with it.boolean
SDL3.windowSupportsGPUPresentMode
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window, int present_mode) Determines whether a presentation mode is supported by the window.boolean
SDL3.windowSupportsGPUSwapchainComposition
(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window, int swapchain_composition) Determines whether a swapchain composition is supported by the window. -
Uses of SDL_Window in club.doki7.sdl3.datatype
Methods in club.doki7.sdl3.datatype that return SDL_WindowMethods in club.doki7.sdl3.datatype with parameters of type SDL_Window -
Uses of SDL_Window in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_WindowModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_Window
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_WindowModifier and TypeMethodDescription@Nullable SDL_Window
SDL_Window.Ptr.read()
@Nullable SDL_Window
SDL_Window.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_WindowMethods in club.doki7.sdl3.handle with parameters of type SDL_WindowModifier and TypeMethodDescriptionstatic SDL_Window.Ptr
SDL_Window.Ptr.allocate
(Arena arena, @Nullable SDL_Window[] values) static SDL_Window.Ptr
SDL_Window.Ptr.allocateV
(Arena arena, @Nullable SDL_Window value0, @Nullable SDL_Window... values) void
SDL_Window.Ptr.write
(long index, @Nullable SDL_Window value) void
SDL_Window.Ptr.write
(@Nullable SDL_Window value) void
SDL_Window.Ptr.write
(@Nullable SDL_Window[] values) void
SDL_Window.Ptr.writeV
(@Nullable SDL_Window value0, @Nullable SDL_Window... values)