mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-23 11:02:36 +08:00
dynamic generation of vertex layouts for GTAV vertex types
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user