Start on Scene::push_surface

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-08-30 18:17:54 +02:00
parent d473b52f5a
commit e12eaf8c58
3 changed files with 18 additions and 1 deletions

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,