![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <VBF.h>

Classes | |
| struct | Glyph |
Public Types | |
| enum | Flags : uint16_t { FLAG_NONE = 0 , FLAG_BOLD = 1 << 0 , FLAG_ITALIC = 1 << 1 , FLAG_OUTLINE = 1 << 2 , FLAG_DROP_SHADOW = 1 << 3 , FLAG_BLUR = 1 << 4 , FLAG_SCANLINE = 1 << 5 , FLAG_ANTIALIASED = 1 << 6 , FLAG_CUSTOM = 1 << 7 } |
Public Member Functions | |
| VBF (std::span< const std::byte > vbfData) | |
| VBF (const std::filesystem::path &vbfPath) | |
| operator bool () const | |
| sourcepp::math::Vec2ui16 | getPageSize () const |
| sourcepp::math::Vec2ui16 | getMaxGlyphSize () const |
| Flags | getFlags () const |
| uint16_t | getAscent () const |
| const std::array< Glyph, 256 > & | getGlyphs () const |
Protected Attributes | |
| uint32_t | version = 0 |
| sourcepp::math::Vec2ui16 | pageSize {} |
| sourcepp::math::Vec2ui16 | maxGlyphSize {} |
| Flags | flags = FLAG_NONE |
| uint16_t | ascent = 0 |
| std::array< Glyph, 256 > | glyphs {} |
| enum vtfpp::VBF::Flags : uint16_t |
|
nodiscard |
|
nodiscard |