Skip to main content

begin_command_buffer

Function begin_command_buffer 

Source
pub unsafe fn begin_command_buffer(
    device: &Device,
    command_buffer: CommandBuffer,
    begin_info: &CommandBufferBeginInfo<'_>,
) -> Result<(), CallError>
Expand description

Begin recording a command buffer.

ยงSafety

The command buffer must be in the initial or reset state.

Khronos reference: vkBeginCommandBuffer