Skip to content

Commit

Permalink
added docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Byteron committed Feb 22, 2021
1 parent d4e6c7c commit 3d10288
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_render/src/draw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ pub enum RenderCommand {
},
}

/// Marker Component. If an Entity *has* this component, it *is* visible.
#[derive(Debug, Clone, Reflect)]
#[reflect(Component)]
pub struct Visible;
Expand All @@ -56,6 +57,7 @@ impl Default for Visible {
}
}

/// Marker Component. If an Entity *has* this component, it *is* transparent.
#[derive(Debug, Clone, Reflect)]
#[reflect(Component)]
pub struct Transparent;
Expand Down

0 comments on commit 3d10288

Please sign in to comment.