Load Font texture to VRAM

This commit is contained in:
2023-11-24 23:05:18 -05:00
parent cdf647da20
commit ef1890b3b7
6 changed files with 24 additions and 8 deletions

View File

@@ -1,4 +1,5 @@
#pragma once
#include <PSX/File/file_types.hpp>
#include <PSX/GPU/gpu_types.hpp>
namespace JabyEngine {

View File

@@ -8,6 +8,6 @@ namespace JabyEngine {
.FontSize = {12, 16}
};
static void load(GPU::PositionU16 vram_dst);
static void load(uint32_t* work_area, SimpleTIM vram_dst);
};
}

View File

@@ -3,6 +3,6 @@
namespace JabyEngine {
struct FontWriter {
static void setup(GPU::PositionU16 vram_pos, const FontInfo& font_info);
static void setup(SimpleTIM vram_dst, const FontInfo& font_info);
};
}