|
KiCad PCB EDA Suite
|
Cursor uniform block matching the CursorUBO layout in cursor.frag (std140). More...
#include <frame_packet.h>
Public Attributes | |
| float | cursorPos [2] = {} |
| NDC [-1, 1]. | |
| float | viewport [2] = {} |
| float | crosshairColor [4] = {} |
| float | snapColor [4] = {} |
| float | crosshairWidth = 1.0f |
| float | snapRadius = 5.0f |
| int | showSnap = 0 |
| int | cursorType = 1 |
| 0 = small cross, 1 = fullscreen, 2 = diagonal 45° | |
| float | cursorSize = 80.0f |
| small cross extent in pixels | |
| float | _pad0 [3] = {} |
Cursor uniform block matching the CursorUBO layout in cursor.frag (std140).
Definition at line 91 of file frame_packet.h.
| float KIGFX::CURSOR_UBO_DATA::_pad0[3] = {} |
Definition at line 102 of file frame_packet.h.
| float KIGFX::CURSOR_UBO_DATA::crosshairColor[4] = {} |
Definition at line 95 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::crosshairWidth = 1.0f |
Definition at line 97 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::cursorPos[2] = {} |
NDC [-1, 1].
Definition at line 93 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::cursorSize = 80.0f |
small cross extent in pixels
Definition at line 101 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| int KIGFX::CURSOR_UBO_DATA::cursorType = 1 |
0 = small cross, 1 = fullscreen, 2 = diagonal 45°
Definition at line 100 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| int KIGFX::CURSOR_UBO_DATA::showSnap = 0 |
Definition at line 99 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::snapColor[4] = {} |
Definition at line 96 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::snapRadius = 5.0f |
Definition at line 98 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().
| float KIGFX::CURSOR_UBO_DATA::viewport[2] = {} |
Definition at line 94 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCursorUBO().