FontId.ixx File
Strongly-typed identifier for font families. More...
Included Headers
#include <cstdint>
#include <string_view>
#include <helios.core.types>
#include <helios.core.algorithms>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | core |
|
Core engine infrastructure providing fundamental building blocks. More... | |
| namespace | data |
|
Data structures for efficient entity management. More... | |
Classes Index
| struct | FontId |
|
Strongly-typed identifier for font families used in text rendering. More... | |
| struct | hash<helios::engine::core::data::FontId> |
|
Hash specialization for `FontId` to enable use in unordered containers. More... | |
Description
Strongly-typed identifier for font families.
File Listing
The file content with the documentation metadata removed is:
15export namespace helios::engine::core::data {
41 struct FontId {
70 : FontId(helios::core::algorithms::fnv1a_hash(str)) {}
72 explicit constexpr FontId(helios::core::types::no_init_t) {};
86 friend constexpr bool operator==(FontId, FontId) noexcept = default;
127 std::size_t operator()(const helios::engine::core::data::FontId& id) const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.