Struct gpu_allocator::d3d12::AllocatorVisualizer
source · pub struct AllocatorVisualizer { /* private fields */ }
Implementations§
source§impl AllocatorVisualizer
impl AllocatorVisualizer
pub fn new() -> Self
pub fn set_color_scheme(&mut self, color_scheme: ColorScheme)
pub fn render_memory_block_ui(&mut self, ui: &mut Ui, alloc: &Allocator)
pub fn render_memory_block_window( &mut self, ctx: &Context, allocator: &Allocator, open: &mut bool )
pub fn render_memory_block_visualization_windows( &mut self, ctx: &Context, allocator: &Allocator )
pub fn render_breakdown_ui(&mut self, ui: &mut Ui, allocator: &Allocator)
pub fn render_breakdown_window( &mut self, ctx: &Context, allocator: &Allocator, open: &mut bool )
Auto Trait Implementations§
impl RefUnwindSafe for AllocatorVisualizer
impl Send for AllocatorVisualizer
impl Sync for AllocatorVisualizer
impl Unpin for AllocatorVisualizer
impl UnwindSafe for AllocatorVisualizer
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