Struct gfx_scene::Fragment
[−]
[src]
pub struct Fragment<R: Resources, M> { pub material: M, pub slice: Slice<R>, }
A fragment of an entity, contains a single draw call.
Fields
material: M
Fragment material.
slice: Slice<R>
Mesh slice.
Methods
impl<R: Resources, M> Fragment<R, M>
[src]
Trait Implementations
impl<R: Clone + Resources, M: Clone> Clone for Fragment<R, M>
[src]
fn clone(&self) -> Fragment<R, M>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more