pub struct GpuRenderPipeline { /* private fields */ }Expand description
Wrapper around GPU render pipeline that can be real or mock.
Implementations§
Source§impl GpuRenderPipeline
impl GpuRenderPipeline
Sourcepub fn from_wgpu(pipeline: RenderPipeline) -> Self
pub fn from_wgpu(pipeline: RenderPipeline) -> Self
Create from real WGPU render pipeline
Sourcepub fn as_wgpu(&self) -> &RenderPipeline
pub fn as_wgpu(&self) -> &RenderPipeline
Get the underlying wgpu::RenderPipeline (if real)
Trait Implementations§
Source§impl Clone for GpuRenderPipeline
impl Clone for GpuRenderPipeline
Source§fn clone(&self) -> GpuRenderPipeline
fn clone(&self) -> GpuRenderPipeline
Returns a duplicate 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 Freeze for GpuRenderPipeline
impl !RefUnwindSafe for GpuRenderPipeline
impl Send for GpuRenderPipeline
impl Sync for GpuRenderPipeline
impl Unpin for GpuRenderPipeline
impl UnsafeUnpin for GpuRenderPipeline
impl !UnwindSafe for GpuRenderPipeline
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