Struct ash::extensions::nv::DeviceDiagnosticCheckpoints
source · pub struct DeviceDiagnosticCheckpoints { /* private fields */ }
Expand description
Implementations§
source§impl DeviceDiagnosticCheckpoints
impl DeviceDiagnosticCheckpoints
pub fn new(instance: &Instance, device: &Device) -> Self
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] )
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.
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &NvDeviceDiagnosticCheckpointsFn
Trait Implementations§
source§impl Clone for DeviceDiagnosticCheckpoints
impl Clone for DeviceDiagnosticCheckpoints
source§fn clone(&self) -> DeviceDiagnosticCheckpoints
fn clone(&self) -> DeviceDiagnosticCheckpoints
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more