Create window using the graphen-cli

This commit is contained in:
Dennis Kobert
2023-06-17 12:38:32 +02:00
committed by Keavon Chambers
parent dccb5235c0
commit 5d1581dd70
9 changed files with 141 additions and 40 deletions

View File

@@ -520,6 +520,7 @@ where
#[node_macro::node_fn(RenderTextureNode)]
async fn render_texture_node<'a: 'input, E: 'a + GpuExecutor>(image: ShaderInputFrame<E>, surface: Arc<SurfaceHandle<E::Surface>>, executor: &'a E) -> SurfaceFrame {
let surface_id = surface.surface_id;
log::trace!("rendering to surface {:?}", surface_id);
executor.create_render_pass(image.shader_input, surface).unwrap();