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 TypeMethodDescriptionbooleanSDL3.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.booleanSDL3.claimWindowForGPUDevice(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Claims a window, creating a swapchain structure for it.booleanSDL3.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.voidSDL3.destroyWindow(@Nullable SDL_Window window) Destroy a window.booleanSDL3.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.booleanSDL3.flashWindow(@Nullable SDL_Window window, int operation) Request a window to demand attention from the user.intSDL3.getDisplayForWindow(@Nullable SDL_Window window) Get the display associated with a window.intSDL3.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.booleanSDL3.getTextInputArea(@Nullable SDL_Window window, @Nullable ISDL_Rect rect, @Nullable IntPtr cursor) Get the area used to type Unicode text input.booleanSDL3.getWindowAspectRatio(@Nullable SDL_Window window, @Nullable FloatPtr min_aspect, @Nullable FloatPtr max_aspect) Get the size of a window's client area.booleanSDL3.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.floatSDL3.getWindowDisplayScale(@Nullable SDL_Window window) Get the content display scale relative to a window's pixel size.longSDL3.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.intSDL3.getWindowID(@Nullable SDL_Window window) Get the numeric ID of a window.booleanSDL3.getWindowKeyboardGrab(@Nullable SDL_Window window) Get a window's keyboard grab mode.booleanSDL3.getWindowMaximumSize(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the maximum size of a window's client area.booleanSDL3.getWindowMinimumSize(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the minimum size of a window's client area.booleanSDL3.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.floatSDL3.getWindowOpacity(@Nullable SDL_Window window) Get the opacity of a window.SDL3.getWindowParent(@Nullable SDL_Window window) Get parent of a window.floatSDL3.getWindowPixelDensity(@Nullable SDL_Window window) Get the pixel density of a window.intSDL3.getWindowPixelFormat(@Nullable SDL_Window window) Get the pixel format associated with the window.booleanSDL3.getWindowPosition(@Nullable SDL_Window window, @Nullable IntPtr x, @Nullable IntPtr y) Get the position of a window.intSDL3.getWindowProperties(@Nullable SDL_Window window) Get the properties associated with a window.booleanSDL3.getWindowRelativeMouseMode(@Nullable SDL_Window window) Query whether relative mouse mode is enabled for a window.booleanSDL3.getWindowSafeArea(@Nullable SDL_Window window, @Nullable ISDL_Rect rect) Get the safe area for this window.booleanSDL3.getWindowSize(@Nullable SDL_Window window, @Nullable IntPtr w, @Nullable IntPtr h) Get the size of a window's client area.booleanSDL3.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.booleanSDL3.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.booleanSDL3.GL_MakeCurrent(@Nullable SDL_Window window, @Nullable SDL_GLContext context) Set up an OpenGL context for rendering into an OpenGL window.booleanSDL3.GL_SwapWindow(@Nullable SDL_Window window) Update a window with OpenGL rendering.booleanSDL3.hideWindow(@Nullable SDL_Window window) Hide a window.booleanSDL3.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.booleanSDL3.minimizeWindow(@Nullable SDL_Window window) Request that the window be minimized to an iconic representation.booleanSDL3.raiseWindow(@Nullable SDL_Window window) Request that a window be raised above other windows and gain the input focus.voidSDL3.releaseWindowFromGPUDevice(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Unclaims a window, destroying its swapchain structure.booleanSDL3.restoreWindow(@Nullable SDL_Window window) Request that the size and position of a minimized or maximized window be restored.booleanSDL3.screenKeyboardShown(@Nullable SDL_Window window) Check whether the screen keyboard is shown for given window.booleanSDL3.setGPUSwapchainParameters(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window, int swapchain_composition, int present_mode) Changes the swapchain parameters for the given claimed window.booleanSDL3.setiOSAnimationCallback(@Nullable SDL_Window window, int interval, MemorySegment callback, MemorySegment callbackParam) Use this function to set the animation callback on Apple iOS.booleanSDL3.setTextInputArea(@Nullable SDL_Window window, @Nullable ISDL_Rect rect, int cursor) Set the area used to type Unicode text input.booleanSDL3.setWindowAlwaysOnTop(@Nullable SDL_Window window, boolean on_top) Set the window to always be above the others.booleanSDL3.setWindowAspectRatio(@Nullable SDL_Window window, float min_aspect, float max_aspect) Request that the aspect ratio of a window's client area be set.booleanSDL3.setWindowBordered(@Nullable SDL_Window window, boolean bordered) Set the border state of a window.booleanSDL3.setWindowFocusable(@Nullable SDL_Window window, boolean focusable) Set whether the window may have input focus.booleanSDL3.setWindowFullscreen(@Nullable SDL_Window window, boolean fullscreen) Request that the window's fullscreen state be changed.booleanSDL3.setWindowFullscreenMode(@Nullable SDL_Window window, @Nullable ISDL_DisplayMode mode) Set the display mode to use when a window is visible and fullscreen.booleanSDL3.setWindowHitTest(@Nullable SDL_Window window, MemorySegment callback, MemorySegment callback_data) Provide a callback that decides if a window region has special properties.booleanSDL3.setWindowIcon(@Nullable SDL_Window window, @Nullable SDL_Surface icon) Set the icon for a window.booleanSDL3.setWindowKeyboardGrab(@Nullable SDL_Window window, boolean grabbed) Set a window's keyboard grab mode.booleanSDL3.setWindowMaximumSize(@Nullable SDL_Window window, int max_w, int max_h) Set the maximum size of a window's client area.booleanSDL3.setWindowMinimumSize(@Nullable SDL_Window window, int min_w, int min_h) Set the minimum size of a window's client area.booleanSDL3.setWindowModal(@Nullable SDL_Window window, boolean modal) Toggle the state of the window as modal.booleanSDL3.setWindowMouseGrab(@Nullable SDL_Window window, boolean grabbed) Set a window's mouse grab mode.booleanSDL3.setWindowMouseRect(@Nullable SDL_Window window, @Nullable ISDL_Rect rect) Confines the cursor to the specified area of a window.booleanSDL3.setWindowOpacity(@Nullable SDL_Window window, float opacity) Set the opacity for a window.booleanSDL3.setWindowParent(@Nullable SDL_Window window, @Nullable SDL_Window parent) Set the window as a child of a parent window.booleanSDL3.setWindowPosition(@Nullable SDL_Window window, int x, int y) Request that the window's position be set.booleanSDL3.setWindowRelativeMouseMode(@Nullable SDL_Window window, boolean enabled) Set relative mouse mode for a window.booleanSDL3.setWindowResizable(@Nullable SDL_Window window, boolean resizable) Set the user-resizable state of a window.booleanSDL3.setWindowShape(@Nullable SDL_Window window, @Nullable SDL_Surface shape) Set the shape of a transparent window.booleanSDL3.setWindowSize(@Nullable SDL_Window window, int w, int h) Request that the size of a window's client area be set.booleanSDL3.setWindowSurfaceVSync(@Nullable SDL_Window window, int vsync) Toggle VSync for the window surface.booleanSDL3.setWindowTitle(@Nullable SDL_Window window, @Nullable BytePtr title) Set the title of a window.voidSDL3.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.voidSDL3.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.voidSDL3.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.booleanSDL3.showSimpleMessageBox(int flags, @Nullable BytePtr title, @Nullable BytePtr message, @Nullable SDL_Window window) Display a simple modal message box.booleanSDL3.showWindow(@Nullable SDL_Window window) Show a window.booleanSDL3.showWindowSystemMenu(@Nullable SDL_Window window, int x, int y) Display the system-level window menu.booleanSDL3.startTextInput(@Nullable SDL_Window window) Start accepting Unicode text input events in a window.booleanSDL3.startTextInputWithProperties(@Nullable SDL_Window window, int props) Start accepting Unicode text input events in a window, with properties describing the input.booleanSDL3.stopTextInput(@Nullable SDL_Window window) Stop receiving any text input events in a window.booleanSDL3.syncWindow(@Nullable SDL_Window window) Block until any pending window state is finalized.booleanSDL3.textInputActive(@Nullable SDL_Window window) Check whether or not Unicode text input events are enabled for a window.booleanSDL3.updateWindowSurface(@Nullable SDL_Window window) Copy the window surface to the screen.booleanSDL3.updateWindowSurfaceRects(@Nullable SDL_Window window, @Nullable ISDL_Rect rects, int numrects) Copy areas of the window surface to the screen.booleanSDL3.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.booleanSDL3.waitForGPUSwapchain(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window) Blocks the thread until a swapchain texture is available to be acquired.voidSDL3.warpMouseInWindow(@Nullable SDL_Window window, float x, float y) Move the mouse cursor to the given position within the window.booleanSDL3.windowHasSurface(@Nullable SDL_Window window) Return whether the window has a surface associated with it.booleanSDL3.windowSupportsGPUPresentMode(@Nullable SDL_GPUDevice device, @Nullable SDL_Window window, int present_mode) Determines whether a presentation mode is supported by the window.booleanSDL3.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 recordRepresents a pointer toSDL_Windowhandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_WindowModifier and TypeMethodDescription@Nullable SDL_WindowSDL_Window.Ptr.read()@Nullable SDL_WindowSDL_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.PtrSDL_Window.Ptr.allocate(Arena arena, @Nullable SDL_Window[] values) static SDL_Window.PtrSDL_Window.Ptr.allocateV(Arena arena, @Nullable SDL_Window value0, @Nullable SDL_Window... values) voidSDL_Window.Ptr.write(long index, @Nullable SDL_Window value) voidSDL_Window.Ptr.write(@Nullable SDL_Window value) voidSDL_Window.Ptr.write(@Nullable SDL_Window[] values) voidSDL_Window.Ptr.writeV(@Nullable SDL_Window value0, @Nullable SDL_Window... values)