Start on Scene::push_surface

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2022-09-13 14:10:13 +02:00
co-authored by Nathan Sobo
parent d473b52f5a
commit e12eaf8c58
3 changed files with 18 additions and 1 deletions
+4
View File
@@ -37,6 +37,10 @@ struct PathSprite {
shader_data: shaders::GPUISprite,
}
pub struct Surface {
pub bounds: RectF,
}
impl Renderer {
pub fn new(
device: metal::Device,