Module instance

Module instance 

Source
Expand description

Device/queue/surface bootstrap utilities used across the renderer.

Structs§

RenderInstanceData
Device, queue, surface, and adapter bundle used to create GPU resources.
RenderTexture
Swapchain image plus an already-created view.

Enums§

RenderError
Errors emitted by the renderer wrappers.
RenderEvent
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.

Type Aliases§

Limits
PresentMode