vulkan
This commit is contained in:
@@ -68,7 +68,3 @@ LibPaths = ["$(BuildDir)/libktx.a"]
|
|||||||
|
|
||||||
[Configs.Test.macOS]
|
[Configs.Test.macOS]
|
||||||
LibPaths = ["$(BuildDir)/libktx.a"]
|
LibPaths = ["$(BuildDir)/libktx.a"]
|
||||||
|
|
||||||
[[ProjectFolder.Items]]
|
|
||||||
Type = "IgnoreSource"
|
|
||||||
Name = "KTXVulkan.bf"
|
|
||||||
|
|||||||
@@ -26,13 +26,16 @@ class ExampleGenerator : Cpp2BeefGenerator, this(Span<char8*> args)
|
|||||||
StreamWriter ktxVulkanWriter = new .()..Create("../src/KTXVulkan.bf")..Write("""
|
StreamWriter ktxVulkanWriter = new .()..Create("../src/KTXVulkan.bf")..Write("""
|
||||||
// This file was generated by Cpp2Beef
|
// This file was generated by Cpp2Beef
|
||||||
|
|
||||||
|
#if KTX_VULKAN
|
||||||
using System;
|
using System;
|
||||||
using System.Interop;
|
using System.Interop;
|
||||||
|
|
||||||
|
using Vulkan;
|
||||||
|
|
||||||
namespace KTX;
|
namespace KTX;
|
||||||
|
|
||||||
|
|
||||||
""") ~ delete _;
|
""") ~ delete _..Write("\n#endif\n");
|
||||||
StreamWriter khrDfWriter = new .()..Create("../src/KHR_df.bf")..Write("""
|
StreamWriter khrDfWriter = new .()..Create("../src/KHR_df.bf")..Write("""
|
||||||
// This file was generated by Cpp2Beef
|
// This file was generated by Cpp2Beef
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -1,8 +1,11 @@
|
|||||||
// This file was generated by Cpp2Beef
|
// This file was generated by Cpp2Beef
|
||||||
|
|
||||||
|
#if KTX_VULKAN
|
||||||
using System;
|
using System;
|
||||||
using System.Interop;
|
using System.Interop;
|
||||||
|
|
||||||
|
using Vulkan;
|
||||||
|
|
||||||
namespace KTX;
|
namespace KTX;
|
||||||
|
|
||||||
static
|
static
|
||||||
@@ -278,4 +281,5 @@ extension ktxTexture2
|
|||||||
[CallingConvention(KTX_APIENTRYP)] [LinkName("ktxTexture2_GetVkFormat")] public static extern VkFormat GetVkFormat(ktxTexture2* This);
|
[CallingConvention(KTX_APIENTRYP)] [LinkName("ktxTexture2_GetVkFormat")] public static extern VkFormat GetVkFormat(ktxTexture2* This);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* KTX_H_A55A6F00956F42F3A137C11929827FE1 */
|
/* KTX_H_A55A6F00956F42F3A137C11929827FE1 */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user