Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
Loading...
Searching...
No Matches
Engine::Assets::Authored::FontAssetRef Struct Reference

Handle to a font asset. More...

#include <AssetRefs.h>

Collaboration diagram for Engine::Assets::Authored::FontAssetRef:

Public Attributes

std::string_view source
 Authored font source path.
std::string_view faceName
 Font face name to load from the source.
uint32_t pixelSize = 0
 Requested font size in pixels.

Detailed Description

Handle to a font asset.

The font owns face configuration, glyph metrics, and its atlas relationship. Code that only samples glyph pixels should use the atlas texture handle; code that lays out text needs the font handle.

Definition at line 114 of file AssetRefs.h.

Member Data Documentation

◆ faceName

std::string_view Engine::Assets::Authored::FontAssetRef::faceName

Font face name to load from the source.

Definition at line 117 of file AssetRefs.h.

◆ pixelSize

uint32_t Engine::Assets::Authored::FontAssetRef::pixelSize = 0

Requested font size in pixels.

Definition at line 118 of file AssetRefs.h.

◆ source

std::string_view Engine::Assets::Authored::FontAssetRef::source

Authored font source path.

Definition at line 116 of file AssetRefs.h.


The documentation for this struct was generated from the following file:
  • /workspace/magerbeton/gl3-vulkan/code/Engine/include/Engine/Asset/AssetRefs.h