pub struct GpuRenderTarget { /* private fields */ }Expand description
Device-resident color and depth attachments.
Implementations§
Source§impl GpuRenderTarget
impl GpuRenderTarget
Sourcepub const fn residency(&self) -> &VisualResidency
pub const fn residency(&self) -> &VisualResidency
Device residency of both attachments.
Sourcepub fn is_owned_by(&self, renderer: &WgpuRenderer) -> bool
pub fn is_owned_by(&self, renderer: &WgpuRenderer) -> bool
Returns whether this target belongs to the supplied renderer runtime.
Auto Trait Implementations§
impl Freeze for GpuRenderTarget
impl !RefUnwindSafe for GpuRenderTarget
impl Send for GpuRenderTarget
impl Sync for GpuRenderTarget
impl Unpin for GpuRenderTarget
impl UnsafeUnpin for GpuRenderTarget
impl !UnwindSafe for GpuRenderTarget
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