Support ClearCache command

This commit is contained in:
Jaby 2024-03-06 17:17:13 -06:00 committed by Jaby
parent 5e7bcbf62a
commit 36e8471aba
1 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,10 @@ namespace JabyEngine {
} }
}; };
static constexpr struct GP0 ClearCache() {
return Helper::construct_cmd<struct GP0>(0x01, 0x0);
}
static constexpr struct GP0 QuickFill(GPU::Color24 color) { static constexpr struct GP0 QuickFill(GPU::Color24 color) {
return Helper::construct_cmd<struct GP0>(0x02, color.raw()); return Helper::construct_cmd<struct GP0>(0x02, color.raw());
} }