Struct wgpu_core::pipeline::RenderPipeline
source · pub struct RenderPipeline {
pub(crate) raw: ManuallyDrop<Box<dyn DynRenderPipeline>>,
pub(crate) device: Arc<Device>,
pub(crate) layout: Arc<PipelineLayout>,
pub(crate) _shader_modules: ArrayVec<Arc<ShaderModule>, { hal::MAX_CONCURRENT_SHADER_STAGES }>,
pub(crate) pass_context: RenderPassContext,
pub(crate) flags: PipelineFlags,
pub(crate) strip_index_format: Option<IndexFormat>,
pub(crate) vertex_steps: Vec<VertexStep>,
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 DynRenderPipeline>>
§device: Arc<Device>
§layout: Arc<PipelineLayout>
§_shader_modules: ArrayVec<Arc<ShaderModule>, { hal::MAX_CONCURRENT_SHADER_STAGES }>
§pass_context: RenderPassContext
§flags: PipelineFlags
§strip_index_format: Option<IndexFormat>
§vertex_steps: Vec<VertexStep>
§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 RenderPipeline
impl RenderPipeline
pub(crate) fn raw(&self) -> &dyn DynRenderPipeline
Trait Implementations§
source§impl Debug for RenderPipeline
impl Debug for RenderPipeline
source§impl Drop for RenderPipeline
impl Drop for RenderPipeline
source§impl Labeled for RenderPipeline
impl Labeled for RenderPipeline
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 RenderPipeline
impl ParentDevice for RenderPipeline
source§impl ResourceType for RenderPipeline
impl ResourceType for RenderPipeline
source§impl StorageItem for RenderPipeline
impl StorageItem for RenderPipeline
type Marker = RenderPipeline
source§impl Trackable for RenderPipeline
impl Trackable for RenderPipeline
fn tracker_index(&self) -> TrackerIndex
Auto Trait Implementations§
impl Freeze for RenderPipeline
impl !RefUnwindSafe for RenderPipeline
impl Send for RenderPipeline
impl Sync for RenderPipeline
impl Unpin for RenderPipeline
impl !UnwindSafe for RenderPipeline
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