Skip to main content

ComputePipeline

Trait ComputePipeline 

Source
pub trait ComputePipeline {
    // Required method
    fn get_subgroup_size(&self) -> Option<u32>;
}

Required Methods§

Source

fn get_subgroup_size(&self) -> Option<u32>

Returns the subgroup size this pipeline executes with, or None if the backend cannot determine it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl ComputePipeline for wgpu_hal::gles::ComputePipeline

Available on gles only.
Source§

impl ComputePipeline for wgpu_hal::vulkan::ComputePipeline

Available on vulkan only.
Source§

impl ComputePipeline for Resource