![]() |
GL CHOCO ENGINE
|
入力状態格納構造体 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 |
入力状態格納構造体
| double input_snapshot::cursor_x |
マウス座標x
| double input_snapshot::cursor_y |
マウス座標y
| bool input_snapshot::escape_pressed |
エスケープキー押下イベント発生
| int input_snapshot::framebuffer_height |
フレームバッファサイズ(高さ)
| int input_snapshot::framebuffer_width |
フレームバッファサイズ(幅)
| bool input_snapshot::keycode_state[KEY_CODE_MAX] |
各キーコード(keycode_t)ごとの押下状態(true: 押下中 / false: 非押下)
| bool input_snapshot::left_button_pressed |
マウス左ボタン押下フラグ
| bool input_snapshot::right_button_pressed |
マウス右ボタン押下フラグ
| int input_snapshot::window_height |
ウィンドウ高さ
| bool input_snapshot::window_should_close |
ウィンドウクローズイベント発生
| int input_snapshot::window_width |
ウィンドウ幅