aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 05f387d..29a5896 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,3 +1,8 @@
+#![warn(missing_docs)]
+
+//! Plugin for the Bevy game engine which provides the ability to extract the frambuffer image after rendering
+//! to use for whatever you want.
+
use bevy::{
prelude::*,
render::{
@@ -9,11 +14,15 @@ use components::FramebufferExtractDestination;
use nodes::{FramebufferExtractLabel, FramebufferExtractNode};
use render_assets::FramebufferExtractSource;
+/// Components used by this plugin.
pub mod components;
-mod nodes;
+/// Render assets used by this plugin.
pub mod render_assets;
+
+mod nodes;
mod systems;
+/// Plugin which handles framebuffer extraction.
pub struct FramebufferExtractPlugin;
impl Plugin for FramebufferExtractPlugin {