|
KiCad PCB EDA Suite
|
The bitmap font's multichannel signed distance atlas, which OPENGL_GAL draws net names and pad numbers from. More...
#include <rhi_glyph_atlas.h>
Public Attributes | |
| uint32_t | width = 0 |
| uint32_t | height = 0 |
| std::vector< uint8_t > | rgba |
| width * height texels | |
| std::vector< float > | table |
| RHI_GLYPH_TABLE_SIZE rects of x, y, width, height in texels, then one entry for the atlas size. | |
The bitmap font's multichannel signed distance atlas, which OPENGL_GAL draws net names and pad numbers from.
An RHI_INSTANCE_BITMAP_GLYPH instance indexes the table so one quad draws a glyph.
Definition at line 41 of file rhi_glyph_atlas.h.
| uint32_t RHI_GLYPH_ATLAS_DATA::height = 0 |
Definition at line 44 of file rhi_glyph_atlas.h.
| std::vector<uint8_t> RHI_GLYPH_ATLAS_DATA::rgba |
width * height texels
Definition at line 45 of file rhi_glyph_atlas.h.
| std::vector<float> RHI_GLYPH_ATLAS_DATA::table |
RHI_GLYPH_TABLE_SIZE rects of x, y, width, height in texels, then one entry for the atlas size.
Definition at line 50 of file rhi_glyph_atlas.h.
| uint32_t RHI_GLYPH_ATLAS_DATA::width = 0 |
Definition at line 43 of file rhi_glyph_atlas.h.