KhronosGroup / KhronosGroup/Vulkan-Tutorial

Add emphasis on the difference between imageIndex and currentFrame

未关闭
#57 6 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
418
派生
126
平均合并
11 天 6 小时
30 天内合并 PR
31

描述

I've witnessed people in the past having a hard time understanding the difference between the swap chain image index and the index you would use for your frames in flight. This tutorial does properly separate the two, but I feel like it needs a stronger emphasis on the difference between them, to make it less easy to screw up.

I think [this part](https://github.com/KhronosGroup/Vulkan-Tutorial/blob/main/en/03_Drawing_a_triangle/03_Drawing/03_Frames_in_flight.adoc) is a great place to include such information, since this is where the concept of FiF is introduced.

Also this is something I'd be happy to make a PR for

贡献指南

打开贡献指南

调研方向

Start by reading en/03_Drawing_a_triangle/03_Drawing/03_Frames_in_flight.adoc, especially where frames in flight are introduced. Clarify the distinction between the swap chain image index and the frame-in-flight index in that section; the work is done when the two indices and their separate uses are unambiguous to readers.

由索引模型根据 Issue 内容生成。

评估

领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。