Realm

vk::mem · Functions · Q1

Return an explicit native budget snapshot without caching admission decisions.

FnRustExperimental

Fnvk::mem::query_budget

pub unsafe fn query_budget( allocator: &Allocator<'_>, instance: &Instance, physical: PhysicalDevice, ) -> Result<BudgetSnapshot, AllocError>
Return an explicit native budget snapshot without caching admission decisions.

Contract

Return an explicit native budget snapshot without caching admission decisions.

Safety

Supply the matching live instance and physical device. Metadata checks do not prove identity.