Struct ash::vk::KhrPerformanceQueryFn
source · [−]pub struct KhrPerformanceQueryFn {
pub enumerate_physical_device_queue_family_performance_query_counters_khr: PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR,
pub get_physical_device_queue_family_performance_query_passes_khr: PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR,
pub acquire_profiling_lock_khr: PFN_vkAcquireProfilingLockKHR,
pub release_profiling_lock_khr: PFN_vkReleaseProfilingLockKHR,
}
Fields
enumerate_physical_device_queue_family_performance_query_counters_khr: PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR
get_physical_device_queue_family_performance_query_passes_khr: PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR
acquire_profiling_lock_khr: PFN_vkAcquireProfilingLockKHR
release_profiling_lock_khr: PFN_vkReleaseProfilingLockKHR
Implementations
sourceimpl KhrPerformanceQueryFn
impl KhrPerformanceQueryFn
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
p_counter_count: *mut u32,
p_counters: *mut PerformanceCounterKHR,
p_counter_descriptions: *mut PerformanceCounterDescriptionKHR
) -> Result
pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
p_counter_count: *mut u32,
p_counters: *mut PerformanceCounterKHR,
p_counter_descriptions: *mut PerformanceCounterDescriptionKHR
) -> Result
sourcepub unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR,
p_num_passes: *mut u32
)
pub unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR,
p_num_passes: *mut u32
)
sourcepub unsafe fn acquire_profiling_lock_khr(
&self,
device: Device,
p_info: *const AcquireProfilingLockInfoKHR
) -> Result
pub unsafe fn acquire_profiling_lock_khr(
&self,
device: Device,
p_info: *const AcquireProfilingLockInfoKHR
) -> Result
Trait Implementations
sourceimpl Clone for KhrPerformanceQueryFn
impl Clone for KhrPerformanceQueryFn
sourcefn clone(&self) -> KhrPerformanceQueryFn
fn clone(&self) -> KhrPerformanceQueryFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Send for KhrPerformanceQueryFn
impl Sync for KhrPerformanceQueryFn
Auto Trait Implementations
impl RefUnwindSafe for KhrPerformanceQueryFn
impl Unpin for KhrPerformanceQueryFn
impl UnwindSafe for KhrPerformanceQueryFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more