glfw3/generated/lib_glfw3 library

Properties

libglfw DynamicLibrary
final

Functions

glfwCreateCursor(Pointer<GLFWimage> image, int xhot, int yhot) Pointer<GLFWcursor>
! @brief Creates a custom cursor.
glfwCreateStandardCursor(int shape) Pointer<GLFWcursor>
! @brief Creates a cursor with a standard shape.
glfwCreateWindow(int width, int height, String title, Pointer<GLFWmonitor> monitor, Pointer<GLFWwindow> share) Pointer<GLFWwindow>
! @brief Creates a window and its associated context.
glfwCreateWindowSurface(Pointer<Void> instance, Pointer<GLFWwindow> window, Pointer<Void> allocator, Pointer<Void> surface) Pointer<Void>
! @brief Creates a Vulkan surface for the specified window.
glfwDefaultWindowHints() → void
! @brief Resets all window hints to their default values.
glfwDestroyCursor(Pointer<GLFWcursor> cursor) → void
! @brief Destroys a cursor.
glfwDestroyWindow(Pointer<GLFWwindow> window) → void
! @brief Destroys the specified window and its context.
glfwExtensionSupported(String extension) int
! @brief Returns whether the specified extension is available.
glfwFocusWindow(Pointer<GLFWwindow> window) → void
! @brief Brings the specified window to front and sets input focus.
glfwGetClipboardString(Pointer<GLFWwindow> window) String
! @brief Returns the contents of the clipboard as a string.
glfwGetCurrentContext() Pointer<GLFWwindow>
! @brief Returns the window whose context is current on the calling thread.
glfwGetCursorPos(Pointer<GLFWwindow> window, Pointer<Double> xpos, Pointer<Double> ypos) → void
! @brief Retrieves the position of the cursor relative to the content area of the window.
glfwGetError(Pointer<Pointer<Utf8>> description) int
! @brief Returns and clears the last error for the calling thread.
glfwGetFramebufferSize(Pointer<GLFWwindow> window, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the size of the framebuffer of the specified window.
glfwGetGamepadName(int jid) String
! @brief Returns the human-readable gamepad name for the specified joystick.
glfwGetGamepadState(int jid, Pointer<GLFWgamepadstate> state) int
! @brief Retrieves the state of the specified joystick remapped as a gamepad.
glfwGetGammaRamp(Pointer<GLFWmonitor> monitor) Pointer<GLFWgammaramp>
! @brief Returns the current gamma ramp for the specified monitor.
glfwGetInputMode(Pointer<GLFWwindow> window, int mode) int
! @brief Returns the value of an input option for the specified window.
glfwGetInstanceProcAddress(Pointer<Void> instance, String procname) GLFWvkproc
! @brief Returns the address of the specified Vulkan instance function.
glfwGetJoystickAxes(int jid, Pointer<Int32> count) Pointer<Float>
! @brief Returns the values of all axes of the specified joystick.
glfwGetJoystickButtons(int jid, Pointer<Int32> count) Pointer<Uint8>
! @brief Returns the state of all buttons of the specified joystick.
glfwGetJoystickGUID(int jid) String
! @brief Returns the SDL compatible GUID of the specified joystick.
glfwGetJoystickHats(int jid, Pointer<Int32> count) Pointer<Uint8>
! @brief Returns the state of all hats of the specified joystick.
glfwGetJoystickName(int jid) String
! @brief Returns the name of the specified joystick.
glfwGetJoystickUserPointer(int jid) Pointer<Void>
! @brief Returns the user pointer of the specified joystick.
glfwGetKey(Pointer<GLFWwindow> window, int key) int
! @brief Returns the last reported state of a keyboard key for the specified window.
glfwGetKeyName(int key, int scancode) String
! @brief Returns the layout-specific name of the specified printable key.
glfwGetKeyScancode(int key) int
! @brief Returns the platform-specific scancode of the specified key.
glfwGetMonitorContentScale(Pointer<GLFWmonitor> monitor, Pointer<Float> xscale, Pointer<Float> yscale) → void
! @brief Retrieves the content scale for the specified monitor.
glfwGetMonitorName(Pointer<GLFWmonitor> monitor) String
! @brief Returns the name of the specified monitor.
glfwGetMonitorPhysicalSize(Pointer<GLFWmonitor> monitor, Pointer<Int32> widthMM, Pointer<Int32> heightMM) → void
! @brief Returns the physical size of the monitor.
glfwGetMonitorPos(Pointer<GLFWmonitor> monitor, Pointer<Int32> xpos, Pointer<Int32> ypos) → void
! @brief Returns the position of the monitor's viewport on the virtual screen.
glfwGetMonitors(Pointer<Int32> count) Pointer<Pointer<GLFWmonitor>>
! @brief Returns the currently connected monitors.
glfwGetMonitorUserPointer(Pointer<GLFWmonitor> monitor) Pointer<Void>
! @brief Returns the user pointer of the specified monitor.
glfwGetMonitorWorkarea(Pointer<GLFWmonitor> monitor, Pointer<Int32> xpos, Pointer<Int32> ypos, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the work area of the monitor.
glfwGetMouseButton(Pointer<GLFWwindow> window, int button) int
! @brief Returns the last reported state of a mouse button for the specified window.
glfwGetPhysicalDevicePresentationSupport(Pointer<Void> instance, Pointer<Void> device, int queuefamily) int
! @brief Returns whether the specified queue family can present images.
glfwGetPrimaryMonitor() Pointer<GLFWmonitor>
! @brief Returns the primary monitor.
glfwGetProcAddress(String procname) GLFWglproc
! @brief Returns the address of the specified function for the current context.
glfwGetRequiredInstanceExtensions(Pointer<Uint32> count) Pointer<Pointer<Utf8>>
! @brief Returns the Vulkan instance extensions required by GLFW.
glfwGetTime() double
! @brief Returns the GLFW time.
glfwGetTimerFrequency() int
! @brief Returns the frequency, in Hz, of the raw timer.
glfwGetTimerValue() int
! @brief Returns the current value of the raw timer.
glfwGetVersion(Pointer<Int32> major, Pointer<Int32> minor, Pointer<Int32> rev) → void
! @brief Retrieves the version of the GLFW library.
glfwGetVersionString() String
! @brief Returns a string describing the compile-time configuration.
glfwGetVideoMode(Pointer<GLFWmonitor> monitor) Pointer<GLFWvidmode>
! @brief Returns the current mode of the specified monitor.
glfwGetVideoModes(Pointer<GLFWmonitor> monitor, Pointer<Int32> count) Pointer<GLFWvidmode>
! @brief Returns the available video modes for the specified monitor.
glfwGetWindowAttrib(Pointer<GLFWwindow> window, int attrib) int
! @brief Returns an attribute of the specified window.
glfwGetWindowContentScale(Pointer<GLFWwindow> window, Pointer<Float> xscale, Pointer<Float> yscale) → void
! @brief Retrieves the content scale for the specified window.
glfwGetWindowFrameSize(Pointer<GLFWwindow> window, Pointer<Int32> left, Pointer<Int32> top, Pointer<Int32> right, Pointer<Int32> bottom) → void
! @brief Retrieves the size of the frame of the window.
glfwGetWindowMonitor(Pointer<GLFWwindow> window) Pointer<GLFWmonitor>
! @brief Returns the monitor that the window uses for full screen mode.
glfwGetWindowOpacity(Pointer<GLFWwindow> window) double
! @brief Returns the opacity of the whole window.
glfwGetWindowPos(Pointer<GLFWwindow> window, Pointer<Int32> xpos, Pointer<Int32> ypos) → void
! @brief Retrieves the position of the content area of the specified window.
glfwGetWindowSize(Pointer<GLFWwindow> window, Pointer<Int32> width, Pointer<Int32> height) → void
! @brief Retrieves the size of the content area of the specified window.
glfwGetWindowUserPointer(Pointer<GLFWwindow> window) Pointer<Void>
! @brief Returns the user pointer of the specified window.
glfwHideWindow(Pointer<GLFWwindow> window) → void
! @brief Hides the specified window.
glfwIconifyWindow(Pointer<GLFWwindow> window) → void
! @brief Iconifies the specified window.
glfwInit() int
! @brief Initializes the GLFW library.
glfwInitHint(int hint, int value) → void
! @brief Sets the specified init hint to the desired value.
glfwJoystickIsGamepad(int jid) int
! @brief Returns whether the specified joystick has a gamepad mapping.
glfwJoystickPresent(int jid) int
! @brief Returns whether the specified joystick is present.
glfwMakeContextCurrent(Pointer<GLFWwindow> window) → void
! @brief Makes the context of the specified window current for the calling thread.
glfwMaximizeWindow(Pointer<GLFWwindow> window) → void
! @brief Maximizes the specified window.
glfwPollEvents() → void
! @brief Processes all pending events.
glfwPostEmptyEvent() → void
! @brief Posts an empty event to the event queue.
glfwRawMouseMotionSupported() int
! @brief Returns whether raw mouse motion is supported.
glfwRequestWindowAttention(Pointer<GLFWwindow> window) → void
! @brief Requests user attention to the specified window.
glfwRestoreWindow(Pointer<GLFWwindow> window) → void
! @brief Restores the specified window.
glfwSetCharCallback(Pointer<GLFWwindow> window, GLFWcharfun callback) GLFWcharfun
! @brief Sets the Unicode character callback.
glfwSetCharModsCallback(Pointer<GLFWwindow> window, GLFWcharmodsfun callback) GLFWcharmodsfun
! @brief Sets the Unicode character with modifiers callback.
glfwSetClipboardString(Pointer<GLFWwindow> window, String string) → void
! @brief Sets the clipboard to the specified string.
glfwSetCursor(Pointer<GLFWwindow> window, Pointer<GLFWcursor> cursor) → void
! @brief Sets the cursor for the window.
glfwSetCursorEnterCallback(Pointer<GLFWwindow> window, GLFWcursorenterfun callback) GLFWcursorenterfun
! @brief Sets the cursor enter/leave callback.
glfwSetCursorPos(Pointer<GLFWwindow> window, double xpos, double ypos) → void
! @brief Sets the position of the cursor, relative to the content area of the window.
glfwSetCursorPosCallback(Pointer<GLFWwindow> window, GLFWcursorposfun callback) GLFWcursorposfun
! @brief Sets the cursor position callback.
glfwSetDropCallback(Pointer<GLFWwindow> window, GLFWdropfun callback) GLFWdropfun
! @brief Sets the path drop callback.
glfwSetErrorCallback(GLFWerrorfun callback) GLFWerrorfun
! @brief Sets the error callback.
glfwSetFramebufferSizeCallback(Pointer<GLFWwindow> window, GLFWframebuffersizefun callback) GLFWframebuffersizefun
! @brief Sets the framebuffer resize callback for the specified window.
glfwSetGamma(Pointer<GLFWmonitor> monitor, double gamma) → void
! @brief Generates a gamma ramp and sets it for the specified monitor.
glfwSetGammaRamp(Pointer<GLFWmonitor> monitor, Pointer<GLFWgammaramp> ramp) → void
! @brief Sets the current gamma ramp for the specified monitor.
glfwSetInputMode(Pointer<GLFWwindow> window, int mode, int value) → void
! @brief Sets an input option for the specified window.
glfwSetJoystickCallback(GLFWjoystickfun callback) GLFWjoystickfun
! @brief Sets the joystick configuration callback.
glfwSetJoystickUserPointer(int jid, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified joystick.
glfwSetKeyCallback(Pointer<GLFWwindow> window, GLFWkeyfun callback) GLFWkeyfun
! @brief Sets the key callback.
glfwSetMonitorCallback(GLFWmonitorfun callback) GLFWmonitorfun
! @brief Sets the monitor configuration callback.
glfwSetMonitorUserPointer(Pointer<GLFWmonitor> monitor, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified monitor.
glfwSetMouseButtonCallback(Pointer<GLFWwindow> window, GLFWmousebuttonfun callback) GLFWmousebuttonfun
! @brief Sets the mouse button callback.
glfwSetScrollCallback(Pointer<GLFWwindow> window, GLFWscrollfun callback) GLFWscrollfun
! @brief Sets the scroll callback.
glfwSetTime(double time) → void
! @brief Sets the GLFW time.
glfwSetWindowAspectRatio(Pointer<GLFWwindow> window, int numer, int denom) → void
! @brief Sets the aspect ratio of the specified window.
glfwSetWindowAttrib(Pointer<GLFWwindow> window, int attrib, int value) → void
! @brief Sets an attribute of the specified window.
glfwSetWindowCloseCallback(Pointer<GLFWwindow> window, GLFWwindowclosefun callback) GLFWwindowclosefun
! @brief Sets the close callback for the specified window.
glfwSetWindowContentScaleCallback(Pointer<GLFWwindow> window, GLFWwindowcontentscalefun callback) GLFWwindowcontentscalefun
! @brief Sets the window content scale callback for the specified window.
glfwSetWindowFocusCallback(Pointer<GLFWwindow> window, GLFWwindowfocusfun callback) GLFWwindowfocusfun
! @brief Sets the focus callback for the specified window.
glfwSetWindowIcon(Pointer<GLFWwindow> window, int count, Pointer<GLFWimage> images) → void
! @brief Sets the icon for the specified window.
glfwSetWindowIconifyCallback(Pointer<GLFWwindow> window, GLFWwindowiconifyfun callback) GLFWwindowiconifyfun
! @brief Sets the iconify callback for the specified window.
glfwSetWindowMaximizeCallback(Pointer<GLFWwindow> window, GLFWwindowmaximizefun callback) GLFWwindowmaximizefun
! @brief Sets the maximize callback for the specified window.
glfwSetWindowMonitor(Pointer<GLFWwindow> window, Pointer<GLFWmonitor> monitor, int xpos, int ypos, int width, int height, int refreshRate) → void
! @brief Sets the mode, monitor, video mode and placement of a window.
glfwSetWindowOpacity(Pointer<GLFWwindow> window, double opacity) → void
! @brief Sets the opacity of the whole window.
glfwSetWindowPos(Pointer<GLFWwindow> window, int xpos, int ypos) → void
! @brief Sets the position of the content area of the specified window.
glfwSetWindowPosCallback(Pointer<GLFWwindow> window, GLFWwindowposfun callback) GLFWwindowposfun
! @brief Sets the position callback for the specified window.
glfwSetWindowRefreshCallback(Pointer<GLFWwindow> window, GLFWwindowrefreshfun callback) GLFWwindowrefreshfun
! @brief Sets the refresh callback for the specified window.
glfwSetWindowShouldClose(Pointer<GLFWwindow> window, int value) → void
! @brief Sets the close flag of the specified window.
glfwSetWindowSize(Pointer<GLFWwindow> window, int width, int height) → void
! @brief Sets the size of the content area of the specified window.
glfwSetWindowSizeCallback(Pointer<GLFWwindow> window, GLFWwindowsizefun callback) GLFWwindowsizefun
! @brief Sets the size callback for the specified window.
glfwSetWindowSizeLimits(Pointer<GLFWwindow> window, int minwidth, int minheight, int maxwidth, int maxheight) → void
! @brief Sets the size limits of the specified window.
glfwSetWindowTitle(Pointer<GLFWwindow> window, String title) → void
! @brief Sets the title of the specified window.
glfwSetWindowUserPointer(Pointer<GLFWwindow> window, Pointer<Void> pointer) → void
! @brief Sets the user pointer of the specified window.
glfwShowWindow(Pointer<GLFWwindow> window) → void
! @brief Makes the specified window visible.
glfwSwapBuffers(Pointer<GLFWwindow> window) → void
! @brief Swaps the front and back buffers of the specified window.
glfwSwapInterval(int interval) → void
! @brief Sets the swap interval for the current context.
glfwTerminate() → void
! @brief Terminates the GLFW library.
glfwUpdateGamepadMappings(String string) int
! @brief Adds the specified SDL_GameControllerDB gamepad mappings.
glfwVulkanSupported() int
! @brief Returns whether the Vulkan loader and an ICD have been found.
glfwWaitEvents() → void
! @brief Waits until events are queued and processes them.
glfwWaitEventsTimeout(double timeout) → void
! @brief Waits with timeout until events are queued and processes them.
glfwWindowHint(int hint, int value) → void
! @brief Sets the specified window hint to the desired value.
glfwWindowHintString(int hint, String value) → void
! @brief Sets the specified window hint to the desired value.
glfwWindowShouldClose(Pointer<GLFWwindow> window) int
! @brief Checks the close flag of the specified window.

Typedefs

GLFWcharfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Uint32)>>
GLFWcharfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWcharmodsfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Uint32, Int32)>>
GLFWcharmodsfunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWcursorenterfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWcursorenterfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWcursorposfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Double, Double)>>
GLFWcursorposfunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWdropfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Pointer<Pointer<Utf8>>)>>
GLFWdropfunDart = void Function(Pointer<GLFWwindow>, int, Pointer<Pointer<Utf8>>)
GLFWerrorfun = Pointer<NativeFunction<Void Function(Int32, Pointer<Utf8>)>>
GLFWerrorfunDart = void Function(int, Pointer<Utf8>)
GLFWframebuffersizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWframebuffersizefunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWglproc = Pointer<NativeFunction<Void Function()>>
GLFWglprocDart = void Function()
GLFWjoystickfun = Pointer<NativeFunction<Void Function(Int32, Int32)>>
GLFWjoystickfunDart = void Function(int, int)
GLFWkeyfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32, Int32, Int32)>>
GLFWkeyfunDart = void Function(Pointer<GLFWwindow>, int, int, int, int)
GLFWmonitorfun = Pointer<NativeFunction<Void Function(Pointer<GLFWmonitor>, Int32)>>
GLFWmonitorfunDart = void Function(Pointer<GLFWmonitor>, int)
GLFWmousebuttonfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32, Int32)>>
GLFWmousebuttonfunDart = void Function(Pointer<GLFWwindow>, int, int, int)
GLFWscrollfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Double, Double)>>
GLFWscrollfunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWvkproc = Pointer<NativeFunction<Void Function()>>
GLFWvkprocDart = void Function()
GLFWwindowclosefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>)>>
GLFWwindowclosefunDart = void Function(Pointer<GLFWwindow>)
GLFWwindowcontentscalefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Float, Float)>>
GLFWwindowcontentscalefunDart = void Function(Pointer<GLFWwindow>, double, double)
GLFWwindowfocusfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowfocusfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowiconifyfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowiconifyfunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowmaximizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32)>>
GLFWwindowmaximizefunDart = void Function(Pointer<GLFWwindow>, int)
GLFWwindowposfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWwindowposfunDart = void Function(Pointer<GLFWwindow>, int, int)
GLFWwindowrefreshfun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>)>>
GLFWwindowrefreshfunDart = void Function(Pointer<GLFWwindow>)
GLFWwindowsizefun = Pointer<NativeFunction<Void Function(Pointer<GLFWwindow>, Int32, Int32)>>
GLFWwindowsizefunDart = void Function(Pointer<GLFWwindow>, int, int)