KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rhi_supersample.h File Reference
#include <rhi/frame_packet.h>
#include <algorithm>
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  KIGFX
 The Cairo implementation of the graphics abstraction layer.
 

Functions

FRAME_UBO_DATA KIGFX::RhiSupersampleFrame (const FRAME_UBO_DATA &aFrame, uint32_t aFactor)
 
GRID_UBO_DATA KIGFX::RhiSupersampleGrid (const GRID_UBO_DATA &aGrid, uint32_t aFactor)
 

Variables

constexpr float KIGFX::RHI_SUPERSAMPLE_OFFSET = 0.5f
 Offset of a supersampled target from where its frame puts the scene, in pixels.