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
@@ -88,7 +88,7 @@ namespace CodeWalker.Rendering
PSEntityVars = new GpuVarsBuffer<TreesLodShaderPSEntityVars>(device);
//layouts.Add(VertexType.PNCCT, new InputLayout(device, vsbytes, VertexTypePNCCT.GetLayout()));
layouts.Add(VertexType.PNCCTTTT, new InputLayout(device, vsbytes, VertexTypePNCCTTTT.GetLayout()));
layouts.Add(VertexType.PNCCTTTT, new InputLayout(device, vsbytes, VertexTypeGTAV.GetLayout(VertexType.PNCCTTTT)));