pub trait KhrPerformanceQueryExtension: DeviceV1_0 {
    const METADATA: Extension = KHR_PERFORMANCE_QUERY_EXTENSION;

    // Provided methods
    unsafe fn acquire_profiling_lock_khr(
        &self,
        info: &AcquireProfilingLockInfoKHR
    ) -> VkResult<()> { ... }
    unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
        &self,
        physical_device: PhysicalDevice,
        queue_family_index: u32
    ) -> VkResult<(Vec<PerformanceCounterKHR>, Vec<PerformanceCounterDescriptionKHR>)> { ... }
    unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
        &self,
        physical_device: PhysicalDevice,
        performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR
    ) -> u32 { ... }
    unsafe fn release_profiling_lock_khr(&self) { ... }
}
Expand description

Provided Associated Constants§

source

const METADATA: Extension = KHR_PERFORMANCE_QUERY_EXTENSION

The metadata for this extension.

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§