Struct amethyst_renderer::ShapeUpload [−][src]
pub struct ShapeUpload<'a> { /* fields omitted */ }
SystemData
needed to upload a Shape
directly to create a MeshHandle
Trait Implementations
impl<'a> SystemData<'a> for ShapeUpload<'a> where
ReadExpect<'a, Loader>: SystemData<'a>,
Read<'a, AssetStorage<Mesh>>: SystemData<'a>,
[src]
impl<'a> SystemData<'a> for ShapeUpload<'a> where
ReadExpect<'a, Loader>: SystemData<'a>,
Read<'a, AssetStorage<Mesh>>: SystemData<'a>,
fn setup(res: &mut Resources)
[src]
fn setup(res: &mut Resources)
Sets up the system data for fetching it from the Resources
.
fn fetch(res: &'a Resources) -> Self
[src]
fn fetch(res: &'a Resources) -> Self
Fetches the system data from Resources
. Note that this is only specified for one concrete lifetime 'a
, you need to implement the SystemData
trait for every possible lifetime. Read more
fn reads() -> Vec<ResourceId>
[src]
fn reads() -> Vec<ResourceId>
Returns all read dependencies as fetched from Self::fetch
. Read more
fn writes() -> Vec<ResourceId>
[src]
fn writes() -> Vec<ResourceId>
Returns all write dependencies as fetched from Self::fetch
. Read more
Auto Trait Implementations
impl<'a> Send for ShapeUpload<'a>
impl<'a> Send for ShapeUpload<'a>
impl<'a> Sync for ShapeUpload<'a>
impl<'a> Sync for ShapeUpload<'a>