|
jGL
|
#include <vkFont.h>


Public Member Functions | |
| vkFont (const Device &device, const Command &command, uint8_t w) | |
| ~vkFont () | |
| const VkImageView & | getGlyphView () const |
Public Member Functions inherited from jGL::Font | |
| Font (uint8_t w) | |
| virtual | ~Font () |
| const glm::ivec2 | getBitmapSize () const |
| std::array< glm::vec4, 6 > | getGlyphVertices (float x, float y, float scale, unsigned char c) |
| glm::vec4 | getGlyphOffset (unsigned char c) |
| glm::ivec2 | getGlyphSize (unsigned char c) |
| float | spacing (float scale) |
| void | bind (unsigned int b) |
Additional Inherited Members | |
Protected Attributes inherited from jGL::Font | |
| uint8_t | width |
| std::map< unsigned char, Glyph > | glyphs |
| std::map< unsigned char, glm::vec4 > | glyphOffset |
| std::shared_ptr< Texture > | fontBitmap |
| std::vector< std::byte > | bitmapPixels |
| uint16_t | bw |
| uint16_t | bh |
|
inline |
|
inline |