[][src]Struct ash::vk::IntelPerformanceQueryFn

pub struct IntelPerformanceQueryFn {
    pub initialize_performance_api_intel: extern "system" fn(device: Device, p_initialize_info: *const InitializePerformanceApiInfoINTEL) -> Result,
    pub uninitialize_performance_api_intel: extern "system" fn(device: Device) -> c_void,
    pub cmd_set_performance_marker_intel: extern "system" fn(command_buffer: CommandBuffer, p_marker_info: *const PerformanceMarkerInfoINTEL) -> Result,
    pub cmd_set_performance_stream_marker_intel: extern "system" fn(command_buffer: CommandBuffer, p_marker_info: *const PerformanceStreamMarkerInfoINTEL) -> Result,
    pub cmd_set_performance_override_intel: extern "system" fn(command_buffer: CommandBuffer, p_override_info: *const PerformanceOverrideInfoINTEL) -> Result,
    pub acquire_performance_configuration_intel: extern "system" fn(device: Device, p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL, p_configuration: *mut PerformanceConfigurationINTEL) -> Result,
    pub release_performance_configuration_intel: extern "system" fn(device: Device, configuration: PerformanceConfigurationINTEL) -> Result,
    pub queue_set_performance_configuration_intel: extern "system" fn(queue: Queue, configuration: PerformanceConfigurationINTEL) -> Result,
    pub get_performance_parameter_intel: extern "system" fn(device: Device, parameter: PerformanceParameterTypeINTEL, p_value: *mut PerformanceValueINTEL) -> Result,
}

Fields

initialize_performance_api_intel: extern "system" fn(device: Device, p_initialize_info: *const InitializePerformanceApiInfoINTEL) -> Resultuninitialize_performance_api_intel: extern "system" fn(device: Device) -> c_voidcmd_set_performance_marker_intel: extern "system" fn(command_buffer: CommandBuffer, p_marker_info: *const PerformanceMarkerInfoINTEL) -> Resultcmd_set_performance_stream_marker_intel: extern "system" fn(command_buffer: CommandBuffer, p_marker_info: *const PerformanceStreamMarkerInfoINTEL) -> Resultcmd_set_performance_override_intel: extern "system" fn(command_buffer: CommandBuffer, p_override_info: *const PerformanceOverrideInfoINTEL) -> Resultacquire_performance_configuration_intel: extern "system" fn(device: Device, p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL, p_configuration: *mut PerformanceConfigurationINTEL) -> Resultrelease_performance_configuration_intel: extern "system" fn(device: Device, configuration: PerformanceConfigurationINTEL) -> Resultqueue_set_performance_configuration_intel: extern "system" fn(queue: Queue, configuration: PerformanceConfigurationINTEL) -> Resultget_performance_parameter_intel: extern "system" fn(device: Device, parameter: PerformanceParameterTypeINTEL, p_value: *mut PerformanceValueINTEL) -> Result

Methods

impl IntelPerformanceQueryFn[src]

pub fn name() -> &'static CStr[src]

impl IntelPerformanceQueryFn[src]

pub fn load<F>(_f: F) -> Self where
    F: FnMut(&CStr) -> *const c_void
[src]

pub unsafe fn initialize_performance_api_intel(
    &self,
    device: Device,
    p_initialize_info: *const InitializePerformanceApiInfoINTEL
) -> Result
[src]

pub unsafe fn uninitialize_performance_api_intel(
    &self,
    device: Device
) -> c_void
[src]

pub unsafe fn cmd_set_performance_marker_intel(
    &self,
    command_buffer: CommandBuffer,
    p_marker_info: *const PerformanceMarkerInfoINTEL
) -> Result
[src]

pub unsafe fn cmd_set_performance_stream_marker_intel(
    &self,
    command_buffer: CommandBuffer,
    p_marker_info: *const PerformanceStreamMarkerInfoINTEL
) -> Result
[src]

pub unsafe fn cmd_set_performance_override_intel(
    &self,
    command_buffer: CommandBuffer,
    p_override_info: *const PerformanceOverrideInfoINTEL
) -> Result
[src]

pub unsafe fn acquire_performance_configuration_intel(
    &self,
    device: Device,
    p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL,
    p_configuration: *mut PerformanceConfigurationINTEL
) -> Result
[src]

pub unsafe fn release_performance_configuration_intel(
    &self,
    device: Device,
    configuration: PerformanceConfigurationINTEL
) -> Result
[src]

pub unsafe fn queue_set_performance_configuration_intel(
    &self,
    queue: Queue,
    configuration: PerformanceConfigurationINTEL
) -> Result
[src]

pub unsafe fn get_performance_parameter_intel(
    &self,
    device: Device,
    parameter: PerformanceParameterTypeINTEL,
    p_value: *mut PerformanceValueINTEL
) -> Result
[src]

Trait Implementations

impl Clone for IntelPerformanceQueryFn[src]

impl Send for IntelPerformanceQueryFn[src]

impl Sync for IntelPerformanceQueryFn[src]

Auto Trait Implementations

impl RefUnwindSafe for IntelPerformanceQueryFn

impl Unpin for IntelPerformanceQueryFn

impl UnwindSafe for IntelPerformanceQueryFn

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.