Trait rin_scene::immediate_renderer::RenderSystem[][src]

pub trait RenderSystem {
Show methods fn render<S: RenderSurface>(
        &mut self,
        gl: &Renderer<'_, S>,
        viewport: Rect<i32>,
        entities: EntitiesThreadLocal<'_>,
        resources: ResourcesThreadLocal<'_>
    ); fn render_to_screen(
        &mut self,
        gl: &Renderer<'_>,
        viewport: Rect<i32>,
        entities: EntitiesThreadLocal<'_>,
        resources: ResourcesThreadLocal<'_>
    ) { ... }
fn render_stage() -> RenderStage { ... }
fn renders_to(&self) -> Vec<RendersTo> { ... }
fn checks(_: &mut StorageRegistry) -> Option<SystemConditionThreadLocal>
    where
        Self: Sized
, { ... }
fn name() -> Option<&'static str>
    where
        Self: Sized
, { ... }
fn before() -> Vec<SystemId>
    where
        Self: Sized
, { ... }
fn after() -> Vec<SystemId>
    where
        Self: Sized
, { ... }
fn updates() -> Vec<TypeId>
    where
        Self: Sized
, { ... }
fn needs() -> Vec<TypeId>
    where
        Self: Sized
, { ... }
fn reads() -> Vec<TypeId>
    where
        Self: Sized
, { ... }
fn writes() -> Vec<TypeId>
    where
        Self: Sized
, { ... }
fn runs_on_gpu() -> bool { ... }
fn file_line_info(&self) -> &'static str { ... }
}

Required methods

fn render<S: RenderSurface>(
    &mut self,
    gl: &Renderer<'_, S>,
    viewport: Rect<i32>,
    entities: EntitiesThreadLocal<'_>,
    resources: ResourcesThreadLocal<'_>
)
[src]

Loading content...

Provided methods

fn render_to_screen(
    &mut self,
    gl: &Renderer<'_>,
    viewport: Rect<i32>,
    entities: EntitiesThreadLocal<'_>,
    resources: ResourcesThreadLocal<'_>
)
[src]

fn render_stage() -> RenderStage[src]

fn renders_to(&self) -> Vec<RendersTo>[src]

fn checks(_: &mut StorageRegistry) -> Option<SystemConditionThreadLocal> where
    Self: Sized
[src]

fn name() -> Option<&'static str> where
    Self: Sized
[src]

fn before() -> Vec<SystemId> where
    Self: Sized
[src]

fn after() -> Vec<SystemId> where
    Self: Sized
[src]

fn updates() -> Vec<TypeId> where
    Self: Sized
[src]

fn needs() -> Vec<TypeId> where
    Self: Sized
[src]

fn reads() -> Vec<TypeId> where
    Self: Sized
[src]

fn writes() -> Vec<TypeId> where
    Self: Sized
[src]

fn runs_on_gpu() -> bool[src]

fn file_line_info(&self) -> &'static str[src]

Loading content...

Implementors

impl<F> RenderSystem for F where
    F: Fn(&Renderer<'_>, Rect<i32>, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>), 
[src]

Loading content...