dynamic generation of vertex layouts for GTAV vertex types

This commit is contained in:
Carmine Giugliano
2019-11-11 12:28:37 +01:00
Unverified
parent 918ed7fccf
commit 68bba817d3
11 changed files with 240 additions and 567 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ namespace CodeWalker.Rendering
sundisc = new UnitDisc(device, 30, true);
sunlayout = new InputLayout(device, sunvsbytes, sundisc.GetLayout());
skylayout = new InputLayout(device, skyvsbytes, VertexTypePTT.GetLayout());
skylayout = new InputLayout(device, skyvsbytes, VertexTypeGTAV.GetLayout(VertexType.PTT));
moonquad = new UnitQuad(device, true);
moonlayout = new InputLayout(device, moonvsbytes, moonquad.GetLayout());