GL CHOCO ENGINE
Loading...
Searching...
No Matches
input_snapshot Struct Reference

入力状態格納構造体 More...

Data Fields

double cursor_x
 
double cursor_y
 
int window_width
 
int window_height
 
int framebuffer_width
 
int framebuffer_height
 
bool window_should_close
 
bool escape_pressed
 
bool keycode_state [KEY_CODE_MAX]
 
bool left_button_pressed
 
bool right_button_pressed
 

Detailed Description

入力状態格納構造体

Field Documentation

◆ cursor_x

double input_snapshot::cursor_x

マウス座標x

◆ cursor_y

double input_snapshot::cursor_y

マウス座標y

◆ escape_pressed

bool input_snapshot::escape_pressed

エスケープキー押下イベント発生

◆ framebuffer_height

int input_snapshot::framebuffer_height

フレームバッファサイズ(高さ)

◆ framebuffer_width

int input_snapshot::framebuffer_width

フレームバッファサイズ(幅)

◆ keycode_state

bool input_snapshot::keycode_state[KEY_CODE_MAX]

各キーコード(keycode_t)ごとの押下状態(true: 押下中 / false: 非押下)

◆ left_button_pressed

bool input_snapshot::left_button_pressed

マウス左ボタン押下フラグ

◆ right_button_pressed

bool input_snapshot::right_button_pressed

マウス右ボタン押下フラグ

◆ window_height

int input_snapshot::window_height

ウィンドウ高さ

◆ window_should_close

bool input_snapshot::window_should_close

ウィンドウクローズイベント発生

◆ window_width

int input_snapshot::window_width

ウィンドウ幅


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