Add draw call sorting keys generation during draw calls collection (async)

This commit is contained in:
Wojtek Figat
2022-11-16 09:20:56 +01:00
parent eb281a7574
commit 3b4d91924f
9 changed files with 62 additions and 36 deletions

View File

@@ -269,6 +269,11 @@ struct DrawCall
/// </summary>
float PerInstanceRandom;
/// <summary>
/// The sorting key for the draw call calculate by RenderList.
/// </summary>
uint64 SortKey;
/// <summary>
/// Does nothing.
/// </summary>