Tatooine
Public Member Functions | Static Public Member Functions | Private Member Functions | List of all members
tatooine::gl::glfw::api Struct Reference

#include <api.h>

Public Member Functions

 ~api ()
 

Static Public Member Functions

static auto get () -> api const &
 
static auto on_error (int, char const *description) -> void
 
static auto on_close (GLFWwindow *) -> void
 
static auto on_resize (GLFWwindow *w, int width, int height) -> void
 
static auto on_cursor_moved (GLFWwindow *w, double xpos, double ypos) -> void
 
static auto on_button (GLFWwindow *, int button, int action, int mods) -> void
 
static auto on_mouse_wheel (GLFWwindow *, double xoffset, double yoffset) -> void
 
static auto on_key (GLFWwindow *, int key, int scancode, int action, int mods) -> void
 

Private Member Functions

 api ()
 

Constructor & Destructor Documentation

◆ api()

◆ ~api()

tatooine::gl::glfw::api::~api ( )

Member Function Documentation

◆ get()

static auto tatooine::gl::glfw::api::get ( ) -> api const &
static

◆ on_button()

static auto tatooine::gl::glfw::api::on_button ( GLFWwindow *  ,
int  button,
int  action,
int  mods 
) -> void
static

◆ on_close()

static auto tatooine::gl::glfw::api::on_close ( GLFWwindow *  ) -> void
static

◆ on_cursor_moved()

static auto tatooine::gl::glfw::api::on_cursor_moved ( GLFWwindow *  w,
double  xpos,
double  ypos 
) -> void
static

◆ on_error()

static auto tatooine::gl::glfw::api::on_error ( int  ,
char const *  description 
) -> void
static

◆ on_key()

static auto tatooine::gl::glfw::api::on_key ( GLFWwindow *  ,
int  key,
int  scancode,
int  action,
int  mods 
) -> void
static

◆ on_mouse_wheel()

static auto tatooine::gl::glfw::api::on_mouse_wheel ( GLFWwindow *  ,
double  xoffset,
double  yoffset 
) -> void
static

◆ on_resize()

static auto tatooine::gl::glfw::api::on_resize ( GLFWwindow *  w,
int  width,
int  height 
) -> void
static

The documentation for this struct was generated from the following file: