pub trait Mesh {
// Required methods
fn attachments(&self) -> Vec<AttachedAttributes<'_>>;
fn draw(
&self,
ctx: &mut Context,
draw_range: Range<usize>,
draw_mode: DrawMode,
instance_count: usize,
);
}Required Methods§
fn attachments(&self) -> Vec<AttachedAttributes<'_>>
fn draw( &self, ctx: &mut Context, draw_range: Range<usize>, draw_mode: DrawMode, instance_count: usize, )
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".