Struct ash::nv::device_diagnostic_checkpoints::Device
source · pub struct Device {
pub(crate) fp: DeviceFn,
pub(crate) handle: Device,
}
Expand description
VK_NV_device_diagnostic_checkpoints device-level functions
Fields§
§fp: DeviceFn
§handle: Device
Implementations§
source§impl Device
impl Device
sourcepub unsafe fn cmd_set_checkpoint(
&self,
command_buffer: CommandBuffer,
p_checkpoint_marker: *const c_void,
)
pub unsafe fn cmd_set_checkpoint( &self, command_buffer: CommandBuffer, p_checkpoint_marker: *const c_void, )
sourcepub unsafe fn get_queue_checkpoint_data_len(&self, queue: Queue) -> usize
pub unsafe fn get_queue_checkpoint_data_len(&self, queue: Queue) -> usize
Retrieve the number of elements to pass to get_queue_checkpoint_data()
sourcepub unsafe fn get_queue_checkpoint_data(
&self,
queue: Queue,
out: &mut [CheckpointDataNV<'_>],
)
pub unsafe fn get_queue_checkpoint_data( &self, queue: Queue, out: &mut [CheckpointDataNV<'_>], )
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetQueueCheckpointDataNV.html
Call get_queue_checkpoint_data_len()
to query the number of elements to pass to out
.
Be sure to Default::default()
-initialize these elements and optionally set their p_next
pointer.
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