KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KIGFX::FRAME_UBO_DATA Struct Reference

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
 

Detailed Description

Per-frame uniform block matching FrameUBO in frame_ubo.glsl (std140).

Definition at line 109 of file frame_packet.h.

Member Function Documentation

◆ operator==()

bool KIGFX::FRAME_UBO_DATA::operator== ( const FRAME_UBO_DATA & aOther) const
default

Member Data Documentation

◆ projection

float KIGFX::FRAME_UBO_DATA::projection[16] = {}

◆ renderScale

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().

◆ viewport

◆ viewScale

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().


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