Draft Box primitive
This commit is contained in:
parent
5a5ca34b5f
commit
7765e6da50
4 changed files with 44 additions and 10 deletions
|
|
@ -144,6 +144,9 @@ impl Renderer {
|
|||
scale: wgpu_glyph::Scale { x: *size, y: *size },
|
||||
..Default::default()
|
||||
}),
|
||||
Primitive::Box { bounds, background } => {
|
||||
// TODO: Batch boxes and draw them all at once
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue