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> !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