mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 16:16:04 +08:00
Separate Fxc bindings and bump version 1.8.2
This commit is contained in:
@@ -1047,6 +1047,7 @@ public static class Program
|
||||
string wicPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Imaging");
|
||||
string d2dPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct2D");
|
||||
string dxcPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct3D.Dxc");
|
||||
string fxcPath = Path.Combine(new DirectoryInfo(repoRoot).Parent.FullName, "Vortice.Win32.Graphics.Direct3D.Fxc");
|
||||
|
||||
// Generate docs
|
||||
//DocGenerator.Generate(new[] { "DXGI" }, Path.Combine(repoRoot, "Generated", "Graphics", "Dxgi.xml"));
|
||||
@@ -1109,12 +1110,16 @@ public static class Program
|
||||
outputPath = dwritePath;
|
||||
useSubFolders = false;
|
||||
}
|
||||
|
||||
else if (jsonFile.EndsWith("Direct3D.Dxc.json"))
|
||||
else if (jsonFile == "Graphics.Direct3D.Dxc.json")
|
||||
{
|
||||
outputPath = dxcPath;
|
||||
useSubFolders = false;
|
||||
}
|
||||
else if (jsonFile == "Graphics.Direct3D.Fxc.json")
|
||||
{
|
||||
outputPath = fxcPath;
|
||||
useSubFolders = false;
|
||||
}
|
||||
|
||||
outputPath = Path.Combine(outputPath, "Generated");
|
||||
|
||||
@@ -1180,6 +1185,10 @@ public static class Program
|
||||
{
|
||||
docFile = $"../Vortice.Win32.Graphics.Direct3D11/Direct3D11";
|
||||
}
|
||||
else if (jsonFile == "Graphics.Direct3D.Fxc.json")
|
||||
{
|
||||
docFile = $"../Vortice.Win32/Generated/Graphics/Direct3D";
|
||||
}
|
||||
|
||||
string apiName = ns;
|
||||
string apiFolder;
|
||||
|
||||
Reference in New Issue
Block a user