Trait rin::scene::RenderSystem [−][src]
pub trait RenderSystem {}Show methods
pub fn render<S>(
&mut self,
gl: &Renderer<'_, S>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
where
S: RenderSurface; pub fn render_to_screen(
&mut self,
gl: &Renderer<'_, Screen>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
) { ... } pub fn render_stage() -> RenderStage { ... } pub fn renders_to(&self) -> Vec<RendersTo, Global>ⓘ { ... } pub fn checks(
&mut StorageRegistry
) -> Option<SystemConditionElse<Box<dyn SystemThreadLocal + 'static, Global>>> { ... } pub fn name() -> Option<&'static str> { ... } pub fn before() -> Vec<SystemId, Global>ⓘ { ... } pub fn after() -> Vec<SystemId, Global>ⓘ { ... } pub fn updates() -> Vec<TypeId, Global>ⓘ { ... } pub fn needs() -> Vec<TypeId, Global>ⓘ { ... } pub fn reads() -> Vec<TypeId, Global>ⓘ { ... } pub fn writes() -> Vec<TypeId, Global>ⓘ { ... } pub fn runs_on_gpu() -> bool { ... } pub fn file_line_info(&self) -> &'static str { ... }
Required methods
pub fn render<S>(
&mut self,
gl: &Renderer<'_, S>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
) where
S: RenderSurface,
[src]
&mut self,
gl: &Renderer<'_, S>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
) where
S: RenderSurface,
Provided methods
pub fn render_to_screen(
&mut self,
gl: &Renderer<'_, Screen>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
[src]
&mut self,
gl: &Renderer<'_, Screen>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
pub fn render_stage() -> RenderStage
[src]
pub fn renders_to(&self) -> Vec<RendersTo, Global>ⓘ
[src]
pub fn checks(
&mut StorageRegistry
) -> Option<SystemConditionElse<Box<dyn SystemThreadLocal + 'static, Global>>>
[src]
&mut StorageRegistry
) -> Option<SystemConditionElse<Box<dyn SystemThreadLocal + 'static, Global>>>
pub fn name() -> Option<&'static str>
[src]
pub fn before() -> Vec<SystemId, Global>ⓘ
[src]
pub fn after() -> Vec<SystemId, Global>ⓘ
[src]
pub fn updates() -> Vec<TypeId, Global>ⓘ
[src]
pub fn needs() -> Vec<TypeId, Global>ⓘ
[src]
pub fn reads() -> Vec<TypeId, Global>ⓘ
[src]
pub fn writes() -> Vec<TypeId, Global>ⓘ
[src]
pub fn runs_on_gpu() -> bool
[src]
pub fn file_line_info(&self) -> &'static str
[src]
Implementors
impl<F> RenderSystem for F where
F: Fn(&Renderer<'_, Screen>, Rect<i32>, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>),
[src]
impl<F> RenderSystem for F where
F: Fn(&Renderer<'_, Screen>, Rect<i32>, EntitiesThreadLocal<'_>, ResourcesThreadLocal<'_>),
[src]pub fn render_to_screen(
&mut self,
gl: &Renderer<'_, Screen>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
[src]
&mut self,
gl: &Renderer<'_, Screen>,
viewport: Rect<i32>,
entities: EntitiesThreadLocal<'_>,
resources: ResourcesThreadLocal<'_>
)
pub fn render<S>(
&mut self,
_gl: &Renderer<'_, S>,
_viewport: Rect<i32>,
_entities: EntitiesThreadLocal<'_>,
_resources: ResourcesThreadLocal<'_>
) where
S: RenderSurface,
[src]
&mut self,
_gl: &Renderer<'_, S>,
_viewport: Rect<i32>,
_entities: EntitiesThreadLocal<'_>,
_resources: ResourcesThreadLocal<'_>
) where
S: RenderSurface,