Structs§
- Render
Adapter - The handle to the physical device being used for rendering.
See
Adapterfor more info. - Render
Adapter Info - The
AdapterInfoof the adapter in use by the renderer. - Render
Context - The context with all information required to interact with the GPU.
- Render
Device - This GPU device is responsible for the creation of most rendering and compute resources.
- Render
Instance - The GPU instance is used to initialize the
RenderQueueandRenderDevice, as well as to createWindowSurfaces. - Render
Queue - This queue is used to enqueue tasks for the GPU to execute asynchronously.
- Wgpu
Wrapper - A wrapper to safely make
wgputypes Send / Sync on web with atomics enabled.
Enums§
Functions§
- initialize_
renderer - Initializes the renderer by retrieving and preparing the GPU instance, device and queue for the specified backend.
- render_
system - Updates the
RenderGraphwith all of its nodes and then runs it to render the entire frame.