KhronosGroup / KhronosGroup/Vulkan-Tutorial
Add emphasis on the difference between imageIndex and currentFrame
- Vorherrschende Sprache
- C++
- Sterne
- 418
- Forks
- 126
- Ø Merge
- 11 T. 6 Std.
- Gemergte PRs (30 T.)
- 31
Beschreibung
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
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100