You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Makes FontData importable resource.
Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
This commit is contained in:
@@ -45,6 +45,7 @@ public:
|
||||
CANVAS_RECT_TRANSPOSE = 16,
|
||||
CANVAS_RECT_CLIP_UV = 32,
|
||||
CANVAS_RECT_IS_GROUP = 64,
|
||||
CANVAS_RECT_MSDF = 128,
|
||||
};
|
||||
|
||||
struct Light {
|
||||
@@ -193,11 +194,15 @@ public:
|
||||
Color modulate;
|
||||
Rect2 source;
|
||||
uint8_t flags;
|
||||
float outline;
|
||||
float px_range;
|
||||
|
||||
RID texture;
|
||||
|
||||
CommandRect() {
|
||||
flags = 0;
|
||||
outline = 0;
|
||||
px_range = 1;
|
||||
type = TYPE_RECT;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user