#Access to RenderAssets from within `bevy_render::render_graph::Node`

3 messages · Page 1 of 1 (latest)

bronze stratus
#

Is there way to access RenderAssets or the Render World from within a Node? I want to grab an image using it's handle to get a GpuImage.

warm nest
#

You have access to the &World from your Node. You can just call world.resource() or world.get_resource() to get the RenderAssets.

bronze stratus
#

It works 🙂