Trait e2rcore::interface::i_renderobj::RenderDevice
[−]
[src]
pub trait RenderDevice {
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
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>
&mut self,
data: &HashMap<BuffDataType, Vec<f32>>
) -> Result<(), &'static str>
fn clear_buff_data(&mut self)
Implementors
impl RenderDevice for RenderDrawGroup