pub unsafe fn cmd_write_timestamp(
device: &Device,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlagBits,
query_pool: QueryPool,
query: u32,
) -> Result<(), CallError>Expand description
Call vkCmdWriteTimestamp using this context’s cached function pointer.
§Errors
Reports a missing command, invalid slice lengths/counts or a native error.
§Safety
The context and all handles must be live and belong to the same Vulkan
implementation/device. Meet vkCmdWriteTimestamp valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.