Enum rin::scene::RenderStage [−][src]
pub enum RenderStage { RenderSurfaceOpaque, AfterPostprocessingOpaque, RenderSurfaceTranslucent, AfterPostprocessing, Window, }
The order of rendering is:
- render all opaque geometry
- apply poostprocessing to opaque geometry
- render all translucent geometry
- apply postprocessing common to opaque and ranslucent geometry
- render the result to the window
Each of this enum’s variants allow a RenderSystem
to render after each of this stages
to the render surface the stage rendered to.
For example a RenderSystem that renders to RenderStage::RenderSurfaceOpaque will render after the opaque geometry in the scene has been rendered and will be passed a gl::Renderer using the same fbo where that geometry was rendered
Variants
Auto Trait Implementations
impl RefUnwindSafe for RenderStage
impl Send for RenderStage
impl Sync for RenderStage
impl Unpin for RenderStage
impl UnwindSafe for RenderStage
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]