Update RenderingContext and D3D12Renderer to use new API.

This commit is contained in:
2025-11-06 04:13:20 +00:00
parent b3eeb8d366
commit 15aca9aefb
17 changed files with 184 additions and 195 deletions

View File

@@ -3,10 +3,10 @@ shader "MyShader/Standard"
properties
{
float4 color = float4(1, 1, 1, 1);
texture2d texture1 = texture2d(black);
texture2d texture2 = texture2d(white);
texture2d texture3 = texture2d(grey);
texture2d texture4 = texture2d(normal);
tex2d_b texture1 = tex2d_b(black);
tex2d_b texture2 = tex2d_b(white);
tex2d_b texture3 = tex2d_b(grey);
tex2d_b texture4 = tex2d_b(normal);
}
pipeline
@@ -28,4 +28,4 @@ shader "MyShader/Standard"
"F:/csharp/GhostEngine/Ghost.Shader/BuiltIn/Common.hlsl";
}
}
}
}