Class GLFW
- All Implemented Interfaces:
GLFWConstants
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MethodHandlefinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentfinal @Nullable MemorySegmentFields inherited from interface club.doki7.glfw.GLFWConstants
ACCUM_ALPHA_BITS, ACCUM_BLUE_BITS, ACCUM_GREEN_BITS, ACCUM_RED_BITS, ALPHA_BITS, ANGLE_PLATFORM_TYPE, ANGLE_PLATFORM_TYPE_D3D11, ANGLE_PLATFORM_TYPE_D3D9, ANGLE_PLATFORM_TYPE_METAL, ANGLE_PLATFORM_TYPE_NONE, ANGLE_PLATFORM_TYPE_OPENGL, ANGLE_PLATFORM_TYPE_OPENGLES, ANGLE_PLATFORM_TYPE_VULKAN, ANY_PLATFORM, ANY_POSITION, ANY_RELEASE_BEHAVIOR, API_UNAVAILABLE, ARROW_CURSOR, AUTO_ICONIFY, AUX_BUFFERS, BLUE_BITS, CENTER_CURSOR, CLIENT_API, COCOA_CHDIR_RESOURCES, COCOA_FRAME_NAME, COCOA_GRAPHICS_SWITCHING, COCOA_MENUBAR, COCOA_RETINA_FRAMEBUFFER, CONNECTED, CONTEXT_CREATION_API, CONTEXT_DEBUG, CONTEXT_NO_ERROR, CONTEXT_RELEASE_BEHAVIOR, CONTEXT_REVISION, CONTEXT_ROBUSTNESS, CONTEXT_VERSION_MAJOR, CONTEXT_VERSION_MINOR, CROSSHAIR_CURSOR, CURSOR, CURSOR_CAPTURED, CURSOR_DISABLED, CURSOR_HIDDEN, CURSOR_NORMAL, CURSOR_UNAVAILABLE, DECORATED, DEPTH_BITS, DISCONNECTED, DONT_CARE, DOUBLEBUFFER, EGL_CONTEXT_API, FALSE, FEATURE_UNAVAILABLE, FEATURE_UNIMPLEMENTED, FLOATING, FOCUS_ON_SHOW, FOCUSED, FORMAT_UNAVAILABLE, GAMEPAD_AXIS_LAST, GAMEPAD_AXIS_LEFT_TRIGGER, GAMEPAD_AXIS_LEFT_X, GAMEPAD_AXIS_LEFT_Y, GAMEPAD_AXIS_RIGHT_TRIGGER, GAMEPAD_AXIS_RIGHT_X, GAMEPAD_AXIS_RIGHT_Y, GAMEPAD_BUTTON_A, GAMEPAD_BUTTON_B, GAMEPAD_BUTTON_BACK, GAMEPAD_BUTTON_CIRCLE, GAMEPAD_BUTTON_CROSS, GAMEPAD_BUTTON_DPAD_DOWN, GAMEPAD_BUTTON_DPAD_LEFT, GAMEPAD_BUTTON_DPAD_RIGHT, GAMEPAD_BUTTON_DPAD_UP, GAMEPAD_BUTTON_GUIDE, GAMEPAD_BUTTON_LAST, GAMEPAD_BUTTON_LEFT_BUMPER, GAMEPAD_BUTTON_LEFT_THUMB, GAMEPAD_BUTTON_RIGHT_BUMPER, GAMEPAD_BUTTON_RIGHT_THUMB, GAMEPAD_BUTTON_SQUARE, GAMEPAD_BUTTON_START, GAMEPAD_BUTTON_TRIANGLE, GAMEPAD_BUTTON_X, GAMEPAD_BUTTON_Y, GREEN_BITS, HAND_CURSOR, HAT_CENTERED, HAT_DOWN, HAT_LEFT, HAT_LEFT_DOWN, HAT_LEFT_UP, HAT_RIGHT, HAT_RIGHT_DOWN, HAT_RIGHT_UP, HAT_UP, HOVERED, HRESIZE_CURSOR, IBEAM_CURSOR, ICONIFIED, INVALID_ENUM, INVALID_VALUE, JOYSTICK_1, JOYSTICK_10, JOYSTICK_11, JOYSTICK_12, JOYSTICK_13, JOYSTICK_14, JOYSTICK_15, JOYSTICK_16, JOYSTICK_2, JOYSTICK_3, JOYSTICK_4, JOYSTICK_5, JOYSTICK_6, JOYSTICK_7, JOYSTICK_8, JOYSTICK_9, JOYSTICK_HAT_BUTTONS, JOYSTICK_LAST, KEY_0, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_A, KEY_APOSTROPHE, KEY_B, KEY_BACKSLASH, KEY_BACKSPACE, KEY_C, KEY_CAPS_LOCK, KEY_COMMA, KEY_D, KEY_DELETE, KEY_DOWN, KEY_E, KEY_END, KEY_ENTER, KEY_EQUAL, KEY_ESCAPE, KEY_F, KEY_F1, KEY_F10, KEY_F11, KEY_F12, KEY_F13, KEY_F14, KEY_F15, KEY_F16, KEY_F17, KEY_F18, KEY_F19, KEY_F2, KEY_F20, KEY_F21, KEY_F22, KEY_F23, KEY_F24, KEY_F25, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_G, KEY_GRAVE_ACCENT, KEY_H, KEY_HOME, KEY_I, KEY_INSERT, KEY_J, KEY_K, KEY_KP_0, KEY_KP_1, KEY_KP_2, KEY_KP_3, KEY_KP_4, KEY_KP_5, KEY_KP_6, KEY_KP_7, KEY_KP_8, KEY_KP_9, KEY_KP_ADD, KEY_KP_DECIMAL, KEY_KP_DIVIDE, KEY_KP_ENTER, KEY_KP_EQUAL, KEY_KP_MULTIPLY, KEY_KP_SUBTRACT, KEY_L, KEY_LAST, KEY_LEFT, KEY_LEFT_ALT, KEY_LEFT_BRACKET, KEY_LEFT_CONTROL, KEY_LEFT_SHIFT, KEY_LEFT_SUPER, KEY_M, KEY_MENU, KEY_MINUS, KEY_N, KEY_NUM_LOCK, KEY_O, KEY_P, KEY_PAGE_DOWN, KEY_PAGE_UP, KEY_PAUSE, KEY_PERIOD, KEY_PRINT_SCREEN, KEY_Q, KEY_R, KEY_RIGHT, KEY_RIGHT_ALT, KEY_RIGHT_BRACKET, KEY_RIGHT_CONTROL, KEY_RIGHT_SHIFT, KEY_RIGHT_SUPER, KEY_S, KEY_SCROLL_LOCK, KEY_SEMICOLON, KEY_SLASH, KEY_SPACE, KEY_T, KEY_TAB, KEY_U, KEY_UNKNOWN, KEY_UP, KEY_V, KEY_W, KEY_WORLD_1, KEY_WORLD_2, KEY_X, KEY_Y, KEY_Z, LOCK_KEY_MODS, LOSE_CONTEXT_ON_RESET, MAXIMIZED, MOD_ALT, MOD_CAPS_LOCK, MOD_CONTROL, MOD_NUM_LOCK, MOD_SHIFT, MOD_SUPER, MOUSE_BUTTON_1, MOUSE_BUTTON_2, MOUSE_BUTTON_3, MOUSE_BUTTON_4, MOUSE_BUTTON_5, MOUSE_BUTTON_6, MOUSE_BUTTON_7, MOUSE_BUTTON_8, MOUSE_BUTTON_LAST, MOUSE_BUTTON_LEFT, MOUSE_BUTTON_MIDDLE, MOUSE_BUTTON_RIGHT, MOUSE_PASSTHROUGH, NATIVE_CONTEXT_API, NO_API, NO_CURRENT_CONTEXT, NO_ERROR, NO_RESET_NOTIFICATION, NO_ROBUSTNESS, NO_WINDOW_CONTEXT, NOT_ALLOWED_CURSOR, NOT_INITIALIZED, OPENGL_ANY_PROFILE, OPENGL_API, OPENGL_COMPAT_PROFILE, OPENGL_CORE_PROFILE, OPENGL_DEBUG_CONTEXT, OPENGL_ES_API, OPENGL_FORWARD_COMPAT, OPENGL_PROFILE, OSMESA_CONTEXT_API, OUT_OF_MEMORY, PLATFORM, PLATFORM_COCOA, PLATFORM_ERROR, PLATFORM_NULL, PLATFORM_UNAVAILABLE, PLATFORM_WAYLAND, PLATFORM_WIN32, PLATFORM_X11, POINTING_HAND_CURSOR, POSITION_X, POSITION_Y, PRESS, RAW_MOUSE_MOTION, RED_BITS, REFRESH_RATE, RELEASE, RELEASE_BEHAVIOR_FLUSH, RELEASE_BEHAVIOR_NONE, REPEAT, RESIZABLE, RESIZE_ALL_CURSOR, RESIZE_EW_CURSOR, RESIZE_NESW_CURSOR, RESIZE_NS_CURSOR, RESIZE_NWSE_CURSOR, SAMPLES, SCALE_FRAMEBUFFER, SCALE_TO_MONITOR, SRGB_CAPABLE, STENCIL_BITS, STEREO, STICKY_KEYS, STICKY_MOUSE_BUTTONS, TRANSPARENT_FRAMEBUFFER, TRUE, VERSION_MAJOR, VERSION_MINOR, VERSION_REVISION, VERSION_UNAVAILABLE, VISIBLE, VRESIZE_CURSOR, WAYLAND_APP_ID, WAYLAND_DISABLE_LIBDECOR, WAYLAND_LIBDECOR, WAYLAND_PREFER_LIBDECOR, WIN32_KEYBOARD_MENU, WIN32_SHOWDEFAULT, X11_CLASS_NAME, X11_INSTANCE_NAME, X11_XCB_VULKAN_SURFACE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable GLFWcursorcreateCursor(@Nullable IGLFWimage image, int xhot, int yhot) @Nullable GLFWcursorcreateStandardCursor(int shape) @Nullable GLFWwindowcreateWindow(int width, int height, @Nullable BytePtr title, @Nullable GLFWmonitor monitor, @Nullable GLFWwindow share) intcreateWindowSurface(@Nullable VkInstance instance, @Nullable GLFWwindow window, @Nullable IVkAllocationCallbacks allocator, VkSurfaceKHR.Ptr surface) voidvoiddestroyCursor(@Nullable GLFWcursor cursor) voiddestroyWindow(@Nullable GLFWwindow window) intextensionSupported(@Nullable BytePtr extension) voidfocusWindow(@Nullable GLFWwindow window) @Nullable BytePtrgetClipboardString(@Nullable GLFWwindow window) intgetCocoaMonitor(@Nullable GLFWmonitor monitor) @NotNull MemorySegmentgetCocoaView(@Nullable GLFWwindow window) @NotNull MemorySegmentgetCocoaWindow(@Nullable GLFWwindow window) @Nullable GLFWwindowvoidgetCursorPos(@Nullable GLFWwindow window, @Nullable DoublePtr xpos, @Nullable DoublePtr ypos) @NotNull MemorySegmentgetEGLContext(@Nullable GLFWwindow window) @NotNull MemorySegment@NotNull MemorySegmentgetEGLSurface(@Nullable GLFWwindow window) intgetError(@Nullable PointerPtr description) voidgetFramebufferSize(@Nullable GLFWwindow window, @Nullable IntPtr width, @Nullable IntPtr height) @Nullable BytePtrgetGamepadName(int jid) intgetGamepadState(int jid, @Nullable IGLFWgamepadstate state) @Nullable IGLFWgammarampgetGammaRamp(@Nullable GLFWmonitor monitor) @NotNull MemorySegmentgetGLXContext(@Nullable GLFWwindow window) longgetGLXWindow(@Nullable GLFWwindow window) intgetInputMode(@Nullable GLFWwindow window, int mode) @NotNull MemorySegmentgetInstanceProcAddress(@Nullable VkInstance instance, @Nullable BytePtr procname) @Nullable FloatPtrgetJoystickAxes(int jid, @Nullable IntPtr count) @Nullable BytePtrgetJoystickButtons(int jid, @Nullable IntPtr count) @Nullable BytePtrgetJoystickGUID(int jid) @Nullable BytePtrgetJoystickHats(int jid, @Nullable IntPtr count) @Nullable BytePtrgetJoystickName(int jid) @NotNull MemorySegmentgetJoystickUserPointer(int jid) intgetKey(@Nullable GLFWwindow window, int key) @Nullable BytePtrgetKeyName(int key, int scancode) intgetKeyScancode(int key) voidgetMonitorContentScale(@Nullable GLFWmonitor monitor, @Nullable FloatPtr xscale, @Nullable FloatPtr yscale) @Nullable BytePtrgetMonitorName(@Nullable GLFWmonitor monitor) voidgetMonitorPhysicalSize(@Nullable GLFWmonitor monitor, @Nullable IntPtr widthMM, @Nullable IntPtr heightMM) voidgetMonitorPos(@Nullable GLFWmonitor monitor, @Nullable IntPtr xpos, @Nullable IntPtr ypos) getMonitors(@Nullable IntPtr count) @NotNull MemorySegmentgetMonitorUserPointer(@Nullable GLFWmonitor monitor) voidgetMonitorWorkarea(@Nullable GLFWmonitor monitor, @Nullable IntPtr xpos, @Nullable IntPtr ypos, @Nullable IntPtr width, @Nullable IntPtr height) intgetMouseButton(@Nullable GLFWwindow window, int button) @NotNull MemorySegmentgetNSGLContext(@Nullable GLFWwindow window) intgetOSMesaColorBuffer(@Nullable GLFWwindow window, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr format, @Nullable PointerPtr buffer) @NotNull MemorySegmentgetOSMesaContext(@Nullable GLFWwindow window) intgetOSMesaDepthBuffer(@Nullable GLFWwindow window, @Nullable IntPtr width, @Nullable IntPtr height, @Nullable IntPtr bytesPerValue, @Nullable PointerPtr buffer) intgetPhysicalDevicePresentationSupport(@Nullable VkInstance instance, @Nullable VkPhysicalDevice device, int queuefamily) int@Nullable GLFWmonitor@NotNull MemorySegmentgetProcAddress(@Nullable BytePtr procname) @Nullable PointerPtrgetRequiredInstanceExtensions(@Nullable IntPtr count) doublegetTime()longlongvoidgetVersion(@Nullable IntPtr major, @Nullable IntPtr minor, @Nullable IntPtr rev) @Nullable BytePtr@Nullable IGLFWvidmodegetVideoMode(@Nullable GLFWmonitor monitor) @Nullable IGLFWvidmodegetVideoModes(@Nullable GLFWmonitor monitor, @Nullable IntPtr count) @Nullable PointerPtr@NotNull MemorySegmentgetWaylandMonitor(@Nullable GLFWmonitor monitor) @Nullable PointerPtrgetWaylandWindow(@Nullable GLFWwindow window) @NotNull MemorySegmentgetWGLContext(@Nullable GLFWwindow window) @Nullable BytePtrgetWin32Adapter(@Nullable GLFWmonitor monitor) @Nullable BytePtrgetWin32Monitor(@Nullable GLFWmonitor monitor) @NotNull MemorySegmentgetWin32Window(@Nullable GLFWwindow window) intgetWindowAttrib(@Nullable GLFWwindow window, int attrib) voidgetWindowContentScale(@Nullable GLFWwindow window, @Nullable FloatPtr xscale, @Nullable FloatPtr yscale) voidgetWindowFrameSize(@Nullable GLFWwindow window, @Nullable IntPtr left, @Nullable IntPtr top, @Nullable IntPtr right, @Nullable IntPtr bottom) @Nullable GLFWmonitorgetWindowMonitor(@Nullable GLFWwindow window) floatgetWindowOpacity(@Nullable GLFWwindow window) voidgetWindowPos(@Nullable GLFWwindow window, @Nullable IntPtr xpos, @Nullable IntPtr ypos) voidgetWindowSize(@Nullable GLFWwindow window, @Nullable IntPtr width, @Nullable IntPtr height) @Nullable BytePtrgetWindowTitle(@Nullable GLFWwindow window) @NotNull MemorySegmentgetWindowUserPointer(@Nullable GLFWwindow window) longgetX11Adapter(@Nullable GLFWmonitor monitor) @Nullable PointerPtrlonggetX11Monitor(@Nullable GLFWmonitor monitor) @Nullable BytePtrlonggetX11Window(@Nullable GLFWwindow window) voidhideWindow(@Nullable GLFWwindow window) voidiconifyWindow(@Nullable GLFWwindow window) intinit()voidinitAllocator(@Nullable IGLFWallocator allocator) voidinitHint(int hint, int value) voidinitVulkanLoader(@NotNull MemorySegment loader) intjoystickIsGamepad(int jid) intjoystickPresent(int jid) voidmakeContextCurrent(@Nullable GLFWwindow window) voidmaximizeWindow(@Nullable GLFWwindow window) intplatformSupported(int platform) voidvoidintvoidrequestWindowAttention(@Nullable GLFWwindow window) voidrestoreWindow(@Nullable GLFWwindow window) @NotNull MemorySegmentsetCharCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharfun callback) @NotNull MemorySegmentsetCharCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetCharCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharfun callback) @NotNull MemorySegmentsetCharModsCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharmodsfun callback) @NotNull MemorySegmentsetCharModsCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetCharModsCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharmodsfun callback) voidsetClipboardString(@Nullable GLFWwindow window, @Nullable BytePtr string) voidsetCursor(@Nullable GLFWwindow window, @Nullable GLFWcursor cursor) @NotNull MemorySegmentsetCursorEnterCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorenterfun callback) @NotNull MemorySegmentsetCursorEnterCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetCursorEnterCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorenterfun callback) voidsetCursorPos(@Nullable GLFWwindow window, double xpos, double ypos) @NotNull MemorySegmentsetCursorPosCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorposfun callback) @NotNull MemorySegmentsetCursorPosCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetCursorPosCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorposfun callback) @NotNull MemorySegmentsetDropCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWdropfun callback) @NotNull MemorySegmentsetDropCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetDropCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWdropfun callback) @NotNull MemorySegment@NotNull MemorySegmentsetErrorCallback(@NotNull MemorySegment callback) @NotNull MemorySegmentsetErrorCallback(Arena arena, GLFWFunctionTypes.IGLFWerrorfun callback) @NotNull MemorySegmentsetFramebufferSizeCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWframebuffersizefun callback) @NotNull MemorySegmentsetFramebufferSizeCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetFramebufferSizeCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWframebuffersizefun callback) voidsetGamma(@Nullable GLFWmonitor monitor, float gamma) voidsetGammaRamp(@Nullable GLFWmonitor monitor, @Nullable IGLFWgammaramp ramp) voidsetInputMode(@Nullable GLFWwindow window, int mode, int value) @NotNull MemorySegment@NotNull MemorySegmentsetJoystickCallback(@NotNull MemorySegment callback) @NotNull MemorySegmentsetJoystickCallback(Arena arena, GLFWFunctionTypes.IGLFWjoystickfun callback) voidsetJoystickUserPointer(int jid, @NotNull MemorySegment pointer) @NotNull MemorySegmentsetKeyCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWkeyfun callback) @NotNull MemorySegmentsetKeyCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetKeyCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWkeyfun callback) @NotNull MemorySegment@NotNull MemorySegmentsetMonitorCallback(@NotNull MemorySegment callback) @NotNull MemorySegmentsetMonitorCallback(Arena arena, GLFWFunctionTypes.IGLFWmonitorfun callback) voidsetMonitorUserPointer(@Nullable GLFWmonitor monitor, @NotNull MemorySegment pointer) @NotNull MemorySegmentsetMouseButtonCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWmousebuttonfun callback) @NotNull MemorySegmentsetMouseButtonCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetMouseButtonCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWmousebuttonfun callback) @NotNull MemorySegmentsetScrollCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWscrollfun callback) @NotNull MemorySegmentsetScrollCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetScrollCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWscrollfun callback) voidsetTime(double time) voidsetWindowAspectRatio(@Nullable GLFWwindow window, int numer, int denom) voidsetWindowAttrib(@Nullable GLFWwindow window, int attrib, int value) @NotNull MemorySegmentsetWindowCloseCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowclosefun callback) @NotNull MemorySegmentsetWindowCloseCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowCloseCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowclosefun callback) @NotNull MemorySegmentsetWindowContentScaleCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowcontentscalefun callback) @NotNull MemorySegmentsetWindowContentScaleCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowContentScaleCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowcontentscalefun callback) @NotNull MemorySegmentsetWindowFocusCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowfocusfun callback) @NotNull MemorySegmentsetWindowFocusCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowFocusCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowfocusfun callback) voidsetWindowIcon(@Nullable GLFWwindow window, int count, @Nullable IGLFWimage images) @NotNull MemorySegmentsetWindowIconifyCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowiconifyfun callback) @NotNull MemorySegmentsetWindowIconifyCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowIconifyCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowiconifyfun callback) @NotNull MemorySegmentsetWindowMaximizeCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowmaximizefun callback) @NotNull MemorySegmentsetWindowMaximizeCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowMaximizeCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowmaximizefun callback) voidsetWindowMonitor(@Nullable GLFWwindow window, @Nullable GLFWmonitor monitor, int xpos, int ypos, int width, int height, int refreshRate) voidsetWindowOpacity(@Nullable GLFWwindow window, float opacity) voidsetWindowPos(@Nullable GLFWwindow window, int xpos, int ypos) @NotNull MemorySegmentsetWindowPosCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowposfun callback) @NotNull MemorySegmentsetWindowPosCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowPosCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowposfun callback) @NotNull MemorySegmentsetWindowRefreshCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowrefreshfun callback) @NotNull MemorySegmentsetWindowRefreshCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowRefreshCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowrefreshfun callback) voidsetWindowShouldClose(@Nullable GLFWwindow window, int value) voidsetWindowSize(@Nullable GLFWwindow window, int width, int height) @NotNull MemorySegmentsetWindowSizeCallback(@Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowsizefun callback) @NotNull MemorySegmentsetWindowSizeCallback(@Nullable GLFWwindow window, @NotNull MemorySegment callback) @NotNull MemorySegmentsetWindowSizeCallback(Arena arena, @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowsizefun callback) voidsetWindowSizeLimits(@Nullable GLFWwindow window, int minwidth, int minheight, int maxwidth, int maxheight) voidsetWindowTitle(@Nullable GLFWwindow window, @Nullable BytePtr title) voidsetWindowUserPointer(@Nullable GLFWwindow window, @NotNull MemorySegment pointer) voidsetX11SelectionString(@Nullable BytePtr string) voidshowWindow(@Nullable GLFWwindow window) voidswapBuffers(@Nullable GLFWwindow window) voidswapInterval(int interval) voidintupdateGamepadMappings(@Nullable BytePtr string) intvoidvoidwaitEventsTimeout(double timeout) voidwindowHint(int hint, int value) voidwindowHintString(int hint, @Nullable BytePtr value) intwindowShouldClose(@Nullable GLFWwindow window)
-
Field Details
-
SEGMENT$glfwCreateCursor
-
SEGMENT$glfwCreateStandardCursor
-
SEGMENT$glfwCreateWindow
-
SEGMENT$glfwCreateWindowSurface
-
SEGMENT$glfwDefaultWindowHints
-
SEGMENT$glfwDestroyCursor
-
SEGMENT$glfwDestroyWindow
-
SEGMENT$glfwExtensionSupported
-
SEGMENT$glfwFocusWindow
-
SEGMENT$glfwGetClipboardString
-
SEGMENT$glfwGetCocoaMonitor
-
SEGMENT$glfwGetCocoaView
-
SEGMENT$glfwGetCocoaWindow
-
SEGMENT$glfwGetCurrentContext
-
SEGMENT$glfwGetCursorPos
-
SEGMENT$glfwGetEGLContext
-
SEGMENT$glfwGetEGLDisplay
-
SEGMENT$glfwGetEGLSurface
-
SEGMENT$glfwGetError
-
SEGMENT$glfwGetFramebufferSize
-
SEGMENT$glfwGetGLXContext
-
SEGMENT$glfwGetGLXWindow
-
SEGMENT$glfwGetGamepadName
-
SEGMENT$glfwGetGamepadState
-
SEGMENT$glfwGetGammaRamp
-
SEGMENT$glfwGetInputMode
-
SEGMENT$glfwGetInstanceProcAddress
-
SEGMENT$glfwGetJoystickAxes
-
SEGMENT$glfwGetJoystickButtons
-
SEGMENT$glfwGetJoystickGUID
-
SEGMENT$glfwGetJoystickHats
-
SEGMENT$glfwGetJoystickName
-
SEGMENT$glfwGetJoystickUserPointer
-
SEGMENT$glfwGetKey
-
SEGMENT$glfwGetKeyName
-
SEGMENT$glfwGetKeyScancode
-
SEGMENT$glfwGetMonitorContentScale
-
SEGMENT$glfwGetMonitorName
-
SEGMENT$glfwGetMonitorPhysicalSize
-
SEGMENT$glfwGetMonitorPos
-
SEGMENT$glfwGetMonitorUserPointer
-
SEGMENT$glfwGetMonitorWorkarea
-
SEGMENT$glfwGetMonitors
-
SEGMENT$glfwGetMouseButton
-
SEGMENT$glfwGetNSGLContext
-
SEGMENT$glfwGetOSMesaColorBuffer
-
SEGMENT$glfwGetOSMesaContext
-
SEGMENT$glfwGetOSMesaDepthBuffer
-
SEGMENT$glfwGetPhysicalDevicePresentationSupport
-
SEGMENT$glfwGetPlatform
-
SEGMENT$glfwGetPrimaryMonitor
-
SEGMENT$glfwGetProcAddress
-
SEGMENT$glfwGetRequiredInstanceExtensions
-
SEGMENT$glfwGetTime
-
SEGMENT$glfwGetTimerFrequency
-
SEGMENT$glfwGetTimerValue
-
SEGMENT$glfwGetVersion
-
SEGMENT$glfwGetVersionString
-
SEGMENT$glfwGetVideoMode
-
SEGMENT$glfwGetVideoModes
-
SEGMENT$glfwGetWGLContext
-
SEGMENT$glfwGetWaylandDisplay
-
SEGMENT$glfwGetWaylandMonitor
-
SEGMENT$glfwGetWaylandWindow
-
SEGMENT$glfwGetWin32Adapter
-
SEGMENT$glfwGetWin32Monitor
-
SEGMENT$glfwGetWin32Window
-
SEGMENT$glfwGetWindowAttrib
-
SEGMENT$glfwGetWindowContentScale
-
SEGMENT$glfwGetWindowFrameSize
-
SEGMENT$glfwGetWindowMonitor
-
SEGMENT$glfwGetWindowOpacity
-
SEGMENT$glfwGetWindowPos
-
SEGMENT$glfwGetWindowSize
-
SEGMENT$glfwGetWindowTitle
-
SEGMENT$glfwGetWindowUserPointer
-
SEGMENT$glfwGetX11Adapter
-
SEGMENT$glfwGetX11Display
-
SEGMENT$glfwGetX11Monitor
-
SEGMENT$glfwGetX11SelectionString
-
SEGMENT$glfwGetX11Window
-
SEGMENT$glfwHideWindow
-
SEGMENT$glfwIconifyWindow
-
SEGMENT$glfwInit
-
SEGMENT$glfwInitAllocator
-
SEGMENT$glfwInitHint
-
SEGMENT$glfwInitVulkanLoader
-
SEGMENT$glfwJoystickIsGamepad
-
SEGMENT$glfwJoystickPresent
-
SEGMENT$glfwMakeContextCurrent
-
SEGMENT$glfwMaximizeWindow
-
SEGMENT$glfwPlatformSupported
-
SEGMENT$glfwPollEvents
-
SEGMENT$glfwPostEmptyEvent
-
SEGMENT$glfwRawMouseMotionSupported
-
SEGMENT$glfwRequestWindowAttention
-
SEGMENT$glfwRestoreWindow
-
SEGMENT$glfwSetCharCallback
-
SEGMENT$glfwSetCharModsCallback
-
SEGMENT$glfwSetClipboardString
-
SEGMENT$glfwSetCursor
-
SEGMENT$glfwSetCursorEnterCallback
-
SEGMENT$glfwSetCursorPos
-
SEGMENT$glfwSetCursorPosCallback
-
SEGMENT$glfwSetDropCallback
-
SEGMENT$glfwSetErrorCallback
-
SEGMENT$glfwSetFramebufferSizeCallback
-
SEGMENT$glfwSetGamma
-
SEGMENT$glfwSetGammaRamp
-
SEGMENT$glfwSetInputMode
-
SEGMENT$glfwSetJoystickCallback
-
SEGMENT$glfwSetJoystickUserPointer
-
SEGMENT$glfwSetKeyCallback
-
SEGMENT$glfwSetMonitorCallback
-
SEGMENT$glfwSetMonitorUserPointer
-
SEGMENT$glfwSetMouseButtonCallback
-
SEGMENT$glfwSetScrollCallback
-
SEGMENT$glfwSetTime
-
SEGMENT$glfwSetWindowAspectRatio
-
SEGMENT$glfwSetWindowAttrib
-
SEGMENT$glfwSetWindowCloseCallback
-
SEGMENT$glfwSetWindowContentScaleCallback
-
SEGMENT$glfwSetWindowFocusCallback
-
SEGMENT$glfwSetWindowIcon
-
SEGMENT$glfwSetWindowIconifyCallback
-
SEGMENT$glfwSetWindowMaximizeCallback
-
SEGMENT$glfwSetWindowMonitor
-
SEGMENT$glfwSetWindowOpacity
-
SEGMENT$glfwSetWindowPos
-
SEGMENT$glfwSetWindowPosCallback
-
SEGMENT$glfwSetWindowRefreshCallback
-
SEGMENT$glfwSetWindowShouldClose
-
SEGMENT$glfwSetWindowSize
-
SEGMENT$glfwSetWindowSizeCallback
-
SEGMENT$glfwSetWindowSizeLimits
-
SEGMENT$glfwSetWindowTitle
-
SEGMENT$glfwSetWindowUserPointer
-
SEGMENT$glfwSetX11SelectionString
-
SEGMENT$glfwShowWindow
-
SEGMENT$glfwSwapBuffers
-
SEGMENT$glfwSwapInterval
-
SEGMENT$glfwTerminate
-
SEGMENT$glfwUpdateGamepadMappings
-
SEGMENT$glfwVulkanSupported
-
SEGMENT$glfwWaitEvents
-
SEGMENT$glfwWaitEventsTimeout
-
SEGMENT$glfwWindowHint
-
SEGMENT$glfwWindowHintString
-
SEGMENT$glfwWindowShouldClose
-
HANDLE$glfwCreateCursor
-
HANDLE$glfwCreateStandardCursor
-
HANDLE$glfwCreateWindow
-
HANDLE$glfwCreateWindowSurface
-
HANDLE$glfwDefaultWindowHints
-
HANDLE$glfwDestroyCursor
-
HANDLE$glfwDestroyWindow
-
HANDLE$glfwExtensionSupported
-
HANDLE$glfwFocusWindow
-
HANDLE$glfwGetClipboardString
-
HANDLE$glfwGetCocoaMonitor
-
HANDLE$glfwGetCocoaView
-
HANDLE$glfwGetCocoaWindow
-
HANDLE$glfwGetCurrentContext
-
HANDLE$glfwGetCursorPos
-
HANDLE$glfwGetEGLContext
-
HANDLE$glfwGetEGLDisplay
-
HANDLE$glfwGetEGLSurface
-
HANDLE$glfwGetError
-
HANDLE$glfwGetFramebufferSize
-
HANDLE$glfwGetGLXContext
-
HANDLE$glfwGetGLXWindow
-
HANDLE$glfwGetGamepadName
-
HANDLE$glfwGetGamepadState
-
HANDLE$glfwGetGammaRamp
-
HANDLE$glfwGetInputMode
-
HANDLE$glfwGetInstanceProcAddress
-
HANDLE$glfwGetJoystickAxes
-
HANDLE$glfwGetJoystickButtons
-
HANDLE$glfwGetJoystickGUID
-
HANDLE$glfwGetJoystickHats
-
HANDLE$glfwGetJoystickName
-
HANDLE$glfwGetJoystickUserPointer
-
HANDLE$glfwGetKey
-
HANDLE$glfwGetKeyName
-
HANDLE$glfwGetKeyScancode
-
HANDLE$glfwGetMonitorContentScale
-
HANDLE$glfwGetMonitorName
-
HANDLE$glfwGetMonitorPhysicalSize
-
HANDLE$glfwGetMonitorPos
-
HANDLE$glfwGetMonitorUserPointer
-
HANDLE$glfwGetMonitorWorkarea
-
HANDLE$glfwGetMonitors
-
HANDLE$glfwGetMouseButton
-
HANDLE$glfwGetNSGLContext
-
HANDLE$glfwGetOSMesaColorBuffer
-
HANDLE$glfwGetOSMesaContext
-
HANDLE$glfwGetOSMesaDepthBuffer
-
HANDLE$glfwGetPhysicalDevicePresentationSupport
-
HANDLE$glfwGetPlatform
-
HANDLE$glfwGetPrimaryMonitor
-
HANDLE$glfwGetProcAddress
-
HANDLE$glfwGetRequiredInstanceExtensions
-
HANDLE$glfwGetTime
-
HANDLE$glfwGetTimerFrequency
-
HANDLE$glfwGetTimerValue
-
HANDLE$glfwGetVersion
-
HANDLE$glfwGetVersionString
-
HANDLE$glfwGetVideoMode
-
HANDLE$glfwGetVideoModes
-
HANDLE$glfwGetWGLContext
-
HANDLE$glfwGetWaylandDisplay
-
HANDLE$glfwGetWaylandMonitor
-
HANDLE$glfwGetWaylandWindow
-
HANDLE$glfwGetWin32Adapter
-
HANDLE$glfwGetWin32Monitor
-
HANDLE$glfwGetWin32Window
-
HANDLE$glfwGetWindowAttrib
-
HANDLE$glfwGetWindowContentScale
-
HANDLE$glfwGetWindowFrameSize
-
HANDLE$glfwGetWindowMonitor
-
HANDLE$glfwGetWindowOpacity
-
HANDLE$glfwGetWindowPos
-
HANDLE$glfwGetWindowSize
-
HANDLE$glfwGetWindowTitle
-
HANDLE$glfwGetWindowUserPointer
-
HANDLE$glfwGetX11Adapter
-
HANDLE$glfwGetX11Display
-
HANDLE$glfwGetX11Monitor
-
HANDLE$glfwGetX11SelectionString
-
HANDLE$glfwGetX11Window
-
HANDLE$glfwHideWindow
-
HANDLE$glfwIconifyWindow
-
HANDLE$glfwInit
-
HANDLE$glfwInitAllocator
-
HANDLE$glfwInitHint
-
HANDLE$glfwInitVulkanLoader
-
HANDLE$glfwJoystickIsGamepad
-
HANDLE$glfwJoystickPresent
-
HANDLE$glfwMakeContextCurrent
-
HANDLE$glfwMaximizeWindow
-
HANDLE$glfwPlatformSupported
-
HANDLE$glfwPollEvents
-
HANDLE$glfwPostEmptyEvent
-
HANDLE$glfwRawMouseMotionSupported
-
HANDLE$glfwRequestWindowAttention
-
HANDLE$glfwRestoreWindow
-
HANDLE$glfwSetCharCallback
-
HANDLE$glfwSetCharModsCallback
-
HANDLE$glfwSetClipboardString
-
HANDLE$glfwSetCursor
-
HANDLE$glfwSetCursorEnterCallback
-
HANDLE$glfwSetCursorPos
-
HANDLE$glfwSetCursorPosCallback
-
HANDLE$glfwSetDropCallback
-
HANDLE$glfwSetErrorCallback
-
HANDLE$glfwSetFramebufferSizeCallback
-
HANDLE$glfwSetGamma
-
HANDLE$glfwSetGammaRamp
-
HANDLE$glfwSetInputMode
-
HANDLE$glfwSetJoystickCallback
-
HANDLE$glfwSetJoystickUserPointer
-
HANDLE$glfwSetKeyCallback
-
HANDLE$glfwSetMonitorCallback
-
HANDLE$glfwSetMonitorUserPointer
-
HANDLE$glfwSetMouseButtonCallback
-
HANDLE$glfwSetScrollCallback
-
HANDLE$glfwSetTime
-
HANDLE$glfwSetWindowAspectRatio
-
HANDLE$glfwSetWindowAttrib
-
HANDLE$glfwSetWindowCloseCallback
-
HANDLE$glfwSetWindowContentScaleCallback
-
HANDLE$glfwSetWindowFocusCallback
-
HANDLE$glfwSetWindowIcon
-
HANDLE$glfwSetWindowIconifyCallback
-
HANDLE$glfwSetWindowMaximizeCallback
-
HANDLE$glfwSetWindowMonitor
-
HANDLE$glfwSetWindowOpacity
-
HANDLE$glfwSetWindowPos
-
HANDLE$glfwSetWindowPosCallback
-
HANDLE$glfwSetWindowRefreshCallback
-
HANDLE$glfwSetWindowShouldClose
-
HANDLE$glfwSetWindowSize
-
HANDLE$glfwSetWindowSizeCallback
-
HANDLE$glfwSetWindowSizeLimits
-
HANDLE$glfwSetWindowTitle
-
HANDLE$glfwSetWindowUserPointer
-
HANDLE$glfwSetX11SelectionString
-
HANDLE$glfwShowWindow
-
HANDLE$glfwSwapBuffers
-
HANDLE$glfwSwapInterval
-
HANDLE$glfwTerminate
-
HANDLE$glfwUpdateGamepadMappings
-
HANDLE$glfwVulkanSupported
-
HANDLE$glfwWaitEvents
-
HANDLE$glfwWaitEventsTimeout
-
HANDLE$glfwWindowHint
-
HANDLE$glfwWindowHintString
-
HANDLE$glfwWindowShouldClose
-
-
Constructor Details
-
GLFW
-
-
Method Details
-
createCursor
@Nullable public @Nullable GLFWcursor createCursor(@Nullable @Pointer @Nullable IGLFWimage image, int xhot, int yhot) - Returns:
The handle of the created cursor, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
createStandardCursor
- Returns:
A new cursor ready to use or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
createWindow
@Nullable public @Nullable GLFWwindow createWindow(int width, int height, @Nullable @Nullable BytePtr title, @Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable GLFWwindow share) - Returns:
The handle of the created window, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0. Replaces
glfwOpenWindow.
-
createWindowSurface
@EnumType(VkResult.class) public int createWindowSurface(@Nullable @Nullable VkInstance instance, @Nullable @Nullable GLFWwindow window, @Nullable @Pointer @Nullable IVkAllocationCallbacks allocator, @Nullable @Pointer VkSurfaceKHR.Ptr surface) - Returns:
VK_SUCCESSif successful, or a Vulkan error code if an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
defaultWindowHints
public void defaultWindowHints()- Since:
- Added in version 3.0.
-
destroyCursor
- Since:
- Added in version 3.1.
-
destroyWindow
- Since:
- Added in version 3.0. Replaces
glfwCloseWindow.
-
extensionSupported
- Returns:
GLFW_TRUEif the extension is available, orGLFW_FALSEotherwise.- Since:
- Added in version 1.0.
-
focusWindow
- Since:
- Added in version 3.2.
-
getClipboardString
- Returns:
The contents of the clipboard as a UTF-8 encoded string, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getCocoaMonitor
@NativeType("CGDirectDisplayID") @Unsigned public int getCocoaMonitor(@Nullable @Nullable GLFWmonitor monitor) - Returns:
The
CGDirectDisplayIDof the specified monitor, orkCGNullDirectDisplayif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
getCocoaView
@Pointer(comment="id") @NotNull public @NotNull MemorySegment getCocoaView(@Nullable @Nullable GLFWwindow window) - Returns:
The
NSViewof the specified window, ornilif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.4.
-
getCocoaWindow
@Pointer(comment="id") @NotNull public @NotNull MemorySegment getCocoaWindow(@Nullable @Nullable GLFWwindow window) - Returns:
The
NSWindowof the specified window, ornilif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getCurrentContext
- Returns:
- The window whose context is current, or
NULLif no window's context is current. - Since:
- Added in version 3.0.
-
getCursorPos
public void getCursorPos(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable DoublePtr xpos, @Nullable @Nullable DoublePtr ypos) - Since:
- Added in version 3.0. Replaces
glfwGetMousePos.
-
getEGLContext
@Pointer(comment="EGLContext") @NotNull public @NotNull MemorySegment getEGLContext(@Nullable @Nullable GLFWwindow window) - Returns:
The
EGLContextof the specified window, orEGL_NO_CONTEXTif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getEGLDisplay
- Returns:
The
EGLDisplayused by GLFW, orEGL_NO_DISPLAYif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getEGLSurface
@Pointer(comment="EGLSurface") @NotNull public @NotNull MemorySegment getEGLSurface(@Nullable @Nullable GLFWwindow window) - Returns:
The
EGLSurfaceof the specified window, orEGL_NO_SURFACEif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getError
- Returns:
- The last error code for the calling thread, or @ref GLFW_NO_ERROR (zero).
- Since:
- Added in version 3.3.
-
getFramebufferSize
public void getFramebufferSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height) - Since:
- Added in version 3.0.
-
getGLXContext
@Pointer(comment="GLXContext") @NotNull public @NotNull MemorySegment getGLXContext(@Nullable @Nullable GLFWwindow window) - Returns:
The
GLXContextof the specified window, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getGLXWindow
- Returns:
The
GLXWindowof the specified window, orNoneif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getGamepadName
- Returns:
The UTF-8 encoded name of the gamepad, or
NULLif the joystick is not present, does not have a mapping or an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getGamepadState
- Returns:
GLFW_TRUEif successful, orGLFW_FALSEif no joystick is connected, it has no gamepad mapping or an(@ref error_handling)invalid reference
erroroccurred.
- Since:
- Added in version 3.3.
-
getGammaRamp
@Nullable @Pointer public @Nullable IGLFWgammaramp getGammaRamp(@Nullable @Nullable GLFWmonitor monitor) - Returns:
The current gamma ramp, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getInputMode
- Since:
- Added in version 3.0.
-
getInstanceProcAddress
@Pointer(comment="GLFWvkproc") @NotNull public @NotNull MemorySegment getInstanceProcAddress(@Nullable @Nullable VkInstance instance, @Nullable @Nullable BytePtr procname) - Returns:
The address of the function, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getJoystickAxes
-
getJoystickButtons
-
getJoystickGUID
- Returns:
The UTF-8 encoded GUID of the joystick, or
NULLif the joystick is not present or an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getJoystickHats
-
getJoystickName
- Returns:
The UTF-8 encoded name of the joystick, or
NULLif the joystick is not present or an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getJoystickUserPointer
- Since:
- Added in version 3.3.
-
getKey
- Returns:
- One of
GLFW_PRESSorGLFW_RELEASE. - Since:
- Added in version 1.0.
-
getKeyName
- Returns:
- The UTF-8 encoded, layout-specific name of the key, or
NULL. - Since:
- Added in version 3.2.
-
getKeyScancode
public int getKeyScancode(int key) - Returns:
The platform-specific scancode for the key, or
-1if the key is not supported on the current platform or an(@ref error_handling)invalid reference
erroroccurred.
- Since:
- Added in version 3.3.
-
getMonitorContentScale
public void getMonitorContentScale(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable FloatPtr xscale, @Nullable @Nullable FloatPtr yscale) - Since:
- Added in version 3.3.
-
getMonitorName
- Returns:
The UTF-8 encoded name of the monitor, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getMonitorPhysicalSize
public void getMonitorPhysicalSize(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr widthMM, @Nullable @Nullable IntPtr heightMM) - Since:
- Added in version 3.0.
-
getMonitorPos
public void getMonitorPos(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos) - Since:
- Added in version 3.0.
-
getMonitorUserPointer
@Pointer(comment="void*") @NotNull public @NotNull MemorySegment getMonitorUserPointer(@Nullable @Nullable GLFWmonitor monitor) - Since:
- Added in version 3.3.
-
getMonitorWorkarea
public void getMonitorWorkarea(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height) - Since:
- Added in version 3.3.
-
getMonitors
- Returns:
An array of monitor handles, or
NULLif no monitors were found or if an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getMouseButton
- Returns:
- One of
GLFW_PRESSorGLFW_RELEASE. - Since:
- Added in version 1.0.
-
getNSGLContext
@Pointer(comment="id") @NotNull public @NotNull MemorySegment getNSGLContext(@Nullable @Nullable GLFWwindow window) - Returns:
The
NSOpenGLContextof the specified window, ornilif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getOSMesaColorBuffer
public int getOSMesaColorBuffer(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr format, @Nullable @Nullable PointerPtr buffer) - Returns:
GLFW_TRUEif successful, orGLFW_FALSEif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getOSMesaContext
@Pointer(comment="OSMesaContext") @NotNull public @NotNull MemorySegment getOSMesaContext(@Nullable @Nullable GLFWwindow window) - Returns:
The
OSMesaContextof the specified window, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getOSMesaDepthBuffer
public int getOSMesaDepthBuffer(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height, @Nullable @Nullable IntPtr bytesPerValue, @Nullable @Nullable PointerPtr buffer) - Returns:
GLFW_TRUEif successful, orGLFW_FALSEif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getPhysicalDevicePresentationSupport
public int getPhysicalDevicePresentationSupport(@Nullable @Nullable VkInstance instance, @Nullable @Nullable VkPhysicalDevice device, @Unsigned int queuefamily) - Returns:
GLFW_TRUEif the queue family supports presentation, orGLFW_FALSEotherwise.- Since:
- Added in version 3.2.
-
getPlatform
public int getPlatform()- Returns:
- The currently selected platform, or zero if an error occurred.
- Since:
- Added in version 3.4.
-
getPrimaryMonitor
- Returns:
The primary monitor, or
NULLif no monitors were found or if an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getProcAddress
@Pointer(comment="GLFWglproc") @NotNull public @NotNull MemorySegment getProcAddress(@Nullable @Nullable BytePtr procname) - Returns:
The address of the function, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 1.0.
-
getRequiredInstanceExtensions
@Nullable public @Nullable PointerPtr getRequiredInstanceExtensions(@Nullable @Unsigned @Nullable IntPtr count) - Returns:
An array of ASCII encoded extension names, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getTime
public double getTime()- Returns:
The current time, in seconds, or zero if an
(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 1.0.
-
getTimerFrequency
- Returns:
The frequency of the timer, in Hz, or zero if an
(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getTimerValue
- Returns:
The value of the timer, or zero if an
(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getVersion
-
getVersionString
- Returns:
- The ASCII encoded GLFW version string.
- Since:
- Added in version 3.0.
-
getVideoMode
@Nullable @Pointer public @Nullable IGLFWvidmode getVideoMode(@Nullable @Nullable GLFWmonitor monitor) - Returns:
The current mode of the monitor, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0. Replaces
glfwGetDesktopMode.
-
getVideoModes
@Nullable @Pointer public @Nullable IGLFWvidmode getVideoModes(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Nullable IntPtr count) - Returns:
An array of video modes, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 1.0.
-
getWGLContext
@Pointer(comment="HGLRC") @NotNull public @NotNull MemorySegment getWGLContext(@Nullable @Nullable GLFWwindow window) - Returns:
The
HGLRCof the specified window, orNULLif an(@ref error_handling) occurred.invalid reference
error
-
getWaylandDisplay
- Returns:
The
struct wl_display*used by GLFW, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getWaylandMonitor
@Pointer(comment="void*") @NotNull public @NotNull MemorySegment getWaylandMonitor(@Nullable @Nullable GLFWmonitor monitor) - Returns:
The
struct wl_output*of the specified monitor, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getWaylandWindow
- Returns:
The main
struct wl_surface*of the specified window, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.2.
-
getWin32Adapter
- Returns:
The UTF-8 encoded adapter device name (for example
\\.\DISPLAY1) of the specified monitor, orNULLif an(@ref error_handling)invalid reference
erroroccurred.
- Since:
- Added in version 3.1.
-
getWin32Monitor
- Returns:
The UTF-8 encoded display device name (for example
\\.\DISPLAY1\Monitor0) of the specified monitor, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
getWin32Window
@Pointer(comment="HWND") @NotNull public @NotNull MemorySegment getWin32Window(@Nullable @Nullable GLFWwindow window) - Returns:
The
HWNDof the specified window, orNULLif an(@ref error_handling) occurred.invalid reference
error
-
getWindowAttrib
- Returns:
The value of the attribute, or zero if an
(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0. Replaces
glfwGetWindowParamandglfwGetGLVersion.
-
getWindowContentScale
public void getWindowContentScale(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable FloatPtr xscale, @Nullable @Nullable FloatPtr yscale) - Since:
- Added in version 3.3.
-
getWindowFrameSize
public void getWindowFrameSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr left, @Nullable @Nullable IntPtr top, @Nullable @Nullable IntPtr right, @Nullable @Nullable IntPtr bottom) - Since:
- Added in version 3.1.
-
getWindowMonitor
- Returns:
The monitor, or
NULLif the window is in windowed mode or an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getWindowOpacity
- Returns:
- The opacity value of the specified window.
- Since:
- Added in version 3.3.
-
getWindowPos
public void getWindowPos(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr xpos, @Nullable @Nullable IntPtr ypos) - Since:
- Added in version 3.0.
-
getWindowSize
public void getWindowSize(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable IntPtr width, @Nullable @Nullable IntPtr height) - Since:
- Added in version 1.0.
-
getWindowTitle
- Returns:
The UTF-8 encoded window title, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.4.
-
getWindowUserPointer
@Pointer(comment="void*") @NotNull public @NotNull MemorySegment getWindowUserPointer(@Nullable @Nullable GLFWwindow window) - Since:
- Added in version 3.0.
-
getX11Adapter
- Returns:
The
RRCrtcof the specified monitor, orNoneif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
getX11Display
- Returns:
The
Displayused by GLFW, orNULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
getX11Monitor
- Returns:
The
RROutputof the specified monitor, orNoneif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.1.
-
getX11SelectionString
- Returns:
The contents of the selection as a UTF-8 encoded string, or
NULLif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
getX11Window
- Returns:
The
Windowof the specified window, orNoneif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.0.
-
hideWindow
- Since:
- Added in version 3.0.
-
iconifyWindow
- Since:
- Added in version 2.1.
-
init
public int init()- Returns:
GLFW_TRUEif successful, orGLFW_FALSEif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 1.0.
-
initAllocator
- Since:
- Added in version 3.4.
-
initHint
public void initHint(int hint, int value) - Since:
- Added in version 3.3.
-
initVulkanLoader
public void initVulkanLoader(@Pointer(comment="PFN_vkGetInstanceProcAddr") @NotNull @NotNull MemorySegment loader) -
joystickIsGamepad
public int joystickIsGamepad(int jid) - Returns:
GLFW_TRUEif a joystick is both present and has a gamepad mapping, orGLFW_FALSEotherwise.- Since:
- Added in version 3.3.
-
joystickPresent
public int joystickPresent(int jid) - Returns:
GLFW_TRUEif the joystick is present, orGLFW_FALSEotherwise.- Since:
- Added in version 3.0. Replaces
glfwGetJoystickParam.
-
makeContextCurrent
- Since:
- Added in version 3.0.
-
maximizeWindow
- Since:
- Added in GLFW 3.2.
-
platformSupported
public int platformSupported(int platform) - Returns:
GLFW_TRUEif the platform is supported, orGLFW_FALSEotherwise.- Since:
- Added in version 3.4.
-
pollEvents
public void pollEvents()- Since:
- Added in version 1.0.
-
postEmptyEvent
public void postEmptyEvent()- Since:
- Added in version 3.1.
-
rawMouseMotionSupported
public int rawMouseMotionSupported()- Returns:
GLFW_TRUEif raw mouse motion is supported on the current machine, orGLFW_FALSEotherwise.- Since:
- Added in version 3.3.
-
requestWindowAttention
- Since:
- Added in version 3.3.
-
restoreWindow
- Since:
- Added in version 2.1.
-
setCharCallback
@Pointer(comment="GLFWcharfun") @NotNull public @NotNull MemorySegment setCharCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcharfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setCharCallback
@Pointer(comment="GLFWcharfun") @NotNull public @NotNull MemorySegment setCharCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharfun callback) -
setCharCallback
@Pointer(comment="GLFWcharfun") @NotNull public @NotNull MemorySegment setCharCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharfun callback) -
setCharModsCallback
@Pointer(comment="GLFWcharmodsfun") @NotNull public @NotNull MemorySegment setCharModsCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcharmodsfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or an(@ref error_handling) occurred.invalid reference
error
-
setCharModsCallback
@Pointer(comment="GLFWcharmodsfun") @NotNull public @NotNull MemorySegment setCharModsCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharmodsfun callback) -
setCharModsCallback
@Pointer(comment="GLFWcharmodsfun") @NotNull public @NotNull MemorySegment setCharModsCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcharmodsfun callback) -
setClipboardString
public void setClipboardString(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable BytePtr string) - Since:
- Added in version 3.0.
-
setCursor
- Since:
- Added in version 3.1.
-
setCursorEnterCallback
@Pointer(comment="GLFWcursorenterfun") @NotNull public @NotNull MemorySegment setCursorEnterCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcursorenterfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setCursorEnterCallback
@Pointer(comment="GLFWcursorenterfun") @NotNull public @NotNull MemorySegment setCursorEnterCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorenterfun callback) -
setCursorEnterCallback
@Pointer(comment="GLFWcursorenterfun") @NotNull public @NotNull MemorySegment setCursorEnterCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorenterfun callback) -
setCursorPos
- Since:
- Added in version 3.0. Replaces
glfwSetMousePos.
-
setCursorPosCallback
@Pointer(comment="GLFWcursorposfun") @NotNull public @NotNull MemorySegment setCursorPosCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWcursorposfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setCursorPosCallback
@Pointer(comment="GLFWcursorposfun") @NotNull public @NotNull MemorySegment setCursorPosCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorposfun callback) -
setCursorPosCallback
@Pointer(comment="GLFWcursorposfun") @NotNull public @NotNull MemorySegment setCursorPosCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWcursorposfun callback) -
setDropCallback
@Pointer(comment="GLFWdropfun") @NotNull public @NotNull MemorySegment setDropCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWdropfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setDropCallback
@Pointer(comment="GLFWdropfun") @NotNull public @NotNull MemorySegment setDropCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWdropfun callback) -
setDropCallback
@Pointer(comment="GLFWdropfun") @NotNull public @NotNull MemorySegment setDropCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWdropfun callback) -
setErrorCallback
@Pointer(comment="GLFWerrorfun") @NotNull public @NotNull MemorySegment setErrorCallback(@Pointer(comment="GLFWerrorfun") @NotNull @NotNull MemorySegment callback) - Returns:
- The previously set callback, or
NULLif no callback was set.
-
setErrorCallback
@Pointer(comment="GLFWerrorfun") @NotNull public @NotNull MemorySegment setErrorCallback(Arena arena, GLFWFunctionTypes.IGLFWerrorfun callback) -
setErrorCallback
@Pointer(comment="GLFWerrorfun") @NotNull public @NotNull MemorySegment setErrorCallback(GLFWFunctionTypes.IGLFWerrorfun callback) -
setFramebufferSizeCallback
@Pointer(comment="GLFWframebuffersizefun") @NotNull public @NotNull MemorySegment setFramebufferSizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWframebuffersizefun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setFramebufferSizeCallback
@Pointer(comment="GLFWframebuffersizefun") @NotNull public @NotNull MemorySegment setFramebufferSizeCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWframebuffersizefun callback) -
setFramebufferSizeCallback
@Pointer(comment="GLFWframebuffersizefun") @NotNull public @NotNull MemorySegment setFramebufferSizeCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWframebuffersizefun callback) -
setGamma
- Since:
- Added in version 3.0.
-
setGammaRamp
public void setGammaRamp(@Nullable @Nullable GLFWmonitor monitor, @Nullable @Pointer @Nullable IGLFWgammaramp ramp) - Since:
- Added in version 3.0.
-
setInputMode
- Since:
- Added in version 3.0. Replaces
glfwEnableandglfwDisable.
-
setJoystickCallback
@Pointer(comment="GLFWjoystickfun") @NotNull public @NotNull MemorySegment setJoystickCallback(@Pointer(comment="GLFWjoystickfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setJoystickCallback
@Pointer(comment="GLFWjoystickfun") @NotNull public @NotNull MemorySegment setJoystickCallback(Arena arena, GLFWFunctionTypes.IGLFWjoystickfun callback) -
setJoystickCallback
@Pointer(comment="GLFWjoystickfun") @NotNull public @NotNull MemorySegment setJoystickCallback(GLFWFunctionTypes.IGLFWjoystickfun callback) -
setJoystickUserPointer
public void setJoystickUserPointer(int jid, @Pointer(comment="void*") @NotNull @NotNull MemorySegment pointer) - Since:
- Added in version 3.3.
-
setKeyCallback
@Pointer(comment="GLFWkeyfun") @NotNull public @NotNull MemorySegment setKeyCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWkeyfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setKeyCallback
@Pointer(comment="GLFWkeyfun") @NotNull public @NotNull MemorySegment setKeyCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWkeyfun callback) -
setKeyCallback
@Pointer(comment="GLFWkeyfun") @NotNull public @NotNull MemorySegment setKeyCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWkeyfun callback) -
setMonitorCallback
@Pointer(comment="GLFWmonitorfun") @NotNull public @NotNull MemorySegment setMonitorCallback(@Pointer(comment="GLFWmonitorfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setMonitorCallback
@Pointer(comment="GLFWmonitorfun") @NotNull public @NotNull MemorySegment setMonitorCallback(Arena arena, GLFWFunctionTypes.IGLFWmonitorfun callback) -
setMonitorCallback
@Pointer(comment="GLFWmonitorfun") @NotNull public @NotNull MemorySegment setMonitorCallback(GLFWFunctionTypes.IGLFWmonitorfun callback) -
setMonitorUserPointer
public void setMonitorUserPointer(@Nullable @Nullable GLFWmonitor monitor, @Pointer(comment="void*") @NotNull @NotNull MemorySegment pointer) - Since:
- Added in version 3.3.
-
setMouseButtonCallback
@Pointer(comment="GLFWmousebuttonfun") @NotNull public @NotNull MemorySegment setMouseButtonCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWmousebuttonfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setMouseButtonCallback
@Pointer(comment="GLFWmousebuttonfun") @NotNull public @NotNull MemorySegment setMouseButtonCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWmousebuttonfun callback) -
setMouseButtonCallback
@Pointer(comment="GLFWmousebuttonfun") @NotNull public @NotNull MemorySegment setMouseButtonCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWmousebuttonfun callback) -
setScrollCallback
@Pointer(comment="GLFWscrollfun") @NotNull public @NotNull MemorySegment setScrollCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWscrollfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setScrollCallback
@Pointer(comment="GLFWscrollfun") @NotNull public @NotNull MemorySegment setScrollCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWscrollfun callback) -
setScrollCallback
@Pointer(comment="GLFWscrollfun") @NotNull public @NotNull MemorySegment setScrollCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWscrollfun callback) -
setTime
public void setTime(double time) - Since:
- Added in version 2.2.
-
setWindowAspectRatio
- Since:
- Added in version 3.2.
-
setWindowAttrib
- Since:
- Added in version 3.3.
-
setWindowCloseCallback
@Pointer(comment="GLFWwindowclosefun") @NotNull public @NotNull MemorySegment setWindowCloseCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowclosefun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowCloseCallback
@Pointer(comment="GLFWwindowclosefun") @NotNull public @NotNull MemorySegment setWindowCloseCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowclosefun callback) -
setWindowCloseCallback
@Pointer(comment="GLFWwindowclosefun") @NotNull public @NotNull MemorySegment setWindowCloseCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowclosefun callback) -
setWindowContentScaleCallback
@Pointer(comment="GLFWwindowcontentscalefun") @NotNull public @NotNull MemorySegment setWindowContentScaleCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowcontentscalefun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowContentScaleCallback
@Pointer(comment="GLFWwindowcontentscalefun") @NotNull public @NotNull MemorySegment setWindowContentScaleCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowcontentscalefun callback) -
setWindowContentScaleCallback
@Pointer(comment="GLFWwindowcontentscalefun") @NotNull public @NotNull MemorySegment setWindowContentScaleCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowcontentscalefun callback) -
setWindowFocusCallback
@Pointer(comment="GLFWwindowfocusfun") @NotNull public @NotNull MemorySegment setWindowFocusCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowfocusfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowFocusCallback
@Pointer(comment="GLFWwindowfocusfun") @NotNull public @NotNull MemorySegment setWindowFocusCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowfocusfun callback) -
setWindowFocusCallback
@Pointer(comment="GLFWwindowfocusfun") @NotNull public @NotNull MemorySegment setWindowFocusCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowfocusfun callback) -
setWindowIcon
public void setWindowIcon(@Nullable @Nullable GLFWwindow window, int count, @Nullable @Pointer @Nullable IGLFWimage images) - Since:
- Added in version 3.2.
-
setWindowIconifyCallback
@Pointer(comment="GLFWwindowiconifyfun") @NotNull public @NotNull MemorySegment setWindowIconifyCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowiconifyfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowIconifyCallback
@Pointer(comment="GLFWwindowiconifyfun") @NotNull public @NotNull MemorySegment setWindowIconifyCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowiconifyfun callback) -
setWindowIconifyCallback
@Pointer(comment="GLFWwindowiconifyfun") @NotNull public @NotNull MemorySegment setWindowIconifyCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowiconifyfun callback) -
setWindowMaximizeCallback
@Pointer(comment="GLFWwindowmaximizefun") @NotNull public @NotNull MemorySegment setWindowMaximizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowmaximizefun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowMaximizeCallback
@Pointer(comment="GLFWwindowmaximizefun") @NotNull public @NotNull MemorySegment setWindowMaximizeCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowmaximizefun callback) -
setWindowMaximizeCallback
@Pointer(comment="GLFWwindowmaximizefun") @NotNull public @NotNull MemorySegment setWindowMaximizeCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowmaximizefun callback) -
setWindowMonitor
public void setWindowMonitor(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable GLFWmonitor monitor, int xpos, int ypos, int width, int height, int refreshRate) - Since:
- Added in version 3.2.
-
setWindowOpacity
- Since:
- Added in version 3.3.
-
setWindowPos
- Since:
- Added in version 1.0.
-
setWindowPosCallback
@Pointer(comment="GLFWwindowposfun") @NotNull public @NotNull MemorySegment setWindowPosCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowposfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowPosCallback
@Pointer(comment="GLFWwindowposfun") @NotNull public @NotNull MemorySegment setWindowPosCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowposfun callback) -
setWindowPosCallback
@Pointer(comment="GLFWwindowposfun") @NotNull public @NotNull MemorySegment setWindowPosCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowposfun callback) -
setWindowRefreshCallback
@Pointer(comment="GLFWwindowrefreshfun") @NotNull public @NotNull MemorySegment setWindowRefreshCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowrefreshfun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowRefreshCallback
@Pointer(comment="GLFWwindowrefreshfun") @NotNull public @NotNull MemorySegment setWindowRefreshCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowrefreshfun callback) -
setWindowRefreshCallback
@Pointer(comment="GLFWwindowrefreshfun") @NotNull public @NotNull MemorySegment setWindowRefreshCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowrefreshfun callback) -
setWindowShouldClose
- Since:
- Added in version 3.0.
-
setWindowSize
- Since:
- Added in version 1.0.
-
setWindowSizeCallback
@Pointer(comment="GLFWwindowsizefun") @NotNull public @NotNull MemorySegment setWindowSizeCallback(@Nullable @Nullable GLFWwindow window, @Pointer(comment="GLFWwindowsizefun") @NotNull @NotNull MemorySegment callback) - Returns:
The previously set callback, or
NULLif no callback was set or the library had not been(@ref intro_init).invalid reference
initialized
-
setWindowSizeCallback
@Pointer(comment="GLFWwindowsizefun") @NotNull public @NotNull MemorySegment setWindowSizeCallback(Arena arena, @Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowsizefun callback) -
setWindowSizeCallback
@Pointer(comment="GLFWwindowsizefun") @NotNull public @NotNull MemorySegment setWindowSizeCallback(@Nullable @Nullable GLFWwindow window, GLFWFunctionTypes.IGLFWwindowsizefun callback) -
setWindowSizeLimits
public void setWindowSizeLimits(@Nullable @Nullable GLFWwindow window, int minwidth, int minheight, int maxwidth, int maxheight) - Since:
- Added in version 3.2.
-
setWindowTitle
public void setWindowTitle(@Nullable @Nullable GLFWwindow window, @Nullable @Nullable BytePtr title) - Since:
- Added in version 1.0.
-
setWindowUserPointer
public void setWindowUserPointer(@Nullable @Nullable GLFWwindow window, @Pointer(comment="void*") @NotNull @NotNull MemorySegment pointer) - Since:
- Added in version 3.0.
-
setX11SelectionString
- Since:
- Added in version 3.3.
-
showWindow
- Since:
- Added in version 3.0.
-
swapBuffers
- Since:
- Added in version 1.0.
-
swapInterval
public void swapInterval(int interval) - Since:
- Added in version 1.0.
-
terminate
public void terminate()- Since:
- Added in version 1.0.
-
updateGamepadMappings
- Returns:
GLFW_TRUEif successful, orGLFW_FALSEif an(@ref error_handling) occurred.invalid reference
error- Since:
- Added in version 3.3.
-
vulkanSupported
public int vulkanSupported()- Returns:
GLFW_TRUEif Vulkan is minimally available, orGLFW_FALSEotherwise.- Since:
- Added in version 3.2.
-
waitEvents
public void waitEvents()- Since:
- Added in version 2.5.
-
waitEventsTimeout
public void waitEventsTimeout(double timeout) - Since:
- Added in version 3.2.
-
windowHint
public void windowHint(int hint, int value) - Since:
- Added in version 3.0. Replaces
glfwOpenWindowHint.
-
windowHintString
- Since:
- Added in version 3.3.
-
windowShouldClose
- Returns:
- The value of the close flag.
- Since:
- Added in version 3.0.
-