Module bevy_render::renderer
source · Structs§
- The handle to the physical device being used for rendering. See
Adapterfor more info. - The
AdapterInfoof the adapter in use by the renderer. - The context with all information required to interact with the GPU.
- This GPU device is responsible for the creation of most rendering and compute resources.
- The GPU instance is used to initialize the
RenderQueueandRenderDevice, as well as to createWindowSurfaces. - This queue is used to enqueue tasks for the GPU to execute asynchronously.
- A wrapper to safely make
wgputypes Send / Sync on web with atomics enabled. On web withatomicsenabled the inner value can only be accessed or dropped on thewgputhread or else a panic will occur. On other platforms the wrapper simply contains the wrapped value.
Enums§
Functions§
- Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.
- Updates the
RenderGraphwith all of its nodes and then runs it to render the entire frame.