Struct amethyst_renderer::Layer
[−]
[src]
pub struct Layer { pub target: String, pub passes: Vec<Box<PassDescription>>, }
A stackable image layer.
Layers contain a list of passes which are used to render a final image which is then composited onto a render target. They are especially useful for postprocessing, e.g. applying a fullscreen night vision effect, drawing a HUD (heads-up display) over a rendered scene.
Fields
target: String
Name of the render target to draw on.
passes: Vec<Box<PassDescription>>
Sequence of passes to execute over the render target.