diff --git a/build/cache/webgpu.json.gz b/build/cache/webgpu.json.gz index f901609e3d..9491e4844e 100644 Binary files a/build/cache/webgpu.json.gz and b/build/cache/webgpu.json.gz differ diff --git a/build/submodules/dawn b/build/submodules/dawn index 334acb2d02..130b662d20 160000 --- a/build/submodules/dawn +++ b/build/submodules/dawn @@ -1 +1 @@ -Subproject commit 334acb2d025faa3821edd3ba7aefc871a86fd309 +Subproject commit 130b662d20558a0fe8056f81ea0e718c2e4f3867 diff --git a/build/submodules/webgpu-headers b/build/submodules/webgpu-headers index 8e9025e0fa..d123885757 160000 --- a/build/submodules/webgpu-headers +++ b/build/submodules/webgpu-headers @@ -1 +1 @@ -Subproject commit 8e9025e0fa4b33d5e7cc682b7604b021b29f36c6 +Subproject commit d12388575785f254b5c186667e0c1b79e4da46b1 diff --git a/build/submodules/wgpu-native b/build/submodules/wgpu-native index 2afa435d67..baaee05f9e 160000 --- a/build/submodules/wgpu-native +++ b/build/submodules/wgpu-native @@ -1 +1 @@ -Subproject commit 2afa435d6797eeebfc9c037311a26d343b917359 +Subproject commit baaee05f9e4476e4f8e4cd21fe078bc314a54741 diff --git a/generator.json b/generator.json index 5b0c438c2b..e85f5efac6 100644 --- a/generator.json +++ b/generator.json @@ -2364,7 +2364,8 @@ "WGPUMapModeFlags": "Silk.NET.WebGPU.MapMode", "WGPUShaderStageFlags": "Silk.NET.WebGPU.ShaderStage", "WGPUTextureUsageFlags": "Silk.NET.WebGPU.TextureUsage", - "WGPUInstanceBackendFlags": "Silk.NET.WebGPU.Extensions.WGPU.InstanceBackend" + "WGPUInstanceBackendFlags": "Silk.NET.WebGPU.Extensions.WGPU.InstanceBackend", + "WGPUBool": "Silk.NET.Core.Bool32" }, { "$include.commonTypeMap": "build/csharp_typemap.json", diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Dawn.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Dawn.gen.cs index 13580dcd15..108801c395 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Dawn.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Dawn.gen.cs @@ -21,455 +21,590 @@ public unsafe partial class Dawn : NativeExtension { public const string ExtensionName = "dawn-webgpu.h"; /// To be documented. - [NativeName("Src", "Line 1755, Column 24 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuAdapterCreateDevice")] - public unsafe partial Device* AdapterCreateDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceDescriptor* descriptor); + [NativeName("Src", "Line 2174, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuAdapterPropertiesFreeMembers")] + public partial void AdapterPropertiesFreeMembers(AdapterProperties value); /// To be documented. - [NativeName("Src", "Line 1755, Column 24 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuAdapterCreateDevice")] - public unsafe partial Device* AdapterCreateDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in DeviceDescriptor descriptor); + [NativeName("Src", "Line 2176, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuGetInstanceFeatures")] + public unsafe partial Silk.NET.Core.Bool32 GetInstanceFeatures(InstanceFeatures* features); /// To be documented. - [NativeName("Src", "Line 1757, Column 26 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuAdapterGetInstance")] - public unsafe partial Instance* AdapterGetInstance(Adapter* adapter); + [NativeName("Src", "Line 2176, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuGetInstanceFeatures")] + public partial Silk.NET.Core.Bool32 GetInstanceFeatures(ref InstanceFeatures features); /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); + [NativeName("Src", "Line 2178, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryEndAccessStateFreeMembers")] + public partial void SharedTextureMemoryEndAccessStateFreeMembers(SharedTextureMemoryEndAccessState value); /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); + [NativeName("Src", "Line 2181, Column 24 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuAdapterCreateDevice")] + public unsafe partial Device* AdapterCreateDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); + [NativeName("Src", "Line 2181, Column 24 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuAdapterCreateDevice")] + public unsafe partial Device* AdapterCreateDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in DeviceDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTextureInternal")] - public unsafe partial void CommandEncoderCopyTextureToTextureInternal(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); + [NativeName("Src", "Line 2183, Column 26 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuAdapterGetInstance")] + public unsafe partial Instance* AdapterGetInstance(Adapter* adapter); /// To be documented. - [NativeName("Src", "Line 1803, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2228, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInjectValidationError")] public unsafe partial void CommandEncoderInjectValidationError(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* message); /// To be documented. - [NativeName("Src", "Line 1803, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2228, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInjectValidationError")] public unsafe partial void CommandEncoderInjectValidationError(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte message); /// To be documented. - [NativeName("Src", "Line 1803, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2228, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInjectValidationError")] public unsafe partial void CommandEncoderInjectValidationError(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string message); /// To be documented. - [NativeName("Src", "Line 1809, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2234, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderWriteBuffer")] public unsafe partial void CommandEncoderWriteBuffer(CommandEncoder* commandEncoder, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* data, ulong size); /// To be documented. - [NativeName("Src", "Line 1809, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2234, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderWriteBuffer")] public unsafe partial void CommandEncoderWriteBuffer(CommandEncoder* commandEncoder, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte data, ulong size); /// To be documented. - [NativeName("Src", "Line 1809, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2234, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderWriteBuffer")] public unsafe partial void CommandEncoderWriteBuffer(CommandEncoder* commandEncoder, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string data, ulong size); /// To be documented. - [NativeName("Src", "Line 1824, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2249, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderWriteTimestamp")] public unsafe partial void ComputePassEncoderWriteTimestamp(ComputePassEncoder* computePassEncoder, QuerySet* querySet, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1841, Column 24 in dawn-webgpu.h")] + [NativeName("Src", "Line 2266, Column 24 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorBuffer")] public unsafe partial Buffer* DeviceCreateErrorBuffer(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1841, Column 24 in dawn-webgpu.h")] + [NativeName("Src", "Line 2266, Column 24 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorBuffer")] public unsafe partial Buffer* DeviceCreateErrorBuffer(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in BufferDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1842, Column 33 in dawn-webgpu.h")] + [NativeName("Src", "Line 2267, Column 33 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorExternalTexture")] public unsafe partial ExternalTextureImpl* DeviceCreateErrorExternalTexture(Device* device); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ShaderModuleDescriptor* descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* errorMessage); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ShaderModuleDescriptor* descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte errorMessage); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ShaderModuleDescriptor* descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string errorMessage); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ShaderModuleDescriptor descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* errorMessage); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ShaderModuleDescriptor descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte errorMessage); /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorShaderModule")] public unsafe partial ShaderModule* DeviceCreateErrorShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ShaderModuleDescriptor descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string errorMessage); /// To be documented. - [NativeName("Src", "Line 1844, Column 25 in dawn-webgpu.h")] + [NativeName("Src", "Line 2269, Column 25 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorTexture")] public unsafe partial Texture* DeviceCreateErrorTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1844, Column 25 in dawn-webgpu.h")] + [NativeName("Src", "Line 2269, Column 25 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateErrorTexture")] public unsafe partial Texture* DeviceCreateErrorTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1845, Column 33 in dawn-webgpu.h")] + [NativeName("Src", "Line 2270, Column 33 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateExternalTexture")] public unsafe partial ExternalTextureImpl* DeviceCreateExternalTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ExternalTextureDescriptor* externalTextureDescriptor); /// To be documented. - [NativeName("Src", "Line 1845, Column 33 in dawn-webgpu.h")] + [NativeName("Src", "Line 2270, Column 33 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateExternalTexture")] public unsafe partial ExternalTextureImpl* DeviceCreateExternalTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ExternalTextureDescriptor externalTextureDescriptor); /// To be documented. - [NativeName("Src", "Line 1857, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2278, Column 27 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceCreateSwapChain")] + public unsafe partial SwapChain* DeviceCreateSwapChain(Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SwapChainDescriptor* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2278, Column 27 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceCreateSwapChain")] + public unsafe partial SwapChain* DeviceCreateSwapChain(Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SwapChainDescriptor descriptor); + + /// To be documented. + [NativeName("Src", "Line 2282, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceForceLoss")] public unsafe partial void DeviceForceLoss(Device* device, DeviceLostReason type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* message); /// To be documented. - [NativeName("Src", "Line 1857, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2282, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceForceLoss")] public unsafe partial void DeviceForceLoss(Device* device, DeviceLostReason type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte message); /// To be documented. - [NativeName("Src", "Line 1857, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2282, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceForceLoss")] public unsafe partial void DeviceForceLoss(Device* device, DeviceLostReason type, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string message); /// To be documented. - [NativeName("Src", "Line 1858, Column 25 in dawn-webgpu.h")] + [NativeName("Src", "Line 2283, Column 25 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceGetAdapter")] public unsafe partial Adapter* DeviceGetAdapter(Device* device); /// To be documented. - [NativeName("Src", "Line 1861, Column 35 in dawn-webgpu.h")] + [NativeName("Src", "Line 2286, Column 35 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceGetSupportedSurfaceUsage")] public unsafe partial Silk.NET.WebGPU.TextureUsage DeviceGetSupportedSurfaceUsage(Device* device, Surface* surface); /// To be documented. - [NativeName("Src", "Line 1863, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2288, Column 29 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceImportSharedFence")] + public unsafe partial SharedFenceImpl* DeviceImportSharedFence(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedFenceDescriptor* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2288, Column 29 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceImportSharedFence")] + public unsafe partial SharedFenceImpl* DeviceImportSharedFence(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SharedFenceDescriptor descriptor); + + /// To be documented. + [NativeName("Src", "Line 2289, Column 37 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceImportSharedTextureMemory")] + public unsafe partial SharedTextureMemoryImpl* DeviceImportSharedTextureMemory(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedTextureMemoryDescriptor* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2289, Column 37 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuDeviceImportSharedTextureMemory")] + public unsafe partial SharedTextureMemoryImpl* DeviceImportSharedTextureMemory(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SharedTextureMemoryDescriptor descriptor); + + /// To be documented. + [NativeName("Src", "Line 2290, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceInjectError")] public unsafe partial void DeviceInjectError(Device* device, ErrorType type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* message); /// To be documented. - [NativeName("Src", "Line 1863, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2290, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceInjectError")] public unsafe partial void DeviceInjectError(Device* device, ErrorType type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte message); /// To be documented. - [NativeName("Src", "Line 1863, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2290, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceInjectError")] public unsafe partial void DeviceInjectError(Device* device, ErrorType type, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string message); /// To be documented. - [NativeName("Src", "Line 1866, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2293, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetDeviceLostCallback")] public unsafe partial void DeviceSetDeviceLostCallback(Device* device, PfnDeviceLostCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1866, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2293, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetDeviceLostCallback")] public unsafe partial void DeviceSetDeviceLostCallback(Device* device, PfnDeviceLostCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1868, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2295, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetLoggingCallback")] public unsafe partial void DeviceSetLoggingCallback(Device* device, PfnLoggingCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1868, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2295, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetLoggingCallback")] public unsafe partial void DeviceSetLoggingCallback(Device* device, PfnLoggingCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1870, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2297, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceTick")] public unsafe partial void DeviceTick(Device* device); /// To be documented. - [NativeName("Src", "Line 1871, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2298, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceValidateTextureDescriptor")] public unsafe partial void DeviceValidateTextureDescriptor(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1871, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2298, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceValidateTextureDescriptor")] public unsafe partial void DeviceValidateTextureDescriptor(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1876, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2303, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureDestroy")] public unsafe partial void ExternalTextureDestroy(ExternalTextureImpl* externalTexture); /// To be documented. - [NativeName("Src", "Line 1877, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2304, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureExpire")] public unsafe partial void ExternalTextureExpire(ExternalTextureImpl* externalTexture); /// To be documented. - [NativeName("Src", "Line 1878, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2305, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureRefresh")] public unsafe partial void ExternalTextureRefresh(ExternalTextureImpl* externalTexture); /// To be documented. - [NativeName("Src", "Line 1879, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2306, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureSetLabel")] public unsafe partial void ExternalTextureSetLabel(ExternalTextureImpl* externalTexture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1879, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2306, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureSetLabel")] public unsafe partial void ExternalTextureSetLabel(ExternalTextureImpl* externalTexture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1879, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2306, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureSetLabel")] public unsafe partial void ExternalTextureSetLabel(ExternalTextureImpl* externalTexture, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1880, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2307, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureReference")] public unsafe partial void ExternalTextureReference(ExternalTextureImpl* externalTexture); /// To be documented. - [NativeName("Src", "Line 1881, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2308, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuExternalTextureRelease")] public unsafe partial void ExternalTextureRelease(ExternalTextureImpl* externalTexture); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2314, Column 28 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuInstanceWaitAny")] + public unsafe partial WaitStatus InstanceWaitAny(Instance* instance, nuint futureCount, FutureWaitInfo* futures, ulong timeoutNS); + + /// To be documented. + [NativeName("Src", "Line 2314, Column 28 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuInstanceWaitAny")] + public unsafe partial WaitStatus InstanceWaitAny(Instance* instance, nuint futureCount, ref FutureWaitInfo futures, ulong timeoutNS); + + /// To be documented. + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyExternalTextureForBrowser")] public unsafe partial void QueueCopyExternalTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyExternalTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options); /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueCopyTextureForBrowser")] public unsafe partial void QueueCopyTextureForBrowser(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CopyTextureForBrowserOptions options); /// To be documented. - [NativeName("Src", "Line 1906, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2334, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueOnSubmittedWorkDone")] public unsafe partial void QueueOnSubmittedWorkDone(Queue* queue, ulong signalValue, PfnQueueWorkDoneCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1906, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2334, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueOnSubmittedWorkDone")] public unsafe partial void QueueOnSubmittedWorkDone(Queue* queue, ulong signalValue, PfnQueueWorkDoneCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1957, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2335, Column 24 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuQueueOnSubmittedWorkDoneF")] + public unsafe partial Future QueueOnSubmittedWorkDoneF(Queue* queue, QueueWorkDoneCallbackInfo callbackInfo); + + /// To be documented. + [NativeName("Src", "Line 2375, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuRenderPassEncoderPixelLocalStorageBarrier")] + public unsafe partial void RenderPassEncoderPixelLocalStorageBarrier(RenderPassEncoder* renderPassEncoder); + + /// To be documented. + [NativeName("Src", "Line 2387, Column 18 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderWriteTimestamp")] public unsafe partial void RenderPassEncoderWriteTimestamp(RenderPassEncoder* renderPassEncoder, QuerySet* querySet, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1983, Column 25 in dawn-webgpu.h")] + [NativeName("Src", "Line 2409, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedFenceExportInfo")] + public unsafe partial void SharedFenceExportInfo(SharedFenceImpl* sharedFence, SharedFenceExportInfo* info); + + /// To be documented. + [NativeName("Src", "Line 2409, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedFenceExportInfo")] + public unsafe partial void SharedFenceExportInfo(SharedFenceImpl* sharedFence, ref SharedFenceExportInfo info); + + /// To be documented. + [NativeName("Src", "Line 2410, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedFenceReference")] + public unsafe partial void SharedFenceReference(SharedFenceImpl* sharedFence); + + /// To be documented. + [NativeName("Src", "Line 2411, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedFenceRelease")] + public unsafe partial void SharedFenceRelease(SharedFenceImpl* sharedFence); + + /// To be documented. + [NativeName("Src", "Line 2414, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryBeginAccess")] + public unsafe partial Silk.NET.Core.Bool32 SharedTextureMemoryBeginAccess(SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SharedTextureMemoryBeginAccessDescriptor* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2414, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryBeginAccess")] + public unsafe partial Silk.NET.Core.Bool32 SharedTextureMemoryBeginAccess(SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SharedTextureMemoryBeginAccessDescriptor descriptor); + + /// To be documented. + [NativeName("Src", "Line 2415, Column 25 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryCreateTexture")] + public unsafe partial Texture* SharedTextureMemoryCreateTexture(SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDescriptor* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2415, Column 25 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryCreateTexture")] + public unsafe partial Texture* SharedTextureMemoryCreateTexture(SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDescriptor descriptor); + + /// To be documented. + [NativeName("Src", "Line 2416, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryEndAccess")] + public unsafe partial Silk.NET.Core.Bool32 SharedTextureMemoryEndAccess(SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, SharedTextureMemoryEndAccessState* descriptor); + + /// To be documented. + [NativeName("Src", "Line 2416, Column 22 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryEndAccess")] + public unsafe partial Silk.NET.Core.Bool32 SharedTextureMemoryEndAccess(SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, ref SharedTextureMemoryEndAccessState descriptor); + + /// To be documented. + [NativeName("Src", "Line 2417, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryGetProperties")] + public unsafe partial void SharedTextureMemoryGetProperties(SharedTextureMemoryImpl* sharedTextureMemory, SharedTextureMemoryProperties* properties); + + /// To be documented. + [NativeName("Src", "Line 2417, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryGetProperties")] + public unsafe partial void SharedTextureMemoryGetProperties(SharedTextureMemoryImpl* sharedTextureMemory, ref SharedTextureMemoryProperties properties); + + /// To be documented. + [NativeName("Src", "Line 2418, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemorySetLabel")] + public unsafe partial void SharedTextureMemorySetLabel(SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); + + /// To be documented. + [NativeName("Src", "Line 2418, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemorySetLabel")] + public unsafe partial void SharedTextureMemorySetLabel(SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); + + /// To be documented. + [NativeName("Src", "Line 2418, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemorySetLabel")] + public unsafe partial void SharedTextureMemorySetLabel(SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); + + /// To be documented. + [NativeName("Src", "Line 2419, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryReference")] + public unsafe partial void SharedTextureMemoryReference(SharedTextureMemoryImpl* sharedTextureMemory); + + /// To be documented. + [NativeName("Src", "Line 2420, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSharedTextureMemoryRelease")] + public unsafe partial void SharedTextureMemoryRelease(SharedTextureMemoryImpl* sharedTextureMemory); + + /// To be documented. + [NativeName("Src", "Line 2427, Column 25 in dawn-webgpu.h")] [NativeApi(EntryPoint = "wgpuSwapChainGetCurrentTexture")] public unsafe partial Texture* SwapChainGetCurrentTexture(SwapChain* swapChain); + /// To be documented. + [NativeName("Src", "Line 2428, Column 29 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSwapChainGetCurrentTextureView")] + public unsafe partial TextureView* SwapChainGetCurrentTextureView(SwapChain* swapChain); + + /// To be documented. + [NativeName("Src", "Line 2429, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSwapChainPresent")] + public unsafe partial void SwapChainPresent(SwapChain* swapChain); + + /// To be documented. + [NativeName("Src", "Line 2430, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSwapChainReference")] + public unsafe partial void SwapChainReference(SwapChain* swapChain); + + /// To be documented. + [NativeName("Src", "Line 2431, Column 18 in dawn-webgpu.h")] + [NativeApi(EntryPoint = "wgpuSwapChainRelease")] + public unsafe partial void SwapChainRelease(SwapChain* swapChain); + public Dawn(INativeContext ctx) : base(ctx) { diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/DawnOverloads.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/DawnOverloads.gen.cs index 6a9ed3e47b..33961bb765 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/DawnOverloads.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/DawnOverloads.gen.cs @@ -17,71 +17,23 @@ namespace Silk.NET.WebGPU.Extensions.Dawn public static class DawnOverloads { /// To be documented. - [NativeName("Src", "Line 1755, Column 24 in dawn-webgpu.h")] - public static unsafe Device* AdapterCreateDevice(this Dawn thisApi, Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) - { - // SpanOverloader - return thisApi.AdapterCreateDevice(adapter, in descriptor.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) - { - // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, source, destination, in copySize.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) - { - // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, source, in destination.GetPinnableReference(), copySize); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) - { - // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, source, in destination.GetPinnableReference(), in copySize.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) - { - // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, in source.GetPinnableReference(), destination, copySize); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) - { - // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, in source.GetPinnableReference(), destination, in copySize.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) + [NativeName("Src", "Line 2176, Column 22 in dawn-webgpu.h")] + public static unsafe Silk.NET.Core.Bool32 GetInstanceFeatures(this Dawn thisApi, Span features) { // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, in source.GetPinnableReference(), in destination.GetPinnableReference(), copySize); + return thisApi.GetInstanceFeatures(ref features.GetPinnableReference()); } /// To be documented. - [NativeName("Src", "Line 1801, Column 18 in dawn-webgpu.h")] - public static unsafe void CommandEncoderCopyTextureToTextureInternal(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) + [NativeName("Src", "Line 2181, Column 24 in dawn-webgpu.h")] + public static unsafe Device* AdapterCreateDevice(this Dawn thisApi, Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader - thisApi.CommandEncoderCopyTextureToTextureInternal(commandEncoder, in source.GetPinnableReference(), in destination.GetPinnableReference(), in copySize.GetPinnableReference()); + return thisApi.AdapterCreateDevice(adapter, in descriptor.GetPinnableReference()); } /// To be documented. - [NativeName("Src", "Line 1803, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2228, Column 18 in dawn-webgpu.h")] public static unsafe void CommandEncoderInjectValidationError(this Dawn thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan message) { // SpanOverloader @@ -89,7 +41,7 @@ public static unsafe void CommandEncoderInjectValidationError(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1809, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2234, Column 18 in dawn-webgpu.h")] public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEncoder* commandEncoder, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, ulong size) { // SpanOverloader @@ -97,7 +49,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1841, Column 24 in dawn-webgpu.h")] + [NativeName("Src", "Line 2266, Column 24 in dawn-webgpu.h")] public static unsafe Buffer* DeviceCreateErrorBuffer(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -105,7 +57,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] public static unsafe ShaderModule* DeviceCreateErrorShaderModule(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ShaderModuleDescriptor* descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan errorMessage) { // SpanOverloader @@ -113,7 +65,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] public static unsafe ShaderModule* DeviceCreateErrorShaderModule(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* errorMessage) { // SpanOverloader @@ -121,7 +73,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] public static unsafe ShaderModule* DeviceCreateErrorShaderModule(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan errorMessage) { // SpanOverloader @@ -129,7 +81,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1843, Column 30 in dawn-webgpu.h")] + [NativeName("Src", "Line 2268, Column 30 in dawn-webgpu.h")] public static unsafe ShaderModule* DeviceCreateErrorShaderModule(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string errorMessage) { // SpanOverloader @@ -137,7 +89,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1844, Column 25 in dawn-webgpu.h")] + [NativeName("Src", "Line 2269, Column 25 in dawn-webgpu.h")] public static unsafe Texture* DeviceCreateErrorTexture(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -145,7 +97,7 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1845, Column 33 in dawn-webgpu.h")] + [NativeName("Src", "Line 2270, Column 33 in dawn-webgpu.h")] public static unsafe ExternalTextureImpl* DeviceCreateExternalTexture(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan externalTextureDescriptor) { // SpanOverloader @@ -153,7 +105,15 @@ public static unsafe void CommandEncoderWriteBuffer(this Dawn thisApi, CommandEn } /// To be documented. - [NativeName("Src", "Line 1857, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2278, Column 27 in dawn-webgpu.h")] + public static unsafe SwapChain* DeviceCreateSwapChain(this Dawn thisApi, Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) + { + // SpanOverloader + return thisApi.DeviceCreateSwapChain(device, surface, in descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2282, Column 18 in dawn-webgpu.h")] public static unsafe void DeviceForceLoss(this Dawn thisApi, Device* device, DeviceLostReason type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan message) { // SpanOverloader @@ -161,7 +121,23 @@ public static unsafe void DeviceForceLoss(this Dawn thisApi, Device* device, Dev } /// To be documented. - [NativeName("Src", "Line 1863, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2288, Column 29 in dawn-webgpu.h")] + public static unsafe SharedFenceImpl* DeviceImportSharedFence(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) + { + // SpanOverloader + return thisApi.DeviceImportSharedFence(device, in descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2289, Column 37 in dawn-webgpu.h")] + public static unsafe SharedTextureMemoryImpl* DeviceImportSharedTextureMemory(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) + { + // SpanOverloader + return thisApi.DeviceImportSharedTextureMemory(device, in descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2290, Column 18 in dawn-webgpu.h")] public static unsafe void DeviceInjectError(this Dawn thisApi, Device* device, ErrorType type, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan message) { // SpanOverloader @@ -169,7 +145,7 @@ public static unsafe void DeviceInjectError(this Dawn thisApi, Device* device, E } /// To be documented. - [NativeName("Src", "Line 1866, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2293, Column 18 in dawn-webgpu.h")] public static unsafe void DeviceSetDeviceLostCallback(this Dawn thisApi, Device* device, PfnDeviceLostCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -177,7 +153,7 @@ public static unsafe void DeviceSetDeviceLostCallback(this Dawn thisApi, Dev } /// To be documented. - [NativeName("Src", "Line 1868, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2295, Column 18 in dawn-webgpu.h")] public static unsafe void DeviceSetLoggingCallback(this Dawn thisApi, Device* device, PfnLoggingCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -185,7 +161,7 @@ public static unsafe void DeviceSetLoggingCallback(this Dawn thisApi, Device } /// To be documented. - [NativeName("Src", "Line 1871, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2298, Column 18 in dawn-webgpu.h")] public static unsafe void DeviceValidateTextureDescriptor(this Dawn thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -193,7 +169,7 @@ public static unsafe void DeviceValidateTextureDescriptor(this Dawn thisApi, Dev } /// To be documented. - [NativeName("Src", "Line 1879, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2306, Column 18 in dawn-webgpu.h")] public static unsafe void ExternalTextureSetLabel(this Dawn thisApi, ExternalTextureImpl* externalTexture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -201,7 +177,15 @@ public static unsafe void ExternalTextureSetLabel(this Dawn thisApi, ExternalTex } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2314, Column 28 in dawn-webgpu.h")] + public static unsafe WaitStatus InstanceWaitAny(this Dawn thisApi, Instance* instance, nuint futureCount, Span futures, ulong timeoutNS) + { + // SpanOverloader + return thisApi.InstanceWaitAny(instance, futureCount, ref futures.GetPinnableReference(), timeoutNS); + } + + /// To be documented. + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -209,7 +193,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -217,7 +201,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -225,7 +209,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -233,7 +217,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -241,7 +225,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -249,7 +233,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyExternalTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -257,7 +241,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -265,7 +249,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -273,7 +257,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -281,7 +265,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -289,7 +273,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -297,7 +281,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -305,7 +289,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -313,7 +297,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1904, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2332, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -321,7 +305,7 @@ public static unsafe void QueueCopyExternalTextureForBrowser(this Dawn thisApi, } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -329,7 +313,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -337,7 +321,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -345,7 +329,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -353,7 +337,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -361,7 +345,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -369,7 +353,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -377,7 +361,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -385,7 +369,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -393,7 +377,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -401,7 +385,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -409,7 +393,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -417,7 +401,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader @@ -425,7 +409,7 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CopyTextureForBrowserOptions* options) { // SpanOverloader @@ -433,13 +417,61 @@ public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* q } /// To be documented. - [NativeName("Src", "Line 1905, Column 18 in dawn-webgpu.h")] + [NativeName("Src", "Line 2333, Column 18 in dawn-webgpu.h")] public static unsafe void QueueCopyTextureForBrowser(this Dawn thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options) { // SpanOverloader thisApi.QueueCopyTextureForBrowser(queue, in source.GetPinnableReference(), in destination.GetPinnableReference(), in copySize.GetPinnableReference(), in options.GetPinnableReference()); } + /// To be documented. + [NativeName("Src", "Line 2409, Column 18 in dawn-webgpu.h")] + public static unsafe void SharedFenceExportInfo(this Dawn thisApi, SharedFenceImpl* sharedFence, Span info) + { + // SpanOverloader + thisApi.SharedFenceExportInfo(sharedFence, ref info.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2414, Column 22 in dawn-webgpu.h")] + public static unsafe Silk.NET.Core.Bool32 SharedTextureMemoryBeginAccess(this Dawn thisApi, SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) + { + // SpanOverloader + return thisApi.SharedTextureMemoryBeginAccess(sharedTextureMemory, texture, in descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2415, Column 25 in dawn-webgpu.h")] + public static unsafe Texture* SharedTextureMemoryCreateTexture(this Dawn thisApi, SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) + { + // SpanOverloader + return thisApi.SharedTextureMemoryCreateTexture(sharedTextureMemory, in descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2416, Column 22 in dawn-webgpu.h")] + public static unsafe Silk.NET.Core.Bool32 SharedTextureMemoryEndAccess(this Dawn thisApi, SharedTextureMemoryImpl* sharedTextureMemory, Texture* texture, Span descriptor) + { + // SpanOverloader + return thisApi.SharedTextureMemoryEndAccess(sharedTextureMemory, texture, ref descriptor.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2417, Column 18 in dawn-webgpu.h")] + public static unsafe void SharedTextureMemoryGetProperties(this Dawn thisApi, SharedTextureMemoryImpl* sharedTextureMemory, Span properties) + { + // SpanOverloader + thisApi.SharedTextureMemoryGetProperties(sharedTextureMemory, ref properties.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 2418, Column 18 in dawn-webgpu.h")] + public static unsafe void SharedTextureMemorySetLabel(this Dawn thisApi, SharedTextureMemoryImpl* sharedTextureMemory, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) + { + // SpanOverloader + thisApi.SharedTextureMemorySetLabel(sharedTextureMemory, in label.GetPinnableReference()); + } + } } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/CallbackMode.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/CallbackMode.gen.cs new file mode 100644 index 0000000000..9ee590bf1b --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/CallbackMode.gen.cs @@ -0,0 +1,24 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUCallbackMode")] + public enum CallbackMode : int + { + [NativeName("Name", "WGPUCallbackMode_WaitAnyOnly")] + WaitAnyOnly = 0x0, + [NativeName("Name", "WGPUCallbackMode_AllowProcessEvents")] + AllowProcessEvents = 0x1, + [NativeName("Name", "WGPUCallbackMode_AllowSpontaneous")] + AllowSpontaneous = 0x2, + [NativeName("Name", "WGPUCallbackMode_Force32")] + Force32 = 0x7FFFFFFF, + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/SharedFenceType.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/SharedFenceType.gen.cs new file mode 100644 index 0000000000..495b8c7b83 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/SharedFenceType.gen.cs @@ -0,0 +1,36 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceType")] + public enum SharedFenceType : int + { + [NativeName("Name", "WGPUSharedFenceType_DXGISharedHandle")] + DxgiSharedHandle = 0x4, + [NativeName("Name", "WGPUSharedFenceType_MTLSharedEvent")] + MtlSharedEvent = 0x5, + [NativeName("Name", "WGPUSharedFenceType_Undefined")] + Undefined = 0x0, + [NativeName("Name", "WGPUSharedFenceType_VkSemaphoreOpaqueFD")] + VkSemaphoreOpaqueFD = 0x1, + [NativeName("Name", "WGPUSharedFenceType_VkSemaphoreSyncFD")] + VkSemaphoreSyncFD = 0x2, + [NativeName("Name", "WGPUSharedFenceType_VkSemaphoreZirconHandle")] + VkSemaphoreZirconHandle = 0x3, + [Obsolete("Deprecated in favour of \"DxgiSharedHandle\"")] + [NativeName("Name", "WGPUSharedFenceType_DXGISharedHandle")] + DxgisharedHandle = 0x4, + [Obsolete("Deprecated in favour of \"MtlSharedEvent\"")] + [NativeName("Name", "WGPUSharedFenceType_MTLSharedEvent")] + MtlsharedEvent = 0x5, + [NativeName("Name", "WGPUSharedFenceType_Force32")] + Force32 = 0x7FFFFFFF, + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/WaitStatus.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/WaitStatus.gen.cs new file mode 100644 index 0000000000..b50fd7163b --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Enums/WaitStatus.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUWaitStatus")] + public enum WaitStatus : int + { + [NativeName("Name", "WGPUWaitStatus_Success")] + Success = 0x0, + [NativeName("Name", "WGPUWaitStatus_TimedOut")] + TimedOut = 0x1, + [NativeName("Name", "WGPUWaitStatus_UnsupportedTimeout")] + UnsupportedTimeout = 0x2, + [NativeName("Name", "WGPUWaitStatus_UnsupportedCount")] + UnsupportedCount = 0x3, + [NativeName("Name", "WGPUWaitStatus_UnsupportedMixedSources")] + UnsupportedMixedSources = 0x4, + [NativeName("Name", "WGPUWaitStatus_Unknown")] + Unknown = 0x5, + [NativeName("Name", "WGPUWaitStatus_Force32")] + Force32 = 0x7FFFFFFF, + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/BufferHostMappedPointer.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/BufferHostMappedPointer.gen.cs new file mode 100644 index 0000000000..c6e6702b73 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/BufferHostMappedPointer.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUBufferHostMappedPointer")] + public unsafe partial struct BufferHostMappedPointer + { + public BufferHostMappedPointer + ( + ChainedStruct? chain = null, + void* pointer = null, + PfnCallback? disposeCallback = null, + void* userdata = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (pointer is not null) + { + Pointer = pointer; + } + + if (disposeCallback is not null) + { + DisposeCallback = disposeCallback.Value; + } + + if (userdata is not null) + { + Userdata = userdata; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "pointer")] + public void* Pointer; + + [NativeName("Type", "WGPUCallback")] + [NativeName("Type.Name", "WGPUCallback")] + [NativeName("Name", "disposeCallback")] + public PfnCallback DisposeCallback; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "userdata")] + public void* Userdata; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/CopyTextureForBrowserOptions.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/CopyTextureForBrowserOptions.gen.cs index 122a34c0ae..eadfda02fd 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/CopyTextureForBrowserOptions.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/CopyTextureForBrowserOptions.gen.cs @@ -84,13 +84,13 @@ public CopyTextureForBrowserOptions [NativeName("Name", "nextInChain")] public ChainedStruct* NextInChain; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "flipY")] public Silk.NET.Core.Bool32 FlipY; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "needsColorSpaceConversion")] public Silk.NET.Core.Bool32 NeedsColorSpaceConversion; @@ -119,8 +119,8 @@ public CopyTextureForBrowserOptions [NativeName("Name", "dstAlphaMode")] public AlphaMode DstAlphaMode; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "internalUsage")] public Silk.NET.Core.Bool32 InternalUsage; } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnBufferDescriptorErrorInfoFromWireClient.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnBufferDescriptorErrorInfoFromWireClient.gen.cs index ee936942a6..5784f72311 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnBufferDescriptorErrorInfoFromWireClient.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnBufferDescriptorErrorInfoFromWireClient.gen.cs @@ -42,8 +42,8 @@ public DawnBufferDescriptorErrorInfoFromWireClient [NativeName("Name", "chain")] public ChainedStruct Chain; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "outOfMemory")] public Silk.NET.Core.Bool32 OutOfMemory; } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnEncoderInternalUsageDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnEncoderInternalUsageDescriptor.gen.cs index b2b2ec815e..b9bbe7fe4d 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnEncoderInternalUsageDescriptor.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnEncoderInternalUsageDescriptor.gen.cs @@ -42,8 +42,8 @@ public DawnEncoderInternalUsageDescriptor [NativeName("Name", "chain")] public ChainedStruct Chain; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "useInternalUsages")] public Silk.NET.Core.Bool32 UseInternalUsages; } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnExperimentalSubgroupLimits.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnExperimentalSubgroupLimits.gen.cs new file mode 100644 index 0000000000..48a27e4068 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnExperimentalSubgroupLimits.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUDawnExperimentalSubgroupLimits")] + public unsafe partial struct DawnExperimentalSubgroupLimits + { + public DawnExperimentalSubgroupLimits + ( + ChainedStructOut? chain = null, + uint? minSubgroupSize = null, + uint? maxSubgroupSize = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (minSubgroupSize is not null) + { + MinSubgroupSize = minSubgroupSize.Value; + } + + if (maxSubgroupSize is not null) + { + MaxSubgroupSize = maxSubgroupSize.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "minSubgroupSize")] + public uint MinSubgroupSize; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxSubgroupSize")] + public uint MaxSubgroupSize; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnMultisampleStateRenderToSingleSampled.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnMultisampleStateRenderToSingleSampled.gen.cs new file mode 100644 index 0000000000..843376f7cb --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnMultisampleStateRenderToSingleSampled.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUDawnMultisampleStateRenderToSingleSampled")] + public unsafe partial struct DawnMultisampleStateRenderToSingleSampled + { + public DawnMultisampleStateRenderToSingleSampled + ( + ChainedStruct? chain = null, + Silk.NET.Core.Bool32? enabled = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (enabled is not null) + { + Enabled = enabled.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "enabled")] + public Silk.NET.Core.Bool32 Enabled; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnRenderPassColorAttachmentRenderToSingleSampled.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnRenderPassColorAttachmentRenderToSingleSampled.gen.cs new file mode 100644 index 0000000000..5717806b5a --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnRenderPassColorAttachmentRenderToSingleSampled.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUDawnRenderPassColorAttachmentRenderToSingleSampled")] + public unsafe partial struct DawnRenderPassColorAttachmentRenderToSingleSampled + { + public DawnRenderPassColorAttachmentRenderToSingleSampled + ( + ChainedStruct? chain = null, + uint? implicitSampleCount = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (implicitSampleCount is not null) + { + ImplicitSampleCount = implicitSampleCount.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "implicitSampleCount")] + public uint ImplicitSampleCount; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnShaderModuleSPIRVOptionsDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnShaderModuleSPIRVOptionsDescriptor.gen.cs index 967e62bce7..ffbc6d6c56 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnShaderModuleSPIRVOptionsDescriptor.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnShaderModuleSPIRVOptionsDescriptor.gen.cs @@ -42,8 +42,8 @@ public DawnShaderModuleSPIRVOptionsDescriptor [NativeName("Name", "chain")] public ChainedStruct Chain; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "allowNonUniformDerivatives")] public Silk.NET.Core.Bool32 AllowNonUniformDerivatives; } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnTogglesDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnTogglesDescriptor.gen.cs index 415aa58d31..1cb48706d5 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnTogglesDescriptor.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/DawnTogglesDescriptor.gen.cs @@ -22,9 +22,9 @@ public unsafe partial struct DawnTogglesDescriptor public DawnTogglesDescriptor ( ChainedStruct? chain = null, - nuint? enabledTogglesCount = null, + nuint? enabledToggleCount = null, byte** enabledToggles = null, - nuint? disabledTogglesCount = null, + nuint? disabledToggleCount = null, byte** disabledToggles = null ) : this() { @@ -33,9 +33,9 @@ public DawnTogglesDescriptor Chain = chain.Value; } - if (enabledTogglesCount is not null) + if (enabledToggleCount is not null) { - EnabledTogglesCount = enabledTogglesCount.Value; + EnabledToggleCount = enabledToggleCount.Value; } if (enabledToggles is not null) @@ -43,9 +43,9 @@ public DawnTogglesDescriptor EnabledToggles = enabledToggles; } - if (disabledTogglesCount is not null) + if (disabledToggleCount is not null) { - DisabledTogglesCount = disabledTogglesCount.Value; + DisabledToggleCount = disabledToggleCount.Value; } if (disabledToggles is not null) @@ -62,8 +62,8 @@ public DawnTogglesDescriptor [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] - [NativeName("Name", "enabledTogglesCount")] - public nuint EnabledTogglesCount; + [NativeName("Name", "enabledToggleCount")] + public nuint EnabledToggleCount; [NativeName("Type", "const char *const *")] [NativeName("Type.Name", "const char *const *")] @@ -72,8 +72,8 @@ public DawnTogglesDescriptor [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] - [NativeName("Name", "disabledTogglesCount")] - public nuint DisabledTogglesCount; + [NativeName("Name", "disabledToggleCount")] + public nuint DisabledToggleCount; [NativeName("Type", "const char *const *")] [NativeName("Type.Name", "const char *const *")] diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/ExternalTextureDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/ExternalTextureDescriptor.gen.cs index ef594ed806..29a500c36f 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/ExternalTextureDescriptor.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/ExternalTextureDescriptor.gen.cs @@ -133,8 +133,8 @@ public ExternalTextureDescriptor [NativeName("Name", "visibleSize")] public Extent2D VisibleSize; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "doYuvToRgbConversionOnly")] public Silk.NET.Core.Bool32 DoYuvToRgbConversionOnly; @@ -158,8 +158,8 @@ public ExternalTextureDescriptor [NativeName("Name", "gamutConversionMatrix")] public float* GamutConversionMatrix; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "flipY")] public Silk.NET.Core.Bool32 FlipY; diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/Future.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/Future.gen.cs new file mode 100644 index 0000000000..94c2637495 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/Future.gen.cs @@ -0,0 +1,39 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUFuture")] + public unsafe partial struct Future + { + public Future + ( + ulong? id = null + ) : this() + { + if (id is not null) + { + Id = id.Value; + } + } + + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "id")] + public ulong Id; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/FutureWaitInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/FutureWaitInfo.gen.cs new file mode 100644 index 0000000000..d005af0642 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/FutureWaitInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUFutureWaitInfo")] + public unsafe partial struct FutureWaitInfo + { + public FutureWaitInfo + ( + Future? future = null, + Silk.NET.Core.Bool32? completed = null + ) : this() + { + if (future is not null) + { + Future = future.Value; + } + + if (completed is not null) + { + Completed = completed.Value; + } + } + + + [NativeName("Type", "WGPUFuture")] + [NativeName("Type.Name", "WGPUFuture")] + [NativeName("Name", "future")] + public Future Future; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "completed")] + public Silk.NET.Core.Bool32 Completed; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/InstanceFeatures.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/InstanceFeatures.gen.cs new file mode 100644 index 0000000000..bfbd06ea36 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/InstanceFeatures.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUInstanceFeatures")] + public unsafe partial struct InstanceFeatures + { + public InstanceFeatures + ( + ChainedStruct* nextInChain = null, + Silk.NET.Core.Bool32? timedWaitAnyEnable = null, + nuint? timedWaitAnyMaxCount = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (timedWaitAnyEnable is not null) + { + TimedWaitAnyEnable = timedWaitAnyEnable.Value; + } + + if (timedWaitAnyMaxCount is not null) + { + TimedWaitAnyMaxCount = timedWaitAnyMaxCount.Value; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "timedWaitAnyEnable")] + public Silk.NET.Core.Bool32 TimedWaitAnyEnable; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "timedWaitAnyMaxCount")] + public nuint TimedWaitAnyMaxCount; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PfnCallback.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PfnCallback.gen.cs new file mode 100644 index 0000000000..bac5502303 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PfnCallback.gen.cs @@ -0,0 +1,53 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + public unsafe readonly struct PfnCallback : IDisposable + { + private readonly void* _handle; + public delegate* unmanaged[Cdecl] Handle => (delegate* unmanaged[Cdecl]) _handle; + public PfnCallback + ( + delegate* unmanaged[Cdecl] ptr + ) => _handle = ptr; + + public PfnCallback + ( + Callback proc + ) => _handle = (void*) SilkMarshal.DelegateToPtr(proc); + + public static PfnCallback From(Callback proc) => new PfnCallback(proc); + public void Dispose() => SilkMarshal.Free((nint) _handle); + + public static implicit operator nint(PfnCallback pfn) => (nint) pfn.Handle; + public static explicit operator PfnCallback(nint pfn) + => new PfnCallback((delegate* unmanaged[Cdecl]) pfn); + + public static implicit operator PfnCallback(Callback proc) + => new PfnCallback(proc); + + public static explicit operator Callback(PfnCallback pfn) + => SilkMarshal.PtrToDelegate(pfn); + + public static implicit operator delegate* unmanaged[Cdecl](PfnCallback pfn) => pfn.Handle; + public static implicit operator PfnCallback(delegate* unmanaged[Cdecl] ptr) => new PfnCallback(ptr); + } + + [UnmanagedFunctionPointer(CallingConvention.Cdecl)] + public unsafe delegate void Callback(void* arg0); +} + diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutPixelLocalStorage.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutPixelLocalStorage.gen.cs new file mode 100644 index 0000000000..bed8d3904a --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutPixelLocalStorage.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUPipelineLayoutPixelLocalStorage")] + public unsafe partial struct PipelineLayoutPixelLocalStorage + { + public PipelineLayoutPixelLocalStorage + ( + ChainedStruct? chain = null, + ulong? totalPixelLocalStorageSize = null, + nuint? storageAttachmentCount = null, + PipelineLayoutStorageAttachment* storageAttachments = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (totalPixelLocalStorageSize is not null) + { + TotalPixelLocalStorageSize = totalPixelLocalStorageSize.Value; + } + + if (storageAttachmentCount is not null) + { + StorageAttachmentCount = storageAttachmentCount.Value; + } + + if (storageAttachments is not null) + { + StorageAttachments = storageAttachments; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "totalPixelLocalStorageSize")] + public ulong TotalPixelLocalStorageSize; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "storageAttachmentCount")] + public nuint StorageAttachmentCount; + + [NativeName("Type", "const WGPUPipelineLayoutStorageAttachment *")] + [NativeName("Type.Name", "const WGPUPipelineLayoutStorageAttachment *")] + [NativeName("Name", "storageAttachments")] + public PipelineLayoutStorageAttachment* StorageAttachments; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutStorageAttachment.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutStorageAttachment.gen.cs new file mode 100644 index 0000000000..030b47832e --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/PipelineLayoutStorageAttachment.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUPipelineLayoutStorageAttachment")] + public unsafe partial struct PipelineLayoutStorageAttachment + { + public PipelineLayoutStorageAttachment + ( + ChainedStruct* nextInChain = null, + ulong? offset = null, + TextureFormat? format = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (format is not null) + { + Format = format.Value; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "offset")] + public ulong Offset; + + [NativeName("Type", "WGPUTextureFormat")] + [NativeName("Type.Name", "WGPUTextureFormat")] + [NativeName("Name", "format")] + public TextureFormat Format; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/QueueWorkDoneCallbackInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/QueueWorkDoneCallbackInfo.gen.cs new file mode 100644 index 0000000000..fb89b6ae88 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/QueueWorkDoneCallbackInfo.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUQueueWorkDoneCallbackInfo")] + public unsafe partial struct QueueWorkDoneCallbackInfo + { + public QueueWorkDoneCallbackInfo + ( + ChainedStruct* nextInChain = null, + CallbackMode? mode = null, + PfnQueueWorkDoneCallback? callback = null, + void* userdata = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (mode is not null) + { + Mode = mode.Value; + } + + if (callback is not null) + { + Callback = callback.Value; + } + + if (userdata is not null) + { + Userdata = userdata; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "WGPUCallbackMode")] + [NativeName("Type.Name", "WGPUCallbackMode")] + [NativeName("Name", "mode")] + public CallbackMode Mode; + + [NativeName("Type", "WGPUQueueWorkDoneCallback")] + [NativeName("Type.Name", "WGPUQueueWorkDoneCallback")] + [NativeName("Name", "callback")] + public PfnQueueWorkDoneCallback Callback; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "userdata")] + public void* Userdata; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassPixelLocalStorage.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassPixelLocalStorage.gen.cs new file mode 100644 index 0000000000..887122a16c --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassPixelLocalStorage.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPURenderPassPixelLocalStorage")] + public unsafe partial struct RenderPassPixelLocalStorage + { + public RenderPassPixelLocalStorage + ( + ChainedStruct? chain = null, + ulong? totalPixelLocalStorageSize = null, + nuint? storageAttachmentCount = null, + RenderPassStorageAttachment* storageAttachments = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (totalPixelLocalStorageSize is not null) + { + TotalPixelLocalStorageSize = totalPixelLocalStorageSize.Value; + } + + if (storageAttachmentCount is not null) + { + StorageAttachmentCount = storageAttachmentCount.Value; + } + + if (storageAttachments is not null) + { + StorageAttachments = storageAttachments; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "totalPixelLocalStorageSize")] + public ulong TotalPixelLocalStorageSize; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "storageAttachmentCount")] + public nuint StorageAttachmentCount; + + [NativeName("Type", "const WGPURenderPassStorageAttachment *")] + [NativeName("Type.Name", "const WGPURenderPassStorageAttachment *")] + [NativeName("Name", "storageAttachments")] + public RenderPassStorageAttachment* StorageAttachments; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassStorageAttachment.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassStorageAttachment.gen.cs new file mode 100644 index 0000000000..a5e1f3488a --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/RenderPassStorageAttachment.gen.cs @@ -0,0 +1,94 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPURenderPassStorageAttachment")] + public unsafe partial struct RenderPassStorageAttachment + { + public RenderPassStorageAttachment + ( + ChainedStruct* nextInChain = null, + ulong? offset = null, + TextureView* storage = null, + LoadOp? loadOp = null, + StoreOp? storeOp = null, + Color? clearValue = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (offset is not null) + { + Offset = offset.Value; + } + + if (storage is not null) + { + Storage = storage; + } + + if (loadOp is not null) + { + LoadOp = loadOp.Value; + } + + if (storeOp is not null) + { + StoreOp = storeOp.Value; + } + + if (clearValue is not null) + { + ClearValue = clearValue.Value; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "offset")] + public ulong Offset; + + [NativeName("Type", "WGPUTextureView")] + [NativeName("Type.Name", "WGPUTextureView")] + [NativeName("Name", "storage")] + public TextureView* Storage; + + [NativeName("Type", "WGPULoadOp")] + [NativeName("Type.Name", "WGPULoadOp")] + [NativeName("Name", "loadOp")] + public LoadOp LoadOp; + + [NativeName("Type", "WGPUStoreOp")] + [NativeName("Type.Name", "WGPUStoreOp")] + [NativeName("Name", "storeOp")] + public StoreOp StoreOp; + + [NativeName("Type", "WGPUColor")] + [NativeName("Type.Name", "WGPUColor")] + [NativeName("Name", "clearValue")] + public Color ClearValue; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleDescriptor.gen.cs new file mode 100644 index 0000000000..180cbbbbee --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceDXGISharedHandleDescriptor")] + public unsafe partial struct SharedFenceDXGISharedHandleDescriptor + { + public SharedFenceDXGISharedHandleDescriptor + ( + ChainedStruct? chain = null, + void* handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "handle")] + public void* Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleExportInfo.gen.cs new file mode 100644 index 0000000000..a4869ad8e8 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDXGISharedHandleExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceDXGISharedHandleExportInfo")] + public unsafe partial struct SharedFenceDXGISharedHandleExportInfo + { + public SharedFenceDXGISharedHandleExportInfo + ( + ChainedStructOut? chain = null, + void* handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "handle")] + public void* Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDescriptor.gen.cs new file mode 100644 index 0000000000..0ce5a5e8e8 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceDescriptor")] + public unsafe partial struct SharedFenceDescriptor + { + public SharedFenceDescriptor + ( + ChainedStruct* nextInChain = null, + byte* label = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (label is not null) + { + Label = label; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "const char *")] + [NativeName("Type.Name", "const char *")] + [NativeName("Name", "label")] + public byte* Label; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceExportInfo.gen.cs new file mode 100644 index 0000000000..7da5609d21 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceExportInfo")] + public unsafe partial struct SharedFenceExportInfo + { + public SharedFenceExportInfo + ( + ChainedStructOut* nextInChain = null, + SharedFenceType? type = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (type is not null) + { + Type = type.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut *")] + [NativeName("Type.Name", "WGPUChainedStructOut *")] + [NativeName("Name", "nextInChain")] + public ChainedStructOut* NextInChain; + + [NativeName("Type", "WGPUSharedFenceType")] + [NativeName("Type.Name", "WGPUSharedFenceType")] + [NativeName("Name", "type")] + public SharedFenceType Type; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceImpl.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceImpl.gen.cs new file mode 100644 index 0000000000..8b01830b14 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceImpl.gen.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceImpl")] + public unsafe partial struct SharedFenceImpl + { + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventDescriptor.gen.cs new file mode 100644 index 0000000000..8567bbe2ca --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceMTLSharedEventDescriptor")] + public unsafe partial struct SharedFenceMTLSharedEventDescriptor + { + public SharedFenceMTLSharedEventDescriptor + ( + ChainedStruct? chain = null, + void* sharedEvent = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (sharedEvent is not null) + { + SharedEvent = sharedEvent; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "sharedEvent")] + public void* SharedEvent; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventExportInfo.gen.cs new file mode 100644 index 0000000000..5ef76cfc1a --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceMTLSharedEventExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceMTLSharedEventExportInfo")] + public unsafe partial struct SharedFenceMTLSharedEventExportInfo + { + public SharedFenceMTLSharedEventExportInfo + ( + ChainedStructOut? chain = null, + void* sharedEvent = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (sharedEvent is not null) + { + SharedEvent = sharedEvent; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "sharedEvent")] + public void* SharedEvent; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDDescriptor.gen.cs new file mode 100644 index 0000000000..79793abada --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreOpaqueFDDescriptor")] + public unsafe partial struct SharedFenceVkSemaphoreOpaqueFDDescriptor + { + public SharedFenceVkSemaphoreOpaqueFDDescriptor + ( + ChainedStruct? chain = null, + int? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "handle")] + public int Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDExportInfo.gen.cs new file mode 100644 index 0000000000..d80329c22b --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreOpaqueFDExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreOpaqueFDExportInfo")] + public unsafe partial struct SharedFenceVkSemaphoreOpaqueFDExportInfo + { + public SharedFenceVkSemaphoreOpaqueFDExportInfo + ( + ChainedStructOut? chain = null, + int? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "handle")] + public int Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDDescriptor.gen.cs new file mode 100644 index 0000000000..060859c5b6 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreSyncFDDescriptor")] + public unsafe partial struct SharedFenceVkSemaphoreSyncFDDescriptor + { + public SharedFenceVkSemaphoreSyncFDDescriptor + ( + ChainedStruct? chain = null, + int? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "handle")] + public int Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDExportInfo.gen.cs new file mode 100644 index 0000000000..27b4c995db --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreSyncFDExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreSyncFDExportInfo")] + public unsafe partial struct SharedFenceVkSemaphoreSyncFDExportInfo + { + public SharedFenceVkSemaphoreSyncFDExportInfo + ( + ChainedStructOut? chain = null, + int? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "handle")] + public int Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleDescriptor.gen.cs new file mode 100644 index 0000000000..bd90a4e605 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreZirconHandleDescriptor")] + public unsafe partial struct SharedFenceVkSemaphoreZirconHandleDescriptor + { + public SharedFenceVkSemaphoreZirconHandleDescriptor + ( + ChainedStruct? chain = null, + uint? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "handle")] + public uint Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleExportInfo.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleExportInfo.gen.cs new file mode 100644 index 0000000000..adcfaf7677 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedFenceVkSemaphoreZirconHandleExportInfo.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedFenceVkSemaphoreZirconHandleExportInfo")] + public unsafe partial struct SharedFenceVkSemaphoreZirconHandleExportInfo + { + public SharedFenceVkSemaphoreZirconHandleExportInfo + ( + ChainedStructOut? chain = null, + uint? handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "handle")] + public uint Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryAHardwareBufferDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryAHardwareBufferDescriptor.gen.cs new file mode 100644 index 0000000000..52d067f99b --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryAHardwareBufferDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryAHardwareBufferDescriptor")] + public unsafe partial struct SharedTextureMemoryAHardwareBufferDescriptor + { + public SharedTextureMemoryAHardwareBufferDescriptor + ( + ChainedStruct? chain = null, + void* handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "handle")] + public void* Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryBeginAccessDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryBeginAccessDescriptor.gen.cs new file mode 100644 index 0000000000..087f46d49c --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryBeginAccessDescriptor.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryBeginAccessDescriptor")] + public unsafe partial struct SharedTextureMemoryBeginAccessDescriptor + { + public SharedTextureMemoryBeginAccessDescriptor + ( + ChainedStruct* nextInChain = null, + Silk.NET.Core.Bool32? initialized = null, + nuint? fenceCount = null, + SharedFenceImpl** fences = null, + ulong* signaledValues = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (initialized is not null) + { + Initialized = initialized.Value; + } + + if (fenceCount is not null) + { + FenceCount = fenceCount.Value; + } + + if (fences is not null) + { + Fences = fences; + } + + if (signaledValues is not null) + { + SignaledValues = signaledValues; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "initialized")] + public Silk.NET.Core.Bool32 Initialized; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "fenceCount")] + public nuint FenceCount; + + [NativeName("Type", "const WGPUSharedFence *")] + [NativeName("Type.Name", "const WGPUSharedFence *")] + [NativeName("Name", "fences")] + public SharedFenceImpl** Fences; + + [NativeName("Type", "const uint64_t *")] + [NativeName("Type.Name", "const uint64_t *")] + [NativeName("Name", "signaledValues")] + public ulong* SignaledValues; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDXGISharedHandleDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDXGISharedHandleDescriptor.gen.cs new file mode 100644 index 0000000000..23544e6507 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDXGISharedHandleDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryDXGISharedHandleDescriptor")] + public unsafe partial struct SharedTextureMemoryDXGISharedHandleDescriptor + { + public SharedTextureMemoryDXGISharedHandleDescriptor + ( + ChainedStruct? chain = null, + void* handle = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (handle is not null) + { + Handle = handle; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "handle")] + public void* Handle; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDescriptor.gen.cs new file mode 100644 index 0000000000..5cf469e1f2 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryDescriptor")] + public unsafe partial struct SharedTextureMemoryDescriptor + { + public SharedTextureMemoryDescriptor + ( + ChainedStruct* nextInChain = null, + byte* label = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (label is not null) + { + Label = label; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "const char *")] + [NativeName("Type.Name", "const char *")] + [NativeName("Name", "label")] + public byte* Label; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDmaBufDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDmaBufDescriptor.gen.cs new file mode 100644 index 0000000000..3eae4a028a --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryDmaBufDescriptor.gen.cs @@ -0,0 +1,105 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryDmaBufDescriptor")] + public unsafe partial struct SharedTextureMemoryDmaBufDescriptor + { + public SharedTextureMemoryDmaBufDescriptor + ( + ChainedStruct? chain = null, + int? memoryFD = null, + ulong? allocationSize = null, + ulong? drmModifier = null, + nuint? planeCount = null, + ulong* planeOffsets = null, + uint* planeStrides = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (memoryFD is not null) + { + MemoryFD = memoryFD.Value; + } + + if (allocationSize is not null) + { + AllocationSize = allocationSize.Value; + } + + if (drmModifier is not null) + { + DrmModifier = drmModifier.Value; + } + + if (planeCount is not null) + { + PlaneCount = planeCount.Value; + } + + if (planeOffsets is not null) + { + PlaneOffsets = planeOffsets; + } + + if (planeStrides is not null) + { + PlaneStrides = planeStrides; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "memoryFD")] + public int MemoryFD; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "allocationSize")] + public ulong AllocationSize; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "drmModifier")] + public ulong DrmModifier; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "planeCount")] + public nuint PlaneCount; + + [NativeName("Type", "const uint64_t *")] + [NativeName("Type.Name", "const uint64_t *")] + [NativeName("Name", "planeOffsets")] + public ulong* PlaneOffsets; + + [NativeName("Type", "const uint32_t *")] + [NativeName("Type.Name", "const uint32_t *")] + [NativeName("Name", "planeStrides")] + public uint* PlaneStrides; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEGLImageDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEGLImageDescriptor.gen.cs new file mode 100644 index 0000000000..11bb2baa8e --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEGLImageDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryEGLImageDescriptor")] + public unsafe partial struct SharedTextureMemoryEGLImageDescriptor + { + public SharedTextureMemoryEGLImageDescriptor + ( + ChainedStruct? chain = null, + void* image = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (image is not null) + { + Image = image; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "image")] + public void* Image; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEndAccessState.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEndAccessState.gen.cs new file mode 100644 index 0000000000..d8e1b12f13 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryEndAccessState.gen.cs @@ -0,0 +1,83 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryEndAccessState")] + public unsafe partial struct SharedTextureMemoryEndAccessState + { + public SharedTextureMemoryEndAccessState + ( + ChainedStructOut* nextInChain = null, + Silk.NET.Core.Bool32? initialized = null, + nuint? fenceCount = null, + SharedFenceImpl** fences = null, + ulong* signaledValues = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (initialized is not null) + { + Initialized = initialized.Value; + } + + if (fenceCount is not null) + { + FenceCount = fenceCount.Value; + } + + if (fences is not null) + { + Fences = fences; + } + + if (signaledValues is not null) + { + SignaledValues = signaledValues; + } + } + + + [NativeName("Type", "WGPUChainedStructOut *")] + [NativeName("Type.Name", "WGPUChainedStructOut *")] + [NativeName("Name", "nextInChain")] + public ChainedStructOut* NextInChain; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "initialized")] + public Silk.NET.Core.Bool32 Initialized; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "fenceCount")] + public nuint FenceCount; + + [NativeName("Type", "const WGPUSharedFence *")] + [NativeName("Type.Name", "const WGPUSharedFence *")] + [NativeName("Name", "fences")] + public SharedFenceImpl** Fences; + + [NativeName("Type", "const uint64_t *")] + [NativeName("Type.Name", "const uint64_t *")] + [NativeName("Name", "signaledValues")] + public ulong* SignaledValues; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryIOSurfaceDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryIOSurfaceDescriptor.gen.cs new file mode 100644 index 0000000000..25d25cb816 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryIOSurfaceDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryIOSurfaceDescriptor")] + public unsafe partial struct SharedTextureMemoryIOSurfaceDescriptor + { + public SharedTextureMemoryIOSurfaceDescriptor + ( + ChainedStruct? chain = null, + void* ioSurface = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (ioSurface is not null) + { + IoSurface = ioSurface; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "void *")] + [NativeName("Type.Name", "void *")] + [NativeName("Name", "ioSurface")] + public void* IoSurface; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryImpl.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryImpl.gen.cs new file mode 100644 index 0000000000..a974797ef1 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryImpl.gen.cs @@ -0,0 +1,23 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryImpl")] + public unsafe partial struct SharedTextureMemoryImpl + { + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryOpaqueFDDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryOpaqueFDDescriptor.gen.cs new file mode 100644 index 0000000000..330d5c662b --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryOpaqueFDDescriptor.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryOpaqueFDDescriptor")] + public unsafe partial struct SharedTextureMemoryOpaqueFDDescriptor + { + public SharedTextureMemoryOpaqueFDDescriptor + ( + ChainedStruct? chain = null, + int? memoryFD = null, + ulong? allocationSize = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (memoryFD is not null) + { + MemoryFD = memoryFD.Value; + } + + if (allocationSize is not null) + { + AllocationSize = allocationSize.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int")] + [NativeName("Type.Name", "int")] + [NativeName("Name", "memoryFD")] + public int MemoryFD; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "allocationSize")] + public ulong AllocationSize; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryProperties.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryProperties.gen.cs new file mode 100644 index 0000000000..e8371b3351 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryProperties.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryProperties")] + public unsafe partial struct SharedTextureMemoryProperties + { + public SharedTextureMemoryProperties + ( + ChainedStructOut* nextInChain = null, + Silk.NET.WebGPU.TextureUsage? usage = null, + Extent3D? size = null, + TextureFormat? format = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (usage is not null) + { + Usage = usage.Value; + } + + if (size is not null) + { + Size = size.Value; + } + + if (format is not null) + { + Format = format.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut *")] + [NativeName("Type.Name", "WGPUChainedStructOut *")] + [NativeName("Name", "nextInChain")] + public ChainedStructOut* NextInChain; + + [NativeName("Type", "WGPUTextureUsageFlags")] + [NativeName("Type.Name", "WGPUTextureUsageFlags")] + [NativeName("Name", "usage")] + public Silk.NET.WebGPU.TextureUsage Usage; + + [NativeName("Type", "WGPUExtent3D")] + [NativeName("Type.Name", "WGPUExtent3D")] + [NativeName("Name", "size")] + public Extent3D Size; + + [NativeName("Type", "WGPUTextureFormat")] + [NativeName("Type.Name", "WGPUTextureFormat")] + [NativeName("Name", "format")] + public TextureFormat Format; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkDedicatedAllocationDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkDedicatedAllocationDescriptor.gen.cs new file mode 100644 index 0000000000..24fa11e610 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkDedicatedAllocationDescriptor.gen.cs @@ -0,0 +1,50 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryVkDedicatedAllocationDescriptor")] + public unsafe partial struct SharedTextureMemoryVkDedicatedAllocationDescriptor + { + public SharedTextureMemoryVkDedicatedAllocationDescriptor + ( + ChainedStruct? chain = null, + Silk.NET.Core.Bool32? dedicatedAllocation = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (dedicatedAllocation is not null) + { + DedicatedAllocation = dedicatedAllocation.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "dedicatedAllocation")] + public Silk.NET.Core.Bool32 DedicatedAllocation; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageDescriptor.gen.cs new file mode 100644 index 0000000000..b74d839034 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageDescriptor.gen.cs @@ -0,0 +1,72 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryVkImageDescriptor")] + public unsafe partial struct SharedTextureMemoryVkImageDescriptor + { + public SharedTextureMemoryVkImageDescriptor + ( + ChainedStruct? chain = null, + int? vkFormat = null, + int? vkUsageFlags = null, + Extent3D? vkExtent3D = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (vkFormat is not null) + { + VkFormat = vkFormat.Value; + } + + if (vkUsageFlags is not null) + { + VkUsageFlags = vkUsageFlags.Value; + } + + if (vkExtent3D is not null) + { + VkExtent3D = vkExtent3D.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "vkFormat")] + public int VkFormat; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "vkUsageFlags")] + public int VkUsageFlags; + + [NativeName("Type", "WGPUExtent3D")] + [NativeName("Type.Name", "WGPUExtent3D")] + [NativeName("Name", "vkExtent3D")] + public Extent3D VkExtent3D; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutBeginState.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutBeginState.gen.cs new file mode 100644 index 0000000000..294db63e01 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutBeginState.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryVkImageLayoutBeginState")] + public unsafe partial struct SharedTextureMemoryVkImageLayoutBeginState + { + public SharedTextureMemoryVkImageLayoutBeginState + ( + ChainedStruct? chain = null, + int? oldLayout = null, + int? newLayout = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (oldLayout is not null) + { + OldLayout = oldLayout.Value; + } + + if (newLayout is not null) + { + NewLayout = newLayout.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "oldLayout")] + public int OldLayout; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "newLayout")] + public int NewLayout; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutEndState.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutEndState.gen.cs new file mode 100644 index 0000000000..0eecd031b8 --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryVkImageLayoutEndState.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryVkImageLayoutEndState")] + public unsafe partial struct SharedTextureMemoryVkImageLayoutEndState + { + public SharedTextureMemoryVkImageLayoutEndState + ( + ChainedStructOut? chain = null, + int? oldLayout = null, + int? newLayout = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (oldLayout is not null) + { + OldLayout = oldLayout.Value; + } + + if (newLayout is not null) + { + NewLayout = newLayout.Value; + } + } + + + [NativeName("Type", "WGPUChainedStructOut")] + [NativeName("Type.Name", "WGPUChainedStructOut")] + [NativeName("Name", "chain")] + public ChainedStructOut Chain; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "oldLayout")] + public int OldLayout; + + [NativeName("Type", "int32_t")] + [NativeName("Type.Name", "int32_t")] + [NativeName("Name", "newLayout")] + public int NewLayout; + } +} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryZirconHandleDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryZirconHandleDescriptor.gen.cs new file mode 100644 index 0000000000..e8eb11f6ea --- /dev/null +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SharedTextureMemoryZirconHandleDescriptor.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU.Extensions.Dawn +{ + [NativeName("Name", "WGPUSharedTextureMemoryZirconHandleDescriptor")] + public unsafe partial struct SharedTextureMemoryZirconHandleDescriptor + { + public SharedTextureMemoryZirconHandleDescriptor + ( + ChainedStruct? chain = null, + uint? memoryFD = null, + ulong? allocationSize = null + ) : this() + { + if (chain is not null) + { + Chain = chain.Value; + } + + if (memoryFD is not null) + { + MemoryFD = memoryFD.Value; + } + + if (allocationSize is not null) + { + AllocationSize = allocationSize.Value; + } + } + + + [NativeName("Type", "WGPUChainedStruct")] + [NativeName("Type.Name", "WGPUChainedStruct")] + [NativeName("Name", "chain")] + public ChainedStruct Chain; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "memoryFD")] + public uint MemoryFD; + + [NativeName("Type", "uint64_t")] + [NativeName("Type.Name", "uint64_t")] + [NativeName("Name", "allocationSize")] + public ulong AllocationSize; + } +} diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/SwapChain.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChain.gen.cs similarity index 92% rename from src/WebGPU/Silk.NET.WebGPU/Structs/SwapChain.gen.cs rename to src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChain.gen.cs index 0cd44d06c0..3286333967 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/SwapChain.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChain.gen.cs @@ -14,7 +14,7 @@ #pragma warning disable 1591 -namespace Silk.NET.WebGPU +namespace Silk.NET.WebGPU.Extensions.Dawn { [NativeName("Name", "WGPUSwapChainImpl")] public unsafe partial struct SwapChain diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/SwapChainDescriptor.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChainDescriptor.gen.cs similarity index 98% rename from src/WebGPU/Silk.NET.WebGPU/Structs/SwapChainDescriptor.gen.cs rename to src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChainDescriptor.gen.cs index 836d1dfe5b..b0c04c6c99 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/SwapChainDescriptor.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.Dawn/Structs/SwapChainDescriptor.gen.cs @@ -14,7 +14,7 @@ #pragma warning disable 1591 -namespace Silk.NET.WebGPU +namespace Silk.NET.WebGPU.Extensions.Dawn { [NativeName("Name", "WGPUSwapChainDescriptor")] public unsafe partial struct SwapChainDescriptor diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs index d89e1ff3c6..592f6c1468 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeFeature.gen.cs @@ -13,15 +13,15 @@ namespace Silk.NET.WebGPU.Extensions.WGPU public enum NativeFeature : int { [NativeName("Name", "WGPUNativeFeature_PushConstants")] - PushConstants = 0x60000001, + PushConstants = 0x30001, [NativeName("Name", "WGPUNativeFeature_TextureAdapterSpecificFormatFeatures")] - TextureAdapterSpecificFormatFeatures = 0x60000002, + TextureAdapterSpecificFormatFeatures = 0x30002, [NativeName("Name", "WGPUNativeFeature_MultiDrawIndirect")] - MultiDrawIndirect = 0x60000003, + MultiDrawIndirect = 0x30003, [NativeName("Name", "WGPUNativeFeature_MultiDrawIndirectCount")] - MultiDrawIndirectCount = 0x60000004, + MultiDrawIndirectCount = 0x30004, [NativeName("Name", "WGPUNativeFeature_VertexWritableStorage")] - VertexWritableStorage = 0x60000005, + VertexWritableStorage = 0x30005, [NativeName("Name", "WGPUNativeFeature_Force32")] Force32 = 0x7FFFFFFF, } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeSType.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeSType.gen.cs index 903c623b72..3038ea485a 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeSType.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/NativeSType.gen.cs @@ -13,21 +13,17 @@ namespace Silk.NET.WebGPU.Extensions.WGPU public enum NativeSType : int { [NativeName("Name", "WGPUSType_DeviceExtras")] - STypeDeviceExtras = 0x60000001, - [NativeName("Name", "WGPUSType_AdapterExtras")] - STypeAdapterExtras = 0x60000002, + STypeDeviceExtras = 0x30001, [NativeName("Name", "WGPUSType_RequiredLimitsExtras")] - STypeRequiredLimitsExtras = 0x60000003, + STypeRequiredLimitsExtras = 0x30002, [NativeName("Name", "WGPUSType_PipelineLayoutExtras")] - STypePipelineLayoutExtras = 0x60000004, + STypePipelineLayoutExtras = 0x30003, [NativeName("Name", "WGPUSType_ShaderModuleGLSLDescriptor")] - STypeShaderModuleGlsldescriptor = 0x60000005, + STypeShaderModuleGlsldescriptor = 0x30004, [NativeName("Name", "WGPUSType_SupportedLimitsExtras")] - STypeSupportedLimitsExtras = 0x60000003, + STypeSupportedLimitsExtras = 0x30005, [NativeName("Name", "WGPUSType_InstanceExtras")] - STypeInstanceExtras = 0x60000006, - [NativeName("Name", "WGPUSType_SwapChainDescriptorExtras")] - STypeSwapChainDescriptorExtras = 0x60000007, + STypeInstanceExtras = 0x30006, [NativeName("Name", "WGPUNativeSType_Force32")] NativeSTypeForce32 = 0x7FFFFFFF, } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SwapChainDescriptorExtras.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SwapChainDescriptorExtras.gen.cs deleted file mode 100644 index 375a3d3d01..0000000000 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SwapChainDescriptorExtras.gen.cs +++ /dev/null @@ -1,72 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - - -using System; -using System.Runtime.InteropServices; -using System.Runtime.CompilerServices; -using System.Text; -using Silk.NET.Core; -using Silk.NET.Core.Native; -using Silk.NET.Core.Attributes; -using Silk.NET.Core.Contexts; -using Silk.NET.Core.Loader; - -#pragma warning disable 1591 - -namespace Silk.NET.WebGPU.Extensions.WGPU -{ - [NativeName("Name", "WGPUSwapChainDescriptorExtras")] - public unsafe partial struct SwapChainDescriptorExtras - { - public SwapChainDescriptorExtras - ( - ChainedStruct? chain = null, - CompositeAlphaMode? alphaMode = null, - nuint? viewFormatCount = null, - TextureFormat* viewFormats = null - ) : this() - { - if (chain is not null) - { - Chain = chain.Value; - } - - if (alphaMode is not null) - { - AlphaMode = alphaMode.Value; - } - - if (viewFormatCount is not null) - { - ViewFormatCount = viewFormatCount.Value; - } - - if (viewFormats is not null) - { - ViewFormats = viewFormats; - } - } - - - [NativeName("Type", "WGPUChainedStruct")] - [NativeName("Type.Name", "WGPUChainedStruct")] - [NativeName("Name", "chain")] - public ChainedStruct Chain; - - [NativeName("Type", "WGPUCompositeAlphaMode")] - [NativeName("Type.Name", "WGPUCompositeAlphaMode")] - [NativeName("Name", "alphaMode")] - public CompositeAlphaMode AlphaMode; - - [NativeName("Type", "size_t")] - [NativeName("Type.Name", "size_t")] - [NativeName("Name", "viewFormatCount")] - public nuint ViewFormatCount; - - [NativeName("Type", "const WGPUTextureFormat *")] - [NativeName("Type.Name", "const WGPUTextureFormat *")] - [NativeName("Name", "viewFormats")] - public TextureFormat* ViewFormats; - } -} diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Wgpu.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Wgpu.gen.cs index 8ee5ab7f1c..c49f50b296 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Wgpu.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Wgpu.gen.cs @@ -21,112 +21,102 @@ public unsafe partial class Wgpu : NativeExtension { public const string ExtensionName = "wgpu.h"; /// To be documented. - [NativeName("Src", "Line 187, Column 6 in wgpu.h")] + [NativeName("Src", "Line 160, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuGenerateReport")] public unsafe partial void GenerateReport(Instance* instance, GlobalReport* report); /// To be documented. - [NativeName("Src", "Line 187, Column 6 in wgpu.h")] + [NativeName("Src", "Line 160, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuGenerateReport")] public unsafe partial void GenerateReport(Instance* instance, ref GlobalReport report); /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceEnumerateAdapters")] public unsafe partial nuint InstanceEnumerateAdapters(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] InstanceEnumerateAdapterOptions* options, Adapter** adapters); /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceEnumerateAdapters")] public unsafe partial nuint InstanceEnumerateAdapters(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] InstanceEnumerateAdapterOptions* options, ref Adapter* adapters); /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceEnumerateAdapters")] public unsafe partial nuint InstanceEnumerateAdapters(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in InstanceEnumerateAdapterOptions options, Adapter** adapters); /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceEnumerateAdapters")] public unsafe partial nuint InstanceEnumerateAdapters(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in InstanceEnumerateAdapterOptions options, ref Adapter* adapters); /// To be documented. - [NativeName("Src", "Line 190, Column 21 in wgpu.h")] + [NativeName("Src", "Line 163, Column 21 in wgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSubmitForIndex")] public unsafe partial ulong QueueSubmitForIndex(Queue* queue, nuint commandCount, CommandBuffer** commands); /// To be documented. - [NativeName("Src", "Line 190, Column 21 in wgpu.h")] + [NativeName("Src", "Line 163, Column 21 in wgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSubmitForIndex")] public unsafe partial ulong QueueSubmitForIndex(Queue* queue, nuint commandCount, ref CommandBuffer* commands); /// To be documented. - [NativeName("Src", "Line 193, Column 6 in wgpu.h")] + [NativeName("Src", "Line 166, Column 10 in wgpu.h")] [NativeApi(EntryPoint = "wgpuDevicePoll")] public unsafe partial Silk.NET.Core.Bool32 DevicePoll(Device* device, Silk.NET.Core.Bool32 wait, [Flow(Silk.NET.Core.Native.FlowDirection.In)] WrappedSubmissionIndex* wrappedSubmissionIndex); /// To be documented. - [NativeName("Src", "Line 193, Column 6 in wgpu.h")] + [NativeName("Src", "Line 166, Column 10 in wgpu.h")] [NativeApi(EntryPoint = "wgpuDevicePoll")] public unsafe partial Silk.NET.Core.Bool32 DevicePoll(Device* device, Silk.NET.Core.Bool32 wait, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in WrappedSubmissionIndex wrappedSubmissionIndex); /// To be documented. - [NativeName("Src", "Line 195, Column 6 in wgpu.h")] + [NativeName("Src", "Line 168, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuSetLogCallback")] public unsafe partial void SetLogCallback(PfnLogCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 195, Column 6 in wgpu.h")] + [NativeName("Src", "Line 168, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuSetLogCallback")] public partial void SetLogCallback(PfnLogCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 197, Column 6 in wgpu.h")] + [NativeName("Src", "Line 170, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuSetLogLevel")] public partial void SetLogLevel(LogLevel level); /// To be documented. - [NativeName("Src", "Line 199, Column 10 in wgpu.h")] + [NativeName("Src", "Line 172, Column 10 in wgpu.h")] [NativeApi(EntryPoint = "wgpuGetVersion")] public partial uint GetVersion(); /// To be documented. - [NativeName("Src", "Line 201, Column 6 in wgpu.h")] - [NativeApi(EntryPoint = "wgpuSurfaceGetCapabilities")] - public unsafe partial void SurfaceGetCapabilities(Surface* surface, Adapter* adapter, SurfaceCapabilities* capabilities); - - /// To be documented. - [NativeName("Src", "Line 201, Column 6 in wgpu.h")] - [NativeApi(EntryPoint = "wgpuSurfaceGetCapabilities")] - public unsafe partial void SurfaceGetCapabilities(Surface* surface, Adapter* adapter, ref SurfaceCapabilities capabilities); - - /// To be documented. - [NativeName("Src", "Line 203, Column 6 in wgpu.h")] + [NativeName("Src", "Line 174, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetPushConstants")] public unsafe partial void RenderPassEncoderSetPushConstants(RenderPassEncoder* encoder, Silk.NET.WebGPU.ShaderStage stages, uint offset, uint sizeBytes, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data); /// To be documented. - [NativeName("Src", "Line 203, Column 6 in wgpu.h")] + [NativeName("Src", "Line 174, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetPushConstants")] public unsafe partial void RenderPassEncoderSetPushConstants(RenderPassEncoder* encoder, Silk.NET.WebGPU.ShaderStage stages, uint offset, uint sizeBytes, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 205, Column 6 in wgpu.h")] + [NativeName("Src", "Line 176, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderMultiDrawIndirect")] public unsafe partial void RenderPassEncoderMultiDrawIndirect(RenderPassEncoder* encoder, Buffer* buffer, ulong offset, uint count); /// To be documented. - [NativeName("Src", "Line 206, Column 6 in wgpu.h")] + [NativeName("Src", "Line 177, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderMultiDrawIndexedIndirect")] public unsafe partial void RenderPassEncoderMultiDrawIndexedIndirect(RenderPassEncoder* encoder, Buffer* buffer, ulong offset, uint count); /// To be documented. - [NativeName("Src", "Line 208, Column 6 in wgpu.h")] + [NativeName("Src", "Line 179, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderMultiDrawIndirectCount")] public unsafe partial void RenderPassEncoderMultiDrawIndirectCount(RenderPassEncoder* encoder, Buffer* buffer, ulong offset, Buffer* count_buffer, ulong count_buffer_offset, uint max_count); /// To be documented. - [NativeName("Src", "Line 209, Column 6 in wgpu.h")] + [NativeName("Src", "Line 180, Column 6 in wgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderMultiDrawIndexedIndirectCount")] public unsafe partial void RenderPassEncoderMultiDrawIndexedIndirectCount(RenderPassEncoder* encoder, Buffer* buffer, ulong offset, Buffer* count_buffer, ulong count_buffer_offset, uint max_count); diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/WgpuOverloads.gen.cs b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/WgpuOverloads.gen.cs index 73902555bc..5adec15cf2 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/WgpuOverloads.gen.cs +++ b/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/WgpuOverloads.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.WebGPU.Extensions.WGPU public static class WgpuOverloads { /// To be documented. - [NativeName("Src", "Line 187, Column 6 in wgpu.h")] + [NativeName("Src", "Line 160, Column 6 in wgpu.h")] public static unsafe void GenerateReport(this Wgpu thisApi, Instance* instance, Span report) { // SpanOverloader @@ -25,7 +25,7 @@ public static unsafe void GenerateReport(this Wgpu thisApi, Instance* instance, } /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] public static unsafe nuint InstanceEnumerateAdapters(this Wgpu thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options, Adapter** adapters) { // SpanOverloader @@ -33,7 +33,7 @@ public static unsafe nuint InstanceEnumerateAdapters(this Wgpu thisApi, Instance } /// To be documented. - [NativeName("Src", "Line 188, Column 8 in wgpu.h")] + [NativeName("Src", "Line 161, Column 8 in wgpu.h")] public static unsafe nuint InstanceEnumerateAdapters(this Wgpu thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options, ref Adapter* adapters) { // SpanOverloader @@ -41,7 +41,7 @@ public static unsafe nuint InstanceEnumerateAdapters(this Wgpu thisApi, Instance } /// To be documented. - [NativeName("Src", "Line 193, Column 6 in wgpu.h")] + [NativeName("Src", "Line 166, Column 10 in wgpu.h")] public static unsafe Silk.NET.Core.Bool32 DevicePoll(this Wgpu thisApi, Device* device, Silk.NET.Core.Bool32 wait, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan wrappedSubmissionIndex) { // SpanOverloader @@ -49,7 +49,7 @@ public static unsafe Silk.NET.Core.Bool32 DevicePoll(this Wgpu thisApi, Device* } /// To be documented. - [NativeName("Src", "Line 195, Column 6 in wgpu.h")] + [NativeName("Src", "Line 168, Column 6 in wgpu.h")] public static unsafe void SetLogCallback(this Wgpu thisApi, PfnLogCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -57,15 +57,7 @@ public static unsafe void SetLogCallback(this Wgpu thisApi, PfnLogCallback c } /// To be documented. - [NativeName("Src", "Line 201, Column 6 in wgpu.h")] - public static unsafe void SurfaceGetCapabilities(this Wgpu thisApi, Surface* surface, Adapter* adapter, Span capabilities) - { - // SpanOverloader - thisApi.SurfaceGetCapabilities(surface, adapter, ref capabilities.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 203, Column 6 in wgpu.h")] + [NativeName("Src", "Line 174, Column 6 in wgpu.h")] public static unsafe void RenderPassEncoderSetPushConstants(this Wgpu thisApi, RenderPassEncoder* encoder, Silk.NET.WebGPU.ShaderStage stages, uint offset, uint sizeBytes, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data) where T0 : unmanaged { // SpanOverloader diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/CompositeAlphaMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/CompositeAlphaMode.gen.cs similarity index 74% rename from src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/CompositeAlphaMode.gen.cs rename to src/WebGPU/Silk.NET.WebGPU/Enums/CompositeAlphaMode.gen.cs index f73ed8ef44..52aaeff590 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Enums/CompositeAlphaMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/CompositeAlphaMode.gen.cs @@ -7,7 +7,7 @@ #pragma warning disable 1591 -namespace Silk.NET.WebGPU.Extensions.WGPU +namespace Silk.NET.WebGPU { [NativeName("Name", "WGPUCompositeAlphaMode")] public enum CompositeAlphaMode : int @@ -16,10 +16,10 @@ public enum CompositeAlphaMode : int Auto = 0x0, [NativeName("Name", "WGPUCompositeAlphaMode_Opaque")] Opaque = 0x1, - [NativeName("Name", "WGPUCompositeAlphaMode_PreMultiplied")] - PreMultiplied = 0x2, - [NativeName("Name", "WGPUCompositeAlphaMode_PostMultiplied")] - PostMultiplied = 0x3, + [NativeName("Name", "WGPUCompositeAlphaMode_Premultiplied")] + Premultiplied = 0x2, + [NativeName("Name", "WGPUCompositeAlphaMode_Unpremultiplied")] + Unpremultiplied = 0x3, [NativeName("Name", "WGPUCompositeAlphaMode_Inherit")] Inherit = 0x4, [NativeName("Name", "WGPUCompositeAlphaMode_Force32")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs index c9a4073bea..1f2d582248 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/PresentMode.gen.cs @@ -12,12 +12,14 @@ namespace Silk.NET.WebGPU [NativeName("Name", "WGPUPresentMode")] public enum PresentMode : int { + [NativeName("Name", "WGPUPresentMode_Fifo")] + Fifo = 0x0, + [NativeName("Name", "WGPUPresentMode_FifoRelaxed")] + FifoRelaxed = 0x1, [NativeName("Name", "WGPUPresentMode_Immediate")] - Immediate = 0x0, + Immediate = 0x2, [NativeName("Name", "WGPUPresentMode_Mailbox")] - Mailbox = 0x1, - [NativeName("Name", "WGPUPresentMode_Fifo")] - Fifo = 0x2, + Mailbox = 0x3, [NativeName("Name", "WGPUPresentMode_Force32")] Force32 = 0x7FFFFFFF, } diff --git a/src/WebGPU/Silk.NET.WebGPU/Enums/SurfaceGetCurrentTextureStatus.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Enums/SurfaceGetCurrentTextureStatus.gen.cs new file mode 100644 index 0000000000..eab5d725ab --- /dev/null +++ b/src/WebGPU/Silk.NET.WebGPU/Enums/SurfaceGetCurrentTextureStatus.gen.cs @@ -0,0 +1,30 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using Silk.NET.Core.Attributes; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU +{ + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus")] + public enum SurfaceGetCurrentTextureStatus : int + { + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_Success")] + Success = 0x0, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_Timeout")] + Timeout = 0x1, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_Outdated")] + Outdated = 0x2, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_Lost")] + Lost = 0x3, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_OutOfMemory")] + OutOfMemory = 0x4, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_DeviceLost")] + DeviceLost = 0x5, + [NativeName("Name", "WGPUSurfaceGetCurrentTextureStatus_Force32")] + Force32 = 0x7FFFFFFF, + } +} diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/BufferBindingLayout.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/BufferBindingLayout.gen.cs index 7d93c35332..c0dad6ef50 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/BufferBindingLayout.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/BufferBindingLayout.gen.cs @@ -59,8 +59,8 @@ public BufferBindingLayout [NativeName("Name", "type")] public BufferBindingType Type; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "hasDynamicOffset")] public Silk.NET.Core.Bool32 HasDynamicOffset; diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/BufferDescriptor.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/BufferDescriptor.gen.cs index 775f3ff140..e6585bce1b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/BufferDescriptor.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/BufferDescriptor.gen.cs @@ -75,8 +75,8 @@ public BufferDescriptor [NativeName("Name", "size")] public ulong Size; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "mappedAtCreation")] public Silk.NET.Core.Bool32 MappedAtCreation; } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/DepthStencilState.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/DepthStencilState.gen.cs index ebd4b29182..674c893b70 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/DepthStencilState.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/DepthStencilState.gen.cs @@ -101,8 +101,8 @@ public DepthStencilState [NativeName("Name", "format")] public TextureFormat Format; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "depthWriteEnabled")] public Silk.NET.Core.Bool32 DepthWriteEnabled; diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/DeviceDescriptor.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/DeviceDescriptor.gen.cs index f09107d8bc..149f80fcce 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/DeviceDescriptor.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/DeviceDescriptor.gen.cs @@ -23,7 +23,7 @@ public DeviceDescriptor ( ChainedStruct* nextInChain = null, byte* label = null, - nuint? requiredFeaturesCount = null, + nuint? requiredFeatureCount = null, FeatureName* requiredFeatures = null, RequiredLimits* requiredLimits = null, QueueDescriptor? defaultQueue = null, @@ -41,9 +41,9 @@ public DeviceDescriptor Label = label; } - if (requiredFeaturesCount is not null) + if (requiredFeatureCount is not null) { - RequiredFeaturesCount = requiredFeaturesCount.Value; + RequiredFeatureCount = requiredFeatureCount.Value; } if (requiredFeatures is not null) @@ -85,8 +85,8 @@ public DeviceDescriptor [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] - [NativeName("Name", "requiredFeaturesCount")] - public nuint RequiredFeaturesCount; + [NativeName("Name", "requiredFeatureCount")] + public nuint RequiredFeatureCount; [NativeName("Type", "const WGPUFeatureName *")] [NativeName("Type.Name", "const WGPUFeatureName *")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/Limits.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/Limits.gen.cs index b246e895b2..ec432734e9 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/Limits.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/Limits.gen.cs @@ -26,6 +26,7 @@ public Limits uint? maxTextureDimension3D = null, uint? maxTextureArrayLayers = null, uint? maxBindGroups = null, + uint? maxBindGroupsPlusVertexBuffers = null, uint? maxBindingsPerBindGroup = null, uint? maxDynamicUniformBuffersPerPipelineLayout = null, uint? maxDynamicStorageBuffersPerPipelineLayout = null, @@ -79,6 +80,11 @@ public Limits MaxBindGroups = maxBindGroups.Value; } + if (maxBindGroupsPlusVertexBuffers is not null) + { + MaxBindGroupsPlusVertexBuffers = maxBindGroupsPlusVertexBuffers.Value; + } + if (maxBindingsPerBindGroup is not null) { MaxBindingsPerBindGroup = maxBindingsPerBindGroup.Value; @@ -236,6 +242,11 @@ public Limits [NativeName("Name", "maxBindGroups")] public uint MaxBindGroups; + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "maxBindGroupsPlusVertexBuffers")] + public uint MaxBindGroupsPlusVertexBuffers; + [NativeName("Type", "uint32_t")] [NativeName("Type.Name", "uint32_t")] [NativeName("Name", "maxBindingsPerBindGroup")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/MultisampleState.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/MultisampleState.gen.cs index f2f4382065..4597b01d5b 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/MultisampleState.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/MultisampleState.gen.cs @@ -64,8 +64,8 @@ public MultisampleState [NativeName("Name", "mask")] public uint Mask; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "alphaToCoverageEnabled")] public Silk.NET.Core.Bool32 AlphaToCoverageEnabled; } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/PrimitiveDepthClipControl.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/PrimitiveDepthClipControl.gen.cs index 9b47ef6df1..8bd38b2df6 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/PrimitiveDepthClipControl.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/PrimitiveDepthClipControl.gen.cs @@ -42,8 +42,8 @@ public PrimitiveDepthClipControl [NativeName("Name", "chain")] public ChainedStruct Chain; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "unclippedDepth")] public Silk.NET.Core.Bool32 UnclippedDepth; } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/QuerySetDescriptor.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/QuerySetDescriptor.gen.cs index 599d7abe15..f5d9ffed1c 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/QuerySetDescriptor.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/QuerySetDescriptor.gen.cs @@ -26,7 +26,7 @@ public QuerySetDescriptor QueryType? type = null, uint? count = null, PipelineStatisticName* pipelineStatistics = null, - nuint? pipelineStatisticsCount = null + nuint? pipelineStatisticCount = null ) : this() { if (nextInChain is not null) @@ -54,9 +54,9 @@ public QuerySetDescriptor PipelineStatistics = pipelineStatistics; } - if (pipelineStatisticsCount is not null) + if (pipelineStatisticCount is not null) { - PipelineStatisticsCount = pipelineStatisticsCount.Value; + PipelineStatisticCount = pipelineStatisticCount.Value; } } @@ -88,7 +88,7 @@ public QuerySetDescriptor [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] - [NativeName("Name", "pipelineStatisticsCount")] - public nuint PipelineStatisticsCount; + [NativeName("Name", "pipelineStatisticCount")] + public nuint PipelineStatisticCount; } } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderBundleEncoderDescriptor.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderBundleEncoderDescriptor.gen.cs index e3789ccd55..a747ed4ff3 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderBundleEncoderDescriptor.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderBundleEncoderDescriptor.gen.cs @@ -23,7 +23,7 @@ public RenderBundleEncoderDescriptor ( ChainedStruct* nextInChain = null, byte* label = null, - nuint? colorFormatsCount = null, + nuint? colorFormatCount = null, TextureFormat* colorFormats = null, TextureFormat? depthStencilFormat = null, uint? sampleCount = null, @@ -41,9 +41,9 @@ public RenderBundleEncoderDescriptor Label = label; } - if (colorFormatsCount is not null) + if (colorFormatCount is not null) { - ColorFormatsCount = colorFormatsCount.Value; + ColorFormatCount = colorFormatCount.Value; } if (colorFormats is not null) @@ -85,8 +85,8 @@ public RenderBundleEncoderDescriptor [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] - [NativeName("Name", "colorFormatsCount")] - public nuint ColorFormatsCount; + [NativeName("Name", "colorFormatCount")] + public nuint ColorFormatCount; [NativeName("Type", "const WGPUTextureFormat *")] [NativeName("Type.Name", "const WGPUTextureFormat *")] @@ -103,13 +103,13 @@ public RenderBundleEncoderDescriptor [NativeName("Name", "sampleCount")] public uint SampleCount; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "depthReadOnly")] public Silk.NET.Core.Bool32 DepthReadOnly; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "stencilReadOnly")] public Silk.NET.Core.Bool32 StencilReadOnly; } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassColorAttachment.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassColorAttachment.gen.cs index 8c62db3995..cdedd9519f 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassColorAttachment.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassColorAttachment.gen.cs @@ -21,6 +21,7 @@ public unsafe partial struct RenderPassColorAttachment { public RenderPassColorAttachment ( + ChainedStruct* nextInChain = null, TextureView* view = null, TextureView* resolveTarget = null, LoadOp? loadOp = null, @@ -28,6 +29,11 @@ public RenderPassColorAttachment Color? clearValue = null ) : this() { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + if (view is not null) { View = view; @@ -55,6 +61,11 @@ public RenderPassColorAttachment } + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + [NativeName("Type", "WGPUTextureView")] [NativeName("Type.Name", "WGPUTextureView")] [NativeName("Name", "view")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassDepthStencilAttachment.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassDepthStencilAttachment.gen.cs index 0ac4a9dabc..e03d297f36 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassDepthStencilAttachment.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/RenderPassDepthStencilAttachment.gen.cs @@ -99,8 +99,8 @@ public RenderPassDepthStencilAttachment [NativeName("Name", "depthClearValue")] public float DepthClearValue; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "depthReadOnly")] public Silk.NET.Core.Bool32 DepthReadOnly; @@ -119,8 +119,8 @@ public RenderPassDepthStencilAttachment [NativeName("Name", "stencilClearValue")] public uint StencilClearValue; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "stencilReadOnly")] public Silk.NET.Core.Bool32 StencilReadOnly; } diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/RequestAdapterOptions.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/RequestAdapterOptions.gen.cs index 0673343a3d..8ee45e459e 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/RequestAdapterOptions.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/RequestAdapterOptions.gen.cs @@ -75,8 +75,8 @@ public RequestAdapterOptions [NativeName("Name", "backendType")] public BackendType BackendType; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "forceFallbackAdapter")] public Silk.NET.Core.Bool32 ForceFallbackAdapter; } diff --git a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SurfaceCapabilities.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceCapabilities.gen.cs similarity index 87% rename from src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SurfaceCapabilities.gen.cs rename to src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceCapabilities.gen.cs index 214567a79f..c2048eaf13 100644 --- a/src/WebGPU/Extensions/Silk.NET.WebGPU.Extensions.WGPU/Structs/SurfaceCapabilities.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceCapabilities.gen.cs @@ -14,13 +14,14 @@ #pragma warning disable 1591 -namespace Silk.NET.WebGPU.Extensions.WGPU +namespace Silk.NET.WebGPU { [NativeName("Name", "WGPUSurfaceCapabilities")] public unsafe partial struct SurfaceCapabilities { public SurfaceCapabilities ( + ChainedStructOut* nextInChain = null, nuint? formatCount = null, TextureFormat* formats = null, nuint? presentModeCount = null, @@ -29,6 +30,11 @@ public SurfaceCapabilities CompositeAlphaMode* alphaModes = null ) : this() { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + if (formatCount is not null) { FormatCount = formatCount.Value; @@ -61,6 +67,11 @@ public SurfaceCapabilities } + [NativeName("Type", "WGPUChainedStructOut *")] + [NativeName("Type.Name", "WGPUChainedStructOut *")] + [NativeName("Name", "nextInChain")] + public ChainedStructOut* NextInChain; + [NativeName("Type", "size_t")] [NativeName("Type.Name", "size_t")] [NativeName("Name", "formatCount")] diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceConfiguration.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceConfiguration.gen.cs new file mode 100644 index 0000000000..4f48bb5ea7 --- /dev/null +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceConfiguration.gen.cs @@ -0,0 +1,138 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU +{ + [NativeName("Name", "WGPUSurfaceConfiguration")] + public unsafe partial struct SurfaceConfiguration + { + public SurfaceConfiguration + ( + ChainedStruct* nextInChain = null, + Device* device = null, + TextureFormat? format = null, + Silk.NET.WebGPU.TextureUsage? usage = null, + nuint? viewFormatCount = null, + TextureFormat* viewFormats = null, + CompositeAlphaMode? alphaMode = null, + uint? width = null, + uint? height = null, + PresentMode? presentMode = null + ) : this() + { + if (nextInChain is not null) + { + NextInChain = nextInChain; + } + + if (device is not null) + { + Device = device; + } + + if (format is not null) + { + Format = format.Value; + } + + if (usage is not null) + { + Usage = usage.Value; + } + + if (viewFormatCount is not null) + { + ViewFormatCount = viewFormatCount.Value; + } + + if (viewFormats is not null) + { + ViewFormats = viewFormats; + } + + if (alphaMode is not null) + { + AlphaMode = alphaMode.Value; + } + + if (width is not null) + { + Width = width.Value; + } + + if (height is not null) + { + Height = height.Value; + } + + if (presentMode is not null) + { + PresentMode = presentMode.Value; + } + } + + + [NativeName("Type", "const WGPUChainedStruct *")] + [NativeName("Type.Name", "const WGPUChainedStruct *")] + [NativeName("Name", "nextInChain")] + public ChainedStruct* NextInChain; + + [NativeName("Type", "WGPUDevice")] + [NativeName("Type.Name", "WGPUDevice")] + [NativeName("Name", "device")] + public Device* Device; + + [NativeName("Type", "WGPUTextureFormat")] + [NativeName("Type.Name", "WGPUTextureFormat")] + [NativeName("Name", "format")] + public TextureFormat Format; + + [NativeName("Type", "WGPUTextureUsageFlags")] + [NativeName("Type.Name", "WGPUTextureUsageFlags")] + [NativeName("Name", "usage")] + public Silk.NET.WebGPU.TextureUsage Usage; + + [NativeName("Type", "size_t")] + [NativeName("Type.Name", "size_t")] + [NativeName("Name", "viewFormatCount")] + public nuint ViewFormatCount; + + [NativeName("Type", "const WGPUTextureFormat *")] + [NativeName("Type.Name", "const WGPUTextureFormat *")] + [NativeName("Name", "viewFormats")] + public TextureFormat* ViewFormats; + + [NativeName("Type", "WGPUCompositeAlphaMode")] + [NativeName("Type.Name", "WGPUCompositeAlphaMode")] + [NativeName("Name", "alphaMode")] + public CompositeAlphaMode AlphaMode; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "width")] + public uint Width; + + [NativeName("Type", "uint32_t")] + [NativeName("Type.Name", "uint32_t")] + [NativeName("Name", "height")] + public uint Height; + + [NativeName("Type", "WGPUPresentMode")] + [NativeName("Type.Name", "WGPUPresentMode")] + [NativeName("Name", "presentMode")] + public PresentMode PresentMode; + } +} diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceTexture.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceTexture.gen.cs new file mode 100644 index 0000000000..c24851df26 --- /dev/null +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/SurfaceTexture.gen.cs @@ -0,0 +1,61 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + + +using System; +using System.Runtime.InteropServices; +using System.Runtime.CompilerServices; +using System.Text; +using Silk.NET.Core; +using Silk.NET.Core.Native; +using Silk.NET.Core.Attributes; +using Silk.NET.Core.Contexts; +using Silk.NET.Core.Loader; + +#pragma warning disable 1591 + +namespace Silk.NET.WebGPU +{ + [NativeName("Name", "WGPUSurfaceTexture")] + public unsafe partial struct SurfaceTexture + { + public SurfaceTexture + ( + Texture* texture = null, + Silk.NET.Core.Bool32? suboptimal = null, + SurfaceGetCurrentTextureStatus? status = null + ) : this() + { + if (texture is not null) + { + Texture = texture; + } + + if (suboptimal is not null) + { + Suboptimal = suboptimal.Value; + } + + if (status is not null) + { + Status = status.Value; + } + } + + + [NativeName("Type", "WGPUTexture")] + [NativeName("Type.Name", "WGPUTexture")] + [NativeName("Name", "texture")] + public Texture* Texture; + + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] + [NativeName("Name", "suboptimal")] + public Silk.NET.Core.Bool32 Suboptimal; + + [NativeName("Type", "WGPUSurfaceGetCurrentTextureStatus")] + [NativeName("Type.Name", "WGPUSurfaceGetCurrentTextureStatus")] + [NativeName("Name", "status")] + public SurfaceGetCurrentTextureStatus Status; + } +} diff --git a/src/WebGPU/Silk.NET.WebGPU/Structs/TextureBindingLayout.gen.cs b/src/WebGPU/Silk.NET.WebGPU/Structs/TextureBindingLayout.gen.cs index 960de4cc36..6ebd24f0e5 100644 --- a/src/WebGPU/Silk.NET.WebGPU/Structs/TextureBindingLayout.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/Structs/TextureBindingLayout.gen.cs @@ -64,8 +64,8 @@ public TextureBindingLayout [NativeName("Name", "viewDimension")] public TextureViewDimension ViewDimension; - [NativeName("Type", "bool")] - [NativeName("Type.Name", "bool")] + [NativeName("Type", "WGPUBool")] + [NativeName("Type.Name", "WGPUBool")] [NativeName("Name", "multisampled")] public Silk.NET.Core.Bool32 Multisampled; } diff --git a/src/WebGPU/Silk.NET.WebGPU/WebGPU.gen.cs b/src/WebGPU/Silk.NET.WebGPU/WebGPU.gen.cs index b1a27b4748..a398cc9087 100644 --- a/src/WebGPU/Silk.NET.WebGPU/WebGPU.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/WebGPU.gen.cs @@ -39,1632 +39,1647 @@ public unsafe partial class WebGPU : NativeAPI public const ulong WholeSize = unchecked((ulong) 0xFFFFFFFFFFFFFFFF); /// To be documented. - [NativeName("Src", "Line 1555, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1598, Column 26 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCreateInstance")] public unsafe partial Instance* CreateInstance([Flow(Silk.NET.Core.Native.FlowDirection.In)] InstanceDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1555, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1598, Column 26 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCreateInstance")] public unsafe partial Instance* CreateInstance([Flow(Silk.NET.Core.Native.FlowDirection.In)] in InstanceDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1556, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1599, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuGetProcAddress")] public unsafe partial PfnProc GetProcAddress(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* procName); /// To be documented. - [NativeName("Src", "Line 1556, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1599, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuGetProcAddress")] public unsafe partial PfnProc GetProcAddress(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte procName); /// To be documented. - [NativeName("Src", "Line 1556, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1599, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuGetProcAddress")] public unsafe partial PfnProc GetProcAddress(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string procName); /// To be documented. - [NativeName("Src", "Line 1559, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1602, Column 20 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterEnumerateFeatures")] public unsafe partial nuint AdapterEnumerateFeatures(Adapter* adapter, FeatureName* features); /// To be documented. - [NativeName("Src", "Line 1559, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1602, Column 20 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterEnumerateFeatures")] public unsafe partial nuint AdapterEnumerateFeatures(Adapter* adapter, ref FeatureName features); /// To be documented. - [NativeName("Src", "Line 1560, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1603, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterGetLimits")] public unsafe partial Silk.NET.Core.Bool32 AdapterGetLimits(Adapter* adapter, SupportedLimits* limits); /// To be documented. - [NativeName("Src", "Line 1560, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1603, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterGetLimits")] public unsafe partial Silk.NET.Core.Bool32 AdapterGetLimits(Adapter* adapter, ref SupportedLimits limits); /// To be documented. - [NativeName("Src", "Line 1561, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterGetProperties")] public unsafe partial void AdapterGetProperties(Adapter* adapter, AdapterProperties* properties); /// To be documented. - [NativeName("Src", "Line 1561, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterGetProperties")] public unsafe partial void AdapterGetProperties(Adapter* adapter, ref AdapterProperties properties); /// To be documented. - [NativeName("Src", "Line 1562, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1605, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterHasFeature")] public unsafe partial Silk.NET.Core.Bool32 AdapterHasFeature(Adapter* adapter, FeatureName feature); /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterRequestDevice")] public unsafe partial void AdapterRequestDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceDescriptor* descriptor, PfnRequestDeviceCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterRequestDevice")] public unsafe partial void AdapterRequestDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceDescriptor* descriptor, PfnRequestDeviceCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterRequestDevice")] public unsafe partial void AdapterRequestDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in DeviceDescriptor descriptor, PfnRequestDeviceCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterRequestDevice")] public unsafe partial void AdapterRequestDevice(Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in DeviceDescriptor descriptor, PfnRequestDeviceCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1564, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1607, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterReference")] public unsafe partial void AdapterReference(Adapter* adapter); /// To be documented. - [NativeName("Src", "Line 1565, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1608, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuAdapterRelease")] public unsafe partial void AdapterRelease(Adapter* adapter); /// To be documented. - [NativeName("Src", "Line 1568, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1611, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupSetLabel")] public unsafe partial void BindGroupSetLabel(BindGroup* bindGroup, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1568, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1611, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupSetLabel")] public unsafe partial void BindGroupSetLabel(BindGroup* bindGroup, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1568, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1611, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupSetLabel")] public unsafe partial void BindGroupSetLabel(BindGroup* bindGroup, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1569, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1612, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupReference")] public unsafe partial void BindGroupReference(BindGroup* bindGroup); /// To be documented. - [NativeName("Src", "Line 1570, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1613, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupRelease")] public unsafe partial void BindGroupRelease(BindGroup* bindGroup); /// To be documented. - [NativeName("Src", "Line 1573, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1616, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupLayoutSetLabel")] public unsafe partial void BindGroupLayoutSetLabel(BindGroupLayout* bindGroupLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1573, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1616, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupLayoutSetLabel")] public unsafe partial void BindGroupLayoutSetLabel(BindGroupLayout* bindGroupLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1573, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1616, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupLayoutSetLabel")] public unsafe partial void BindGroupLayoutSetLabel(BindGroupLayout* bindGroupLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1574, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1617, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupLayoutReference")] public unsafe partial void BindGroupLayoutReference(BindGroupLayout* bindGroupLayout); /// To be documented. - [NativeName("Src", "Line 1575, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1618, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBindGroupLayoutRelease")] public unsafe partial void BindGroupLayoutRelease(BindGroupLayout* bindGroupLayout); /// To be documented. - [NativeName("Src", "Line 1578, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1621, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferDestroy")] public unsafe partial void BufferDestroy(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1579, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1622, Column 26 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferGetConstMappedRange")] public unsafe partial void* BufferGetConstMappedRange(Buffer* buffer, nuint offset, nuint size); /// To be documented. - [NativeName("Src", "Line 1580, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1623, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferGetMapState")] public unsafe partial BufferMapState BufferGetMapState(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1581, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1624, Column 20 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferGetMappedRange")] public unsafe partial void* BufferGetMappedRange(Buffer* buffer, nuint offset, nuint size); /// To be documented. - [NativeName("Src", "Line 1582, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1625, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferGetSize")] public unsafe partial ulong BufferGetSize(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1583, Column 34 in webgpu.h")] + [NativeName("Src", "Line 1626, Column 34 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferGetUsage")] public unsafe partial Silk.NET.WebGPU.BufferUsage BufferGetUsage(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1584, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1627, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferMapAsync")] public unsafe partial void BufferMapAsync(Buffer* buffer, Silk.NET.WebGPU.MapMode mode, nuint offset, nuint size, PfnBufferMapCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1584, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1627, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferMapAsync")] public unsafe partial void BufferMapAsync(Buffer* buffer, Silk.NET.WebGPU.MapMode mode, nuint offset, nuint size, PfnBufferMapCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1585, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1628, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferSetLabel")] public unsafe partial void BufferSetLabel(Buffer* buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1585, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1628, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferSetLabel")] public unsafe partial void BufferSetLabel(Buffer* buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1585, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1628, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferSetLabel")] public unsafe partial void BufferSetLabel(Buffer* buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1586, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1629, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferUnmap")] public unsafe partial void BufferUnmap(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1587, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1630, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferReference")] public unsafe partial void BufferReference(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1588, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1631, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuBufferRelease")] public unsafe partial void BufferRelease(Buffer* buffer); /// To be documented. - [NativeName("Src", "Line 1591, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1634, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandBufferSetLabel")] public unsafe partial void CommandBufferSetLabel(CommandBuffer* commandBuffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1591, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1634, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandBufferSetLabel")] public unsafe partial void CommandBufferSetLabel(CommandBuffer* commandBuffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1591, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1634, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandBufferSetLabel")] public unsafe partial void CommandBufferSetLabel(CommandBuffer* commandBuffer, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1592, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1635, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandBufferReference")] public unsafe partial void CommandBufferReference(CommandBuffer* commandBuffer); /// To be documented. - [NativeName("Src", "Line 1593, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1636, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandBufferRelease")] public unsafe partial void CommandBufferRelease(CommandBuffer* commandBuffer); /// To be documented. - [NativeName("Src", "Line 1596, Column 36 in webgpu.h")] + [NativeName("Src", "Line 1639, Column 36 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderBeginComputePass")] public unsafe partial ComputePassEncoder* CommandEncoderBeginComputePass(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ComputePassDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1596, Column 36 in webgpu.h")] + [NativeName("Src", "Line 1639, Column 36 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderBeginComputePass")] public unsafe partial ComputePassEncoder* CommandEncoderBeginComputePass(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ComputePassDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1597, Column 35 in webgpu.h")] + [NativeName("Src", "Line 1640, Column 35 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderBeginRenderPass")] public unsafe partial RenderPassEncoder* CommandEncoderBeginRenderPass(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPassDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1597, Column 35 in webgpu.h")] + [NativeName("Src", "Line 1640, Column 35 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderBeginRenderPass")] public unsafe partial RenderPassEncoder* CommandEncoderBeginRenderPass(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderPassDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1598, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1641, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderClearBuffer")] public unsafe partial void CommandEncoderClearBuffer(CommandEncoder* commandEncoder, Buffer* buffer, ulong offset, ulong size); /// To be documented. - [NativeName("Src", "Line 1599, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1642, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToBuffer")] public unsafe partial void CommandEncoderCopyBufferToBuffer(CommandEncoder* commandEncoder, Buffer* source, ulong sourceOffset, Buffer* destination, ulong destinationOffset, ulong size); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyBufferToTexture")] public unsafe partial void CommandEncoderCopyBufferToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToBuffer")] public unsafe partial void CommandEncoderCopyTextureToBuffer(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyBuffer destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize); /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderCopyTextureToTexture")] public unsafe partial void CommandEncoderCopyTextureToTexture(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D copySize); /// To be documented. - [NativeName("Src", "Line 1603, Column 31 in webgpu.h")] + [NativeName("Src", "Line 1646, Column 31 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderFinish")] public unsafe partial CommandBuffer* CommandEncoderFinish(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CommandBufferDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1603, Column 31 in webgpu.h")] + [NativeName("Src", "Line 1646, Column 31 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderFinish")] public unsafe partial CommandBuffer* CommandEncoderFinish(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CommandBufferDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1647, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInsertDebugMarker")] public unsafe partial void CommandEncoderInsertDebugMarker(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* markerLabel); /// To be documented. - [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1647, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInsertDebugMarker")] public unsafe partial void CommandEncoderInsertDebugMarker(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte markerLabel); /// To be documented. - [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1647, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderInsertDebugMarker")] public unsafe partial void CommandEncoderInsertDebugMarker(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string markerLabel); /// To be documented. - [NativeName("Src", "Line 1605, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1648, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderPopDebugGroup")] public unsafe partial void CommandEncoderPopDebugGroup(CommandEncoder* commandEncoder); /// To be documented. - [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1649, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderPushDebugGroup")] public unsafe partial void CommandEncoderPushDebugGroup(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* groupLabel); /// To be documented. - [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1649, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderPushDebugGroup")] public unsafe partial void CommandEncoderPushDebugGroup(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte groupLabel); /// To be documented. - [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1649, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderPushDebugGroup")] public unsafe partial void CommandEncoderPushDebugGroup(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string groupLabel); /// To be documented. - [NativeName("Src", "Line 1607, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1650, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderResolveQuerySet")] public unsafe partial void CommandEncoderResolveQuerySet(CommandEncoder* commandEncoder, QuerySet* querySet, uint firstQuery, uint queryCount, Buffer* destination, ulong destinationOffset); /// To be documented. - [NativeName("Src", "Line 1608, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1651, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderSetLabel")] public unsafe partial void CommandEncoderSetLabel(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1608, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1651, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderSetLabel")] public unsafe partial void CommandEncoderSetLabel(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1608, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1651, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderSetLabel")] public unsafe partial void CommandEncoderSetLabel(CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1609, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1652, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderWriteTimestamp")] public unsafe partial void CommandEncoderWriteTimestamp(CommandEncoder* commandEncoder, QuerySet* querySet, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1610, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1653, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderReference")] public unsafe partial void CommandEncoderReference(CommandEncoder* commandEncoder); /// To be documented. - [NativeName("Src", "Line 1611, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1654, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuCommandEncoderRelease")] public unsafe partial void CommandEncoderRelease(CommandEncoder* commandEncoder); /// To be documented. - [NativeName("Src", "Line 1614, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1657, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderBeginPipelineStatisticsQuery")] public unsafe partial void ComputePassEncoderBeginPipelineStatisticsQuery(ComputePassEncoder* computePassEncoder, QuerySet* querySet, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1615, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1658, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderDispatchWorkgroups")] public unsafe partial void ComputePassEncoderDispatchWorkgroups(ComputePassEncoder* computePassEncoder, uint workgroupCountX, uint workgroupCountY, uint workgroupCountZ); /// To be documented. - [NativeName("Src", "Line 1616, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1659, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderDispatchWorkgroupsIndirect")] public unsafe partial void ComputePassEncoderDispatchWorkgroupsIndirect(ComputePassEncoder* computePassEncoder, Buffer* indirectBuffer, ulong indirectOffset); /// To be documented. - [NativeName("Src", "Line 1617, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1660, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderEnd")] public unsafe partial void ComputePassEncoderEnd(ComputePassEncoder* computePassEncoder); /// To be documented. - [NativeName("Src", "Line 1618, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1661, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderEndPipelineStatisticsQuery")] public unsafe partial void ComputePassEncoderEndPipelineStatisticsQuery(ComputePassEncoder* computePassEncoder); /// To be documented. - [NativeName("Src", "Line 1619, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1662, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderInsertDebugMarker")] public unsafe partial void ComputePassEncoderInsertDebugMarker(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* markerLabel); /// To be documented. - [NativeName("Src", "Line 1619, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1662, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderInsertDebugMarker")] public unsafe partial void ComputePassEncoderInsertDebugMarker(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte markerLabel); /// To be documented. - [NativeName("Src", "Line 1619, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1662, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderInsertDebugMarker")] public unsafe partial void ComputePassEncoderInsertDebugMarker(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string markerLabel); /// To be documented. - [NativeName("Src", "Line 1620, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1663, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderPopDebugGroup")] public unsafe partial void ComputePassEncoderPopDebugGroup(ComputePassEncoder* computePassEncoder); /// To be documented. - [NativeName("Src", "Line 1621, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1664, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderPushDebugGroup")] public unsafe partial void ComputePassEncoderPushDebugGroup(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* groupLabel); /// To be documented. - [NativeName("Src", "Line 1621, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1664, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderPushDebugGroup")] public unsafe partial void ComputePassEncoderPushDebugGroup(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte groupLabel); /// To be documented. - [NativeName("Src", "Line 1621, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1664, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderPushDebugGroup")] public unsafe partial void ComputePassEncoderPushDebugGroup(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string groupLabel); /// To be documented. - [NativeName("Src", "Line 1622, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetBindGroup")] public unsafe partial void ComputePassEncoderSetBindGroup(ComputePassEncoder* computePassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint* dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1622, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetBindGroup")] public unsafe partial void ComputePassEncoderSetBindGroup(ComputePassEncoder* computePassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in uint dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1623, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1666, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetLabel")] public unsafe partial void ComputePassEncoderSetLabel(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1623, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1666, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetLabel")] public unsafe partial void ComputePassEncoderSetLabel(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1623, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1666, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetLabel")] public unsafe partial void ComputePassEncoderSetLabel(ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1624, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1667, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderSetPipeline")] public unsafe partial void ComputePassEncoderSetPipeline(ComputePassEncoder* computePassEncoder, ComputePipeline* pipeline); /// To be documented. - [NativeName("Src", "Line 1625, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1668, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderReference")] public unsafe partial void ComputePassEncoderReference(ComputePassEncoder* computePassEncoder); /// To be documented. - [NativeName("Src", "Line 1626, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1669, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePassEncoderRelease")] public unsafe partial void ComputePassEncoderRelease(ComputePassEncoder* computePassEncoder); /// To be documented. - [NativeName("Src", "Line 1629, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1672, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineGetBindGroupLayout")] public unsafe partial BindGroupLayout* ComputePipelineGetBindGroupLayout(ComputePipeline* computePipeline, uint groupIndex); /// To be documented. - [NativeName("Src", "Line 1630, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1673, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineSetLabel")] public unsafe partial void ComputePipelineSetLabel(ComputePipeline* computePipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1630, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1673, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineSetLabel")] public unsafe partial void ComputePipelineSetLabel(ComputePipeline* computePipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1630, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1673, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineSetLabel")] public unsafe partial void ComputePipelineSetLabel(ComputePipeline* computePipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1631, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1674, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineReference")] public unsafe partial void ComputePipelineReference(ComputePipeline* computePipeline); /// To be documented. - [NativeName("Src", "Line 1632, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1675, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuComputePipelineRelease")] public unsafe partial void ComputePipelineRelease(ComputePipeline* computePipeline); /// To be documented. - [NativeName("Src", "Line 1635, Column 27 in webgpu.h")] + [NativeName("Src", "Line 1678, Column 27 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBindGroup")] public unsafe partial BindGroup* DeviceCreateBindGroup(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BindGroupDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1635, Column 27 in webgpu.h")] + [NativeName("Src", "Line 1678, Column 27 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBindGroup")] public unsafe partial BindGroup* DeviceCreateBindGroup(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in BindGroupDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1636, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1679, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBindGroupLayout")] public unsafe partial BindGroupLayout* DeviceCreateBindGroupLayout(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BindGroupLayoutDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1636, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1679, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBindGroupLayout")] public unsafe partial BindGroupLayout* DeviceCreateBindGroupLayout(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in BindGroupLayoutDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1637, Column 24 in webgpu.h")] + [NativeName("Src", "Line 1680, Column 24 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBuffer")] public unsafe partial Buffer* DeviceCreateBuffer(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] BufferDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1637, Column 24 in webgpu.h")] + [NativeName("Src", "Line 1680, Column 24 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateBuffer")] public unsafe partial Buffer* DeviceCreateBuffer(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in BufferDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1638, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1681, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateCommandEncoder")] public unsafe partial CommandEncoder* DeviceCreateCommandEncoder(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] CommandEncoderDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1638, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1681, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateCommandEncoder")] public unsafe partial CommandEncoder* DeviceCreateCommandEncoder(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in CommandEncoderDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1639, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1682, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipeline")] public unsafe partial ComputePipeline* DeviceCreateComputePipeline(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ComputePipelineDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1639, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1682, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipeline")] public unsafe partial ComputePipeline* DeviceCreateComputePipeline(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ComputePipelineDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipelineAsync")] public unsafe partial void DeviceCreateComputePipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ComputePipelineDescriptor* descriptor, PfnCreateComputePipelineAsyncCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipelineAsync")] public unsafe partial void DeviceCreateComputePipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ComputePipelineDescriptor* descriptor, PfnCreateComputePipelineAsyncCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipelineAsync")] public unsafe partial void DeviceCreateComputePipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ComputePipelineDescriptor descriptor, PfnCreateComputePipelineAsyncCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateComputePipelineAsync")] public unsafe partial void DeviceCreateComputePipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ComputePipelineDescriptor descriptor, PfnCreateComputePipelineAsyncCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1641, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1684, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreatePipelineLayout")] public unsafe partial PipelineLayout* DeviceCreatePipelineLayout(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] PipelineLayoutDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1641, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1684, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreatePipelineLayout")] public unsafe partial PipelineLayout* DeviceCreatePipelineLayout(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in PipelineLayoutDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1642, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1685, Column 26 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateQuerySet")] public unsafe partial QuerySet* DeviceCreateQuerySet(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] QuerySetDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1642, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1685, Column 26 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateQuerySet")] public unsafe partial QuerySet* DeviceCreateQuerySet(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in QuerySetDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1643, Column 37 in webgpu.h")] + [NativeName("Src", "Line 1686, Column 37 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderBundleEncoder")] public unsafe partial RenderBundleEncoder* DeviceCreateRenderBundleEncoder(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderBundleEncoderDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1643, Column 37 in webgpu.h")] + [NativeName("Src", "Line 1686, Column 37 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderBundleEncoder")] public unsafe partial RenderBundleEncoder* DeviceCreateRenderBundleEncoder(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderBundleEncoderDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1644, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1687, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipeline")] public unsafe partial RenderPipeline* DeviceCreateRenderPipeline(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPipelineDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1644, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1687, Column 32 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipeline")] public unsafe partial RenderPipeline* DeviceCreateRenderPipeline(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderPipelineDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipelineAsync")] public unsafe partial void DeviceCreateRenderPipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPipelineDescriptor* descriptor, PfnCreateRenderPipelineAsyncCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipelineAsync")] public unsafe partial void DeviceCreateRenderPipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPipelineDescriptor* descriptor, PfnCreateRenderPipelineAsyncCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipelineAsync")] public unsafe partial void DeviceCreateRenderPipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderPipelineDescriptor descriptor, PfnCreateRenderPipelineAsyncCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateRenderPipelineAsync")] public unsafe partial void DeviceCreateRenderPipelineAsync(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderPipelineDescriptor descriptor, PfnCreateRenderPipelineAsyncCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1646, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1689, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateSampler")] public unsafe partial Sampler* DeviceCreateSampler(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SamplerDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1646, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1689, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateSampler")] public unsafe partial Sampler* DeviceCreateSampler(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SamplerDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1647, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1690, Column 30 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateShaderModule")] public unsafe partial ShaderModule* DeviceCreateShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ShaderModuleDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1647, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1690, Column 30 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateShaderModule")] public unsafe partial ShaderModule* DeviceCreateShaderModule(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ShaderModuleDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1648, Column 27 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuDeviceCreateSwapChain")] - public unsafe partial SwapChain* DeviceCreateSwapChain(Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SwapChainDescriptor* descriptor); - - /// To be documented. - [NativeName("Src", "Line 1648, Column 27 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuDeviceCreateSwapChain")] - public unsafe partial SwapChain* DeviceCreateSwapChain(Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SwapChainDescriptor descriptor); - - /// To be documented. - [NativeName("Src", "Line 1649, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1691, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateTexture")] public unsafe partial Texture* DeviceCreateTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1649, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1691, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceCreateTexture")] public unsafe partial Texture* DeviceCreateTexture(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1650, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1692, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceDestroy")] public unsafe partial void DeviceDestroy(Device* device); /// To be documented. - [NativeName("Src", "Line 1651, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1693, Column 20 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceEnumerateFeatures")] public unsafe partial nuint DeviceEnumerateFeatures(Device* device, FeatureName* features); /// To be documented. - [NativeName("Src", "Line 1651, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1693, Column 20 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceEnumerateFeatures")] public unsafe partial nuint DeviceEnumerateFeatures(Device* device, ref FeatureName features); /// To be documented. - [NativeName("Src", "Line 1652, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1694, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceGetLimits")] public unsafe partial Silk.NET.Core.Bool32 DeviceGetLimits(Device* device, SupportedLimits* limits); /// To be documented. - [NativeName("Src", "Line 1652, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1694, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceGetLimits")] public unsafe partial Silk.NET.Core.Bool32 DeviceGetLimits(Device* device, ref SupportedLimits limits); /// To be documented. - [NativeName("Src", "Line 1653, Column 23 in webgpu.h")] + [NativeName("Src", "Line 1695, Column 23 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceGetQueue")] public unsafe partial Queue* DeviceGetQueue(Device* device); /// To be documented. - [NativeName("Src", "Line 1654, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1696, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceHasFeature")] public unsafe partial Silk.NET.Core.Bool32 DeviceHasFeature(Device* device, FeatureName feature); /// To be documented. - [NativeName("Src", "Line 1655, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1697, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDevicePopErrorScope")] public unsafe partial void DevicePopErrorScope(Device* device, PfnErrorCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1655, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1697, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDevicePopErrorScope")] public unsafe partial void DevicePopErrorScope(Device* device, PfnErrorCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1656, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1698, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDevicePushErrorScope")] public unsafe partial void DevicePushErrorScope(Device* device, ErrorFilter filter); /// To be documented. - [NativeName("Src", "Line 1657, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1699, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetLabel")] public unsafe partial void DeviceSetLabel(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1657, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1699, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetLabel")] public unsafe partial void DeviceSetLabel(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1657, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1699, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetLabel")] public unsafe partial void DeviceSetLabel(Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1658, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1700, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetUncapturedErrorCallback")] public unsafe partial void DeviceSetUncapturedErrorCallback(Device* device, PfnErrorCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1658, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1700, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceSetUncapturedErrorCallback")] public unsafe partial void DeviceSetUncapturedErrorCallback(Device* device, PfnErrorCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1659, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1701, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceReference")] public unsafe partial void DeviceReference(Device* device); /// To be documented. - [NativeName("Src", "Line 1660, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1702, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuDeviceRelease")] public unsafe partial void DeviceRelease(Device* device); /// To be documented. - [NativeName("Src", "Line 1663, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1705, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceCreateSurface")] public unsafe partial Surface* InstanceCreateSurface(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1663, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1705, Column 25 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceCreateSurface")] public unsafe partial Surface* InstanceCreateSurface(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SurfaceDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1664, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1706, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceProcessEvents")] public unsafe partial void InstanceProcessEvents(Instance* instance); /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceRequestAdapter")] public unsafe partial void InstanceRequestAdapter(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RequestAdapterOptions* options, PfnRequestAdapterCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceRequestAdapter")] public unsafe partial void InstanceRequestAdapter(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RequestAdapterOptions* options, PfnRequestAdapterCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceRequestAdapter")] public unsafe partial void InstanceRequestAdapter(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RequestAdapterOptions options, PfnRequestAdapterCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceRequestAdapter")] public unsafe partial void InstanceRequestAdapter(Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RequestAdapterOptions options, PfnRequestAdapterCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1666, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1708, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceReference")] public unsafe partial void InstanceReference(Instance* instance); /// To be documented. - [NativeName("Src", "Line 1667, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1709, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuInstanceRelease")] public unsafe partial void InstanceRelease(Instance* instance); /// To be documented. - [NativeName("Src", "Line 1670, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1712, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuPipelineLayoutSetLabel")] public unsafe partial void PipelineLayoutSetLabel(PipelineLayout* pipelineLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1670, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1712, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuPipelineLayoutSetLabel")] public unsafe partial void PipelineLayoutSetLabel(PipelineLayout* pipelineLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1670, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1712, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuPipelineLayoutSetLabel")] public unsafe partial void PipelineLayoutSetLabel(PipelineLayout* pipelineLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1671, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1713, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuPipelineLayoutReference")] public unsafe partial void PipelineLayoutReference(PipelineLayout* pipelineLayout); /// To be documented. - [NativeName("Src", "Line 1672, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1714, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuPipelineLayoutRelease")] public unsafe partial void PipelineLayoutRelease(PipelineLayout* pipelineLayout); /// To be documented. - [NativeName("Src", "Line 1675, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1717, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetDestroy")] public unsafe partial void QuerySetDestroy(QuerySet* querySet); /// To be documented. - [NativeName("Src", "Line 1676, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1718, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetGetCount")] public unsafe partial uint QuerySetGetCount(QuerySet* querySet); /// To be documented. - [NativeName("Src", "Line 1677, Column 27 in webgpu.h")] + [NativeName("Src", "Line 1719, Column 27 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetGetType")] public unsafe partial QueryType QuerySetGetType(QuerySet* querySet); /// To be documented. - [NativeName("Src", "Line 1678, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1720, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetSetLabel")] public unsafe partial void QuerySetSetLabel(QuerySet* querySet, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1678, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1720, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetSetLabel")] public unsafe partial void QuerySetSetLabel(QuerySet* querySet, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1678, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1720, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetSetLabel")] public unsafe partial void QuerySetSetLabel(QuerySet* querySet, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1679, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1721, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetReference")] public unsafe partial void QuerySetReference(QuerySet* querySet); /// To be documented. - [NativeName("Src", "Line 1680, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1722, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQuerySetRelease")] public unsafe partial void QuerySetRelease(QuerySet* querySet); /// To be documented. - [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1725, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueOnSubmittedWorkDone")] public unsafe partial void QueueOnSubmittedWorkDone(Queue* queue, PfnQueueWorkDoneCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1725, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueOnSubmittedWorkDone")] public unsafe partial void QueueOnSubmittedWorkDone(Queue* queue, PfnQueueWorkDoneCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1684, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSetLabel")] public unsafe partial void QueueSetLabel(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1684, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSetLabel")] public unsafe partial void QueueSetLabel(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1684, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSetLabel")] public unsafe partial void QueueSetLabel(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1685, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1727, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSubmit")] public unsafe partial void QueueSubmit(Queue* queue, nuint commandCount, CommandBuffer** commands); /// To be documented. - [NativeName("Src", "Line 1685, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1727, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueSubmit")] public unsafe partial void QueueSubmit(Queue* queue, nuint commandCount, ref CommandBuffer* commands); /// To be documented. - [NativeName("Src", "Line 1686, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteBuffer")] public unsafe partial void QueueWriteBuffer(Queue* queue, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint size); /// To be documented. - [NativeName("Src", "Line 1686, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteBuffer")] public unsafe partial void QueueWriteBuffer(Queue* queue, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint size) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize); /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueWriteTexture")] public unsafe partial void QueueWriteTexture(Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in ImageCopyTexture destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in T0 data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureDataLayout dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Extent3D writeSize) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1730, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueReference")] public unsafe partial void QueueReference(Queue* queue); /// To be documented. - [NativeName("Src", "Line 1689, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1731, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuQueueRelease")] public unsafe partial void QueueRelease(Queue* queue); /// To be documented. - [NativeName("Src", "Line 1692, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1734, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleSetLabel")] public unsafe partial void RenderBundleSetLabel(RenderBundle* renderBundle, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1692, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1734, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleSetLabel")] public unsafe partial void RenderBundleSetLabel(RenderBundle* renderBundle, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1692, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1734, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleSetLabel")] public unsafe partial void RenderBundleSetLabel(RenderBundle* renderBundle, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1693, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1735, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleReference")] public unsafe partial void RenderBundleReference(RenderBundle* renderBundle); /// To be documented. - [NativeName("Src", "Line 1694, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1736, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleRelease")] public unsafe partial void RenderBundleRelease(RenderBundle* renderBundle); /// To be documented. - [NativeName("Src", "Line 1697, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1739, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderDraw")] public unsafe partial void RenderBundleEncoderDraw(RenderBundleEncoder* renderBundleEncoder, uint vertexCount, uint instanceCount, uint firstVertex, uint firstInstance); /// To be documented. - [NativeName("Src", "Line 1698, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1740, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderDrawIndexed")] public unsafe partial void RenderBundleEncoderDrawIndexed(RenderBundleEncoder* renderBundleEncoder, uint indexCount, uint instanceCount, uint firstIndex, int baseVertex, uint firstInstance); /// To be documented. - [NativeName("Src", "Line 1699, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1741, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderDrawIndexedIndirect")] public unsafe partial void RenderBundleEncoderDrawIndexedIndirect(RenderBundleEncoder* renderBundleEncoder, Buffer* indirectBuffer, ulong indirectOffset); /// To be documented. - [NativeName("Src", "Line 1700, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1742, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderDrawIndirect")] public unsafe partial void RenderBundleEncoderDrawIndirect(RenderBundleEncoder* renderBundleEncoder, Buffer* indirectBuffer, ulong indirectOffset); /// To be documented. - [NativeName("Src", "Line 1701, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1743, Column 30 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderFinish")] public unsafe partial RenderBundle* RenderBundleEncoderFinish(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderBundleDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1701, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1743, Column 30 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderFinish")] public unsafe partial RenderBundle* RenderBundleEncoderFinish(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in RenderBundleDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1702, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1744, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderInsertDebugMarker")] public unsafe partial void RenderBundleEncoderInsertDebugMarker(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* markerLabel); /// To be documented. - [NativeName("Src", "Line 1702, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1744, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderInsertDebugMarker")] public unsafe partial void RenderBundleEncoderInsertDebugMarker(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte markerLabel); /// To be documented. - [NativeName("Src", "Line 1702, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1744, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderInsertDebugMarker")] public unsafe partial void RenderBundleEncoderInsertDebugMarker(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string markerLabel); /// To be documented. - [NativeName("Src", "Line 1703, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1745, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderPopDebugGroup")] public unsafe partial void RenderBundleEncoderPopDebugGroup(RenderBundleEncoder* renderBundleEncoder); /// To be documented. - [NativeName("Src", "Line 1704, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderPushDebugGroup")] public unsafe partial void RenderBundleEncoderPushDebugGroup(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* groupLabel); /// To be documented. - [NativeName("Src", "Line 1704, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderPushDebugGroup")] public unsafe partial void RenderBundleEncoderPushDebugGroup(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte groupLabel); /// To be documented. - [NativeName("Src", "Line 1704, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderPushDebugGroup")] public unsafe partial void RenderBundleEncoderPushDebugGroup(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string groupLabel); /// To be documented. - [NativeName("Src", "Line 1705, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1747, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetBindGroup")] public unsafe partial void RenderBundleEncoderSetBindGroup(RenderBundleEncoder* renderBundleEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint* dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1705, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1747, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetBindGroup")] public unsafe partial void RenderBundleEncoderSetBindGroup(RenderBundleEncoder* renderBundleEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in uint dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1706, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1748, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetIndexBuffer")] public unsafe partial void RenderBundleEncoderSetIndexBuffer(RenderBundleEncoder* renderBundleEncoder, Buffer* buffer, IndexFormat format, ulong offset, ulong size); /// To be documented. - [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1749, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetLabel")] public unsafe partial void RenderBundleEncoderSetLabel(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1749, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetLabel")] public unsafe partial void RenderBundleEncoderSetLabel(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1749, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetLabel")] public unsafe partial void RenderBundleEncoderSetLabel(RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1708, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1750, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetPipeline")] public unsafe partial void RenderBundleEncoderSetPipeline(RenderBundleEncoder* renderBundleEncoder, RenderPipeline* pipeline); /// To be documented. - [NativeName("Src", "Line 1709, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1751, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderSetVertexBuffer")] public unsafe partial void RenderBundleEncoderSetVertexBuffer(RenderBundleEncoder* renderBundleEncoder, uint slot, Buffer* buffer, ulong offset, ulong size); /// To be documented. - [NativeName("Src", "Line 1710, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1752, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderReference")] public unsafe partial void RenderBundleEncoderReference(RenderBundleEncoder* renderBundleEncoder); /// To be documented. - [NativeName("Src", "Line 1711, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1753, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderBundleEncoderRelease")] public unsafe partial void RenderBundleEncoderRelease(RenderBundleEncoder* renderBundleEncoder); /// To be documented. - [NativeName("Src", "Line 1714, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1756, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderBeginOcclusionQuery")] public unsafe partial void RenderPassEncoderBeginOcclusionQuery(RenderPassEncoder* renderPassEncoder, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1715, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1757, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderBeginPipelineStatisticsQuery")] public unsafe partial void RenderPassEncoderBeginPipelineStatisticsQuery(RenderPassEncoder* renderPassEncoder, QuerySet* querySet, uint queryIndex); /// To be documented. - [NativeName("Src", "Line 1716, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1758, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderDraw")] public unsafe partial void RenderPassEncoderDraw(RenderPassEncoder* renderPassEncoder, uint vertexCount, uint instanceCount, uint firstVertex, uint firstInstance); /// To be documented. - [NativeName("Src", "Line 1717, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1759, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderDrawIndexed")] public unsafe partial void RenderPassEncoderDrawIndexed(RenderPassEncoder* renderPassEncoder, uint indexCount, uint instanceCount, uint firstIndex, int baseVertex, uint firstInstance); /// To be documented. - [NativeName("Src", "Line 1718, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1760, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderDrawIndexedIndirect")] public unsafe partial void RenderPassEncoderDrawIndexedIndirect(RenderPassEncoder* renderPassEncoder, Buffer* indirectBuffer, ulong indirectOffset); /// To be documented. - [NativeName("Src", "Line 1719, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1761, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderDrawIndirect")] public unsafe partial void RenderPassEncoderDrawIndirect(RenderPassEncoder* renderPassEncoder, Buffer* indirectBuffer, ulong indirectOffset); /// To be documented. - [NativeName("Src", "Line 1720, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1762, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderEnd")] public unsafe partial void RenderPassEncoderEnd(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1721, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1763, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderEndOcclusionQuery")] public unsafe partial void RenderPassEncoderEndOcclusionQuery(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1722, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1764, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderEndPipelineStatisticsQuery")] public unsafe partial void RenderPassEncoderEndPipelineStatisticsQuery(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1723, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1765, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderExecuteBundles")] public unsafe partial void RenderPassEncoderExecuteBundles(RenderPassEncoder* renderPassEncoder, nuint bundleCount, RenderBundle** bundles); /// To be documented. - [NativeName("Src", "Line 1723, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1765, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderExecuteBundles")] public unsafe partial void RenderPassEncoderExecuteBundles(RenderPassEncoder* renderPassEncoder, nuint bundleCount, ref RenderBundle* bundles); /// To be documented. - [NativeName("Src", "Line 1724, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1766, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderInsertDebugMarker")] public unsafe partial void RenderPassEncoderInsertDebugMarker(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* markerLabel); /// To be documented. - [NativeName("Src", "Line 1724, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1766, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderInsertDebugMarker")] public unsafe partial void RenderPassEncoderInsertDebugMarker(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte markerLabel); /// To be documented. - [NativeName("Src", "Line 1724, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1766, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderInsertDebugMarker")] public unsafe partial void RenderPassEncoderInsertDebugMarker(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string markerLabel); /// To be documented. - [NativeName("Src", "Line 1725, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1767, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderPopDebugGroup")] public unsafe partial void RenderPassEncoderPopDebugGroup(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1768, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderPushDebugGroup")] public unsafe partial void RenderPassEncoderPushDebugGroup(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* groupLabel); /// To be documented. - [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1768, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderPushDebugGroup")] public unsafe partial void RenderPassEncoderPushDebugGroup(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte groupLabel); /// To be documented. - [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1768, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderPushDebugGroup")] public unsafe partial void RenderPassEncoderPushDebugGroup(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string groupLabel); /// To be documented. - [NativeName("Src", "Line 1727, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1769, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetBindGroup")] public unsafe partial void RenderPassEncoderSetBindGroup(RenderPassEncoder* renderPassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] uint* dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1727, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1769, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetBindGroup")] public unsafe partial void RenderPassEncoderSetBindGroup(RenderPassEncoder* renderPassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in uint dynamicOffsets); /// To be documented. - [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1770, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetBlendConstant")] public unsafe partial void RenderPassEncoderSetBlendConstant(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Color* color); /// To be documented. - [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1770, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetBlendConstant")] public unsafe partial void RenderPassEncoderSetBlendConstant(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in Color color); /// To be documented. - [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1771, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetIndexBuffer")] public unsafe partial void RenderPassEncoderSetIndexBuffer(RenderPassEncoder* renderPassEncoder, Buffer* buffer, IndexFormat format, ulong offset, ulong size); /// To be documented. - [NativeName("Src", "Line 1730, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1772, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetLabel")] public unsafe partial void RenderPassEncoderSetLabel(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1730, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1772, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetLabel")] public unsafe partial void RenderPassEncoderSetLabel(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1730, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1772, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetLabel")] public unsafe partial void RenderPassEncoderSetLabel(RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1731, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1773, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetPipeline")] public unsafe partial void RenderPassEncoderSetPipeline(RenderPassEncoder* renderPassEncoder, RenderPipeline* pipeline); /// To be documented. - [NativeName("Src", "Line 1732, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1774, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetScissorRect")] public unsafe partial void RenderPassEncoderSetScissorRect(RenderPassEncoder* renderPassEncoder, uint x, uint y, uint width, uint height); /// To be documented. - [NativeName("Src", "Line 1733, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1775, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetStencilReference")] public unsafe partial void RenderPassEncoderSetStencilReference(RenderPassEncoder* renderPassEncoder, uint reference); /// To be documented. - [NativeName("Src", "Line 1734, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1776, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetVertexBuffer")] public unsafe partial void RenderPassEncoderSetVertexBuffer(RenderPassEncoder* renderPassEncoder, uint slot, Buffer* buffer, ulong offset, ulong size); /// To be documented. - [NativeName("Src", "Line 1735, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1777, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderSetViewport")] public unsafe partial void RenderPassEncoderSetViewport(RenderPassEncoder* renderPassEncoder, float x, float y, float width, float height, float minDepth, float maxDepth); /// To be documented. - [NativeName("Src", "Line 1736, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1778, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderReference")] public unsafe partial void RenderPassEncoderReference(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1737, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1779, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPassEncoderRelease")] public unsafe partial void RenderPassEncoderRelease(RenderPassEncoder* renderPassEncoder); /// To be documented. - [NativeName("Src", "Line 1740, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1782, Column 33 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineGetBindGroupLayout")] public unsafe partial BindGroupLayout* RenderPipelineGetBindGroupLayout(RenderPipeline* renderPipeline, uint groupIndex); /// To be documented. - [NativeName("Src", "Line 1741, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineSetLabel")] public unsafe partial void RenderPipelineSetLabel(RenderPipeline* renderPipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1741, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineSetLabel")] public unsafe partial void RenderPipelineSetLabel(RenderPipeline* renderPipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1741, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineSetLabel")] public unsafe partial void RenderPipelineSetLabel(RenderPipeline* renderPipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1742, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1784, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineReference")] public unsafe partial void RenderPipelineReference(RenderPipeline* renderPipeline); /// To be documented. - [NativeName("Src", "Line 1743, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1785, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuRenderPipelineRelease")] public unsafe partial void RenderPipelineRelease(RenderPipeline* renderPipeline); /// To be documented. - [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1788, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuSamplerSetLabel")] public unsafe partial void SamplerSetLabel(Sampler* sampler, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1788, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuSamplerSetLabel")] public unsafe partial void SamplerSetLabel(Sampler* sampler, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1788, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuSamplerSetLabel")] public unsafe partial void SamplerSetLabel(Sampler* sampler, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1747, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1789, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuSamplerReference")] public unsafe partial void SamplerReference(Sampler* sampler); /// To be documented. - [NativeName("Src", "Line 1748, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1790, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuSamplerRelease")] public unsafe partial void SamplerRelease(Sampler* sampler); /// To be documented. - [NativeName("Src", "Line 1751, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1793, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleGetCompilationInfo")] public unsafe partial void ShaderModuleGetCompilationInfo(ShaderModule* shaderModule, PfnCompilationInfoCallback callback, void* userdata); /// To be documented. - [NativeName("Src", "Line 1751, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1793, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleGetCompilationInfo")] public unsafe partial void ShaderModuleGetCompilationInfo(ShaderModule* shaderModule, PfnCompilationInfoCallback callback, ref T0 userdata) where T0 : unmanaged; /// To be documented. - [NativeName("Src", "Line 1752, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1794, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleSetLabel")] public unsafe partial void ShaderModuleSetLabel(ShaderModule* shaderModule, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1752, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1794, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleSetLabel")] public unsafe partial void ShaderModuleSetLabel(ShaderModule* shaderModule, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1752, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1794, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleSetLabel")] public unsafe partial void ShaderModuleSetLabel(ShaderModule* shaderModule, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1753, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1795, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleReference")] public unsafe partial void ShaderModuleReference(ShaderModule* shaderModule); /// To be documented. - [NativeName("Src", "Line 1754, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1796, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuShaderModuleRelease")] public unsafe partial void ShaderModuleRelease(ShaderModule* shaderModule); /// To be documented. - [NativeName("Src", "Line 1757, Column 31 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSurfaceGetPreferredFormat")] - public unsafe partial TextureFormat SurfaceGetPreferredFormat(Surface* surface, Adapter* adapter); + [NativeName("Src", "Line 1799, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceConfigure")] + public unsafe partial void SurfaceConfigure(Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] SurfaceConfiguration* config); /// To be documented. - [NativeName("Src", "Line 1758, Column 18 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSurfaceReference")] - public unsafe partial void SurfaceReference(Surface* surface); + [NativeName("Src", "Line 1799, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceConfigure")] + public unsafe partial void SurfaceConfigure(Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in SurfaceConfiguration config); /// To be documented. - [NativeName("Src", "Line 1759, Column 18 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSurfaceRelease")] - public unsafe partial void SurfaceRelease(Surface* surface); + [NativeName("Src", "Line 1800, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceGetCapabilities")] + public unsafe partial void SurfaceGetCapabilities(Surface* surface, Adapter* adapter, SurfaceCapabilities* capabilities); /// To be documented. - [NativeName("Src", "Line 1762, Column 29 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSwapChainGetCurrentTextureView")] - public unsafe partial TextureView* SwapChainGetCurrentTextureView(SwapChain* swapChain); + [NativeName("Src", "Line 1800, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceGetCapabilities")] + public unsafe partial void SurfaceGetCapabilities(Surface* surface, Adapter* adapter, ref SurfaceCapabilities capabilities); /// To be documented. - [NativeName("Src", "Line 1763, Column 18 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSwapChainPresent")] - public unsafe partial void SwapChainPresent(SwapChain* swapChain); + [NativeName("Src", "Line 1801, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceGetCurrentTexture")] + public unsafe partial void SurfaceGetCurrentTexture(Surface* surface, SurfaceTexture* surfaceTexture); /// To be documented. - [NativeName("Src", "Line 1764, Column 18 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSwapChainReference")] - public unsafe partial void SwapChainReference(SwapChain* swapChain); + [NativeName("Src", "Line 1801, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceGetCurrentTexture")] + public unsafe partial void SurfaceGetCurrentTexture(Surface* surface, ref SurfaceTexture surfaceTexture); /// To be documented. - [NativeName("Src", "Line 1765, Column 18 in webgpu.h")] - [NativeApi(EntryPoint = "wgpuSwapChainRelease")] - public unsafe partial void SwapChainRelease(SwapChain* swapChain); + [NativeName("Src", "Line 1802, Column 31 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceGetPreferredFormat")] + public unsafe partial TextureFormat SurfaceGetPreferredFormat(Surface* surface, Adapter* adapter); + + /// To be documented. + [NativeName("Src", "Line 1803, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfacePresent")] + public unsafe partial void SurfacePresent(Surface* surface); + + /// To be documented. + [NativeName("Src", "Line 1804, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceUnconfigure")] + public unsafe partial void SurfaceUnconfigure(Surface* surface); + + /// To be documented. + [NativeName("Src", "Line 1805, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceReference")] + public unsafe partial void SurfaceReference(Surface* surface); + + /// To be documented. + [NativeName("Src", "Line 1806, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceRelease")] + public unsafe partial void SurfaceRelease(Surface* surface); /// To be documented. - [NativeName("Src", "Line 1768, Column 29 in webgpu.h")] + [NativeName("Src", "Line 1809, Column 18 in webgpu.h")] + [NativeApi(EntryPoint = "wgpuSurfaceCapabilitiesFreeMembers")] + public partial void SurfaceCapabilitiesFreeMembers(SurfaceCapabilities capabilities); + + /// To be documented. + [NativeName("Src", "Line 1812, Column 29 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureCreateView")] public unsafe partial TextureView* TextureCreateView(Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureViewDescriptor* descriptor); /// To be documented. - [NativeName("Src", "Line 1768, Column 29 in webgpu.h")] + [NativeName("Src", "Line 1812, Column 29 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureCreateView")] public unsafe partial TextureView* TextureCreateView(Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in TextureViewDescriptor descriptor); /// To be documented. - [NativeName("Src", "Line 1769, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1813, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureDestroy")] public unsafe partial void TextureDestroy(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1770, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1814, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetDepthOrArrayLayers")] public unsafe partial uint TextureGetDepthOrArrayLayers(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1771, Column 34 in webgpu.h")] + [NativeName("Src", "Line 1815, Column 34 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetDimension")] public unsafe partial TextureDimension TextureGetDimension(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1772, Column 31 in webgpu.h")] + [NativeName("Src", "Line 1816, Column 31 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetFormat")] public unsafe partial TextureFormat TextureGetFormat(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1773, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1817, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetHeight")] public unsafe partial uint TextureGetHeight(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1774, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1818, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetMipLevelCount")] public unsafe partial uint TextureGetMipLevelCount(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1775, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1819, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetSampleCount")] public unsafe partial uint TextureGetSampleCount(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1776, Column 35 in webgpu.h")] + [NativeName("Src", "Line 1820, Column 35 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetUsage")] public unsafe partial Silk.NET.WebGPU.TextureUsage TextureGetUsage(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1777, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1821, Column 22 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureGetWidth")] public unsafe partial uint TextureGetWidth(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1778, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1822, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureSetLabel")] public unsafe partial void TextureSetLabel(Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1778, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1822, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureSetLabel")] public unsafe partial void TextureSetLabel(Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1778, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1822, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureSetLabel")] public unsafe partial void TextureSetLabel(Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1779, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1823, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureReference")] public unsafe partial void TextureReference(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1780, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1824, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureRelease")] public unsafe partial void TextureRelease(Texture* texture); /// To be documented. - [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1827, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureViewSetLabel")] public unsafe partial void TextureViewSetLabel(TextureView* textureView, [Flow(Silk.NET.Core.Native.FlowDirection.In)] byte* label); /// To be documented. - [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1827, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureViewSetLabel")] public unsafe partial void TextureViewSetLabel(TextureView* textureView, [Flow(Silk.NET.Core.Native.FlowDirection.In)] in byte label); /// To be documented. - [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1827, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureViewSetLabel")] public unsafe partial void TextureViewSetLabel(TextureView* textureView, [Flow(Silk.NET.Core.Native.FlowDirection.In), UnmanagedType(Silk.NET.Core.Native.UnmanagedType.LPUTF8Str)] string label); /// To be documented. - [NativeName("Src", "Line 1784, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1828, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureViewReference")] public unsafe partial void TextureViewReference(TextureView* textureView); /// To be documented. - [NativeName("Src", "Line 1785, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1829, Column 18 in webgpu.h")] [NativeApi(EntryPoint = "wgpuTextureViewRelease")] public unsafe partial void TextureViewRelease(TextureView* textureView); diff --git a/src/WebGPU/Silk.NET.WebGPU/WebGPUOverloads.gen.cs b/src/WebGPU/Silk.NET.WebGPU/WebGPUOverloads.gen.cs index df2937c5e1..a03ea361de 100644 --- a/src/WebGPU/Silk.NET.WebGPU/WebGPUOverloads.gen.cs +++ b/src/WebGPU/Silk.NET.WebGPU/WebGPUOverloads.gen.cs @@ -17,7 +17,7 @@ namespace Silk.NET.WebGPU public static class WebGPUOverloads { /// To be documented. - [NativeName("Src", "Line 1555, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1598, Column 26 in webgpu.h")] public static unsafe Instance* CreateInstance(this WebGPU thisApi, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -25,7 +25,7 @@ public static class WebGPUOverloads } /// To be documented. - [NativeName("Src", "Line 1556, Column 22 in webgpu.h")] + [NativeName("Src", "Line 1599, Column 22 in webgpu.h")] public static unsafe PfnProc GetProcAddress(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan procName) { // SpanOverloader @@ -33,7 +33,7 @@ public static unsafe PfnProc GetProcAddress(this WebGPU thisApi, Device* device, } /// To be documented. - [NativeName("Src", "Line 1559, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1602, Column 20 in webgpu.h")] public static unsafe nuint AdapterEnumerateFeatures(this WebGPU thisApi, Adapter* adapter, Span features) { // SpanOverloader @@ -41,7 +41,7 @@ public static unsafe nuint AdapterEnumerateFeatures(this WebGPU thisApi, Adapter } /// To be documented. - [NativeName("Src", "Line 1560, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1603, Column 22 in webgpu.h")] public static unsafe Silk.NET.Core.Bool32 AdapterGetLimits(this WebGPU thisApi, Adapter* adapter, Span limits) { // SpanOverloader @@ -49,7 +49,7 @@ public static unsafe Silk.NET.Core.Bool32 AdapterGetLimits(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1561, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] public static unsafe void AdapterGetProperties(this WebGPU thisApi, Adapter* adapter, Span properties) { // SpanOverloader @@ -57,7 +57,7 @@ public static unsafe void AdapterGetProperties(this WebGPU thisApi, Adapter* ada } /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] DeviceDescriptor* descriptor, PfnRequestDeviceCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -65,7 +65,7 @@ public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* } /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnRequestDeviceCallback callback, void* userdata) { // SpanOverloader @@ -73,7 +73,7 @@ public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* ada } /// To be documented. - [NativeName("Src", "Line 1563, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* adapter, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnRequestDeviceCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -81,7 +81,7 @@ public static unsafe void AdapterRequestDevice(this WebGPU thisApi, Adapter* } /// To be documented. - [NativeName("Src", "Line 1568, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1611, Column 18 in webgpu.h")] public static unsafe void BindGroupSetLabel(this WebGPU thisApi, BindGroup* bindGroup, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -89,7 +89,7 @@ public static unsafe void BindGroupSetLabel(this WebGPU thisApi, BindGroup* bind } /// To be documented. - [NativeName("Src", "Line 1573, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1616, Column 18 in webgpu.h")] public static unsafe void BindGroupLayoutSetLabel(this WebGPU thisApi, BindGroupLayout* bindGroupLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -97,7 +97,7 @@ public static unsafe void BindGroupLayoutSetLabel(this WebGPU thisApi, BindGroup } /// To be documented. - [NativeName("Src", "Line 1584, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1627, Column 18 in webgpu.h")] public static unsafe void BufferMapAsync(this WebGPU thisApi, Buffer* buffer, Silk.NET.WebGPU.MapMode mode, nuint offset, nuint size, PfnBufferMapCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -105,7 +105,7 @@ public static unsafe void BufferMapAsync(this WebGPU thisApi, Buffer* buffer } /// To be documented. - [NativeName("Src", "Line 1585, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1628, Column 18 in webgpu.h")] public static unsafe void BufferSetLabel(this WebGPU thisApi, Buffer* buffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -113,7 +113,7 @@ public static unsafe void BufferSetLabel(this WebGPU thisApi, Buffer* buffer, [F } /// To be documented. - [NativeName("Src", "Line 1591, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1634, Column 18 in webgpu.h")] public static unsafe void CommandBufferSetLabel(this WebGPU thisApi, CommandBuffer* commandBuffer, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -121,7 +121,7 @@ public static unsafe void CommandBufferSetLabel(this WebGPU thisApi, CommandBuff } /// To be documented. - [NativeName("Src", "Line 1596, Column 36 in webgpu.h")] + [NativeName("Src", "Line 1639, Column 36 in webgpu.h")] public static unsafe ComputePassEncoder* CommandEncoderBeginComputePass(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -129,7 +129,7 @@ public static unsafe void CommandBufferSetLabel(this WebGPU thisApi, CommandBuff } /// To be documented. - [NativeName("Src", "Line 1597, Column 35 in webgpu.h")] + [NativeName("Src", "Line 1640, Column 35 in webgpu.h")] public static unsafe RenderPassEncoder* CommandEncoderBeginRenderPass(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -137,7 +137,7 @@ public static unsafe void CommandBufferSetLabel(this WebGPU thisApi, CommandBuff } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -145,7 +145,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -153,7 +153,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -161,7 +161,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -169,7 +169,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -177,7 +177,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -185,7 +185,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1600, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1643, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -193,7 +193,7 @@ public static unsafe void CommandEncoderCopyBufferToTexture(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -201,7 +201,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -209,7 +209,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -217,7 +217,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -225,7 +225,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyBuffer* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -233,7 +233,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -241,7 +241,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1601, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1644, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -249,7 +249,7 @@ public static unsafe void CommandEncoderCopyTextureToBuffer(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -257,7 +257,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -265,7 +265,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -273,7 +273,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -281,7 +281,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -289,7 +289,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* copySize) { // SpanOverloader @@ -297,7 +297,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1602, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan source, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan copySize) { // SpanOverloader @@ -305,7 +305,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1603, Column 31 in webgpu.h")] + [NativeName("Src", "Line 1646, Column 31 in webgpu.h")] public static unsafe CommandBuffer* CommandEncoderFinish(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -313,7 +313,7 @@ public static unsafe void CommandEncoderCopyTextureToTexture(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1604, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1647, Column 18 in webgpu.h")] public static unsafe void CommandEncoderInsertDebugMarker(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan markerLabel) { // SpanOverloader @@ -321,7 +321,7 @@ public static unsafe void CommandEncoderInsertDebugMarker(this WebGPU thisApi, C } /// To be documented. - [NativeName("Src", "Line 1606, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1649, Column 18 in webgpu.h")] public static unsafe void CommandEncoderPushDebugGroup(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan groupLabel) { // SpanOverloader @@ -329,7 +329,7 @@ public static unsafe void CommandEncoderPushDebugGroup(this WebGPU thisApi, Comm } /// To be documented. - [NativeName("Src", "Line 1608, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1651, Column 18 in webgpu.h")] public static unsafe void CommandEncoderSetLabel(this WebGPU thisApi, CommandEncoder* commandEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -337,7 +337,7 @@ public static unsafe void CommandEncoderSetLabel(this WebGPU thisApi, CommandEnc } /// To be documented. - [NativeName("Src", "Line 1619, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1662, Column 18 in webgpu.h")] public static unsafe void ComputePassEncoderInsertDebugMarker(this WebGPU thisApi, ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan markerLabel) { // SpanOverloader @@ -345,7 +345,7 @@ public static unsafe void ComputePassEncoderInsertDebugMarker(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1621, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1664, Column 18 in webgpu.h")] public static unsafe void ComputePassEncoderPushDebugGroup(this WebGPU thisApi, ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan groupLabel) { // SpanOverloader @@ -353,7 +353,7 @@ public static unsafe void ComputePassEncoderPushDebugGroup(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1622, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] public static unsafe void ComputePassEncoderSetBindGroup(this WebGPU thisApi, ComputePassEncoder* computePassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dynamicOffsets) { // SpanOverloader @@ -361,7 +361,7 @@ public static unsafe void ComputePassEncoderSetBindGroup(this WebGPU thisApi, Co } /// To be documented. - [NativeName("Src", "Line 1623, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1666, Column 18 in webgpu.h")] public static unsafe void ComputePassEncoderSetLabel(this WebGPU thisApi, ComputePassEncoder* computePassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -369,7 +369,7 @@ public static unsafe void ComputePassEncoderSetLabel(this WebGPU thisApi, Comput } /// To be documented. - [NativeName("Src", "Line 1630, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1673, Column 18 in webgpu.h")] public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePipeline* computePipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -377,7 +377,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1635, Column 27 in webgpu.h")] + [NativeName("Src", "Line 1678, Column 27 in webgpu.h")] public static unsafe BindGroup* DeviceCreateBindGroup(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -385,7 +385,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1636, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1679, Column 33 in webgpu.h")] public static unsafe BindGroupLayout* DeviceCreateBindGroupLayout(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -393,7 +393,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1637, Column 24 in webgpu.h")] + [NativeName("Src", "Line 1680, Column 24 in webgpu.h")] public static unsafe Buffer* DeviceCreateBuffer(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -401,7 +401,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1638, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1681, Column 32 in webgpu.h")] public static unsafe CommandEncoder* DeviceCreateCommandEncoder(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -409,7 +409,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1639, Column 33 in webgpu.h")] + [NativeName("Src", "Line 1682, Column 33 in webgpu.h")] public static unsafe ComputePipeline* DeviceCreateComputePipeline(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -417,7 +417,7 @@ public static unsafe void ComputePipelineSetLabel(this WebGPU thisApi, ComputePi } /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ComputePipelineDescriptor* descriptor, PfnCreateComputePipelineAsyncCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -425,7 +425,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnCreateComputePipelineAsyncCallback callback, void* userdata) { // SpanOverloader @@ -433,7 +433,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1640, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnCreateComputePipelineAsyncCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -441,7 +441,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1641, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1684, Column 32 in webgpu.h")] public static unsafe PipelineLayout* DeviceCreatePipelineLayout(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -449,7 +449,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1642, Column 26 in webgpu.h")] + [NativeName("Src", "Line 1685, Column 26 in webgpu.h")] public static unsafe QuerySet* DeviceCreateQuerySet(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -457,7 +457,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1643, Column 37 in webgpu.h")] + [NativeName("Src", "Line 1686, Column 37 in webgpu.h")] public static unsafe RenderBundleEncoder* DeviceCreateRenderBundleEncoder(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -465,7 +465,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1644, Column 32 in webgpu.h")] + [NativeName("Src", "Line 1687, Column 32 in webgpu.h")] public static unsafe RenderPipeline* DeviceCreateRenderPipeline(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -473,7 +473,7 @@ public static unsafe void DeviceCreateComputePipelineAsync(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RenderPipelineDescriptor* descriptor, PfnCreateRenderPipelineAsyncCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -481,7 +481,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnCreateRenderPipelineAsyncCallback callback, void* userdata) { // SpanOverloader @@ -489,7 +489,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisApi, D } /// To be documented. - [NativeName("Src", "Line 1645, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1688, Column 18 in webgpu.h")] public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor, PfnCreateRenderPipelineAsyncCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -497,7 +497,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1646, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1689, Column 25 in webgpu.h")] public static unsafe Sampler* DeviceCreateSampler(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -505,7 +505,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1647, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1690, Column 30 in webgpu.h")] public static unsafe ShaderModule* DeviceCreateShaderModule(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -513,15 +513,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1648, Column 27 in webgpu.h")] - public static unsafe SwapChain* DeviceCreateSwapChain(this WebGPU thisApi, Device* device, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) - { - // SpanOverloader - return thisApi.DeviceCreateSwapChain(device, surface, in descriptor.GetPinnableReference()); - } - - /// To be documented. - [NativeName("Src", "Line 1649, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1691, Column 25 in webgpu.h")] public static unsafe Texture* DeviceCreateTexture(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -529,7 +521,7 @@ public static unsafe void DeviceCreateRenderPipelineAsync(this WebGPU thisAp } /// To be documented. - [NativeName("Src", "Line 1651, Column 20 in webgpu.h")] + [NativeName("Src", "Line 1693, Column 20 in webgpu.h")] public static unsafe nuint DeviceEnumerateFeatures(this WebGPU thisApi, Device* device, Span features) { // SpanOverloader @@ -537,7 +529,7 @@ public static unsafe nuint DeviceEnumerateFeatures(this WebGPU thisApi, Device* } /// To be documented. - [NativeName("Src", "Line 1652, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1694, Column 22 in webgpu.h")] public static unsafe Silk.NET.Core.Bool32 DeviceGetLimits(this WebGPU thisApi, Device* device, Span limits) { // SpanOverloader @@ -545,7 +537,7 @@ public static unsafe Silk.NET.Core.Bool32 DeviceGetLimits(this WebGPU thisApi, D } /// To be documented. - [NativeName("Src", "Line 1655, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1697, Column 18 in webgpu.h")] public static unsafe void DevicePopErrorScope(this WebGPU thisApi, Device* device, PfnErrorCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -553,7 +545,7 @@ public static unsafe void DevicePopErrorScope(this WebGPU thisApi, Device* d } /// To be documented. - [NativeName("Src", "Line 1657, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1699, Column 18 in webgpu.h")] public static unsafe void DeviceSetLabel(this WebGPU thisApi, Device* device, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -561,7 +553,7 @@ public static unsafe void DeviceSetLabel(this WebGPU thisApi, Device* device, [F } /// To be documented. - [NativeName("Src", "Line 1658, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1700, Column 18 in webgpu.h")] public static unsafe void DeviceSetUncapturedErrorCallback(this WebGPU thisApi, Device* device, PfnErrorCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -569,7 +561,7 @@ public static unsafe void DeviceSetUncapturedErrorCallback(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1663, Column 25 in webgpu.h")] + [NativeName("Src", "Line 1705, Column 25 in webgpu.h")] public static unsafe Surface* InstanceCreateSurface(this WebGPU thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -577,7 +569,7 @@ public static unsafe void DeviceSetUncapturedErrorCallback(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] RequestAdapterOptions* options, PfnRequestAdapterCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -585,7 +577,7 @@ public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instan } /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options, PfnRequestAdapterCallback callback, void* userdata) { // SpanOverloader @@ -593,7 +585,7 @@ public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instance* } /// To be documented. - [NativeName("Src", "Line 1665, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instance* instance, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan options, PfnRequestAdapterCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -601,7 +593,7 @@ public static unsafe void InstanceRequestAdapter(this WebGPU thisApi, Instan } /// To be documented. - [NativeName("Src", "Line 1670, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1712, Column 18 in webgpu.h")] public static unsafe void PipelineLayoutSetLabel(this WebGPU thisApi, PipelineLayout* pipelineLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -609,7 +601,7 @@ public static unsafe void PipelineLayoutSetLabel(this WebGPU thisApi, PipelineLa } /// To be documented. - [NativeName("Src", "Line 1678, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1720, Column 18 in webgpu.h")] public static unsafe void QuerySetSetLabel(this WebGPU thisApi, QuerySet* querySet, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -617,7 +609,7 @@ public static unsafe void QuerySetSetLabel(this WebGPU thisApi, QuerySet* queryS } /// To be documented. - [NativeName("Src", "Line 1683, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1725, Column 18 in webgpu.h")] public static unsafe void QueueOnSubmittedWorkDone(this WebGPU thisApi, Queue* queue, PfnQueueWorkDoneCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -625,7 +617,7 @@ public static unsafe void QueueOnSubmittedWorkDone(this WebGPU thisApi, Queu } /// To be documented. - [NativeName("Src", "Line 1684, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] public static unsafe void QueueSetLabel(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -633,7 +625,7 @@ public static unsafe void QueueSetLabel(this WebGPU thisApi, Queue* queue, [Flow } /// To be documented. - [NativeName("Src", "Line 1686, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] public static unsafe void QueueWriteBuffer(this WebGPU thisApi, Queue* queue, Buffer* buffer, ulong bufferOffset, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint size) where T0 : unmanaged { // SpanOverloader @@ -641,7 +633,7 @@ public static unsafe void QueueWriteBuffer(this WebGPU thisApi, Queue* queue } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) { // SpanOverloader @@ -649,7 +641,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) { // SpanOverloader @@ -657,7 +649,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) { // SpanOverloader @@ -665,7 +657,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged { // SpanOverloader @@ -673,7 +665,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) where T0 : unmanaged { // SpanOverloader @@ -681,7 +673,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged { // SpanOverloader @@ -689,7 +681,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ImageCopyTexture* destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) where T0 : unmanaged { // SpanOverloader @@ -697,7 +689,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) { // SpanOverloader @@ -705,7 +697,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) { // SpanOverloader @@ -713,7 +705,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) { // SpanOverloader @@ -721,7 +713,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] void* data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) { // SpanOverloader @@ -729,7 +721,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [ } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged { // SpanOverloader @@ -737,7 +729,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] TextureDataLayout* dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) where T0 : unmanaged { // SpanOverloader @@ -745,7 +737,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] Extent3D* writeSize) where T0 : unmanaged { // SpanOverloader @@ -753,7 +745,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1687, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1729, Column 18 in webgpu.h")] public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queue, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan destination, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan data, nuint dataSize, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dataLayout, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan writeSize) where T0 : unmanaged { // SpanOverloader @@ -761,7 +753,7 @@ public static unsafe void QueueWriteTexture(this WebGPU thisApi, Queue* queu } /// To be documented. - [NativeName("Src", "Line 1692, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1734, Column 18 in webgpu.h")] public static unsafe void RenderBundleSetLabel(this WebGPU thisApi, RenderBundle* renderBundle, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -769,7 +761,7 @@ public static unsafe void RenderBundleSetLabel(this WebGPU thisApi, RenderBundle } /// To be documented. - [NativeName("Src", "Line 1701, Column 30 in webgpu.h")] + [NativeName("Src", "Line 1743, Column 30 in webgpu.h")] public static unsafe RenderBundle* RenderBundleEncoderFinish(this WebGPU thisApi, RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -777,7 +769,7 @@ public static unsafe void RenderBundleSetLabel(this WebGPU thisApi, RenderBundle } /// To be documented. - [NativeName("Src", "Line 1702, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1744, Column 18 in webgpu.h")] public static unsafe void RenderBundleEncoderInsertDebugMarker(this WebGPU thisApi, RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan markerLabel) { // SpanOverloader @@ -785,7 +777,7 @@ public static unsafe void RenderBundleEncoderInsertDebugMarker(this WebGPU thisA } /// To be documented. - [NativeName("Src", "Line 1704, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] public static unsafe void RenderBundleEncoderPushDebugGroup(this WebGPU thisApi, RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan groupLabel) { // SpanOverloader @@ -793,7 +785,7 @@ public static unsafe void RenderBundleEncoderPushDebugGroup(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1705, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1747, Column 18 in webgpu.h")] public static unsafe void RenderBundleEncoderSetBindGroup(this WebGPU thisApi, RenderBundleEncoder* renderBundleEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dynamicOffsets) { // SpanOverloader @@ -801,7 +793,7 @@ public static unsafe void RenderBundleEncoderSetBindGroup(this WebGPU thisApi, R } /// To be documented. - [NativeName("Src", "Line 1707, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1749, Column 18 in webgpu.h")] public static unsafe void RenderBundleEncoderSetLabel(this WebGPU thisApi, RenderBundleEncoder* renderBundleEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -809,7 +801,7 @@ public static unsafe void RenderBundleEncoderSetLabel(this WebGPU thisApi, Rende } /// To be documented. - [NativeName("Src", "Line 1724, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1766, Column 18 in webgpu.h")] public static unsafe void RenderPassEncoderInsertDebugMarker(this WebGPU thisApi, RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan markerLabel) { // SpanOverloader @@ -817,7 +809,7 @@ public static unsafe void RenderPassEncoderInsertDebugMarker(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1726, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1768, Column 18 in webgpu.h")] public static unsafe void RenderPassEncoderPushDebugGroup(this WebGPU thisApi, RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan groupLabel) { // SpanOverloader @@ -825,7 +817,7 @@ public static unsafe void RenderPassEncoderPushDebugGroup(this WebGPU thisApi, R } /// To be documented. - [NativeName("Src", "Line 1727, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1769, Column 18 in webgpu.h")] public static unsafe void RenderPassEncoderSetBindGroup(this WebGPU thisApi, RenderPassEncoder* renderPassEncoder, uint groupIndex, BindGroup* group, nuint dynamicOffsetCount, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan dynamicOffsets) { // SpanOverloader @@ -833,7 +825,7 @@ public static unsafe void RenderPassEncoderSetBindGroup(this WebGPU thisApi, Ren } /// To be documented. - [NativeName("Src", "Line 1728, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1770, Column 18 in webgpu.h")] public static unsafe void RenderPassEncoderSetBlendConstant(this WebGPU thisApi, RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan color) { // SpanOverloader @@ -841,7 +833,7 @@ public static unsafe void RenderPassEncoderSetBlendConstant(this WebGPU thisApi, } /// To be documented. - [NativeName("Src", "Line 1730, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1772, Column 18 in webgpu.h")] public static unsafe void RenderPassEncoderSetLabel(this WebGPU thisApi, RenderPassEncoder* renderPassEncoder, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -849,7 +841,7 @@ public static unsafe void RenderPassEncoderSetLabel(this WebGPU thisApi, RenderP } /// To be documented. - [NativeName("Src", "Line 1741, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] public static unsafe void RenderPipelineSetLabel(this WebGPU thisApi, RenderPipeline* renderPipeline, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -857,7 +849,7 @@ public static unsafe void RenderPipelineSetLabel(this WebGPU thisApi, RenderPipe } /// To be documented. - [NativeName("Src", "Line 1746, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1788, Column 18 in webgpu.h")] public static unsafe void SamplerSetLabel(this WebGPU thisApi, Sampler* sampler, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -865,7 +857,7 @@ public static unsafe void SamplerSetLabel(this WebGPU thisApi, Sampler* sampler, } /// To be documented. - [NativeName("Src", "Line 1751, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1793, Column 18 in webgpu.h")] public static unsafe void ShaderModuleGetCompilationInfo(this WebGPU thisApi, ShaderModule* shaderModule, PfnCompilationInfoCallback callback, Span userdata) where T0 : unmanaged { // SpanOverloader @@ -873,7 +865,7 @@ public static unsafe void ShaderModuleGetCompilationInfo(this WebGPU thisApi } /// To be documented. - [NativeName("Src", "Line 1752, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1794, Column 18 in webgpu.h")] public static unsafe void ShaderModuleSetLabel(this WebGPU thisApi, ShaderModule* shaderModule, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -881,7 +873,31 @@ public static unsafe void ShaderModuleSetLabel(this WebGPU thisApi, ShaderModule } /// To be documented. - [NativeName("Src", "Line 1768, Column 29 in webgpu.h")] + [NativeName("Src", "Line 1799, Column 18 in webgpu.h")] + public static unsafe void SurfaceConfigure(this WebGPU thisApi, Surface* surface, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan config) + { + // SpanOverloader + thisApi.SurfaceConfigure(surface, in config.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1800, Column 18 in webgpu.h")] + public static unsafe void SurfaceGetCapabilities(this WebGPU thisApi, Surface* surface, Adapter* adapter, Span capabilities) + { + // SpanOverloader + thisApi.SurfaceGetCapabilities(surface, adapter, ref capabilities.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1801, Column 18 in webgpu.h")] + public static unsafe void SurfaceGetCurrentTexture(this WebGPU thisApi, Surface* surface, Span surfaceTexture) + { + // SpanOverloader + thisApi.SurfaceGetCurrentTexture(surface, ref surfaceTexture.GetPinnableReference()); + } + + /// To be documented. + [NativeName("Src", "Line 1812, Column 29 in webgpu.h")] public static unsafe TextureView* TextureCreateView(this WebGPU thisApi, Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan descriptor) { // SpanOverloader @@ -889,7 +905,7 @@ public static unsafe void ShaderModuleSetLabel(this WebGPU thisApi, ShaderModule } /// To be documented. - [NativeName("Src", "Line 1778, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1822, Column 18 in webgpu.h")] public static unsafe void TextureSetLabel(this WebGPU thisApi, Texture* texture, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader @@ -897,7 +913,7 @@ public static unsafe void TextureSetLabel(this WebGPU thisApi, Texture* texture, } /// To be documented. - [NativeName("Src", "Line 1783, Column 18 in webgpu.h")] + [NativeName("Src", "Line 1827, Column 18 in webgpu.h")] public static unsafe void TextureViewSetLabel(this WebGPU thisApi, TextureView* textureView, [Flow(Silk.NET.Core.Native.FlowDirection.In)] ReadOnlySpan label) { // SpanOverloader