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
@@ -61,7 +61,7 @@ namespace CodeWalker.Rendering
VSSceneVars = new GpuVarsBuffer<PathShaderVSSceneVars>(device);
layout = new InputLayout(device, vsbytes, VertexTypePC.GetLayout());
layout = new InputLayout(device, vsbytes, VertexTypeGTAV.GetLayout(VertexType.PC));
cube = new UnitCube(device, boxvsbytes, true, false, true);