summaryrefslogtreecommitdiffstats
path: root/src/libs/dxvk-native-1.9.2a/src/dxvk/hud/dxvk_hud_font.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/libs/dxvk-native-1.9.2a/src/dxvk/hud/dxvk_hud_font.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libs/dxvk-native-1.9.2a/src/dxvk/hud/dxvk_hud_font.h b/src/libs/dxvk-native-1.9.2a/src/dxvk/hud/dxvk_hud_font.h
new file mode 100644
index 00000000..d9530b3f
--- /dev/null
+++ b/src/libs/dxvk-native-1.9.2a/src/dxvk/hud/dxvk_hud_font.h
@@ -0,0 +1,31 @@
+#pragma once
+
+#include <cstdint>
+
+namespace dxvk::hud {
+
+ struct HudGlyph {
+ uint32_t codePoint;
+ int32_t x;
+ int32_t y;
+ int32_t w;
+ int32_t h;
+ int32_t originX;
+ int32_t originY;
+ };
+
+ struct HudFont {
+ int32_t size;
+ uint32_t width;
+ uint32_t height;
+ uint32_t falloff;
+ uint32_t advance;
+ uint32_t charCount;
+
+ const HudGlyph* glyphs;
+ const uint8_t* texture;
+ };
+
+ extern const HudFont g_hudFont;
+
+} \ No newline at end of file