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
@@ -102,7 +102,7 @@ namespace CodeWalker.Rendering
//supported layout - requires Position, Normal, Colour, Texcoord
layouts.Add(VertexType.Default, new InputLayout(device, vsbytes, VertexTypeDefault.GetLayout()));
layouts.Add(VertexType.Default, new InputLayout(device, vsbytes, VertexTypeGTAV.GetLayout(VertexType.Default)));