pub struct AssetStreamBudget { /* private fields */ }Expand description
Memory and per-frame time ceilings governing AssetStreamCoordinator decode and residency pools.
Implementations§
Source§impl AssetStreamBudget
Implements impl #impl_generics #name #ty_generics #where_clause.
impl AssetStreamBudget
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_ram_budget_bytes(&self) -> usize
pub fn get_mut_ram_budget_bytes(&mut self) -> &mut usize
pub fn set_ram_budget_bytes(&mut self, val: usize) -> &mut Self
pub fn get_vram_budget_bytes(&self) -> usize
pub fn get_mut_vram_budget_bytes(&mut self) -> &mut usize
pub fn set_vram_budget_bytes(&mut self, val: usize) -> &mut Self
pub fn get_max_decode_us_per_frame(&self) -> u64
pub fn get_mut_max_decode_us_per_frame(&mut self) -> &mut u64
pub fn set_max_decode_us_per_frame(&mut self, val: u64) -> &mut Self
pub fn get_max_gpu_upload_bytes_per_frame(&self) -> usize
pub fn get_mut_max_gpu_upload_bytes_per_frame(&mut self) -> &mut usize
pub fn set_max_gpu_upload_bytes_per_frame(&mut self, val: usize) -> &mut Self
pub fn get_max_gpu_upload_us_per_frame(&self) -> u64
pub fn get_mut_max_gpu_upload_us_per_frame(&mut self) -> &mut u64
pub fn set_max_gpu_upload_us_per_frame(&mut self, val: u64) -> &mut Self
Trait Implementations§
Source§impl Clone for AssetStreamBudget
impl Clone for AssetStreamBudget
impl Copy for AssetStreamBudget
Source§impl Debug for AssetStreamBudget
impl Debug for AssetStreamBudget
Source§impl Default for AssetStreamBudget
Default AAA desktop/mobile streaming budget presets for AssetStreamBudget.
impl Default for AssetStreamBudget
Default AAA desktop/mobile streaming budget presets for AssetStreamBudget.
impl Eq for AssetStreamBudget
Source§impl Hash for AssetStreamBudget
impl Hash for AssetStreamBudget
Source§impl PartialEq for AssetStreamBudget
impl PartialEq for AssetStreamBudget
impl StructuralPartialEq for AssetStreamBudget
Auto Trait Implementations§
impl Forget for AssetStreamBudget
impl Freeze for AssetStreamBudget
impl Move for AssetStreamBudget
impl RefUnwindSafe for AssetStreamBudget
impl Send for AssetStreamBudget
impl Sync for AssetStreamBudget
impl Unpin for AssetStreamBudget
impl UnsafeUnpin for AssetStreamBudget
impl UnwindSafe for AssetStreamBudget
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