Struct ash::extensions_generated::khr::performance_query::Instance
source · pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_KHR_performance_query instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_len(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
) -> VkResult<usize>
pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_len( &self, physical_device: PhysicalDevice, queue_family_index: u32, ) -> VkResult<usize>
Retrieve the number of elements to pass to enumerate_physical_device_queue_family_performance_query_counters()
sourcepub unsafe fn enumerate_physical_device_queue_family_performance_query_counters(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
out_counters: &mut [PerformanceCounterKHR<'_>],
out_counter_descriptions: &mut [PerformanceCounterDescriptionKHR<'_>],
) -> VkResult<()>
pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters( &self, physical_device: PhysicalDevice, queue_family_index: u32, out_counters: &mut [PerformanceCounterKHR<'_>], out_counter_descriptions: &mut [PerformanceCounterDescriptionKHR<'_>], ) -> VkResult<()>
Call enumerate_physical_device_queue_family_performance_query_counters_len()
to query the number of elements to pass to out_counters
and out_counter_descriptions
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
sourcepub unsafe fn get_physical_device_queue_family_performance_query_passes(
&self,
physical_device: PhysicalDevice,
performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR<'_>,
) -> u32
pub unsafe fn get_physical_device_queue_family_performance_query_passes( &self, physical_device: PhysicalDevice, performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR<'_>, ) -> u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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