This commit is contained in:
2026-07-22 13:30:35 +02:00
parent c491b3a78d
commit 9e30f72559
3 changed files with 9 additions and 6 deletions
-4
View File
@@ -68,7 +68,3 @@ LibPaths = ["$(BuildDir)/libktx.a"]
[Configs.Test.macOS]
LibPaths = ["$(BuildDir)/libktx.a"]
[[ProjectFolder.Items]]
Type = "IgnoreSource"
Name = "KTXVulkan.bf"
+4 -1
View File
@@ -26,13 +26,16 @@ class ExampleGenerator : Cpp2BeefGenerator, this(Span<char8*> args)
StreamWriter ktxVulkanWriter = new .()..Create("../src/KTXVulkan.bf")..Write("""
// This file was generated by Cpp2Beef
#if KTX_VULKAN
using System;
using System.Interop;
using Vulkan;
namespace KTX;
""") ~ delete _;
""") ~ delete _..Write("\n#endif\n");
StreamWriter khrDfWriter = new .()..Create("../src/KHR_df.bf")..Write("""
// This file was generated by Cpp2Beef
+4
View File
@@ -1,8 +1,11 @@
// This file was generated by Cpp2Beef
#if KTX_VULKAN
using System;
using System.Interop;
using Vulkan;
namespace KTX;
static
@@ -279,3 +282,4 @@ extension ktxTexture2
}
/* KTX_H_A55A6F00956F42F3A137C11929827FE1 */