Skip to main content

Crate wgpu_context

Crate wgpu_context 

Source
Expand description

Simple helpers for managing wgpu state and surfaces.

Structs§

AlphaConvertBlitter
Blits a texture into another texture, converting between premultiplied and straight alpha in the process.
BufferRenderer
Utility struct for rendering to Vec<u8>
BufferRendererConfig
DeviceHandle
A wgpu Device, it’s associated Queue, and the Adapter and Instance used to create them
SurfaceRenderer
Combination of surface and its configuration.
SurfaceRendererConfiguration
TextureConfiguration
WGPUContext
Simple render context that maintains wgpu state for rendering the pipeline.

Enums§

AlphaConversion
The direction of alpha conversion to apply while blitting.
WgpuContextError
Errors that can occur in WgpuContext.