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