Struct image_convolution::gpu_device::GpuDevice [−][src]
pub struct GpuDevice { /* fields omitted */ }
Implementations
impl GpuDevice
[src]
impl GpuDevice
[src]pub fn create_buffer(&self, label: &str, size: u64) -> Buffer
[src]
pub fn create_data_buffer(&self, label: &str, contents: &[u8]) -> Buffer
[src]
pub fn create_uniform_buffer(&self, label: &str, contents: &[u8]) -> Buffer
[src]
pub fn create_output_buffer(&self, label: &str, size: u64) -> Buffer
[src]
pub fn create_bind_group(
&self,
buffers: &[(&Buffer, u64, BufferBindingType)]
) -> (BindGroupLayout, BindGroup)
[src]
&self,
buffers: &[(&Buffer, u64, BufferBindingType)]
) -> (BindGroupLayout, BindGroup)
pub fn create_compute_pipeline(
&self,
buffers: &[(&Buffer, u64, BufferBindingType)],
shader: &str
) -> (BindGroup, ComputePipeline)
[src]
&self,
buffers: &[(&Buffer, u64, BufferBindingType)],
shader: &str
) -> (BindGroup, ComputePipeline)
Auto Trait Implementations
impl !RefUnwindSafe for GpuDevice
impl !RefUnwindSafe for GpuDevice
impl !UnwindSafe for GpuDevice
impl !UnwindSafe for GpuDevice