Trait RenderDevice

Source
pub trait RenderDevice {
    // Required methods
    fn bind_buffer(&mut self) -> Result<(), &'static str>;
    fn draw_buffer_all(&mut self) -> Result<(), &'static str>;
    fn draw_buffer_range(&mut self) -> Result<(), &'static str>;
    fn store_buff_data(
        &mut self,
        data: &HashMap<BuffDataType, Vec<f32>>,
    ) -> Result<(), &'static str>;
    fn clear_buff_data(&mut self);
}

Required Methods§

Source

fn bind_buffer(&mut self) -> Result<(), &'static str>

Source

fn draw_buffer_all(&mut self) -> Result<(), &'static str>

Source

fn draw_buffer_range(&mut self) -> Result<(), &'static str>

Source

fn store_buff_data( &mut self, data: &HashMap<BuffDataType, Vec<f32>>, ) -> Result<(), &'static str>

Source

fn clear_buff_data(&mut self)

Implementors§