KhronosGroup / KhronosGroup/Vulkan-Tutorial

Add emphasis on the difference between imageIndex and currentFrame

Aperta
#57 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C++
Stelle
418
Fork
126
Merge medio
11g 6h
PR unite (30g)
31

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
documentation
Tipo di issue
Documentazione
Difficoltà
1/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.