Crate wgpu_util

Source
Expand description

wgpu-util is a utility crate for working with wgpu-rs.

Structs§

BufferInitDescriptor
wgpu::util::BufferInitDescriptor but with an additional size field.
BufferPool
A wgpu::Buffer Pool (dynamic supply).
BufferPoolDescriptor
Descriptor for BufferPool
BufferResizeWriteDescriptor
DynamicBuffer
A wgpu::Buffer which dynamically grows based on the contents.
SizedBuffer
Thin wgpu::Buffer wrapper with size.

Traits§

DeviceExt
Extension trait for wgpu::Device.

Functions§

resize_write_buffer
Write contents into buffer, resizes if necessary.

Type Aliases§

OwnedLabel
Owned wgpu::Label.