Skip to content

Commit 0dace6d

Browse files
committed
Rename Vulkan class to Vk to match Silk 2
1 parent 42750b8 commit 0dace6d

File tree

5 files changed

+1806
-1959
lines changed

5 files changed

+1806
-1959
lines changed

.silktouch/a1b4e159b3dbe7f3.stout

1.73 MB
Binary file not shown.

eng/silktouch/vulkan/vulkan/generate.rsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT
1616
--file
1717
vulkan-vulkan.h
1818
--methodClassName
19-
Vulkan
19+
Vk
2020
--namespace
2121
Silk.NET.Vulkan
2222
--output

sources/Vulkan/Vulkan/Vulkan.gen.cs renamed to sources/Vulkan/Vulkan/Vk.gen.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace Silk.NET.Vulkan;
1212

13-
partial class Vulkan(INativeContext nativeContext) : IDisposable
13+
partial class Vk(INativeContext nativeContext) : IDisposable
1414
{
1515
public partial class DllImport
1616
{
@@ -19,7 +19,7 @@ public partial class DllImport
1919

2020
private readonly unsafe void*[] _slots = new void*[678];
2121

22-
public static IVulkan Create(INativeContext ctx) => new Vulkan(ctx);
22+
public static IVk Create(INativeContext ctx) => new Vk(ctx);
2323

2424
/// <inheritdoc/>
2525
public void Dispose() => nativeContext.Dispose();

sources/Vulkan/Vulkan/IVulkan/IVulkan.gen.cs renamed to sources/Vulkan/Vulkan/Vulkan/IVk.gen.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Silk.NET.Vulkan;
1111

12-
public unsafe partial interface IVulkan
12+
public unsafe partial interface IVk
1313
{
1414
public partial interface Static
1515
{

0 commit comments

Comments
 (0)