Struct smaragd::Context
[−]
[src]
pub struct Context { /* fields omitted */ }
pub struct Context { /* fields omitted */ }
impl Context
[src]fn create_mesh(&self, vertices: &[Vertex], indices: &[u32]) -> Mesh
fn create_shader(&self, vertex_path: &str, fragment_path: &str) -> Shader
fn mouse(&self) -> (i32, i32)
fn size(&self) -> (u32, u32)
fn screen_point_to_direction(&self, x: i32, y: i32) -> Vector3<f32>
fn set_view(&self, view: Matrix4<f32>)