Nebula
Loading...
Searching...
No Matches
glfwwindow.h File Reference
#include "GLFW/glfw3.h"
#include "util/fixedarray.h"
#include "coregraphics/window.h"
#include "coregraphics/displaymode.h"
#include "coregraphics/swapchain.h"
#include "ids/idallocator.h"

Go to the source code of this file.

Classes

struct  CoreGraphics::ResizeInfo
 

Namespaces

namespace  CoreGraphics
 Acceleration structures are used to enable ray tracing on the GPU by dividing the scene into a BVH.
 
namespace  GLFW
 

Typedefs

typedef Ids::IdAllocator< GLFWwindow *, CoreGraphics::DisplayMode, IndexT, WindowCreateInfo, ResizeInfo, SwapchainIdCoreGraphics::GLFWWindowAllocatorType
 

Enumerations

enum  {
  CoreGraphics::GLFW_Window , CoreGraphics::GLFW_DisplayMode , CoreGraphics::GLFW_SwapFrame , CoreGraphics::GLFW_SetupInfo ,
  CoreGraphics::GLFW_ResizeInfo , CoreGraphics::GLFW_Swapchain
}
 

Functions

void GLFW::KeyFunc (const CoreGraphics::WindowId &id, int key, int scancode, int action, int mods)
 Keyboard callback.
 
void GLFW::CharFunc (const CoreGraphics::WindowId &id, unsigned int key)
 Character callback.
 
void GLFW::MouseButtonFunc (const CoreGraphics::WindowId &id, int button, int action, int mods)
 Mouse Button callback.
 
void GLFW::MouseFunc (const CoreGraphics::WindowId &id, double xpos, double ypos)
 Mouse callback.
 
void GLFW::ScrollFunc (const CoreGraphics::WindowId &id, double xs, double ys)
 Scroll callback.
 
void GLFW::CloseFunc (const CoreGraphics::WindowId &id)
 window close func
 
void GLFW::FocusFunc (const CoreGraphics::WindowId &id, int focus)
 window focus
 
void GLFW::ResizeFunc (const CoreGraphics::WindowId &id, int width, int height)
 window resize
 
void GLFW::staticKeyFunc (GLFWwindow *window, int key, int scancode, int action, int mods)
 declare static key function as friend
 
void GLFW::staticMouseButtonFunc (GLFWwindow *window, int button, int action, int mods)
 declare static mouse button function as friend
 
void GLFW::staticMouseFunc (GLFWwindow *window, double xpos, double ypos)
 declare static mouse function as friend
 
void GLFW::staticScrollFunc (GLFWwindow *window, double xs, double ys)
 declare static scroll function as friend
 
void GLFW::staticCloseFunc (GLFWwindow *window)
 declare static close function as friend
 
void GLFW::staticFocusFunc (GLFWwindow *window, int focus)
 declare static focus function as friend
 
void GLFW::staticSizeFunc (GLFWwindow *window, int width, int height)
 declare static size function as friend
 
void GLFW::staticCharFunc (GLFWwindow *window, unsigned int key)
 declare static char function as friend
 
void GLFW::EnableCallbacks (const CoreGraphics::WindowId &id)
 enables callbacks
 
void GLFW::DisableCallbacks (const CoreGraphics::WindowId &id)
 disables callbacks
 
const WindowId GLFW::InternalSetupFunction (const WindowCreateInfo &info, const Util::Blob &windowData, bool embed)
 internal setup function, either does embedding or ordinary opening