pub struct LightingPassManager { /* private fields */ }
Expand description
Manages the differed lighting passes.
Implementations§
Source§impl LightingPassManager
impl LightingPassManager
Sourcepub fn new<R>(gfx_queue: Arc<Queue>, subpass: Subpass<R>) -> LightingPassManager
pub fn new<R>(gfx_queue: Arc<Queue>, subpass: Subpass<R>) -> LightingPassManager
Creates a LightingPassManager.
Sourcepub fn draw<'b>(&self, pass_manager: &'b mut PassBuilder<'_>)
pub fn draw<'b>(&self, pass_manager: &'b mut PassBuilder<'_>)
Builds a secondary command buffer that draws the triangle on the current subpass.
Trait Implementations§
Source§impl Clone for LightingPassManager
impl Clone for LightingPassManager
Source§fn clone(&self) -> LightingPassManager
fn clone(&self) -> LightingPassManager
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 LightingPassManager
impl !RefUnwindSafe for LightingPassManager
impl Send for LightingPassManager
impl Sync for LightingPassManager
impl Unpin for LightingPassManager
impl !UnwindSafe for LightingPassManager
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Content for T
impl<T> Content for T
Source§fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
Source§fn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
Source§fn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more