Skip to main content

cmd_dispatch_base

Function cmd_dispatch_base 

Source
pub unsafe fn cmd_dispatch_base(
    device: &Device,
    command_buffer: CommandBuffer,
    base_group_x: u32,
    base_group_y: u32,
    base_group_z: u32,
    group_count_x: u32,
    group_count_y: u32,
    group_count_z: u32,
) -> Result<(), CallError>
Expand description

Call vkCmdDispatchBase 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 vkCmdDispatchBase valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.