Allow depth to be attached to text using metadata
This commit is contained in:
parent
74e9aa37a1
commit
c25f394c16
4 changed files with 45 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue