Module glfw::ffi[][src]

Low-level function bindings and constants pertaining to the underlying GLFW library.

Structs

GLFWgamepadstate
GLFWgammaramp
GLFWimage

Pixels are 4-bytes each, RGBA

GLFWvidmode

Enums

GLFWcursor
GLFWmonitor
GLFWwindow

Constants

ACCUM_ALPHA_BITS
ACCUM_BLUE_BITS
ACCUM_GREEN_BITS
ACCUM_RED_BITS
ALPHA_BITS
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_NO_ERROR
CONTEXT_RELEASE_BEHAVIOR
CONTEXT_REVISION
CONTEXT_ROBUSTNESS
CONTEXT_VERSION_MAJOR
CONTEXT_VERSION_MINOR
CROSSHAIR_CURSOR
CURSOR
CURSOR_DISABLED
CURSOR_HIDDEN
CURSOR_NORMAL
DECORATED
DEPTH_BITS
DISCONNECTED
DONT_CARE
DOUBLEBUFFER
EGL_CONTEXT_API
FALSE
FLOATING
FOCUSED
FOCUS_ON_SHOW
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
G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T
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_ERROR
PRESS
RAW_MOUSE_MOTION
RED_BITS
REFRESH_RATE
RELEASE
RELEASE_BEHAVIOR_FLUSH
RELEASE_BEHAVIOR_NONE
REPEAT
RESIZABLE
SAMPLES
SCALE_TO_MONITOR
SRGB_CAPABLE
STENCIL_BITS
STEREO
STICKY_KEYS
STICKY_MOUSE_BUTTONS
TRANSPARENT_FRAMEBUFFER
TRUE
VERSION_UNAVAILABLE
VISIBLE
VRESIZE_CURSOR
X11_CLASS_NAME
X11_INSTANCE_NAME

Functions

glfwCreateCursor
glfwCreateStandardCursor
glfwCreateWindow
glfwDefaultWindowHints
glfwDestroyCursor
glfwDestroyWindow
glfwExtensionSupported
glfwFocusWindow
glfwGetClipboardString
glfwGetCurrentContext
glfwGetCursorPos
glfwGetError
glfwGetFramebufferSize
glfwGetGLXContext
glfwGetGamepadName
glfwGetGamepadState
glfwGetGammaRamp
glfwGetInputMode
glfwGetJoystickAxes
glfwGetJoystickButtons
glfwGetJoystickGUID
glfwGetJoystickHats
glfwGetJoystickName
glfwGetJoystickUserPointer
glfwGetKey
glfwGetKeyName
glfwGetKeyScancode
glfwGetMonitorContentScale
glfwGetMonitorName
glfwGetMonitorPhysicalSize
glfwGetMonitorPos
glfwGetMonitorUserPointer
glfwGetMonitorWorkarea
glfwGetMonitors
glfwGetMouseButton
glfwGetPrimaryMonitor
glfwGetProcAddress
glfwGetTime
glfwGetTimerFrequency
glfwGetTimerValue
glfwGetVersion
glfwGetVersionString
glfwGetVideoMode
glfwGetVideoModes
glfwGetWindowAttrib
glfwGetWindowContentScale
glfwGetWindowFrameSize
glfwGetWindowMonitor
glfwGetWindowOpacity
glfwGetWindowPos
glfwGetWindowSize
glfwGetWindowUserPointer
glfwGetX11Display
glfwGetX11Window
glfwHideWindow
glfwIconifyWindow
glfwInit
glfwInitHint
glfwJoystickIsGamepad
glfwJoystickPresent
glfwMakeContextCurrent
glfwMaximizeWindow
glfwPollEvents
glfwPostEmptyEvent
glfwRawMouseMotionSupported
glfwRequestWindowAttention
glfwRestoreWindow
glfwSetCharCallback
glfwSetCharModsCallback
glfwSetClipboardString
glfwSetCursor
glfwSetCursorEnterCallback
glfwSetCursorPos
glfwSetCursorPosCallback
glfwSetDropCallback
glfwSetErrorCallback
glfwSetFramebufferSizeCallback
glfwSetGamma
glfwSetGammaRamp
glfwSetInputMode
glfwSetJoystickCallback
glfwSetJoystickUserPointer
glfwSetKeyCallback
glfwSetMonitorCallback
glfwSetMonitorUserPointer
glfwSetMouseButtonCallback
glfwSetScrollCallback
glfwSetTime
glfwSetWindowAspectRatio
glfwSetWindowAttrib
glfwSetWindowCloseCallback
glfwSetWindowContentScaleCallback
glfwSetWindowFocusCallback
glfwSetWindowIcon
glfwSetWindowIconifyCallback
glfwSetWindowMaximizeCallback
glfwSetWindowMonitor
glfwSetWindowOpacity
glfwSetWindowPos
glfwSetWindowPosCallback
glfwSetWindowRefreshCallback
glfwSetWindowShouldClose
glfwSetWindowSize
glfwSetWindowSizeCallback
glfwSetWindowSizeLimits
glfwSetWindowTitle
glfwSetWindowUserPointer
glfwShowWindow
glfwSwapBuffers
glfwSwapInterval
glfwTerminate
glfwUpdateGamepadMappings
glfwWaitEvents
glfwWaitEventsTimeout
glfwWindowHint
glfwWindowHintString
glfwWindowShouldClose

Type Definitions

GLFWcharfun
GLFWcharmodsfun
GLFWcursorenterfun
GLFWcursorposfun
GLFWdropfun
GLFWerrorfun
GLFWframebuffersizefun
GLFWglproc
GLFWjoystickfun
GLFWkeyfun
GLFWmonitorfun
GLFWmousebuttonfun
GLFWscrollfun
GLFWwindowclosefun
GLFWwindowcontentscalefun
GLFWwindowfocusfun
GLFWwindowiconifyfun
GLFWwindowmaximizefun
GLFWwindowposfun
GLFWwindowrefreshfun
GLFWwindowsizefun