Expand description
Device/queue/surface bootstrap utilities used across the renderer.
Structs§
- Render
Instance Data - Device, queue, surface, and adapter bundle used to create GPU resources.
- Render
Texture - Swapchain image plus an already-created view.
Enums§
- Render
Error - Errors emitted by the renderer wrappers.
- Render
Event - Results of attempting to acquire the next surface texture.
Functions§
- create_
instance - Create a new GPU instance (device + queue) and optionally bind to a window surface.
- get_
current_ texture - Acquire the next surface texture or signal that the surface needs reconfiguration.
- present
- Present the rendered frame to the swapchain.
- resize
- Reconfigure a surface after a window resize or when the swapchain is lost.
- setup_
surface - Configure a surface for presentation once the window size is known.