Struct amethyst_renderer::Visibility[][src]

pub struct Visibility {
    pub visible_unordered: BitSet,
    pub visible_ordered: Vec<Entity>,
}

Resource for controlling what entities should be rendered, and whether to draw them ordered or not, which is useful for transparent surfaces.

Fields

Visible entities that can be drawn in any order

Visible entities that need to be drawn in the given order

Trait Implementations

impl Default for Visibility
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Visibility

impl Sync for Visibility