KiCad PCB EDA Suite
Loading...
Searching...
No Matches
rhi_glyph_atlas.h File Reference
#include <cstdint>
#include <vector>

Go to the source code of this file.

Classes

struct  RHI_GLYPH_ATLAS_DATA
 The bitmap font's multichannel signed distance atlas, which OPENGL_GAL draws net names and pad numbers from. More...
 

Variables

constexpr uint32_t RHI_GLYPH_TABLE_SIZE = 1280
 Length of the shaders' glyph table.
 
constexpr uint32_t RHI_GLYPH_TABLE_BINDING = 2
 Binding of the glyph table beside the atlas texture at 0, see RHI_UBO_BINDING.
 

Variable Documentation

◆ RHI_GLYPH_TABLE_BINDING

uint32_t RHI_GLYPH_TABLE_BINDING = 2
constexpr

Binding of the glyph table beside the atlas texture at 0, see RHI_UBO_BINDING.

Definition at line 35 of file rhi_glyph_atlas.h.

Referenced by KIGFX::RENDER_THREAD::glyphBindGroup(), and RHI_GAL_PIPELINES::Initialize().

◆ RHI_GLYPH_TABLE_SIZE

uint32_t RHI_GLYPH_TABLE_SIZE = 1280
constexpr

Length of the shaders' glyph table.

It must match GLYPH_TABLE_SIZE in glyph_atlas.glsl and cover BUILTIN_FONT::GlyphCount().

Definition at line 30 of file rhi_glyph_atlas.h.

Referenced by KIGFX::RENDER_THREAD::glyphBindGroup().