Struct wgpu_core::pipeline::ComputePipeline
source · pub struct ComputePipeline {
pub(crate) raw: ManuallyDrop<Box<dyn DynComputePipeline>>,
pub(crate) layout: Arc<PipelineLayout>,
pub(crate) device: Arc<Device>,
pub(crate) _shader_module: Arc<ShaderModule>,
pub(crate) late_sized_buffer_groups: ArrayVec<LateSizedBufferGroup, { hal::MAX_BIND_GROUPS }>,
pub(crate) label: String,
pub(crate) tracking_data: TrackingData,
}
Fields§
§raw: ManuallyDrop<Box<dyn DynComputePipeline>>
§layout: Arc<PipelineLayout>
§device: Arc<Device>
§_shader_module: Arc<ShaderModule>
§late_sized_buffer_groups: ArrayVec<LateSizedBufferGroup, { hal::MAX_BIND_GROUPS }>
§label: String
The label
from the descriptor used to create the resource.
tracking_data: TrackingData
Implementations§
source§impl ComputePipeline
impl ComputePipeline
pub(crate) fn raw(&self) -> &dyn DynComputePipeline
Trait Implementations§
source§impl Debug for ComputePipeline
impl Debug for ComputePipeline
source§impl Drop for ComputePipeline
impl Drop for ComputePipeline
source§impl Labeled for ComputePipeline
impl Labeled for ComputePipeline
source§fn label(&self) -> &str
fn label(&self) -> &str
Returns a string identifying this resource for logging and errors. Read more
fn error_ident(&self) -> ResourceErrorIdent
source§impl ParentDevice for ComputePipeline
impl ParentDevice for ComputePipeline
source§impl ResourceType for ComputePipeline
impl ResourceType for ComputePipeline
source§impl StorageItem for ComputePipeline
impl StorageItem for ComputePipeline
type Marker = ComputePipeline
source§impl Trackable for ComputePipeline
impl Trackable for ComputePipeline
fn tracker_index(&self) -> TrackerIndex
Auto Trait Implementations§
impl Freeze for ComputePipeline
impl !RefUnwindSafe for ComputePipeline
impl Send for ComputePipeline
impl Sync for ComputePipeline
impl Unpin for ComputePipeline
impl !UnwindSafe for ComputePipeline
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