Enum amethyst_renderer::Step
[−]
[src]
pub enum Step { ClearTarget { buffers: String, value: Option<[f32; 4]>, }, DrawObjects, UseTarget(String), }
A single, atomic rendering operation.
Variants
ClearTarget
Clears the current render target.
Fields
buffers: String | Which buffers to clear. Possible values: "all", "color", "stencil". |
value: Option<[f32; 4]> | The RGBA value to clear the buffers with. If |
DrawObjects
Draws all objects in the scene.
UseTarget(String)
Selects a render target to write to. If the given string is empty
(""
), we render directly to the window surface.