Structs§
- The handle to the physical device being used for rendering. See
Adapter
for more info. - The
AdapterInfo
of 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
RenderQueue
andRenderDevice
, as well as to createWindowSurfaces
. - This queue is used to enqueue tasks for the GPU to execute asynchronously.
- Wgpu
Wrapper Not (WebAssembly and atomics
)A wrapper to safely makewgpu
types Send / Sync on web with atomics enabled.
Enums§
Functions§
- Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.
- Updates the
RenderGraph
with all of its nodes and then runs it to render the entire frame.