Start refactor of FontWriter
This commit is contained in:
@@ -61,8 +61,7 @@ namespace JabyEngine {
|
||||
struct LinkedElement : public Link {
|
||||
T element;
|
||||
|
||||
constexpr LinkedElement() : Link(sizeof(T)), element() {
|
||||
}
|
||||
constexpr LinkedElement() = default;
|
||||
|
||||
constexpr LinkedElement(const T& element) : Link(sizeof(T)), element(element) {
|
||||
}
|
||||
|
@@ -11,6 +11,7 @@ namespace JabyEngine {
|
||||
|
||||
GPU_IO::GP0_t value;
|
||||
|
||||
constexpr TexPage() = default;
|
||||
constexpr TexPage(const PositionU16& tex_pos, TexturePageColor tex_color, SemiTransparency transparency = SemiTransparency::B_Half_add_F_Half, bool dither = false) : value{
|
||||
GPU_IO::Command::TexPage(tex_pos, transparency, tex_color, dither, false)} {}
|
||||
};
|
||||
|
Reference in New Issue
Block a user