From 73316d02cceeeb23f3082901d2541c987fa99ab5 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Wed, 24 Apr 2024 23:56:11 -0400 Subject: Initial Commit --- src/lib.rs | 5 ----- src/nodes.rs | 2 +- src/resources.rs | 0 src/systems.rs | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) delete mode 100644 src/resources.rs (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 9c6fb1b..c112610 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -8,11 +8,6 @@ mod systems; mod nodes; pub mod render_assets; - -pub enum FramebufferExtractSet { - Set -} - pub struct FramebufferExtractPlugin; impl Plugin for FramebufferExtractPlugin { diff --git a/src/nodes.rs b/src/nodes.rs index bccd861..d069798 100644 --- a/src/nodes.rs +++ b/src/nodes.rs @@ -11,7 +11,7 @@ pub struct FramebufferExtractNode; impl Node for FramebufferExtractNode { fn run( &self, - graph: &mut RenderGraphContext, + _graph: &mut RenderGraphContext, render_context: &mut RenderContext, world: &World, ) -> Result<(), NodeRunError> { diff --git a/src/resources.rs b/src/resources.rs deleted file mode 100644 index e69de29..0000000 diff --git a/src/systems.rs b/src/systems.rs index 25b25dc..244b82f 100644 --- a/src/systems.rs +++ b/src/systems.rs @@ -1,5 +1,3 @@ -use std::time::Duration; - use bevy::{prelude::*, render::{render_asset::{RenderAssets, RenderAssetUsages}, renderer::RenderDevice, render_resource::{MapMode, Maintain, Extent3d, TextureDimension}}}; use pollster::FutureExt; -- cgit v1.2.3