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]
&mut self,
gl: &Renderer<'_, S>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
Provided methods
fn render_to_screen(
&mut self,
gl: &Renderer<'_>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
[src]
&mut self,
gl: &Renderer<'_>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
fn render_stage() -> RenderStage
[src]
fn renders_to(&self) -> Vec<RendersTo>
[src]
fn checks(_: &mut StorageRegistry) -> Option<SystemConditionThreadLocal> where
Self: Sized,
[src]
Self: Sized,
fn name() -> Option<&'static str> where
Self: Sized,
[src]
Self: Sized,
fn before() -> Vec<SystemId> where
Self: Sized,
[src]
Self: Sized,
fn after() -> Vec<SystemId> where
Self: Sized,
[src]
Self: Sized,
fn updates() -> Vec<TypeId> where
Self: Sized,
[src]
Self: Sized,
fn needs() -> Vec<TypeId> where
Self: Sized,
[src]
Self: Sized,
fn reads() -> Vec<TypeId> where
Self: Sized,
[src]
Self: Sized,
fn writes() -> Vec<TypeId> where
Self: Sized,
[src]
Self: Sized,
fn runs_on_gpu() -> bool
[src]
fn file_line_info(&self) -> &'static str
[src]
Implementors
impl<F> RenderSystem for F where
F: Fn(&Renderer<'_>, Rect<i32>, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>),
[src]
impl<F> RenderSystem for F where
F: Fn(&Renderer<'_>, Rect<i32>, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>),
[src]fn render_to_screen(
&mut self,
gl: &Renderer<'_>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
[src]
&mut self,
gl: &Renderer<'_>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
fn render<S: RenderSurface>(
&mut self,
_gl: &Renderer<'_, S>,
_viewport: Rect<i32>,
_entities: EntitiesThreadLocal<'_>,
_resources: ResourcesThreadLocal<'_>
)
[src]
&mut self,
_gl: &Renderer<'_, S>,
_viewport: Rect<i32>,
_entities: EntitiesThreadLocal<'_>,
_resources: ResourcesThreadLocal<'_>
)