pub struct RenderPass {
pub name: String,
pub shared: bool,
pub presence: Presence,
pub runs: Runs,
pub work: PassWork,
}Expand description
One step of the frame.
Fields§
§name: StringThe renderer’s name for the step where it has one, else its program’s (the name a consumer times it by).
Run once a frame for every view (what the step makes does not depend on the eye: shadow cascades, look-up tables, the light lists of a view-independent volume), rather than once per view.
presence: PresenceWhether the frame has the step: a step the source draws only in some frames stands in its place in the order all the same, so that a frame without it skips it and one with it draws it there.
runs: RunsHow many times the step runs where the frame has it.
work: PassWorkTrait Implementations§
Source§impl Clone for RenderPass
impl Clone for RenderPass
Source§impl Debug for RenderPass
impl Debug for RenderPass
Source§impl PartialEq for RenderPass
impl PartialEq for RenderPass
Source§impl Serialize for RenderPass
impl Serialize for RenderPass
impl StructuralPartialEq for RenderPass
Auto Trait Implementations§
impl Forget for RenderPass
impl Freeze for RenderPass
impl RefUnwindSafe for RenderPass
impl Send for RenderPass
impl Sync for RenderPass
impl Unpin for RenderPass
impl UnsafeUnpin for RenderPass
impl UnwindSafe for RenderPass
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