Struct wgpu_core::pipeline::RenderPipeline
source · pub struct RenderPipeline<A: Api> {
pub(crate) raw: A::RenderPipeline,
pub(crate) layout_id: Stored<PipelineLayoutId>,
pub(crate) device_id: Stored<DeviceId>,
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) life_guard: LifeGuard,
}
Fields§
§raw: A::RenderPipeline
§layout_id: Stored<PipelineLayoutId>
§device_id: Stored<DeviceId>
§pass_context: RenderPassContext
§flags: PipelineFlags
§strip_index_format: Option<IndexFormat>
§vertex_steps: Vec<VertexStep>
§late_sized_buffer_groups: ArrayVec<LateSizedBufferGroup, { hal::MAX_BIND_GROUPS }>
§life_guard: LifeGuard
Trait Implementations§
source§impl<A: Debug + Api> Debug for RenderPipeline<A>where
A::RenderPipeline: Debug,
impl<A: Debug + Api> Debug for RenderPipeline<A>where A::RenderPipeline: Debug,
source§impl<A: Api> Resource for RenderPipeline<A>
impl<A: Api> Resource for RenderPipeline<A>
impl<A: HalApi> Access<Buffer<A>> for RenderPipeline<A>
impl<A: HalApi> Access<QuerySet<A>> for RenderPipeline<A>
impl<A: HalApi> Access<RenderPipeline<A>> for BindGroup<A>
impl<A: HalApi> Access<RenderPipeline<A>> for ComputePipeline<A>
impl<A: HalApi> Access<RenderPipeline<A>> for Device<A>
Auto Trait Implementations§
impl<A> !RefUnwindSafe for RenderPipeline<A>
impl<A> Send for RenderPipeline<A>
impl<A> Sync for RenderPipeline<A>
impl<A> Unpin for RenderPipeline<A>where <A as Api>::RenderPipeline: Unpin,
impl<A> !UnwindSafe for RenderPipeline<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