Allow depth to be attached to text using metadata

This commit is contained in:
grovesNL 2023-02-14 14:44:09 -03:30 committed by Josh Groves
parent 74e9aa37a1
commit c25f394c16
4 changed files with 45 additions and 8 deletions

View file

@ -44,6 +44,7 @@ pub(crate) struct GlyphToRender {
uv: [u16; 2],
color: u32,
content_type: u32,
depth: f32,
}
/// The screen resolution to use when rendering text.