Trait rin_scene::RendererBundle [−][src]
pub trait RendererBundle { type Parameters; fn setup(self, scene: &mut DeferredScene); fn viewport(&mut self) -> Property<'static, Rect<i32>>; fn window(&self) -> Option<&Window>; fn window_mut(&mut self) -> Option<&mut Window>; fn event_stream(&mut self) -> Stream<'static, Event>; fn parameters(&self) -> Option<&Self::Parameters> { ... } fn name(&self) -> &str { ... } fn file_line_info(&self) -> &'static str { ... } }
Associated Types
type Parameters
[src]
Required methods
fn setup(self, scene: &mut DeferredScene)
[src]
fn viewport(&mut self) -> Property<'static, Rect<i32>>
[src]
fn window(&self) -> Option<&Window>
[src]
fn window_mut(&mut self) -> Option<&mut Window>
[src]
fn event_stream(&mut self) -> Stream<'static, Event>
[src]
Provided methods
fn parameters(&self) -> Option<&Self::Parameters>
[src]
fn name(&self) -> &str
[src]
fn file_line_info(&self) -> &'static str
[src]
Implementors
impl RendererBundle for ForwardRenderer
[src]
impl RendererBundle for ForwardRenderer
[src]type Parameters = Parameters
fn parameters(&self) -> Option<&Parameters>
[src]
fn name(&self) -> &str
[src]
fn setup(self, world: &mut DeferredScene)
[src]
fn window(&self) -> Option<&Window>
[src]
fn window_mut(&mut self) -> Option<&mut Window>
[src]
fn viewport(&mut self) -> Property<'static, Rect<i32>>
[src]
fn event_stream(&mut self) -> Stream<'static, Event>
[src]
impl<R: RenderSystem + 'static> RendererBundle for ImmediateRenderer<R>
[src]
impl<R: RenderSystem + 'static> RendererBundle for ImmediateRenderer<R>
[src]