1
2
3
4
5
6
7
8
9
10
11
12
use crate::scene::scene::*;

pub trait Renderer 
{
	fn width(&self) -> u32;
	fn height(&self) -> u32;

	fn set_width(&mut self, width:u32);
	fn set_height(&mut self, height:u32);

	fn render(&mut self, scene: &Scene);
}