[][src]Module nobs_vulkanism_headless::cmd

Handle vulkan commands, command pools, command buffers and batched submitting and syncronisation

This module's interface is mainly based on three units

  • Pool - manages creation and reusing of command buffers in the command pool
  • BatchSubmit and BatchWait - manage submission and syncronisation of comand buffers
    • AutoBatch - conveniently handles switching between states (submitting streams to the batch, and waiting for its completion)
    • Frame - lets you iterate through a vector of AutoBatch round robin style
  • Stream - manages a command buffer, basically a builder pattern for vk::Cmd* commands

The module commands defines builder patterns for vulkan structs and commands related to vk::Cmd*

Modules

commands

Structs

AutoBatch

Convenietly ping pong between BatchSubmit and BatchWait.

BatchSubmit

Collection of streams that are submitted to the same queue.

BatchWait

Collection of streams that are beeing executed.

Frame

Convinietly schedule AutoBatches in round robin

Pool

Wrapps a vulkan command pool

Stream

Wrapps a vulkan command buffer

Enums

Error