[][src]Struct specs_blit::RenderSystem

pub struct RenderSystem;

Specs system for rendering to a buffer.

Note: This can only be used in conjunction with a .with_thread_local() function in specs and not with a normal .with() call.

use specs::prelude::*;
use specs_blit::RenderSystem;

let mut dispatcher = DispatcherBuilder::new()
    // Expose the sprite render system to specs
    .with_thread_local(RenderSystem)
    .build();

Trait Implementations

impl<'a> System<'a> for RenderSystem[src]

type SystemData = (Write<'a, PixelBuffer>, ReadStorage<'a, Sprite>)

The resource bundle required to execute this system. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Resource for T where
    T: Any + Send + Sync

impl<'a, T> RunNow<'a> for T where
    T: System<'a>, 

impl<'a, T> RunWithPool<'a> for T where
    T: System<'a>, 

impl<T> SetParameter for T

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.