pub struct ResolvedComputePipelineDescriptor<'a> {
pub label: Label<'a>,
pub layout: Option<Arc<PipelineLayout>>,
pub stage: ResolvedProgrammableStageDescriptor<'a>,
pub cache: Option<Arc<PipelineCache>>,
}
Expand description
Describes a compute pipeline.
Fields§
§label: Label<'a>
§layout: Option<Arc<PipelineLayout>>
The layout of bind groups for this pipeline.
stage: ResolvedProgrammableStageDescriptor<'a>
The compiled compute stage and its entry point.
cache: Option<Arc<PipelineCache>>
The pipeline cache to use when creating this pipeline.
Trait Implementations§
Source§impl<'a> Clone for ResolvedComputePipelineDescriptor<'a>
impl<'a> Clone for ResolvedComputePipelineDescriptor<'a>
Source§fn clone(&self) -> ResolvedComputePipelineDescriptor<'a>
fn clone(&self) -> ResolvedComputePipelineDescriptor<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedComputePipelineDescriptor<'a>
impl<'a> !RefUnwindSafe for ResolvedComputePipelineDescriptor<'a>
impl<'a> Send for ResolvedComputePipelineDescriptor<'a>
impl<'a> Sync for ResolvedComputePipelineDescriptor<'a>
impl<'a> Unpin for ResolvedComputePipelineDescriptor<'a>
impl<'a> !UnwindSafe for ResolvedComputePipelineDescriptor<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)