Struct ash::extensions_generated::nv::low_latency2::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_NV_low_latency2 device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn set_latency_sleep_mode(
&self,
swapchain: SwapchainKHR,
sleep_mode_info: Option<&LatencySleepModeInfoNV<'_>>,
) -> VkResult<()>
pub unsafe fn set_latency_sleep_mode( &self, swapchain: SwapchainKHR, sleep_mode_info: Option<&LatencySleepModeInfoNV<'_>>, ) -> VkResult<()>
sourcepub unsafe fn latency_sleep(
&self,
swapchain: SwapchainKHR,
sleep_info: &LatencySleepInfoNV<'_>,
) -> VkResult<()>
pub unsafe fn latency_sleep( &self, swapchain: SwapchainKHR, sleep_info: &LatencySleepInfoNV<'_>, ) -> VkResult<()>
sourcepub unsafe fn set_latency_marker(
&self,
swapchain: SwapchainKHR,
latency_marker_info: &SetLatencyMarkerInfoNV<'_>,
)
pub unsafe fn set_latency_marker( &self, swapchain: SwapchainKHR, latency_marker_info: &SetLatencyMarkerInfoNV<'_>, )
sourcepub unsafe fn get_latency_timings(
&self,
swapchain: SwapchainKHR,
latency_marker_info: &mut GetLatencyMarkerInfoNV<'_>,
)
pub unsafe fn get_latency_timings( &self, swapchain: SwapchainKHR, latency_marker_info: &mut GetLatencyMarkerInfoNV<'_>, )
sourcepub unsafe fn queue_notify_out_of_band(
&self,
queue: Queue,
queue_type_info: &OutOfBandQueueTypeInfoNV<'_>,
)
pub unsafe fn queue_notify_out_of_band( &self, queue: Queue, queue_type_info: &OutOfBandQueueTypeInfoNV<'_>, )
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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