Blender  V3.3
Public Attributes | List of all members
Window Struct Reference

Public Attributes

WindowInitFunc initf = nullptr
 
WindowExitFunc exitf = nullptr
 
WindowResizeFunc resize = nullptr
 
WindowDisplayFunc display = nullptr
 
WindowKeyboardFunc keyboard = nullptr
 
WindowMotionFunc motion = nullptr
 
bool first_display = true
 
bool redraw = false
 
int mouseX = 0
 
int mouseY = 0
 
int mouseBut0 = 0
 
int mouseBut2 = 0
 
int width = 0
 
int height = 0
 
SDL_Window * window = nullptr
 
SDL_GLContext gl_context = nullptr
 
thread_mutex gl_context_mutex
 

Detailed Description

Definition at line 21 of file window.cpp.

Member Data Documentation

◆ display

WindowDisplayFunc Window::display = nullptr

Definition at line 25 of file window.cpp.

Referenced by window_display(), and window_main_loop().

◆ exitf

WindowExitFunc Window::exitf = nullptr

Definition at line 23 of file window.cpp.

Referenced by window_display(), window_keyboard(), and window_main_loop().

◆ first_display

bool Window::first_display = true

Definition at line 29 of file window.cpp.

Referenced by window_display(), and window_main_loop().

◆ gl_context

SDL_GLContext Window::gl_context = nullptr

Definition at line 38 of file window.cpp.

Referenced by window_main_loop(), and window_opengl_context_enable().

◆ gl_context_mutex

thread_mutex Window::gl_context_mutex

Definition at line 39 of file window.cpp.

Referenced by window_opengl_context_disable(), and window_opengl_context_enable().

◆ height

int Window::height = 0

◆ initf

WindowInitFunc Window::initf = nullptr

Definition at line 22 of file window.cpp.

Referenced by window_display(), and window_main_loop().

◆ keyboard

WindowKeyboardFunc Window::keyboard = nullptr

Definition at line 26 of file window.cpp.

Referenced by window_keyboard(), and window_main_loop().

◆ motion

WindowMotionFunc Window::motion = nullptr

Definition at line 27 of file window.cpp.

Referenced by window_main_loop(), and window_motion().

◆ mouseBut0

int Window::mouseBut0 = 0

Definition at line 33 of file window.cpp.

Referenced by window_motion(), and window_mouse().

◆ mouseBut2

int Window::mouseBut2 = 0

Definition at line 33 of file window.cpp.

Referenced by window_mouse().

◆ mouseX

int Window::mouseX = 0

Definition at line 32 of file window.cpp.

Referenced by window_motion(), and window_mouse().

◆ mouseY

int Window::mouseY = 0

Definition at line 32 of file window.cpp.

Referenced by window_motion(), and window_mouse().

◆ redraw

bool Window::redraw = false

Definition at line 30 of file window.cpp.

Referenced by window_main_loop(), and window_redraw().

◆ resize

WindowResizeFunc Window::resize = nullptr

Definition at line 24 of file window.cpp.

Referenced by window_main_loop(), and window_reshape().

◆ width

int Window::width = 0

◆ window

SDL_Window* Window::window = nullptr

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