Struct oxygengine_composite_renderer::system::CompositeMeshSystem [−][src]
Implementations
impl CompositeMeshSystem
[src]
pub fn update_item(
mesh: &mut CompositeMesh,
renderable: &mut CompositeRenderable,
meshes: &HashMap<String, Mesh>,
cache: Option<&mut CompositeSurfaceCache>
)
[src]
mesh: &mut CompositeMesh,
renderable: &mut CompositeRenderable,
meshes: &HashMap<String, Mesh>,
cache: Option<&mut CompositeSurfaceCache>
)
pub fn build_renderable<'a>(
mesh: &mut CompositeMesh,
meshes: &HashMap<String, Mesh>
) -> Option<Renderable<'a>>
[src]
mesh: &mut CompositeMesh,
meshes: &HashMap<String, Mesh>
) -> Option<Renderable<'a>>
Trait Implementations
impl Default for CompositeMeshSystem
[src]
fn default() -> CompositeMeshSystem
[src]
impl<'s> System<'s> for CompositeMeshSystem
[src]
type SystemData = (ReadExpect<'s, AssetsDatabase>, WriteStorage<'s, CompositeMesh>, WriteStorage<'s, CompositeRenderable>, WriteStorage<'s, CompositeSurfaceCache>)
The resource bundle required to execute this system. Read more
fn run(&mut self, (assets, meshes, renderables, caches): Self::SystemData)
[src]
pub fn running_time(&self) -> RunningTime
pub fn accessor(&'b self) -> AccessorCow<'a, 'b, Self>
pub fn setup(&mut self, world: &mut World)
pub fn dispose(self, world: &mut World)
Auto Trait Implementations
impl RefUnwindSafe for CompositeMeshSystem
impl Send for CompositeMeshSystem
impl Sync for CompositeMeshSystem
impl Unpin for CompositeMeshSystem
impl UnwindSafe for CompositeMeshSystem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
pub fn get_type_id(&self) -> TypeId
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Resource for T where
T: Any,
T: Any,
impl<'a, T> RunNow<'a> for T where
T: System<'a>,
T: System<'a>,
pub fn run_now(&mut self, world: &'a World)
pub fn setup(&mut self, world: &mut World)
pub fn dispose(self: Box<T, Global>, world: &mut World)
impl<T> TryDefault for T where
T: Default,
T: Default,
pub fn try_default() -> Result<T, String>
pub fn unwrap_default() -> Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,