pub struct RenderGraph {
pub root: LayerNode,
pub update: u64,
}Fields§
§root: LayerNode§update: u64How many scene updates the graph took: the number of the latest.
Implementations§
Source§impl RenderGraph
impl RenderGraph
pub fn new(root: LayerNode) -> Self
pub fn node_count(&self) -> usize
pub fn heap_bytes(&self) -> usize
Sourcepub fn collect_retained_visual_observation_nodes(
&self,
nodes: &mut HashSet<NodeId>,
)
pub fn collect_retained_visual_observation_nodes( &self, nodes: &mut HashSet<NodeId>, )
Replaces the set with the graph’s visual observation owners, retaining its capacity.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RenderGraph
impl !RefUnwindSafe for RenderGraph
impl !Send for RenderGraph
impl !Sync for RenderGraph
impl !UnwindSafe for RenderGraph
impl Unpin for RenderGraph
impl UnsafeUnpin for RenderGraph
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