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