Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
InputCallbacks.hpp
1#pragma once
2
3typedef struct GLFWwindow GLFWwindow;
4
12void resize_callback(GLFWwindow * window, int width, int height);
13
23void key_callback(GLFWwindow * window, int key, int scancode, int action, int mods);
24
31void char_callback(GLFWwindow * window, unsigned int codepoint);
32
41void mouse_button_callback(GLFWwindow * window, int button, int action, int mods);
42
51void cursor_pos_callback(GLFWwindow * window, double xpos, double ypos);
52
61void scroll_callback(GLFWwindow * window, double xoffset, double yoffset);
62
69void iconify_callback(GLFWwindow * window, int state);
70
77void joystick_callback(int joy, int event);
void scroll_callback(GLFWwindow *window, double xoffset, double yoffset)
Definition: InputCallbacks.cpp:38
void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods)
Definition: InputCallbacks.cpp:13
void mouse_button_callback(GLFWwindow *window, int button, int action, int mods)
Definition: InputCallbacks.cpp:24
void iconify_callback(GLFWwindow *window, int state)
Definition: InputCallbacks.cpp:45
void resize_callback(GLFWwindow *window, int width, int height)
Definition: InputCallbacks.cpp:9
void joystick_callback(int joy, int event)
Definition: InputCallbacks.cpp:49
void cursor_pos_callback(GLFWwindow *window, double xpos, double ypos)
Definition: InputCallbacks.cpp:31
void char_callback(GLFWwindow *window, unsigned int codepoint)
Definition: InputCallbacks.cpp:20