use crate::core::RuntimeProfile;
pub trait RenderEngine: Send + Sync {
fn name(&self) -> &'static str;
fn profile(&self) -> RuntimeProfile;
fn init(&self);
fn run(&self);
fn quit(&self);
fn create_window(&self, title: &str, x: i32, y: i32, width: u32, height: u32) -> u64;
fn create_button(
&self,
parent: u64,
text: &str,
x: i32,
y: i32,
width: u32,
height: u32,
) -> u64;
}