Struct simple_wgpu::ComputePipelineBuilder
source · pub struct ComputePipelineBuilder { /* private fields */ }
Expand description
Builds a ComputePipeline
Implementations§
source§impl ComputePipelineBuilder
impl ComputePipelineBuilder
pub fn with_entry_point(entry_point: &EntryPoint) -> Self
sourcepub fn label(self, label: &str) -> Self
pub fn label(self, label: &str) -> Self
Set the optional debug name. This may appear in error messages and GPU profiler traces
pub fn build(self) -> ComputePipeline
Trait Implementations§
source§impl Clone for ComputePipelineBuilder
impl Clone for ComputePipelineBuilder
source§fn clone(&self) -> ComputePipelineBuilder
fn clone(&self) -> ComputePipelineBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more