Struct amethyst_renderer::RenderSystem [−][src]
pub struct RenderSystem<P> { /* fields omitted */ }Rendering system.
Methods
impl<P> RenderSystem<P> where
P: PolyPipeline, [src]
impl<P> RenderSystem<P> where
P: PolyPipeline, pub fn build<B>(pipe: B, config: Option<DisplayConfig>) -> Result<Self> where
B: PipelineBuild<Pipeline = P>, [src]
pub fn build<B>(pipe: B, config: Option<DisplayConfig>) -> Result<Self> where
B: PipelineBuild<Pipeline = P>, Build a new RenderSystem from the given pipeline builder and config
pub fn new(pipe: P, renderer: Renderer) -> Self[src]
pub fn new(pipe: P, renderer: Renderer) -> SelfCreate a new render system
pub fn window_size(&self) -> Option<(u32, u32)>[src]
pub fn window_size(&self) -> Option<(u32, u32)>Returns the size in pixels of the window.
Trait Implementations
impl<P> Debug for RenderSystem<P> where
P: Debug, [src]
impl<P> Debug for RenderSystem<P> where
P: Debug, fn fmt(&self, __f: &mut Formatter) -> Result[src]
fn fmt(&self, __f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, P> RunNow<'a> for RenderSystem<P> where
P: PolyPipeline, [src]
impl<'a, P> RunNow<'a> for RenderSystem<P> where
P: PolyPipeline, Auto Trait Implementations
impl<P> !Send for RenderSystem<P>
impl<P> !Send for RenderSystem<P>impl<P> !Sync for RenderSystem<P>
impl<P> !Sync for RenderSystem<P>