Skip to content

Command buffer chapter is unclear on some changes #394

@MrLixam

Description

@MrLixam

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions