30 sourcepp::math::Vec2ui16
size;
34 explicit VBF(std::span<const std::byte> vbfData);
36 explicit VBF(
const std::filesystem::path& vbfPath);
38 [[nodiscard]]
explicit operator bool()
const;
40 [[nodiscard]] sourcepp::math::Vec2ui16
getPageSize()
const;
48 [[nodiscard]]
const std::array<Glyph, 256>&
getGlyphs()
const;
#define SOURCEPP_BITFLAGS_ENUM(Enum)
Defines bitwise operators for an enum or enum class.
sourcepp::math::Vec2ui16 maxGlyphSize
sourcepp::math::Vec2ui16 getPageSize() const
sourcepp::math::Vec2ui16 getMaxGlyphSize() const
std::array< Glyph, 256 > glyphs
sourcepp::math::Vec2ui16 pageSize
const std::array< Glyph, 256 > & getGlyphs() const
uint16_t getAscent() const
VBF(std::span< const std::byte > vbfData)
consteval uint32_t makeFourCC(const char fourCC[4])
Creates a FourCC identifier from a string of 4 characters.
constexpr uint32_t VBF_SIGNATURE
sourcepp::math::Vec2ui16 size
sourcepp::math::Vec2ui16 position
sourcepp::math::Vec3i16 abcSpacing