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_unordered: BitSet
Visible entities that can be drawn in any order
visible_ordered: Vec<Entity>
Visible entities that need to be drawn in the given order
Trait Implementations
impl Default for Visibility[src]
impl Default for Visibilityfn default() -> Visibility[src]
fn default() -> VisibilityReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for Visibility
impl Send for Visibilityimpl Sync for Visibility
impl Sync for Visibility