pub struct LendParameters<'a> { /* private fields */ }Expand description
Borrowed parameters passed to LayerInstance::lend.
Implementations§
Source§impl<'a> LendParameters<'a>
impl<'a> LendParameters<'a>
Sourcepub const fn at(&self) -> LendAt
pub const fn at(&self) -> LendAt
Returns whether this lend callback runs before passes or inside the pass.
Sourcepub const fn frame(&self) -> &LendFrame
pub const fn frame(&self) -> &LendFrame
Returns the frame view, projection, and attachment dimensions.
Sourcepub const fn stage(&self) -> LendStage<'a>
pub const fn stage(&self) -> LendStage<'a>
Returns the active stage and backend-specific encoder or pass handles.
Sourcepub const fn after_gpu(&self) -> Option<AfterGpuRef<'a>>
pub const fn after_gpu(&self) -> Option<AfterGpuRef<'a>>
Returns the borrowed after-GPU cleanup queue for this session, if present.
Trait Implementations§
Source§impl<'a> Clone for LendParameters<'a>
impl<'a> Clone for LendParameters<'a>
impl<'a> Copy for LendParameters<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LendParameters<'a>
impl<'a> !Send for LendParameters<'a>
impl<'a> !Sync for LendParameters<'a>
impl<'a> !UnwindSafe for LendParameters<'a>
impl<'a> Forget for LendParameters<'a>
impl<'a> Freeze for LendParameters<'a>
impl<'a> Move for LendParameters<'a>
impl<'a> Unpin for LendParameters<'a>
impl<'a> UnsafeUnpin for LendParameters<'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