Hi there,
I've been following this tutorial for a bit and arriving on The command buffer chapter, we're presented with an example:
vk::CommandPoolCreateInfo poolInfo{.flags = vk::CommandPoolCreateFlagBits::eResetCommandBuffer,
.queueFamilyIndex = queueIndex};
queueIndex being picked up from the logical device creation chapter and silently being put as a class member isn't really clear for the purpose of a tutorial.
Simply clarifying that queueIndex is moved from local scope inside logical device creation to class member would help or alternatively, set queueIndex as a class member at logical device creation and simply explain that the value will be needed in a later chapter
Hi there,
I've been following this tutorial for a bit and arriving on The command buffer chapter, we're presented with an example:
queueIndexbeing picked up from the logical device creation chapter and silently being put as a class member isn't really clear for the purpose of a tutorial.Simply clarifying that
queueIndexis moved from local scope inside logical device creation to class member would help or alternatively, setqueueIndexas a class member at logical device creation and simply explain that the value will be needed in a later chapter