Crate shute

Crate shute 

Source
Expand description

Shute (short for shader compute) is a library that simplifies the use of wgpu for general-purpose compute applications.

Structs§

Buffer
A buffer for sharing data between the CPU and GPU.
Device
Effectively a reference to a GPU. Obtain a device by using Instance::autoselect or Instance::devices.
Instance
Context for all other Shute objects.
Limits
Limits for a device.
ShaderModule
A compute shader module. Used in Device::execute.

Enums§

BufferInit
Specifies how a buffer is initialized.
BufferType
Specifies buffer type.
LimitType
Describes the limits imposed on the device.

Traits§

ShaderType
Base trait for all WGSL host-shareable types

Type Aliases§

DeviceInfo
Alias of wgpu::AdapterInfo.
PowerPreference
Alias of wgpu::PowerPreference.

Derive Macros§

ShaderType