|
typedef void(* | GLFWcharfun) (GLFWwindow *, unsigned int) |
| The function signature for Unicode character callbacks. More...
|
|
typedef void(* | GLFWcharmodsfun) (GLFWwindow *, unsigned int, int) |
| The function signature for Unicode character with modifiers callbacks. More...
|
|
typedef struct GLFWcursor | GLFWcursor |
| Opaque cursor object. More...
|
|
typedef void(* | GLFWcursorenterfun) (GLFWwindow *, int) |
| The function signature for cursor enter/leave callbacks. More...
|
|
typedef void(* | GLFWcursorposfun) (GLFWwindow *, double, double) |
| The function signature for cursor position callbacks. More...
|
|
typedef void(* | GLFWdropfun) (GLFWwindow *, int, const char **) |
| The function signature for file drop callbacks. More...
|
|
typedef void(* | GLFWerrorfun) (int, const char *) |
| The function signature for error callbacks. More...
|
|
typedef void(* | GLFWframebuffersizefun) (GLFWwindow *, int, int) |
| The function signature for framebuffer resize callbacks. More...
|
|
typedef struct GLFWgammaramp | GLFWgammaramp |
| Gamma ramp. More...
|
|
typedef void(* | GLFWglproc) (void) |
| Client API function pointer type. More...
|
|
typedef struct GLFWimage | GLFWimage |
| Image data. More...
|
|
typedef void(* | GLFWkeyfun) (GLFWwindow *, int, int, int, int) |
| The function signature for keyboard key callbacks. More...
|
|
typedef struct GLFWmonitor | GLFWmonitor |
| Opaque monitor object. More...
|
|
typedef void(* | GLFWmonitorfun) (GLFWmonitor *, int) |
| The function signature for monitor configuration callbacks. More...
|
|
typedef void(* | GLFWmousebuttonfun) (GLFWwindow *, int, int, int) |
| The function signature for mouse button callbacks. More...
|
|
typedef void(* | GLFWscrollfun) (GLFWwindow *, double, double) |
| The function signature for scroll callbacks. More...
|
|
typedef struct GLFWvidmode | GLFWvidmode |
| Video mode type. More...
|
|
typedef struct GLFWwindow | GLFWwindow |
| Opaque window object. More...
|
|
typedef void(* | GLFWwindowclosefun) (GLFWwindow *) |
| The function signature for window close callbacks. More...
|
|
typedef void(* | GLFWwindowfocusfun) (GLFWwindow *, int) |
| The function signature for window focus/defocus callbacks. More...
|
|
typedef void(* | GLFWwindowiconifyfun) (GLFWwindow *, int) |
| The function signature for window iconify/restore callbacks. More...
|
|
typedef void(* | GLFWwindowposfun) (GLFWwindow *, int, int) |
| The function signature for window position callbacks. More...
|
|
typedef void(* | GLFWwindowrefreshfun) (GLFWwindow *) |
| The function signature for window content refresh callbacks. More...
|
|
typedef void(* | GLFWwindowsizefun) (GLFWwindow *, int, int) |
| The function signature for window resize callbacks. More...
|
|
|
GLFWAPI GLFWcursor * | glfwCreateCursor (const GLFWimage *image, int xhot, int yhot) |
| Creates a custom cursor. More...
|
|
GLFWAPI GLFWcursor * | glfwCreateStandardCursor (int shape) |
| Creates a cursor with a standard shape. More...
|
|
GLFWAPI GLFWwindow * | glfwCreateWindow (int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share) |
| Creates a window and its associated context. More...
|
|
GLFWAPI void | glfwDefaultWindowHints (void) |
| Resets all window hints to their default values. More...
|
|
GLFWAPI void | glfwDestroyCursor (GLFWcursor *cursor) |
| Destroys a cursor. More...
|
|
GLFWAPI void | glfwDestroyWindow (GLFWwindow *window) |
| Destroys the specified window and its context. More...
|
|
GLFWAPI int | glfwExtensionSupported (const char *extension) |
| Returns whether the specified extension is available. More...
|
|
GLFWAPI const char * | glfwGetClipboardString (GLFWwindow *window) |
| Returns the contents of the clipboard as a string. More...
|
|
GLFWAPI GLFWwindow * | glfwGetCurrentContext (void) |
| Returns the window whose context is current on the calling thread. More...
|
|
GLFWAPI void | glfwGetCursorPos (GLFWwindow *window, double *xpos, double *ypos) |
| Retrieves the position of the cursor relative to the client area of the window. More...
|
|
GLFWAPI void | glfwGetFramebufferSize (GLFWwindow *window, int *width, int *height) |
| Retrieves the size of the framebuffer of the specified window. More...
|
|
GLFWAPI const GLFWgammaramp * | glfwGetGammaRamp (GLFWmonitor *monitor) |
| Returns the current gamma ramp for the specified monitor. More...
|
|
GLFWAPI int | glfwGetInputMode (GLFWwindow *window, int mode) |
| Returns the value of an input option for the specified window. More...
|
|
GLFWAPI const float * | glfwGetJoystickAxes (int joy, int *count) |
| Returns the values of all axes of the specified joystick. More...
|
|
GLFWAPI const unsigned char * | glfwGetJoystickButtons (int joy, int *count) |
| Returns the state of all buttons of the specified joystick. More...
|
|
GLFWAPI const char * | glfwGetJoystickName (int joy) |
| Returns the name of the specified joystick. More...
|
|
GLFWAPI int | glfwGetKey (GLFWwindow *window, int key) |
| Returns the last reported state of a keyboard key for the specified window. More...
|
|
GLFWAPI const char * | glfwGetMonitorName (GLFWmonitor *monitor) |
| Returns the name of the specified monitor. More...
|
|
GLFWAPI void | glfwGetMonitorPhysicalSize (GLFWmonitor *monitor, int *widthMM, int *heightMM) |
| Returns the physical size of the monitor. More...
|
|
GLFWAPI void | glfwGetMonitorPos (GLFWmonitor *monitor, int *xpos, int *ypos) |
| Returns the position of the monitor's viewport on the virtual screen. More...
|
|
GLFWAPI GLFWmonitor ** | glfwGetMonitors (int *count) |
| Returns the currently connected monitors. More...
|
|
GLFWAPI int | glfwGetMouseButton (GLFWwindow *window, int button) |
| Returns the last reported state of a mouse button for the specified window. More...
|
|
GLFWAPI GLFWmonitor * | glfwGetPrimaryMonitor (void) |
| Returns the primary monitor. More...
|
|
GLFWAPI GLFWglproc | glfwGetProcAddress (const char *procname) |
| Returns the address of the specified function for the current context. More...
|
|
GLFWAPI double | glfwGetTime (void) |
| Returns the value of the GLFW timer. More...
|
|
GLFWAPI void | glfwGetVersion (int *major, int *minor, int *rev) |
| Retrieves the version of the GLFW library. More...
|
|
GLFWAPI const char * | glfwGetVersionString (void) |
| Returns a string describing the compile-time configuration. More...
|
|
GLFWAPI const GLFWvidmode * | glfwGetVideoMode (GLFWmonitor *monitor) |
| Returns the current mode of the specified monitor. More...
|
|
GLFWAPI const GLFWvidmode * | glfwGetVideoModes (GLFWmonitor *monitor, int *count) |
| Returns the available video modes for the specified monitor. More...
|
|
GLFWAPI int | glfwGetWindowAttrib (GLFWwindow *window, int attrib) |
| Returns an attribute of the specified window. More...
|
|
GLFWAPI void | glfwGetWindowFrameSize (GLFWwindow *window, int *left, int *top, int *right, int *bottom) |
| Retrieves the size of the frame of the window. More...
|
|
GLFWAPI GLFWmonitor * | glfwGetWindowMonitor (GLFWwindow *window) |
| Returns the monitor that the window uses for full screen mode. More...
|
|
GLFWAPI void | glfwGetWindowPos (GLFWwindow *window, int *xpos, int *ypos) |
| Retrieves the position of the client area of the specified window. More...
|
|
GLFWAPI void | glfwGetWindowSize (GLFWwindow *window, int *width, int *height) |
| Retrieves the size of the client area of the specified window. More...
|
|
GLFWAPI void * | glfwGetWindowUserPointer (GLFWwindow *window) |
| Returns the user pointer of the specified window. More...
|
|
GLFWAPI void | glfwHideWindow (GLFWwindow *window) |
| Hides the specified window. More...
|
|
GLFWAPI void | glfwIconifyWindow (GLFWwindow *window) |
| Iconifies the specified window. More...
|
|
GLFWAPI int | glfwInit (void) |
| Initializes the GLFW library. More...
|
|
GLFWAPI int | glfwJoystickPresent (int joy) |
| Returns whether the specified joystick is present. More...
|
|
GLFWAPI void | glfwMakeContextCurrent (GLFWwindow *window) |
| Makes the context of the specified window current for the calling thread. More...
|
|
GLFWAPI void | glfwPollEvents (void) |
| Processes all pending events. More...
|
|
GLFWAPI void | glfwPostEmptyEvent (void) |
| Posts an empty event to the event queue. More...
|
|
GLFWAPI void | glfwRestoreWindow (GLFWwindow *window) |
| Restores the specified window. More...
|
|
GLFWAPI GLFWcharfun | glfwSetCharCallback (GLFWwindow *window, GLFWcharfun cbfun) |
| Sets the Unicode character callback. More...
|
|
GLFWAPI GLFWcharmodsfun | glfwSetCharModsCallback (GLFWwindow *window, GLFWcharmodsfun cbfun) |
| Sets the Unicode character with modifiers callback. More...
|
|
GLFWAPI void | glfwSetClipboardString (GLFWwindow *window, const char *string) |
| Sets the clipboard to the specified string. More...
|
|
GLFWAPI void | glfwSetCursor (GLFWwindow *window, GLFWcursor *cursor) |
| Sets the cursor for the window. More...
|
|
GLFWAPI GLFWcursorenterfun | glfwSetCursorEnterCallback (GLFWwindow *window, GLFWcursorenterfun cbfun) |
| Sets the cursor enter/exit callback. More...
|
|
GLFWAPI void | glfwSetCursorPos (GLFWwindow *window, double xpos, double ypos) |
| Sets the position of the cursor, relative to the client area of the window. More...
|
|
GLFWAPI GLFWcursorposfun | glfwSetCursorPosCallback (GLFWwindow *window, GLFWcursorposfun cbfun) |
| Sets the cursor position callback. More...
|
|
GLFWAPI GLFWdropfun | glfwSetDropCallback (GLFWwindow *window, GLFWdropfun cbfun) |
| Sets the file drop callback. More...
|
|
GLFWAPI GLFWerrorfun | glfwSetErrorCallback (GLFWerrorfun cbfun) |
| Sets the error callback. More...
|
|
GLFWAPI GLFWframebuffersizefun | glfwSetFramebufferSizeCallback (GLFWwindow *window, GLFWframebuffersizefun cbfun) |
| Sets the framebuffer resize callback for the specified window. More...
|
|
GLFWAPI void | glfwSetGamma (GLFWmonitor *monitor, float gamma) |
| Generates a gamma ramp and sets it for the specified monitor. More...
|
|
GLFWAPI void | glfwSetGammaRamp (GLFWmonitor *monitor, const GLFWgammaramp *ramp) |
| Sets the current gamma ramp for the specified monitor. More...
|
|
GLFWAPI void | glfwSetInputMode (GLFWwindow *window, int mode, int value) |
| Sets an input option for the specified window. More...
|
|
GLFWAPI GLFWkeyfun | glfwSetKeyCallback (GLFWwindow *window, GLFWkeyfun cbfun) |
| Sets the key callback. More...
|
|
GLFWAPI GLFWmonitorfun | glfwSetMonitorCallback (GLFWmonitorfun cbfun) |
| Sets the monitor configuration callback. More...
|
|
GLFWAPI GLFWmousebuttonfun | glfwSetMouseButtonCallback (GLFWwindow *window, GLFWmousebuttonfun cbfun) |
| Sets the mouse button callback. More...
|
|
GLFWAPI GLFWscrollfun | glfwSetScrollCallback (GLFWwindow *window, GLFWscrollfun cbfun) |
| Sets the scroll callback. More...
|
|
GLFWAPI void | glfwSetTime (double time) |
| Sets the GLFW timer. More...
|
|
GLFWAPI GLFWwindowclosefun | glfwSetWindowCloseCallback (GLFWwindow *window, GLFWwindowclosefun cbfun) |
| Sets the close callback for the specified window. More...
|
|
GLFWAPI GLFWwindowfocusfun | glfwSetWindowFocusCallback (GLFWwindow *window, GLFWwindowfocusfun cbfun) |
| Sets the focus callback for the specified window. More...
|
|
GLFWAPI GLFWwindowiconifyfun | glfwSetWindowIconifyCallback (GLFWwindow *window, GLFWwindowiconifyfun cbfun) |
| Sets the iconify callback for the specified window. More...
|
|
GLFWAPI void | glfwSetWindowPos (GLFWwindow *window, int xpos, int ypos) |
| Sets the position of the client area of the specified window. More...
|
|
GLFWAPI GLFWwindowposfun | glfwSetWindowPosCallback (GLFWwindow *window, GLFWwindowposfun cbfun) |
| Sets the position callback for the specified window. More...
|
|
GLFWAPI GLFWwindowrefreshfun | glfwSetWindowRefreshCallback (GLFWwindow *window, GLFWwindowrefreshfun cbfun) |
| Sets the refresh callback for the specified window. More...
|
|
GLFWAPI void | glfwSetWindowShouldClose (GLFWwindow *window, int value) |
| Sets the close flag of the specified window. More...
|
|
GLFWAPI void | glfwSetWindowSize (GLFWwindow *window, int width, int height) |
| Sets the size of the client area of the specified window. More...
|
|
GLFWAPI GLFWwindowsizefun | glfwSetWindowSizeCallback (GLFWwindow *window, GLFWwindowsizefun cbfun) |
| Sets the size callback for the specified window. More...
|
|
GLFWAPI void | glfwSetWindowTitle (GLFWwindow *window, const char *title) |
| Sets the title of the specified window. More...
|
|
GLFWAPI void | glfwSetWindowUserPointer (GLFWwindow *window, void *pointer) |
| Sets the user pointer of the specified window. More...
|
|
GLFWAPI void | glfwShowWindow (GLFWwindow *window) |
| Makes the specified window visible. More...
|
|
GLFWAPI void | glfwSwapBuffers (GLFWwindow *window) |
| Swaps the front and back buffers of the specified window. More...
|
|
GLFWAPI void | glfwSwapInterval (int interval) |
| Sets the swap interval for the current context. More...
|
|
GLFWAPI void | glfwTerminate (void) |
| Terminates the GLFW library. More...
|
|
GLFWAPI void | glfwWaitEvents (void) |
| Waits until events are queued and processes them. More...
|
|
GLFWAPI void | glfwWindowHint (int target, int hint) |
| Sets the specified window hint to the desired value. More...
|
|
GLFWAPI int | glfwWindowShouldClose (GLFWwindow *window) |
| Checks the close flag of the specified window. More...
|
|