SDL3

 view release on metacpan or  search on metacpan

lib/SDL3.pm  view on Meta::CPAN

        _affix_and_export SDL_GetWindowFromID     => [ SDL_WindowID() ], Pointer [ SDL_Window() ];
        _affix_and_export SDL_GetWindowParent     => [ Pointer [ SDL_Window() ] ], Pointer [ SDL_Window() ];
        _affix_and_export SDL_GetWindowProperties => [ Pointer [ SDL_Window() ] ], SDL_PropertiesID();
        #
        _const_and_export SDL_PROP_WINDOW_CREATE_ALWAYS_ON_TOP_BOOLEAN               => 'SDL.window.create.always_on_top';
        _const_and_export SDL_PROP_WINDOW_CREATE_BORDERLESS_BOOLEAN                  => 'SDL.window.create.borderless';
        _const_and_export SDL_PROP_WINDOW_CREATE_CONSTRAIN_POPUP_BOOLEAN             => 'SDL.window.create.constrain_popup';
        _const_and_export SDL_PROP_WINDOW_CREATE_FOCUSABLE_BOOLEAN                   => 'SDL.window.create.focusable';
        _const_and_export SDL_PROP_WINDOW_CREATE_EXTERNAL_GRAPHICS_CONTEXT_BOOLEAN   => 'SDL.window.create.external_graphics_context';
        _const_and_export SDL_PROP_WINDOW_CREATE_FLAGS_NUMBER                        => 'SDL.window.create.flags';
        _const_and_export SDL_PROP_WINDOW_CREATE_FULLSCREEN_BOOLEAN                  => 'SDL.window.create.fullscreen';
        _const_and_export SDL_PROP_WINDOW_CREATE_HEIGHT_NUMBER                       => 'SDL.window.create.height';
        _const_and_export SDL_PROP_WINDOW_CREATE_HIDDEN_BOOLEAN                      => 'SDL.window.create.hidden';
        _const_and_export SDL_PROP_WINDOW_CREATE_HIGH_PIXEL_DENSITY_BOOLEAN          => 'SDL.window.create.high_pixel_density';
        _const_and_export SDL_PROP_WINDOW_CREATE_MAXIMIZED_BOOLEAN                   => 'SDL.window.create.maximized';
        _const_and_export SDL_PROP_WINDOW_CREATE_MENU_BOOLEAN                        => 'SDL.window.create.menu';
        _const_and_export SDL_PROP_WINDOW_CREATE_METAL_BOOLEAN                       => 'SDL.window.create.metal';
        _const_and_export SDL_PROP_WINDOW_CREATE_MINIMIZED_BOOLEAN                   => 'SDL.window.create.minimized';
        _const_and_export SDL_PROP_WINDOW_CREATE_MODAL_BOOLEAN                       => 'SDL.window.create.modal';
        _const_and_export SDL_PROP_WINDOW_CREATE_MOUSE_GRABBED_BOOLEAN               => 'SDL.window.create.mouse_grabbed';
        _const_and_export SDL_PROP_WINDOW_CREATE_OPENGL_BOOLEAN                      => 'SDL.window.create.opengl';
        _const_and_export SDL_PROP_WINDOW_CREATE_PARENT_POINTER                      => 'SDL.window.create.parent';
        _const_and_export SDL_PROP_WINDOW_CREATE_RESIZABLE_BOOLEAN                   => 'SDL.window.create.resizable';
        _const_and_export SDL_PROP_WINDOW_CREATE_TITLE_STRING                        => 'SDL.window.create.title';
        _const_and_export SDL_PROP_WINDOW_CREATE_TRANSPARENT_BOOLEAN                 => 'SDL.window.create.transparent';
        _const_and_export SDL_PROP_WINDOW_CREATE_TOOLTIP_BOOLEAN                     => 'SDL.window.create.tooltip';
        _const_and_export SDL_PROP_WINDOW_CREATE_UTILITY_BOOLEAN                     => 'SDL.window.create.utility';
        _const_and_export SDL_PROP_WINDOW_CREATE_VULKAN_BOOLEAN                      => 'SDL.window.create.vulkan';
        _const_and_export SDL_PROP_WINDOW_CREATE_WIDTH_NUMBER                        => 'SDL.window.create.width';
        _const_and_export SDL_PROP_WINDOW_CREATE_X_NUMBER                            => 'SDL.window.create.x';
        _const_and_export SDL_PROP_WINDOW_CREATE_Y_NUMBER                            => 'SDL.window.create.y';
        _const_and_export SDL_PROP_WINDOW_CREATE_COCOA_WINDOW_POINTER                => 'SDL.window.create.cocoa.window';
        _const_and_export SDL_PROP_WINDOW_CREATE_COCOA_VIEW_POINTER                  => 'SDL.window.create.cocoa.view';
        _const_and_export SDL_PROP_WINDOW_CREATE_WINDOWSCENE_POINTER                 => 'SDL.window.create.uikit.windowscene';
        _const_and_export SDL_PROP_WINDOW_CREATE_WAYLAND_SURFACE_ROLE_CUSTOM_BOOLEAN => 'SDL.window.create.wayland.surface_role_custom';
        _const_and_export SDL_PROP_WINDOW_CREATE_WAYLAND_CREATE_EGL_WINDOW_BOOLEAN   => 'SDL.window.create.wayland.create_egl_window';
        _const_and_export SDL_PROP_WINDOW_CREATE_WAYLAND_WL_SURFACE_POINTER          => 'SDL.window.create.wayland.wl_surface';
        _const_and_export SDL_PROP_WINDOW_CREATE_WIN32_HWND_POINTER                  => 'SDL.window.create.win32.hwnd';
        _const_and_export SDL_PROP_WINDOW_CREATE_WIN32_PIXEL_FORMAT_HWND_POINTER     => 'SDL.window.create.win32.pixel_format_hwnd';
        _const_and_export SDL_PROP_WINDOW_CREATE_X11_WINDOW_NUMBER                   => 'SDL.window.create.x11.window';
        _const_and_export SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_CANVAS_ID_STRING         => 'SDL.window.create.emscripten.canvas_id';
        _const_and_export SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN    => 'SDL.window.create.emscripten.fill_document';
        _const_and_export SDL_PROP_WINDOW_CREATE_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING  => 'SDL.window.create.emscripten.keyboard_element';
        #
        _const_and_export SDL_PROP_WINDOW_SHAPE_POINTER                             => 'SDL.window.shape';
        _const_and_export SDL_PROP_WINDOW_HDR_ENABLED_BOOLEAN                       => 'SDL.window.HDR_enabled';
        _const_and_export SDL_PROP_WINDOW_SDR_WHITE_LEVEL_FLOAT                     => 'SDL.window.SDR_white_level';
        _const_and_export SDL_PROP_WINDOW_HDR_HEADROOM_FLOAT                        => 'SDL.window.HDR_headroom';
        _const_and_export SDL_PROP_WINDOW_ANDROID_WINDOW_POINTER                    => 'SDL.window.android.window';
        _const_and_export SDL_PROP_WINDOW_ANDROID_SURFACE_POINTER                   => 'SDL.window.android.surface';
        _const_and_export SDL_PROP_WINDOW_UIKIT_WINDOW_POINTER                      => 'SDL.window.uikit.window';
        _const_and_export SDL_PROP_WINDOW_UIKIT_METAL_VIEW_TAG_NUMBER               => 'SDL.window.uikit.metal_view_tag';
        _const_and_export SDL_PROP_WINDOW_UIKIT_OPENGL_FRAMEBUFFER_NUMBER           => 'SDL.window.uikit.opengl.framebuffer';
        _const_and_export SDL_PROP_WINDOW_UIKIT_OPENGL_RENDERBUFFER_NUMBER          => 'SDL.window.uikit.opengl.renderbuffer';
        _const_and_export SDL_PROP_WINDOW_UIKIT_OPENGL_RESOLVE_FRAMEBUFFER_NUMBER   => 'SDL.window.uikit.opengl.resolve_framebuffer';
        _const_and_export SDL_PROP_WINDOW_KMSDRM_DEVICE_INDEX_NUMBER                => 'SDL.window.kmsdrm.dev_index';
        _const_and_export SDL_PROP_WINDOW_KMSDRM_DRM_FD_NUMBER                      => 'SDL.window.kmsdrm.drm_fd';
        _const_and_export SDL_PROP_WINDOW_KMSDRM_GBM_DEVICE_POINTER                 => 'SDL.window.kmsdrm.gbm_dev';
        _const_and_export SDL_PROP_WINDOW_COCOA_WINDOW_POINTER                      => 'SDL.window.cocoa.window';
        _const_and_export SDL_PROP_WINDOW_COCOA_METAL_VIEW_TAG_NUMBER               => 'SDL.window.cocoa.metal_view_tag';
        _const_and_export SDL_PROP_WINDOW_OPENVR_OVERLAY_ID_NUMBER                  => 'SDL.window.openvr.overlay_id';
        _const_and_export SDL_PROP_WINDOW_VIVANTE_DISPLAY_POINTER                   => 'SDL.window.vivante.display';
        _const_and_export SDL_PROP_WINDOW_VIVANTE_WINDOW_POINTER                    => 'SDL.window.vivante.window';
        _const_and_export SDL_PROP_WINDOW_VIVANTE_SURFACE_POINTER                   => 'SDL.window.vivante.surface';
        _const_and_export SDL_PROP_WINDOW_WIN32_HWND_POINTER                        => 'SDL.window.win32.hwnd';
        _const_and_export SDL_PROP_WINDOW_WIN32_HDC_POINTER                         => 'SDL.window.win32.hdc';
        _const_and_export SDL_PROP_WINDOW_WIN32_INSTANCE_POINTER                    => 'SDL.window.win32.instance';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_DISPLAY_POINTER                   => 'SDL.window.wayland.display';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_SURFACE_POINTER                   => 'SDL.window.wayland.surface';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_VIEWPORT_POINTER                  => 'SDL.window.wayland.viewport';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_EGL_WINDOW_POINTER                => 'SDL.window.wayland.egl_window';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_XDG_SURFACE_POINTER               => 'SDL.window.wayland.xdg_surface';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_POINTER              => 'SDL.window.wayland.xdg_toplevel';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_XDG_TOPLEVEL_EXPORT_HANDLE_STRING => 'SDL.window.wayland.xdg_toplevel_export_handle';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_XDG_POPUP_POINTER                 => 'SDL.window.wayland.xdg_popup';
        _const_and_export SDL_PROP_WINDOW_WAYLAND_XDG_POSITIONER_POINTER            => 'SDL.window.wayland.xdg_positioner';
        _const_and_export SDL_PROP_WINDOW_X11_DISPLAY_POINTER                       => 'SDL.window.x11.display';
        _const_and_export SDL_PROP_WINDOW_X11_SCREEN_NUMBER                         => 'SDL.window.x11.screen';
        _const_and_export SDL_PROP_WINDOW_X11_WINDOW_NUMBER                         => 'SDL.window.x11.window';
        _const_and_export SDL_PROP_WINDOW_EMSCRIPTEN_CANVAS_ID_STRING               => 'SDL.window.emscripten.canvas_id';
        _const_and_export SDL_PROP_WINDOW_EMSCRIPTEN_FILL_DOCUMENT_BOOLEAN          => 'SDL.window.emscripten.fill_document';
        _const_and_export SDL_PROP_WINDOW_EMSCRIPTEN_KEYBOARD_ELEMENT_STRING        => 'SDL.window.emscripten.keyboard_element';
        #
        _affix_and_export SDL_GetWindowFlags        => [ Pointer [ SDL_Window() ] ], SDL_WindowFlags();
        _affix_and_export SDL_SetWindowTitle        => [ Pointer [ SDL_Window() ], String ], Bool;
        _affix_and_export SDL_GetWindowTitle        => [ Pointer [ SDL_Window() ] ], String;
        _affix_and_export SDL_SetWindowIcon         => [ Pointer [ SDL_Window() ], Pointer [ SDL_Surface() ] ], Bool;
        _affix_and_export SDL_SetWindowPosition     => [ Pointer [ SDL_Window() ], Int, Int ], Bool;
        _affix_and_export SDL_GetWindowPosition     => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_SetWindowSize         => [ Pointer [ SDL_Window() ], Int, Int, ], Bool;
        _affix_and_export SDL_GetWindowSize         => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_GetWindowSafeArea     => [ Pointer [ SDL_Window() ], Pointer [ SDL_Rect() ] ], Bool;
        _affix_and_export SDL_SetWindowAspectRatio  => [ Pointer [ SDL_Window() ], Float, Float ], Bool;
        _affix_and_export SDL_GetWindowAspectRatio  => [ Pointer [ SDL_Window() ], Pointer [Float], Pointer [Float] ], Bool;
        _affix_and_export SDL_GetWindowBordersSize  => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_GetWindowSizeInPixels => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_SetWindowMinimumSize  => [ Pointer [ SDL_Window() ], Int, Int ], Bool;
        _affix_and_export SDL_GetWindowMinimumSize  => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_SetWindowMaximumSize  => [ Pointer [ SDL_Window() ], Int, Int ], Bool;
        _affix_and_export SDL_GetWindowMaximumSize  => [ Pointer [ SDL_Window() ], Pointer [Int], Pointer [Int] ], Bool;
        _affix_and_export SDL_SetWindowBordered     => [ Pointer [ SDL_Window() ], Bool ], Bool;
        _affix_and_export SDL_SetWindowResizable    => [ Pointer [ SDL_Window() ], Bool ], Bool;
        _affix_and_export SDL_SetWindowAlwaysOnTop  => [ Pointer [ SDL_Window() ], Bool ], Bool;
        _affix_and_export SDL_ShowWindow            => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_HideWindow            => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_RaiseWindow           => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_MaximizeWindow        => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_MinimizeWindow        => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_RestoreWindow         => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_SetWindowFullscreen   => [ Pointer [ SDL_Window() ], Bool ], Bool;
        _affix_and_export SDL_SyncWindow            => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_WindowHasSurface      => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_GetWindowSurface      => [ Pointer [ SDL_Window() ] ], Pointer [ SDL_Surface() ];
        _affix_and_export SDL_SetWindowSurfaceVSync => [ Pointer [ SDL_Window() ], Int ], Bool;
        #
        _const_and_export SDL_WINDOW_SURFACE_VSYNC_DISABLED => 0;
        _const_and_export SDL_WINDOW_SURFACE_VSYNC_ADAPTIVE => (-1);
        #
        _affix_and_export SDL_GetWindowSurfaceVSync    => [ Pointer [ SDL_Window() ], Pointer [Int] ], Bool;
        _affix_and_export SDL_UpdateWindowSurface      => [ Pointer [ SDL_Window() ] ], Bool;
        _affix_and_export SDL_UpdateWindowSurfaceRects => [ Pointer [ SDL_Window() ], Pointer [ SDL_Rect() ], Int ], Bool;



( run in 1.838 second using v1.01-cache-2.11-cpan-39bf76dae61 )