pub struct SubtreePartitionPlan { /* private fields */ }Expand description
Complete mixed CPU+GPU subtree partition plan produced for one SceneTree frame.
Implementations§
Source§impl SubtreePartitionPlan
impl SubtreePartitionPlan
pub fn get_entries(&self) -> &Vec<SubtreePartitionEntry>
pub fn get_mut_entries(&mut self) -> &mut Vec<SubtreePartitionEntry>
pub fn set_entries(&mut self, val: Vec<SubtreePartitionEntry>) -> &mut Self
pub fn get_cpu_node_count(&self) -> usize
pub fn get_mut_cpu_node_count(&mut self) -> &mut usize
pub fn set_cpu_node_count(&mut self, val: usize) -> &mut Self
pub fn get_gpu_node_count(&self) -> usize
pub fn get_mut_gpu_node_count(&mut self) -> &mut usize
pub fn set_gpu_node_count(&mut self, val: usize) -> &mut Self
pub fn get_cpu_subtree_count(&self) -> usize
pub fn get_mut_cpu_subtree_count(&mut self) -> &mut usize
pub fn set_cpu_subtree_count(&mut self, val: usize) -> &mut Self
pub fn get_gpu_subtree_count(&self) -> usize
pub fn get_mut_gpu_subtree_count(&mut self) -> &mut usize
pub fn set_gpu_subtree_count(&mut self, val: usize) -> &mut Self
pub fn get_requires_mixed_coexec(&self) -> bool
pub fn get_mut_requires_mixed_coexec(&mut self) -> &mut bool
pub fn set_requires_mixed_coexec(&mut self, val: bool) -> &mut Self
Trait Implementations§
Source§impl Clone for SubtreePartitionPlan
impl Clone for SubtreePartitionPlan
Source§impl Debug for SubtreePartitionPlan
impl Debug for SubtreePartitionPlan
Source§impl Default for SubtreePartitionPlan
impl Default for SubtreePartitionPlan
Source§impl PartialEq for SubtreePartitionPlan
impl PartialEq for SubtreePartitionPlan
impl StructuralPartialEq for SubtreePartitionPlan
Auto Trait Implementations§
impl Forget for SubtreePartitionPlan
impl Freeze for SubtreePartitionPlan
impl Move for SubtreePartitionPlan
impl RefUnwindSafe for SubtreePartitionPlan
impl Send for SubtreePartitionPlanwhere
RawVecInner: Send,
impl Sync for SubtreePartitionPlanwhere
RawVecInner: Sync,
impl Unpin for SubtreePartitionPlan
impl UnsafeUnpin for SubtreePartitionPlan
impl UnwindSafe for SubtreePartitionPlanwhere
RawVecInner: UnwindSafe,
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