mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-27 00:24:34 +08:00
dynamic generation of vertex layouts for GTAV vertex types
This commit is contained in:
@@ -118,7 +118,7 @@ namespace CodeWalker.Rendering
|
||||
VSModelVars = new GpuVarsBuffer<CloudsShaderVSModelVars>(device);
|
||||
PSSceneVars = new GpuVarsBuffer<CloudsShaderPSSceneVars>(device);
|
||||
|
||||
layout = new InputLayout(device, vsbytes, VertexTypeDefaultEx.GetLayout());
|
||||
layout = new InputLayout(device, vsbytes, VertexTypeGTAV.GetLayout(VertexType.DefaultEx));
|
||||
|
||||
texsampler = new SamplerState(device, new SamplerStateDescription()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user