Expand description
Rendering context initialization
This module contains Context
initialization and frame management.
This module provides the setup and management of rendering targets,
frames, and surface configurations.
Structs§
- Context
- Contains the adapter, device, queue,
RenderTarget
and configuration. - Frame
- Represents the current frame of a render target.
- Frame
Texture View - A thin wrapper over [
wgpu::TextureView
] returned byFrame::view
. - Render
Target - Represents a render target that can either be a surface or a texture. It will be a surface if the context was created with a window or canvas, and a texture if the context is headless.
- Wgpu
Runtime - A slab allocation runtime that creates and updates [
wgpu::Buffer
]s.
Enums§
- Context
Error - Represents errors that can occur within the rendering context.