Enum amethyst_renderer::Step [] [src]

pub enum Step {
    ClearTarget {
        buffers: String,
        value: Option<[f32; 4]>,
    },
    DrawObjects,
    UseTarget(String),
}

A single, atomic rendering operation.

Variants

Clears the current render target.

Fields

Which buffers to clear. Possible values: "all", "color", "stencil".

The RGBA value to clear the buffers with. If None, this will default to [0.0; 4].

Draws all objects in the scene.

Selects a render target to write to. If the given string is empty (""), we render directly to the window surface.

Trait Implementations

impl Debug for Step
[src]

Formats the value using the given formatter.