|
KiCad PCB EDA Suite
|
Per-frame uniform block matching FrameUBO in frame_ubo.glsl (std140). More...
#include <frame_packet.h>
Public Member Functions | |
| bool | operator== (const FRAME_UBO_DATA &aOther) const =default |
Public Attributes | |
| float | projection [16] = {} |
| column-major for GLSL | |
| float | viewport [2] = {} |
| float | viewScale = 0.0f |
| the view's scale, which levels of detail are compared with | |
| float | renderScale = 1.0f |
| target texels per viewport pixel, above 1 in a supersampled target | |
Per-frame uniform block matching FrameUBO in frame_ubo.glsl (std140).
Definition at line 109 of file frame_packet.h.
|
default |
| float KIGFX::FRAME_UBO_DATA::projection[16] = {} |
column-major for GLSL
Definition at line 111 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCameraUBOs(), KIGFX::RhiCullView(), KIGFX::RhiSupersampleFrame(), KIGFX::RhiViewMovedOnly(), KIGFX::RhiViewShift(), and KIGFX::RhiWidenFrame().
| float KIGFX::FRAME_UBO_DATA::renderScale = 1.0f |
target texels per viewport pixel, above 1 in a supersampled target
Definition at line 114 of file frame_packet.h.
Referenced by KIGFX::RhiSupersampleFrame().
| float KIGFX::FRAME_UBO_DATA::viewport[2] = {} |
Definition at line 112 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCameraUBOs(), KIGFX::RhiCullView(), KIGFX::RhiSupersampleFrame(), KIGFX::RhiViewMovedOnly(), KIGFX::RhiViewShift(), and KIGFX::RhiWidenFrame().
| float KIGFX::FRAME_UBO_DATA::viewScale = 0.0f |
the view's scale, which levels of detail are compared with
Definition at line 113 of file frame_packet.h.
Referenced by KIGFX::GAL_MODERN::PopulateCameraUBOs(), and KIGFX::RhiCullView().