From 4e50210b9a65538d556bca9e3f37a0ea334e5ab1 Mon Sep 17 00:00:00 2001 From: katalash <44953920+katalash@users.noreply.github.com> Date: Tue, 17 Oct 2023 17:52:40 -0700 Subject: [PATCH] Cleanup some unused stuff (#730) cleanup --- Veldrid.MetalBindings/Blocks.cs | 20 - Veldrid.MetalBindings/Bool8.cs | 21 - Veldrid.MetalBindings/CALayer.cs | 16 - Veldrid.MetalBindings/CAMetalDrawable.cs | 14 - Veldrid.MetalBindings/CAMetalLayer.cs | 72 - Veldrid.MetalBindings/CGFloat.cs | 27 - Veldrid.MetalBindings/CGPoint.cs | 16 - Veldrid.MetalBindings/CGRect.cs | 16 - Veldrid.MetalBindings/CGSize.cs | 19 - Veldrid.MetalBindings/Dispatch.cs | 43 - Veldrid.MetalBindings/FixedUtf8String.cs | 54 - Veldrid.MetalBindings/MTLBlendFactor.cs | 26 - Veldrid.MetalBindings/MTLBlendOperation.cs | 11 - .../MTLBlitCommandEncoder.cs | 109 - Veldrid.MetalBindings/MTLBuffer.cs | 32 - Veldrid.MetalBindings/MTLCPUCacheMode.cs | 8 - Veldrid.MetalBindings/MTLClearColor.cs | 21 - Veldrid.MetalBindings/MTLCommandBuffer.cs | 46 - .../MTLCommandBufferHandler.cs | 8 - .../MTLCommandBufferStatus.cs | 12 - Veldrid.MetalBindings/MTLCommandQueue.cs | 19 - Veldrid.MetalBindings/MTLCompareFunction.cs | 14 - Veldrid.MetalBindings/MTLCompileOptions.cs | 37 - .../MTLComputeCommandEncoder.cs | 60 - .../MTLComputePipelineDescriptor.cs | 23 - .../MTLComputePipelineState.cs | 11 - Veldrid.MetalBindings/MTLCullMode.cs | 9 - Veldrid.MetalBindings/MTLDataType.cs | 82 - Veldrid.MetalBindings/MTLDepthClipMode.cs | 8 - .../MTLDepthStencilDescriptor.cs | 44 - Veldrid.MetalBindings/MTLDepthStencilState.cs | 9 - Veldrid.MetalBindings/MTLDevice.cs | 150 - Veldrid.MetalBindings/MTLFeatureSet.cs | 27 - Veldrid.MetalBindings/MTLFunction.cs | 15 - .../MTLFunctionConstantValues.cs | 22 - Veldrid.MetalBindings/MTLIndexType.cs | 8 - Veldrid.MetalBindings/MTLLanguageVersion.cs | 9 - Veldrid.MetalBindings/MTLLibrary.cs | 43 - Veldrid.MetalBindings/MTLLoadAction.cs | 9 - Veldrid.MetalBindings/MTLMutability.cs | 9 - Veldrid.MetalBindings/MTLOrigin.cs | 18 - .../MTLPipelineBufferDescriptor.cs | 21 - .../MTLPipelineBufferDescriptorArray.cs | 23 - Veldrid.MetalBindings/MTLPixelFormat.cs | 199 - Veldrid.MetalBindings/MTLPrimitiveType.cs | 11 - Veldrid.MetalBindings/MTLRegion.cs | 14 - .../MTLRenderCommandEncoder.cs | 169 - .../MTLRenderPassColorAttachmentDescriptor.cs | 66 - ...enderPassColorAttachmentDescriptorArray.cs | 25 - .../MTLRenderPassDepthAttachmentDescriptor.cs | 51 - .../MTLRenderPassDescriptor.cs | 27 - ...TLRenderPassStencilAttachmentDescriptor.cs | 43 - ...RenderPipelineColorAttachmentDescriptor.cs | 77 - ...rPipelineColorAttachmentDescriptorArray.cs | 25 - .../MTLRenderPipelineDescriptor.cs | 77 - .../MTLRenderPipelineState.cs | 10 - Veldrid.MetalBindings/MTLResourceOptions.cs | 15 - .../MTLSamplerAddressMode.cs | 12 - .../MTLSamplerBorderColor.cs | 9 - Veldrid.MetalBindings/MTLSamplerDescriptor.cs | 109 - .../MTLSamplerMinMagFilter.cs | 8 - Veldrid.MetalBindings/MTLSamplerMipFilter.cs | 9 - Veldrid.MetalBindings/MTLSamplerState.cs | 10 - Veldrid.MetalBindings/MTLScissorRect.cs | 20 - Veldrid.MetalBindings/MTLSize.cs | 20 - Veldrid.MetalBindings/MTLStencilDescriptor.cs | 59 - Veldrid.MetalBindings/MTLStencilOperation.cs | 14 - Veldrid.MetalBindings/MTLStorageMode.cs | 10 - Veldrid.MetalBindings/MTLStoreAction.cs | 12 - Veldrid.MetalBindings/MTLTexture.cs | 46 - Veldrid.MetalBindings/MTLTextureDescriptor.cs | 107 - Veldrid.MetalBindings/MTLTextureType.cs | 14 - Veldrid.MetalBindings/MTLTextureUsage.cs | 14 - Veldrid.MetalBindings/MTLTriangleFillmode.cs | 8 - Veldrid.MetalBindings/MTLUtil.cs | 24 - .../MTLVertexAttributeDescriptor.cs | 37 - .../MTLVertexAttributeDescriptorArray.cs | 20 - .../MTLVertexBufferLayoutDescriptor.cs | 37 - .../MTLVertexBufferLayoutDescriptorArray.cs | 20 - Veldrid.MetalBindings/MTLVertexDescriptor.cs | 19 - Veldrid.MetalBindings/MTLVertexFormat.cs | 49 - .../MTLVertexStepFunction.cs | 11 - Veldrid.MetalBindings/MTLViewport.cs | 22 - Veldrid.MetalBindings/MTLWinding.cs | 8 - Veldrid.MetalBindings/NSArray.cs | 14 - Veldrid.MetalBindings/NSAutoreleasePool.cs | 21 - Veldrid.MetalBindings/NSDictionary.cs | 11 - Veldrid.MetalBindings/NSError.cs | 12 - Veldrid.MetalBindings/NSRange.cs | 22 - Veldrid.MetalBindings/NSString.cs | 34 - Veldrid.MetalBindings/NSView.cs | 28 - Veldrid.MetalBindings/NSWindow.cs | 16 - Veldrid.MetalBindings/ObjCClass.cs | 56 - Veldrid.MetalBindings/ObjectiveCMethod.cs | 15 - Veldrid.MetalBindings/ObjectiveCRuntime.cs | 282 - Veldrid.MetalBindings/Selector.cs | 38 - Veldrid.MetalBindings/Selectors.cs | 27 - Veldrid.MetalBindings/UIScreen.cs | 19 - Veldrid.MetalBindings/UIView.cs | 15 - .../Veldrid.MetalBindings.csproj | 12 - Veldrid.OpenGLBindings/Enums.cs | 2055 --- Veldrid.OpenGLBindings/GLBoolean.cs | 68 - Veldrid.OpenGLBindings/OpenGLNative.cs | 1883 --- .../Veldrid.OpenGLBindings.csproj | 13 - vk/.editorconfig | 40 - vk/.gitignore | 253 - vk/Directory.Build.props | 9 - vk/LICENSE.md | 13 - vk/NuGet.Config | 9 - vk/README.md | 46 - vk/build-package.cmd | 4 - vk/build-package.sh | 3 - vk/dir.props | 9 - vk/src/vk.generator/CodeGenerator.cs | 252 - vk/src/vk.generator/CommandDefinition.cs | 71 - vk/src/vk.generator/CommandHelpers.cs | 27 - vk/src/vk.generator/Configuration.cs | 10 - vk/src/vk.generator/ConstantDefinition.cs | 55 - vk/src/vk.generator/ConstantHelpers.cs | 62 - vk/src/vk.generator/EnumDefinition.cs | 101 - vk/src/vk.generator/EnumHelpers.cs | 204 - vk/src/vk.generator/ExtensionDefinition.cs | 126 - vk/src/vk.generator/HandleDefinition.cs | 28 - vk/src/vk.generator/HandleHelpers.cs | 39 - vk/src/vk.generator/MemberSpec.cs | 76 - vk/src/vk.generator/ParameterDefinition.cs | 76 - vk/src/vk.generator/Program.cs | 69 - vk/src/vk.generator/Require.cs | 32 - vk/src/vk.generator/StructureDefinition.cs | 31 - vk/src/vk.generator/StructureHelpers.cs | 111 - vk/src/vk.generator/TypeNameMappings.cs | 70 - vk/src/vk.generator/TypeSpec.cs | 51 - vk/src/vk.generator/TypedefDefinition.cs | 31 - vk/src/vk.generator/UnionHelpers.cs | 42 - vk/src/vk.generator/Util.cs | 55 - vk/src/vk.generator/VariantGenerator.cs | 122 - vk/src/vk.generator/VulkanSpecification.cs | 126 - vk/src/vk.generator/XElementExtensions.cs | 45 - vk/src/vk.generator/vk.generator.csproj | 17 - vk/src/vk.generator/vk.xml | 7634 ---------- vk/src/vk.rewrite/Program.cs | 205 - vk/src/vk.rewrite/rewritten.dll | 0 vk/src/vk.rewrite/vk.rewrite.csproj | 14 - vk/src/vk.sln | 252 - vk/src/vk/BindingsHelpers.cs | 34 - vk/src/vk/CalliRewriteAttribute.cs | 8 - vk/src/vk/Commands.cs | 169 - vk/src/vk/Constants.cs | 9 - vk/src/vk/Delegates.cs | 45 - vk/src/vk/ExternalTypes.cs | 83 - vk/src/vk/FunctionPointer.cs | 15 - vk/src/vk/Generated/Commands.gen.cs | 11794 ---------------- vk/src/vk/Generated/Constants.gen.cs | 54 - vk/src/vk/Generated/Enums.gen.cs | 3496 ----- vk/src/vk/Generated/Handles.gen.cs | 635 - vk/src/vk/Generated/Structures.gen.cs | 4206 ------ vk/src/vk/Generated/Unions.gen.cs | 44 - vk/src/vk/Kernel32.cs | 17 - vk/src/vk/Libdl.cs | 22 - vk/src/vk/VkBool32.cs | 68 - vk/src/vk/VkClearColorValue.cs | 33 - vk/src/vk/VkClearDepthStencilValue.cs | 16 - vk/src/vk/VkExtent2D.cs | 107 - vk/src/vk/VkImageMemoryBarrier.cs | 27 - vk/src/vk/VkImageSubresourceRange.cs | 17 - vk/src/vk/VkOffset2D.cs | 91 - vk/src/vk/VkRect2D.cs | 143 - vk/src/vk/vk.csproj | 31 - 168 files changed, 39023 deletions(-) delete mode 100644 Veldrid.MetalBindings/Blocks.cs delete mode 100644 Veldrid.MetalBindings/Bool8.cs delete mode 100644 Veldrid.MetalBindings/CALayer.cs delete mode 100644 Veldrid.MetalBindings/CAMetalDrawable.cs delete mode 100644 Veldrid.MetalBindings/CAMetalLayer.cs delete mode 100644 Veldrid.MetalBindings/CGFloat.cs delete mode 100644 Veldrid.MetalBindings/CGPoint.cs delete mode 100644 Veldrid.MetalBindings/CGRect.cs delete mode 100644 Veldrid.MetalBindings/CGSize.cs delete mode 100644 Veldrid.MetalBindings/Dispatch.cs delete mode 100644 Veldrid.MetalBindings/FixedUtf8String.cs delete mode 100644 Veldrid.MetalBindings/MTLBlendFactor.cs delete mode 100644 Veldrid.MetalBindings/MTLBlendOperation.cs delete mode 100644 Veldrid.MetalBindings/MTLBlitCommandEncoder.cs delete mode 100644 Veldrid.MetalBindings/MTLBuffer.cs delete mode 100644 Veldrid.MetalBindings/MTLCPUCacheMode.cs delete mode 100644 Veldrid.MetalBindings/MTLClearColor.cs delete mode 100644 Veldrid.MetalBindings/MTLCommandBuffer.cs delete mode 100644 Veldrid.MetalBindings/MTLCommandBufferHandler.cs delete mode 100644 Veldrid.MetalBindings/MTLCommandBufferStatus.cs delete mode 100644 Veldrid.MetalBindings/MTLCommandQueue.cs delete mode 100644 Veldrid.MetalBindings/MTLCompareFunction.cs delete mode 100644 Veldrid.MetalBindings/MTLCompileOptions.cs delete mode 100644 Veldrid.MetalBindings/MTLComputeCommandEncoder.cs delete mode 100644 Veldrid.MetalBindings/MTLComputePipelineDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLComputePipelineState.cs delete mode 100644 Veldrid.MetalBindings/MTLCullMode.cs delete mode 100644 Veldrid.MetalBindings/MTLDataType.cs delete mode 100644 Veldrid.MetalBindings/MTLDepthClipMode.cs delete mode 100644 Veldrid.MetalBindings/MTLDepthStencilDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLDepthStencilState.cs delete mode 100644 Veldrid.MetalBindings/MTLDevice.cs delete mode 100644 Veldrid.MetalBindings/MTLFeatureSet.cs delete mode 100644 Veldrid.MetalBindings/MTLFunction.cs delete mode 100644 Veldrid.MetalBindings/MTLFunctionConstantValues.cs delete mode 100644 Veldrid.MetalBindings/MTLIndexType.cs delete mode 100644 Veldrid.MetalBindings/MTLLanguageVersion.cs delete mode 100644 Veldrid.MetalBindings/MTLLibrary.cs delete mode 100644 Veldrid.MetalBindings/MTLLoadAction.cs delete mode 100644 Veldrid.MetalBindings/MTLMutability.cs delete mode 100644 Veldrid.MetalBindings/MTLOrigin.cs delete mode 100644 Veldrid.MetalBindings/MTLPipelineBufferDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLPipelineBufferDescriptorArray.cs delete mode 100644 Veldrid.MetalBindings/MTLPixelFormat.cs delete mode 100644 Veldrid.MetalBindings/MTLPrimitiveType.cs delete mode 100644 Veldrid.MetalBindings/MTLRegion.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderCommandEncoder.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptorArray.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPassDepthAttachmentDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPassDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPassStencilAttachmentDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptorArray.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPipelineDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLRenderPipelineState.cs delete mode 100644 Veldrid.MetalBindings/MTLResourceOptions.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerAddressMode.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerBorderColor.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerMinMagFilter.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerMipFilter.cs delete mode 100644 Veldrid.MetalBindings/MTLSamplerState.cs delete mode 100644 Veldrid.MetalBindings/MTLScissorRect.cs delete mode 100644 Veldrid.MetalBindings/MTLSize.cs delete mode 100644 Veldrid.MetalBindings/MTLStencilDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLStencilOperation.cs delete mode 100644 Veldrid.MetalBindings/MTLStorageMode.cs delete mode 100644 Veldrid.MetalBindings/MTLStoreAction.cs delete mode 100644 Veldrid.MetalBindings/MTLTexture.cs delete mode 100644 Veldrid.MetalBindings/MTLTextureDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLTextureType.cs delete mode 100644 Veldrid.MetalBindings/MTLTextureUsage.cs delete mode 100644 Veldrid.MetalBindings/MTLTriangleFillmode.cs delete mode 100644 Veldrid.MetalBindings/MTLUtil.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexAttributeDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexAttributeDescriptorArray.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptorArray.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexDescriptor.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexFormat.cs delete mode 100644 Veldrid.MetalBindings/MTLVertexStepFunction.cs delete mode 100644 Veldrid.MetalBindings/MTLViewport.cs delete mode 100644 Veldrid.MetalBindings/MTLWinding.cs delete mode 100644 Veldrid.MetalBindings/NSArray.cs delete mode 100644 Veldrid.MetalBindings/NSAutoreleasePool.cs delete mode 100644 Veldrid.MetalBindings/NSDictionary.cs delete mode 100644 Veldrid.MetalBindings/NSError.cs delete mode 100644 Veldrid.MetalBindings/NSRange.cs delete mode 100644 Veldrid.MetalBindings/NSString.cs delete mode 100644 Veldrid.MetalBindings/NSView.cs delete mode 100644 Veldrid.MetalBindings/NSWindow.cs delete mode 100644 Veldrid.MetalBindings/ObjCClass.cs delete mode 100644 Veldrid.MetalBindings/ObjectiveCMethod.cs delete mode 100644 Veldrid.MetalBindings/ObjectiveCRuntime.cs delete mode 100644 Veldrid.MetalBindings/Selector.cs delete mode 100644 Veldrid.MetalBindings/Selectors.cs delete mode 100644 Veldrid.MetalBindings/UIScreen.cs delete mode 100644 Veldrid.MetalBindings/UIView.cs delete mode 100644 Veldrid.MetalBindings/Veldrid.MetalBindings.csproj delete mode 100644 Veldrid.OpenGLBindings/Enums.cs delete mode 100644 Veldrid.OpenGLBindings/GLBoolean.cs delete mode 100644 Veldrid.OpenGLBindings/OpenGLNative.cs delete mode 100644 Veldrid.OpenGLBindings/Veldrid.OpenGLBindings.csproj delete mode 100644 vk/.editorconfig delete mode 100644 vk/.gitignore delete mode 100644 vk/Directory.Build.props delete mode 100644 vk/LICENSE.md delete mode 100644 vk/NuGet.Config delete mode 100644 vk/README.md delete mode 100644 vk/build-package.cmd delete mode 100644 vk/build-package.sh delete mode 100644 vk/dir.props delete mode 100644 vk/src/vk.generator/CodeGenerator.cs delete mode 100644 vk/src/vk.generator/CommandDefinition.cs delete mode 100644 vk/src/vk.generator/CommandHelpers.cs delete mode 100644 vk/src/vk.generator/Configuration.cs delete mode 100644 vk/src/vk.generator/ConstantDefinition.cs delete mode 100644 vk/src/vk.generator/ConstantHelpers.cs delete mode 100644 vk/src/vk.generator/EnumDefinition.cs delete mode 100644 vk/src/vk.generator/EnumHelpers.cs delete mode 100644 vk/src/vk.generator/ExtensionDefinition.cs delete mode 100644 vk/src/vk.generator/HandleDefinition.cs delete mode 100644 vk/src/vk.generator/HandleHelpers.cs delete mode 100644 vk/src/vk.generator/MemberSpec.cs delete mode 100644 vk/src/vk.generator/ParameterDefinition.cs delete mode 100644 vk/src/vk.generator/Program.cs delete mode 100644 vk/src/vk.generator/Require.cs delete mode 100644 vk/src/vk.generator/StructureDefinition.cs delete mode 100644 vk/src/vk.generator/StructureHelpers.cs delete mode 100644 vk/src/vk.generator/TypeNameMappings.cs delete mode 100644 vk/src/vk.generator/TypeSpec.cs delete mode 100644 vk/src/vk.generator/TypedefDefinition.cs delete mode 100644 vk/src/vk.generator/UnionHelpers.cs delete mode 100644 vk/src/vk.generator/Util.cs delete mode 100644 vk/src/vk.generator/VariantGenerator.cs delete mode 100644 vk/src/vk.generator/VulkanSpecification.cs delete mode 100644 vk/src/vk.generator/XElementExtensions.cs delete mode 100644 vk/src/vk.generator/vk.generator.csproj delete mode 100644 vk/src/vk.generator/vk.xml delete mode 100644 vk/src/vk.rewrite/Program.cs delete mode 100644 vk/src/vk.rewrite/rewritten.dll delete mode 100644 vk/src/vk.rewrite/vk.rewrite.csproj delete mode 100644 vk/src/vk.sln delete mode 100644 vk/src/vk/BindingsHelpers.cs delete mode 100644 vk/src/vk/CalliRewriteAttribute.cs delete mode 100644 vk/src/vk/Commands.cs delete mode 100644 vk/src/vk/Constants.cs delete mode 100644 vk/src/vk/Delegates.cs delete mode 100644 vk/src/vk/ExternalTypes.cs delete mode 100644 vk/src/vk/FunctionPointer.cs delete mode 100644 vk/src/vk/Generated/Commands.gen.cs delete mode 100644 vk/src/vk/Generated/Constants.gen.cs delete mode 100644 vk/src/vk/Generated/Enums.gen.cs delete mode 100644 vk/src/vk/Generated/Handles.gen.cs delete mode 100644 vk/src/vk/Generated/Structures.gen.cs delete mode 100644 vk/src/vk/Generated/Unions.gen.cs delete mode 100644 vk/src/vk/Kernel32.cs delete mode 100644 vk/src/vk/Libdl.cs delete mode 100644 vk/src/vk/VkBool32.cs delete mode 100644 vk/src/vk/VkClearColorValue.cs delete mode 100644 vk/src/vk/VkClearDepthStencilValue.cs delete mode 100644 vk/src/vk/VkExtent2D.cs delete mode 100644 vk/src/vk/VkImageMemoryBarrier.cs delete mode 100644 vk/src/vk/VkImageSubresourceRange.cs delete mode 100644 vk/src/vk/VkOffset2D.cs delete mode 100644 vk/src/vk/VkRect2D.cs delete mode 100644 vk/src/vk/vk.csproj diff --git a/Veldrid.MetalBindings/Blocks.cs b/Veldrid.MetalBindings/Blocks.cs deleted file mode 100644 index 323858d8a..000000000 --- a/Veldrid.MetalBindings/Blocks.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public unsafe struct BlockLiteral - { - public IntPtr isa; - public int flags; - public int reserved; - public IntPtr invoke; - public BlockDescriptor* descriptor; - }; - - public unsafe struct BlockDescriptor - { - public ulong reserved; - public ulong Block_size; - } -} - diff --git a/Veldrid.MetalBindings/Bool8.cs b/Veldrid.MetalBindings/Bool8.cs deleted file mode 100644 index bfd2113a6..000000000 --- a/Veldrid.MetalBindings/Bool8.cs +++ /dev/null @@ -1,21 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public struct Bool8 - { - public readonly byte Value; - - public Bool8(byte value) - { - Value = value; - } - - public Bool8(bool value) - { - Value = value ? (byte)1 : (byte)0; - } - - public static implicit operator bool(Bool8 b) => b.Value != 0; - public static implicit operator byte(Bool8 b) => b.Value; - public static implicit operator Bool8(bool b) => new Bool8(b); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CALayer.cs b/Veldrid.MetalBindings/CALayer.cs deleted file mode 100644 index bf3eb15e1..000000000 --- a/Veldrid.MetalBindings/CALayer.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct CALayer - { - public readonly IntPtr NativePtr; - public CALayer(IntPtr ptr) => NativePtr = ptr; - - public void addSublayer(IntPtr layer) - { - objc_msgSend(NativePtr, "addSublayer:", layer); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CAMetalDrawable.cs b/Veldrid.MetalBindings/CAMetalDrawable.cs deleted file mode 100644 index 6cbdc374e..000000000 --- a/Veldrid.MetalBindings/CAMetalDrawable.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct CAMetalDrawable - { - public readonly IntPtr NativePtr; - public bool IsNull => NativePtr == IntPtr.Zero; - public MTLTexture texture => objc_msgSend(NativePtr, Selectors.texture); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CAMetalLayer.cs b/Veldrid.MetalBindings/CAMetalLayer.cs deleted file mode 100644 index c486a3c58..000000000 --- a/Veldrid.MetalBindings/CAMetalLayer.cs +++ /dev/null @@ -1,72 +0,0 @@ -using static Veldrid.MetalBindings.ObjectiveCRuntime; -using System; - -namespace Veldrid.MetalBindings -{ - public struct CAMetalLayer - { - public readonly IntPtr NativePtr; - - public CAMetalLayer(IntPtr ptr) => NativePtr = ptr; - - public static CAMetalLayer New() - { - var cls = new ObjCClass("CAMetalLayer"); - return cls.AllocInit(); - } - - public MTLDevice device - { - get => objc_msgSend(NativePtr, sel_device); - set => objc_msgSend(NativePtr, sel_setDevice, value); - } - - public MTLPixelFormat pixelFormat - { - get => (MTLPixelFormat)uint_objc_msgSend(NativePtr, sel_pixelFormat); - set => objc_msgSend(NativePtr, sel_setPixelFormat, (uint)value); - } - - public Bool8 framebufferOnly - { - get => bool8_objc_msgSend(NativePtr, sel_framebufferOnly); - set => objc_msgSend(NativePtr, sel_setFramebufferOnly, value); - } - - public CGSize drawableSize - { - get => CGSize_objc_msgSend(NativePtr, sel_drawableSize); - set => objc_msgSend(NativePtr, sel_setDrawableSize, value); - } - - public CGRect frame - { - get => CGRect_objc_msgSend(NativePtr, "frame"); - set => objc_msgSend(NativePtr, "setFrame:", value); - } - - public Bool8 opaque - { - get => bool8_objc_msgSend(NativePtr, "isOpaque"); - set => objc_msgSend(NativePtr, "setOpaque:", value); - } - - public CAMetalDrawable nextDrawable() => objc_msgSend(NativePtr, sel_nextDrawable); - - public Bool8 displaySyncEnabled - { - get => bool8_objc_msgSend(NativePtr, "displaySyncEnabled"); - set => objc_msgSend(NativePtr, "setDisplaySyncEnabled:", value); - } - - private static readonly Selector sel_device = "device"; - private static readonly Selector sel_setDevice = "setDevice:"; - private static readonly Selector sel_pixelFormat = "pixelFormat"; - private static readonly Selector sel_setPixelFormat = "setPixelFormat:"; - private static readonly Selector sel_framebufferOnly = "framebufferOnly"; - private static readonly Selector sel_setFramebufferOnly = "setFramebufferOnly:"; - private static readonly Selector sel_drawableSize = "drawableSize"; - private static readonly Selector sel_setDrawableSize = "setDrawableSize:"; - private static readonly Selector sel_nextDrawable = "nextDrawable"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CGFloat.cs b/Veldrid.MetalBindings/CGFloat.cs deleted file mode 100644 index e2f734983..000000000 --- a/Veldrid.MetalBindings/CGFloat.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Runtime.CompilerServices; - -namespace Veldrid.MetalBindings -{ - // TODO: Technically this should be "pointer-sized", - // but there are no non-64-bit platforms that anyone cares about. - public unsafe struct CGFloat - { - private readonly double _value; - - public CGFloat(double value) - { - _value = value; - } - - public double Value - { - get => _value; - } - - public static implicit operator CGFloat(double value) => new CGFloat(value); - public static implicit operator double(CGFloat cgf) => cgf.Value; - - public override string ToString() => _value.ToString(); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CGPoint.cs b/Veldrid.MetalBindings/CGPoint.cs deleted file mode 100644 index f4eafef31..000000000 --- a/Veldrid.MetalBindings/CGPoint.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public struct CGPoint - { - public CGFloat x; - public CGFloat y; - - public CGPoint(double x, double y) - { - this.x = x; - this.y = y; - } - - public override string ToString() => string.Format("({0},{1})", x, y); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CGRect.cs b/Veldrid.MetalBindings/CGRect.cs deleted file mode 100644 index 91bfa4762..000000000 --- a/Veldrid.MetalBindings/CGRect.cs +++ /dev/null @@ -1,16 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public struct CGRect - { - public CGPoint origin; - public CGSize size; - - public CGRect(CGPoint origin, CGSize size) - { - this.origin = origin; - this.size = size; - } - - public override string ToString() => string.Format("{0}, {1}", origin, size); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/CGSize.cs b/Veldrid.MetalBindings/CGSize.cs deleted file mode 100644 index 5e6fcd8e6..000000000 --- a/Veldrid.MetalBindings/CGSize.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Runtime.CompilerServices; - -namespace Veldrid.MetalBindings -{ - public struct CGSize - { - public double width; - public double height; - - public CGSize(double width, double height) - { - this.width = width; - this.height = height; - } - - public override string ToString() => string.Format("{0} x {1}", width, height); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/Dispatch.cs b/Veldrid.MetalBindings/Dispatch.cs deleted file mode 100644 index aba8a5dbb..000000000 --- a/Veldrid.MetalBindings/Dispatch.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - public static unsafe class Dispatch - { - private const string LibdispatchLocation = @"/usr/lib/system/libdispatch.dylib"; - - [DllImport(LibdispatchLocation)] - public static extern DispatchQueue dispatch_get_global_queue(QualityOfServiceLevel identifier, ulong flags); - - [DllImport(LibdispatchLocation)] - public static extern DispatchData dispatch_data_create( - void* buffer, - UIntPtr size, - DispatchQueue queue, - IntPtr destructorBlock); - - [DllImport(LibdispatchLocation)] - public static extern void dispatch_release(IntPtr nativePtr); - } - - public enum QualityOfServiceLevel : long - { - QOS_CLASS_USER_INTERACTIVE = 0x21, - QOS_CLASS_USER_INITIATED = 0x19, - QOS_CLASS_DEFAULT = 0x15, - QOS_CLASS_UTILITY = 0x11, - QOS_CLASS_BACKGROUND = 0x9, - QOS_CLASS_UNSPECIFIED = 0, - } - - public struct DispatchQueue - { - public readonly IntPtr NativePtr; - } - - public struct DispatchData - { - public readonly IntPtr NativePtr; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/FixedUtf8String.cs b/Veldrid.MetalBindings/FixedUtf8String.cs deleted file mode 100644 index 6f9ef5291..000000000 --- a/Veldrid.MetalBindings/FixedUtf8String.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using System.Text; - -namespace Veldrid.MetalBindings -{ - internal unsafe class FixedUtf8String : IDisposable - { - private GCHandle _handle; - private uint _numBytes; - - public byte* StringPtr => (byte*)_handle.AddrOfPinnedObject().ToPointer(); - - public FixedUtf8String(string s) - { - if (s == null) - { - throw new ArgumentNullException(nameof(s)); - } - - byte[] text = Encoding.UTF8.GetBytes(s); - _handle = GCHandle.Alloc(text, GCHandleType.Pinned); - _numBytes = (uint)text.Length; - } - - public void SetText(string s) - { - if (s == null) - { - throw new ArgumentNullException(nameof(s)); - } - - _handle.Free(); - byte[] text = Encoding.UTF8.GetBytes(s); - _handle = GCHandle.Alloc(text, GCHandleType.Pinned); - _numBytes = (uint)text.Length; - } - - private string GetString() - { - return Encoding.UTF8.GetString(StringPtr, (int)_numBytes); - } - - public void Dispose() - { - _handle.Free(); - } - - public static implicit operator byte* (FixedUtf8String utf8String) => utf8String.StringPtr; - public static implicit operator IntPtr(FixedUtf8String utf8String) => new IntPtr(utf8String.StringPtr); - public static implicit operator FixedUtf8String(string s) => new FixedUtf8String(s); - public static implicit operator string(FixedUtf8String utf8String) => utf8String.GetString(); - } -} diff --git a/Veldrid.MetalBindings/MTLBlendFactor.cs b/Veldrid.MetalBindings/MTLBlendFactor.cs deleted file mode 100644 index 726b39a24..000000000 --- a/Veldrid.MetalBindings/MTLBlendFactor.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLBlendFactor - { - Zero = 0, - One = 1, - SourceColor = 2, - OneMinusSourceColor = 3, - SourceAlpha = 4, - OneMinusSourceAlpha = 5, - DestinationColor = 6, - OneMinusDestinationColor = 7, - DestinationAlpha = 8, - OneMinusDestinationAlpha = 9, - SourceAlphaSaturated = 10, - BlendColor = 11, - OneMinusBlendColor = 12, - BlendAlpha = 13, - OneMinusBlendAlpha = 14, - Source1Color = 15, - OneMinusSource1Color = 16, - Source1Alpha = 17, - OneMinusSource1Alpha = 18, - - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLBlendOperation.cs b/Veldrid.MetalBindings/MTLBlendOperation.cs deleted file mode 100644 index bb80beea0..000000000 --- a/Veldrid.MetalBindings/MTLBlendOperation.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLBlendOperation - { - Add = 0, - Subtract = 1, - ReverseSubtract = 2, - Min = 3, - Max = 4, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLBlitCommandEncoder.cs b/Veldrid.MetalBindings/MTLBlitCommandEncoder.cs deleted file mode 100644 index 5bbfbf6df..000000000 --- a/Veldrid.MetalBindings/MTLBlitCommandEncoder.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLBlitCommandEncoder - { - public readonly IntPtr NativePtr; - public bool IsNull => NativePtr == IntPtr.Zero; - - public void copy( - MTLBuffer sourceBuffer, - UIntPtr sourceOffset, - MTLBuffer destinationBuffer, - UIntPtr destinationOffset, - UIntPtr size) - => objc_msgSend( - NativePtr, - sel_copyFromBuffer0, - sourceBuffer, sourceOffset, destinationBuffer, destinationOffset, size); - - public void copyFromBuffer( - MTLBuffer sourceBuffer, - UIntPtr sourceOffset, - UIntPtr sourceBytesPerRow, - UIntPtr sourceBytesPerImage, - MTLSize sourceSize, - MTLTexture destinationTexture, - UIntPtr destinationSlice, - UIntPtr destinationLevel, - MTLOrigin destinationOrigin) - => objc_msgSend( - NativePtr, - sel_copyFromBuffer1, - sourceBuffer.NativePtr, - sourceOffset, - sourceBytesPerRow, - sourceBytesPerImage, - sourceSize, - destinationTexture.NativePtr, - destinationSlice, - destinationLevel, - destinationOrigin); - - public void copyTextureToBuffer( - MTLTexture sourceTexture, - UIntPtr sourceSlice, - UIntPtr sourceLevel, - MTLOrigin sourceOrigin, - MTLSize sourceSize, - MTLBuffer destinationBuffer, - UIntPtr destinationOffset, - UIntPtr destinationBytesPerRow, - UIntPtr destinationBytesPerImage) - => objc_msgSend(NativePtr, sel_copyFromTexture0, - sourceTexture, - sourceSlice, - sourceLevel, - sourceOrigin, - sourceSize, - destinationBuffer, - destinationOffset, - destinationBytesPerRow, - destinationBytesPerImage); - - public void generateMipmapsForTexture(MTLTexture texture) - => objc_msgSend(NativePtr, sel_generateMipmapsForTexture, texture.NativePtr); - - public void synchronizeResource(IntPtr resource) => objc_msgSend(NativePtr, sel_synchronizeResource, resource); - - public void endEncoding() => objc_msgSend(NativePtr, sel_endEncoding); - - public void pushDebugGroup(NSString @string) => objc_msgSend(NativePtr, Selectors.pushDebugGroup, @string.NativePtr); - - public void popDebugGroup() => objc_msgSend(NativePtr, Selectors.popDebugGroup); - - public void insertDebugSignpost(NSString @string) - => objc_msgSend(NativePtr, Selectors.insertDebugSignpost, @string.NativePtr); - - public void copyFromTexture( - MTLTexture sourceTexture, - UIntPtr sourceSlice, - UIntPtr sourceLevel, - MTLOrigin sourceOrigin, - MTLSize sourceSize, - MTLTexture destinationTexture, - UIntPtr destinationSlice, - UIntPtr destinationLevel, - MTLOrigin destinationOrigin) - => objc_msgSend(NativePtr, sel_copyFromTexture1, - sourceTexture, - sourceSlice, - sourceLevel, - sourceOrigin, - sourceSize, - destinationTexture, - destinationSlice, - destinationLevel, - destinationOrigin); - - private static readonly Selector sel_copyFromBuffer0 = "copyFromBuffer:sourceOffset:toBuffer:destinationOffset:size:"; - private static readonly Selector sel_copyFromBuffer1 = "copyFromBuffer:sourceOffset:sourceBytesPerRow:sourceBytesPerImage:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:"; - private static readonly Selector sel_copyFromTexture0 = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toBuffer:destinationOffset:destinationBytesPerRow:destinationBytesPerImage:"; - private static readonly Selector sel_copyFromTexture1 = "copyFromTexture:sourceSlice:sourceLevel:sourceOrigin:sourceSize:toTexture:destinationSlice:destinationLevel:destinationOrigin:"; - private static readonly Selector sel_generateMipmapsForTexture = "generateMipmapsForTexture:"; - private static readonly Selector sel_synchronizeResource = "synchronizeResource:"; - private static readonly Selector sel_endEncoding = "endEncoding"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLBuffer.cs b/Veldrid.MetalBindings/MTLBuffer.cs deleted file mode 100644 index 7e5b2b4dd..000000000 --- a/Veldrid.MetalBindings/MTLBuffer.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public unsafe struct MTLBuffer - { - public readonly IntPtr NativePtr; - public MTLBuffer(IntPtr ptr) => NativePtr = ptr; - public bool IsNull => NativePtr == IntPtr.Zero; - - public void* contents() => ObjectiveCRuntime.IntPtr_objc_msgSend(NativePtr, sel_contents).ToPointer(); - - public UIntPtr length => ObjectiveCRuntime.UIntPtr_objc_msgSend(NativePtr, sel_length); - - public void didModifyRange(NSRange range) - => ObjectiveCRuntime.objc_msgSend(NativePtr, sel_didModifyRange, range); - - public void addDebugMarker(NSString marker, NSRange range) - => ObjectiveCRuntime.objc_msgSend(NativePtr, sel_addDebugMarker, marker.NativePtr, range); - - public void removeAllDebugMarkers() - => ObjectiveCRuntime.objc_msgSend(NativePtr, sel_removeAllDebugMarkers); - - private static readonly Selector sel_contents = "contents"; - private static readonly Selector sel_length = "length"; - private static readonly Selector sel_didModifyRange = "didModifyRange:"; - private static readonly Selector sel_addDebugMarker = "addDebugMarker:range:"; - private static readonly Selector sel_removeAllDebugMarkers = "removeAllDebugMarkers"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCPUCacheMode.cs b/Veldrid.MetalBindings/MTLCPUCacheMode.cs deleted file mode 100644 index d892db34d..000000000 --- a/Veldrid.MetalBindings/MTLCPUCacheMode.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLCPUCacheMode - { - DefaultCache = 0, - WriteCombined = 1, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLClearColor.cs b/Veldrid.MetalBindings/MTLClearColor.cs deleted file mode 100644 index d950bb046..000000000 --- a/Veldrid.MetalBindings/MTLClearColor.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLClearColor - { - public double red; - public double green; - public double blue; - public double alpha; - - public MTLClearColor(double r, double g, double b, double a) - { - red = r; - green = g; - blue = b; - alpha = a; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCommandBuffer.cs b/Veldrid.MetalBindings/MTLCommandBuffer.cs deleted file mode 100644 index b0995601a..000000000 --- a/Veldrid.MetalBindings/MTLCommandBuffer.cs +++ /dev/null @@ -1,46 +0,0 @@ -using static Veldrid.MetalBindings.ObjectiveCRuntime; -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLCommandBuffer - { - public readonly IntPtr NativePtr; - - public MTLRenderCommandEncoder renderCommandEncoderWithDescriptor(MTLRenderPassDescriptor desc) - { - return new MTLRenderCommandEncoder( - IntPtr_objc_msgSend(NativePtr, sel_renderCommandEncoderWithDescriptor, desc.NativePtr)); - } - - public void presentDrawable(IntPtr drawable) => objc_msgSend(NativePtr, sel_presentDrawable, drawable); - - public void commit() => objc_msgSend(NativePtr, sel_commit); - - public MTLBlitCommandEncoder blitCommandEncoder() - => objc_msgSend(NativePtr, sel_blitCommandEncoder); - - public MTLComputeCommandEncoder computeCommandEncoder() - => objc_msgSend(NativePtr, sel_computeCommandEncoder); - - public void waitUntilCompleted() => objc_msgSend(NativePtr, sel_waitUntilCompleted); - - public void addCompletedHandler(MTLCommandBufferHandler block) - => objc_msgSend(NativePtr, sel_addCompletedHandler, block); - public void addCompletedHandler(IntPtr block) - => objc_msgSend(NativePtr, sel_addCompletedHandler, block); - - public MTLCommandBufferStatus status => (MTLCommandBufferStatus)uint_objc_msgSend(NativePtr, sel_status); - - private static readonly Selector sel_renderCommandEncoderWithDescriptor = "renderCommandEncoderWithDescriptor:"; - private static readonly Selector sel_presentDrawable = "presentDrawable:"; - private static readonly Selector sel_commit = "commit"; - private static readonly Selector sel_blitCommandEncoder = "blitCommandEncoder"; - private static readonly Selector sel_computeCommandEncoder = "computeCommandEncoder"; - private static readonly Selector sel_waitUntilCompleted = "waitUntilCompleted"; - private static readonly Selector sel_addCompletedHandler = "addCompletedHandler:"; - private static readonly Selector sel_status = "status"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCommandBufferHandler.cs b/Veldrid.MetalBindings/MTLCommandBufferHandler.cs deleted file mode 100644 index e3a641faf..000000000 --- a/Veldrid.MetalBindings/MTLCommandBufferHandler.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [UnmanagedFunctionPointer(CallingConvention.Cdecl)] - public delegate void MTLCommandBufferHandler(IntPtr block, MTLCommandBuffer buffer); -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCommandBufferStatus.cs b/Veldrid.MetalBindings/MTLCommandBufferStatus.cs deleted file mode 100644 index de7eaba8c..000000000 --- a/Veldrid.MetalBindings/MTLCommandBufferStatus.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLCommandBufferStatus - { - NotEnqueued = 0, - Enqueued = 1, - Committed = 2, - Scheduled = 3, - Completed = 4, - Error = 5, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCommandQueue.cs b/Veldrid.MetalBindings/MTLCommandQueue.cs deleted file mode 100644 index 922a4a9c8..000000000 --- a/Veldrid.MetalBindings/MTLCommandQueue.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLCommandQueue - { - public readonly IntPtr NativePtr; - - public MTLCommandBuffer commandBuffer() => objc_msgSend(NativePtr, sel_commandBuffer); - - public void insertDebugCaptureBoundary() => objc_msgSend(NativePtr, sel_insertDebugCaptureBoundary); - - private static readonly Selector sel_commandBuffer = "commandBuffer"; - private static readonly Selector sel_insertDebugCaptureBoundary = "insertDebugCaptureBoundary"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCompareFunction.cs b/Veldrid.MetalBindings/MTLCompareFunction.cs deleted file mode 100644 index b628bddcf..000000000 --- a/Veldrid.MetalBindings/MTLCompareFunction.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLCompareFunction - { - Never = 0, - Less = 1, - Equal = 2, - LessEqual = 3, - Greater = 4, - NotEqual = 5, - GreaterEqual = 6, - Always = 7, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCompileOptions.cs b/Veldrid.MetalBindings/MTLCompileOptions.cs deleted file mode 100644 index d474102d2..000000000 --- a/Veldrid.MetalBindings/MTLCompileOptions.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLCompileOptions - { - public readonly IntPtr NativePtr; - - public static implicit operator IntPtr(MTLCompileOptions mco) => mco.NativePtr; - - public static MTLCompileOptions New() - { - return s_class.AllocInit(); - } - - public Bool8 fastMathEnabled - { - get => bool8_objc_msgSend(NativePtr, sel_fastMathEnabled); - set => objc_msgSend(NativePtr, sel_setFastMathEnabled, value); - } - - public MTLLanguageVersion languageVersion - { - get => (MTLLanguageVersion)uint_objc_msgSend(NativePtr, sel_languageVersion); - set => objc_msgSend(NativePtr, sel_setLanguageVersion, (uint)value); - } - - private static readonly ObjCClass s_class = new ObjCClass(nameof(MTLCompileOptions)); - private static readonly Selector sel_fastMathEnabled = "fastMathEnabled"; - private static readonly Selector sel_setFastMathEnabled = "setFastMathEnabled:"; - private static readonly Selector sel_languageVersion = "languageVersion"; - private static readonly Selector sel_setLanguageVersion = "setLanguageVersion:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLComputeCommandEncoder.cs b/Veldrid.MetalBindings/MTLComputeCommandEncoder.cs deleted file mode 100644 index 2da0712f6..000000000 --- a/Veldrid.MetalBindings/MTLComputeCommandEncoder.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLComputeCommandEncoder - { - public readonly IntPtr NativePtr; - public bool IsNull => NativePtr == IntPtr.Zero; - - private static readonly Selector sel_setComputePipelineState = "setComputePipelineState:"; - private static readonly Selector sel_setBuffer = "setBuffer:offset:atIndex:"; - private static readonly Selector sel_dispatchThreadgroups0 = "dispatchThreadgroups:threadsPerThreadgroup:"; - private static readonly Selector sel_dispatchThreadgroups1 = "dispatchThreadgroupsWithIndirectBuffer:indirectBufferOffset:threadsPerThreadgroup:"; - private static readonly Selector sel_endEncoding = "endEncoding"; - private static readonly Selector sel_setTexture = "setTexture:atIndex:"; - private static readonly Selector sel_setSamplerState = "setSamplerState:atIndex:"; - private static readonly Selector sel_setBytes = "setBytes:length:atIndex:"; - - public void setComputePipelineState(MTLComputePipelineState state) - => objc_msgSend(NativePtr, sel_setComputePipelineState, state.NativePtr); - - public void setBuffer(MTLBuffer buffer, UIntPtr offset, UIntPtr index) - => objc_msgSend(NativePtr, sel_setBuffer, - buffer.NativePtr, - offset, - index); - - public unsafe void setBytes(void* bytes, UIntPtr length, UIntPtr index) - => objc_msgSend(NativePtr, sel_setBytes, bytes, length, index); - - public void dispatchThreadGroups(MTLSize threadgroupsPerGrid, MTLSize threadsPerThreadgroup) - => objc_msgSend(NativePtr, sel_dispatchThreadgroups0, threadgroupsPerGrid, threadsPerThreadgroup); - - public void dispatchThreadgroupsWithIndirectBuffer( - MTLBuffer indirectBuffer, - UIntPtr indirectBufferOffset, - MTLSize threadsPerThreadgroup) - => objc_msgSend(NativePtr, sel_dispatchThreadgroups1, - indirectBuffer.NativePtr, - indirectBufferOffset, - threadsPerThreadgroup); - - public void endEncoding() => objc_msgSend(NativePtr, sel_endEncoding); - - public void setTexture(MTLTexture texture, UIntPtr index) - => objc_msgSend(NativePtr, sel_setTexture, texture.NativePtr, index); - - public void setSamplerState(MTLSamplerState sampler, UIntPtr index) - => objc_msgSend(NativePtr, sel_setSamplerState, sampler.NativePtr, index); - - public void pushDebugGroup(NSString @string) - => objc_msgSend(NativePtr, Selectors.pushDebugGroup, @string.NativePtr); - - public void popDebugGroup() => objc_msgSend(NativePtr, Selectors.popDebugGroup); - - public void insertDebugSignpost(NSString @string) - => objc_msgSend(NativePtr, Selectors.insertDebugSignpost, @string.NativePtr); - } -} diff --git a/Veldrid.MetalBindings/MTLComputePipelineDescriptor.cs b/Veldrid.MetalBindings/MTLComputePipelineDescriptor.cs deleted file mode 100644 index 97d5fe9de..000000000 --- a/Veldrid.MetalBindings/MTLComputePipelineDescriptor.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLComputePipelineDescriptor - { - public readonly IntPtr NativePtr; - - public MTLFunction computeFunction - { - get => objc_msgSend(NativePtr, sel_computeFunction); - set => objc_msgSend(NativePtr, sel_setComputeFunction, value.NativePtr); - } - - public MTLPipelineBufferDescriptorArray buffers - => objc_msgSend(NativePtr, sel_buffers); - - private static readonly Selector sel_computeFunction = "computeFunction"; - private static readonly Selector sel_setComputeFunction = "setComputeFunction:"; - private static readonly Selector sel_buffers = "buffers"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLComputePipelineState.cs b/Veldrid.MetalBindings/MTLComputePipelineState.cs deleted file mode 100644 index cd68830f2..000000000 --- a/Veldrid.MetalBindings/MTLComputePipelineState.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLComputePipelineState - { - public readonly IntPtr NativePtr; - public MTLComputePipelineState(IntPtr ptr) => NativePtr = ptr; - public bool IsNull => NativePtr == IntPtr.Zero; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLCullMode.cs b/Veldrid.MetalBindings/MTLCullMode.cs deleted file mode 100644 index 38396e6ce..000000000 --- a/Veldrid.MetalBindings/MTLCullMode.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLCullMode - { - None = 0, - Front = 1, - Back = 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLDataType.cs b/Veldrid.MetalBindings/MTLDataType.cs deleted file mode 100644 index fd3fa408d..000000000 --- a/Veldrid.MetalBindings/MTLDataType.cs +++ /dev/null @@ -1,82 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLDataType - { - None = 0, - Struct = 1, - Array = 2, - Float = 3, - Float2 = 4, - Float3 = 5, - Float4 = 6, - Float2x2 = 7, - Float2x3 = 8, - Float2x4 = 9, - Float3x2 = 10, - Float3x3 = 11, - Float3x4 = 12, - Float4x2 = 13, - Float4x3 = 14, - Float4x4 = 15, - Half = 16, - Half2 = 17, - Half3 = 18, - Half4 = 19, - Half2x2 = 20, - Half2x3 = 21, - Half2x4 = 22, - Half3x2 = 23, - Half3x3 = 24, - Half3x4 = 25, - Half4x2 = 26, - Half4x3 = 27, - Half4x4 = 28, - Int = 29, - Int2 = 30, - Int3 = 31, - Int4 = 32, - UInt = 33, - UInt2 = 34, - UInt3 = 35, - UInt4 = 36, - Short = 37, - Short2 = 38, - Short3 = 39, - Short4 = 40, - UShort = 41, - UShort2 = 42, - UShort3 = 43, - UShort4 = 44, - Char = 45, - Char2 = 46, - Char3 = 47, - Char4 = 48, - UChar = 49, - UChar2 = 50, - UChar3 = 51, - UChar4 = 52, - Bool = 53, - Bool2 = 54, - Bool3 = 55, - Bool4 = 56, - Texture = 58, - Sampler = 59, - Pointer = 60, - R8Unorm = 62, - R8Snorm = 63, - R16Unorm = 64, - R16Snorm = 65, - RG8Unorm = 66, - RG8Snorm = 67, - RG16Unorm = 68, - RG16Snorm = 69, - RGBA8Unorm = 70, - RGBA8Unorm_sRGB = 71, - RGBA8Snorm = 72, - RGBA16Unorm = 73, - RGBA16Snorm = 74, - RGB10A2Unorm = 75, - RGB9E5Float = 77, - RG11B10Float = 76, - } -} diff --git a/Veldrid.MetalBindings/MTLDepthClipMode.cs b/Veldrid.MetalBindings/MTLDepthClipMode.cs deleted file mode 100644 index f542efa3e..000000000 --- a/Veldrid.MetalBindings/MTLDepthClipMode.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLDepthClipMode - { - Clip = 0, - Clamp = 1, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLDepthStencilDescriptor.cs b/Veldrid.MetalBindings/MTLDepthStencilDescriptor.cs deleted file mode 100644 index fc194d5bf..000000000 --- a/Veldrid.MetalBindings/MTLDepthStencilDescriptor.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLDepthStencilDescriptor - { - public readonly IntPtr NativePtr; - public MTLDepthStencilDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLCompareFunction depthCompareFunction - { - get => (MTLCompareFunction)uint_objc_msgSend(NativePtr, sel_depthCompareFunction); - set => objc_msgSend(NativePtr, sel_setDepthCompareFunction, (uint)value); - } - - public Bool8 depthWriteEnabled - { - get => bool8_objc_msgSend(NativePtr, sel_isDepthWriteEnabled); - set => objc_msgSend(NativePtr, sel_setDepthWriteEnabled, value); - } - - public MTLStencilDescriptor backFaceStencil - { - get => objc_msgSend(NativePtr, sel_backFaceStencil); - set => objc_msgSend(NativePtr, sel_setBackFaceStencil, value.NativePtr); - } - - public MTLStencilDescriptor frontFaceStencil - { - get => objc_msgSend(NativePtr, sel_frontFaceStencil); - set => objc_msgSend(NativePtr, sel_setFrontFaceStencil, value.NativePtr); - } - - private static readonly Selector sel_depthCompareFunction = "depthCompareFunction"; - private static readonly Selector sel_setDepthCompareFunction = "setDepthCompareFunction:"; - private static readonly Selector sel_isDepthWriteEnabled = "isDepthWriteEnabled"; - private static readonly Selector sel_setDepthWriteEnabled = "setDepthWriteEnabled:"; - private static readonly Selector sel_backFaceStencil = "backFaceStencil"; - private static readonly Selector sel_setBackFaceStencil = "setBackFaceStencil:"; - private static readonly Selector sel_frontFaceStencil = "frontFaceStencil"; - private static readonly Selector sel_setFrontFaceStencil = "setFrontFaceStencil:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLDepthStencilState.cs b/Veldrid.MetalBindings/MTLDepthStencilState.cs deleted file mode 100644 index 49f6f6dad..000000000 --- a/Veldrid.MetalBindings/MTLDepthStencilState.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLDepthStencilState - { - public readonly IntPtr NativePtr; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLDevice.cs b/Veldrid.MetalBindings/MTLDevice.cs deleted file mode 100644 index 82780df27..000000000 --- a/Veldrid.MetalBindings/MTLDevice.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct MTLDevice - { - private const string MetalFramework = "/System/Library/Frameworks/Metal.framework/Metal"; - - public readonly IntPtr NativePtr; - public static implicit operator IntPtr(MTLDevice device) => device.NativePtr; - public MTLDevice(IntPtr nativePtr) => NativePtr = nativePtr; - - public string name => string_objc_msgSend(NativePtr, sel_name); - public MTLSize maxThreadsPerThreadgroup - { - get - { - if (UseStret()) - { - return objc_msgSend_stret(this, sel_maxThreadsPerThreadgroup); - } - else - { - return MTLSize_objc_msgSend(this, sel_maxThreadsPerThreadgroup); - } - } - } - - public MTLLibrary newLibraryWithSource(string source, MTLCompileOptions options) - { - NSString sourceNSS = NSString.New(source); - - IntPtr library = IntPtr_objc_msgSend(NativePtr, sel_newLibraryWithSource, - sourceNSS, - options, - out NSError error); - - release(sourceNSS.NativePtr); - - if (library == IntPtr.Zero) - { - throw new Exception("Shader compilation failed: " + error.localizedDescription); - } - - return new MTLLibrary(library); - } - - public MTLLibrary newLibraryWithData(DispatchData data) - { - IntPtr library = IntPtr_objc_msgSend(NativePtr, sel_newLibraryWithData, data.NativePtr, out NSError error); - - if (library == IntPtr.Zero) - { - throw new Exception("Unable to load Metal library: " + error.localizedDescription); - } - - return new MTLLibrary(library); - } - - public MTLRenderPipelineState newRenderPipelineStateWithDescriptor(MTLRenderPipelineDescriptor desc) - { - IntPtr ret = IntPtr_objc_msgSend(NativePtr, sel_newRenderPipelineStateWithDescriptor, - desc.NativePtr, - out NSError error); - - if (error.NativePtr != IntPtr.Zero) - { - throw new Exception("Failed to create new MTLRenderPipelineState: " + error.localizedDescription); - } - - return new MTLRenderPipelineState(ret); - } - - public MTLComputePipelineState newComputePipelineStateWithDescriptor( - MTLComputePipelineDescriptor descriptor) - { - IntPtr ret = IntPtr_objc_msgSend(NativePtr, sel_newComputePipelineStateWithDescriptor, - descriptor, - 0, - IntPtr.Zero, - out NSError error); - - if (error.NativePtr != IntPtr.Zero) - { - throw new Exception("Failed to create new MTLRenderPipelineState: " + error.localizedDescription); - } - - return new MTLComputePipelineState(ret); - } - - public MTLCommandQueue newCommandQueue() => objc_msgSend(NativePtr, sel_newCommandQueue); - - public MTLBuffer newBuffer(void* pointer, UIntPtr length, MTLResourceOptions options) - { - IntPtr buffer = IntPtr_objc_msgSend(NativePtr, sel_newBufferWithBytes, - pointer, - length, - options); - return new MTLBuffer(buffer); - } - - public MTLBuffer newBufferWithLengthOptions(UIntPtr length, MTLResourceOptions options) - { - IntPtr buffer = IntPtr_objc_msgSend(NativePtr, sel_newBufferWithLength, length, options); - return new MTLBuffer(buffer); - } - - public MTLTexture newTextureWithDescriptor(MTLTextureDescriptor descriptor) - => objc_msgSend(NativePtr, sel_newTextureWithDescriptor, descriptor.NativePtr); - - public MTLSamplerState newSamplerStateWithDescriptor(MTLSamplerDescriptor descriptor) - => objc_msgSend(NativePtr, sel_newSamplerStateWithDescriptor, descriptor.NativePtr); - - public MTLDepthStencilState newDepthStencilStateWithDescriptor(MTLDepthStencilDescriptor descriptor) - => objc_msgSend(NativePtr, sel_newDepthStencilStateWithDescriptor, descriptor.NativePtr); - - public Bool8 supportsTextureSampleCount(UIntPtr sampleCount) - => bool8_objc_msgSend(NativePtr, sel_supportsTextureSampleCount, sampleCount); - - public Bool8 supportsFeatureSet(MTLFeatureSet featureSet) - => bool8_objc_msgSend(NativePtr, sel_supportsFeatureSet, (uint)featureSet); - - public Bool8 isDepth24Stencil8PixelFormatSupported - => bool8_objc_msgSend(NativePtr, sel_isDepth24Stencil8PixelFormatSupported); - - [DllImport(MetalFramework)] - public static extern MTLDevice MTLCreateSystemDefaultDevice(); - - [DllImport(MetalFramework)] - public static extern NSArray MTLCopyAllDevices(); - - private static readonly Selector sel_name = "name"; - private static readonly Selector sel_maxThreadsPerThreadgroup = "maxThreadsPerThreadgroup"; - private static readonly Selector sel_newLibraryWithSource = "newLibraryWithSource:options:error:"; - private static readonly Selector sel_newLibraryWithData = "newLibraryWithData:error:"; - private static readonly Selector sel_newRenderPipelineStateWithDescriptor = "newRenderPipelineStateWithDescriptor:error:"; - private static readonly Selector sel_newComputePipelineStateWithDescriptor = "newComputePipelineStateWithDescriptor:options:reflection:error:"; - private static readonly Selector sel_newCommandQueue = "newCommandQueue"; - private static readonly Selector sel_newBufferWithBytes = "newBufferWithBytes:length:options:"; - private static readonly Selector sel_newBufferWithLength = "newBufferWithLength:options:"; - private static readonly Selector sel_newTextureWithDescriptor = "newTextureWithDescriptor:"; - private static readonly Selector sel_newSamplerStateWithDescriptor = "newSamplerStateWithDescriptor:"; - private static readonly Selector sel_newDepthStencilStateWithDescriptor = "newDepthStencilStateWithDescriptor:"; - private static readonly Selector sel_supportsTextureSampleCount = "supportsTextureSampleCount:"; - private static readonly Selector sel_supportsFeatureSet = "supportsFeatureSet:"; - private static readonly Selector sel_isDepth24Stencil8PixelFormatSupported = "isDepth24Stencil8PixelFormatSupported"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLFeatureSet.cs b/Veldrid.MetalBindings/MTLFeatureSet.cs deleted file mode 100644 index bd620a703..000000000 --- a/Veldrid.MetalBindings/MTLFeatureSet.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLFeatureSet - { - iOS_GPUFamily1_v1 = 0, - iOS_GPUFamily2_v1 = 1, - iOS_GPUFamily1_v2 = 2, - iOS_GPUFamily2_v2 = 3, - iOS_GPUFamily3_v1 = 4, - iOS_GPUFamily1_v3 = 5, - iOS_GPUFamily2_v3 = 6, - iOS_GPUFamily3_v2 = 7, - iOS_GPUFamily1_v4 = 8, - iOS_GPUFamily2_v4 = 9, - iOS_GPUFamily3_v3 = 10, - iOS_GPUFamily4_v1 = 11, - tvOS_GPUFamily1_v1 = 30000, - tvOS_GPUFamily1_v2 = 30001, - tvOS_GPUFamily1_v3 = 30002, - tvOS_GPUFamily2_v1 = 30003, - macOS_GPUFamily1_v1 = 10000, - macOS_GPUFamily1_v2 = 10001, - macOS_GPUFamily1_v3 = 10003, - macOS_GPUFamily1_v4 = 10004, - macOS_GPUFamily2_v1 = 10005, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLFunction.cs b/Veldrid.MetalBindings/MTLFunction.cs deleted file mode 100644 index 5525924b3..000000000 --- a/Veldrid.MetalBindings/MTLFunction.cs +++ /dev/null @@ -1,15 +0,0 @@ -using static Veldrid.MetalBindings.ObjectiveCRuntime; -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLFunction - { - public readonly IntPtr NativePtr; - public MTLFunction(IntPtr ptr) => NativePtr = ptr; - - public NSDictionary functionConstantsDictionary => objc_msgSend(NativePtr, sel_functionConstantsDictionary); - - private static readonly Selector sel_functionConstantsDictionary = "functionConstantsDictionary"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLFunctionConstantValues.cs b/Veldrid.MetalBindings/MTLFunctionConstantValues.cs deleted file mode 100644 index 7db656456..000000000 --- a/Veldrid.MetalBindings/MTLFunctionConstantValues.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLFunctionConstantValues - { - public readonly IntPtr NativePtr; - - public static MTLFunctionConstantValues New() - { - return s_class.AllocInit(); - } - - public unsafe void setConstantValuetypeatIndex(void* value, MTLDataType type, UIntPtr index) - { - ObjectiveCRuntime.objc_msgSend(NativePtr, sel_setConstantValuetypeatIndex, value, (uint)type, index); - } - - private static readonly ObjCClass s_class = new ObjCClass(nameof(MTLFunctionConstantValues)); - private static readonly Selector sel_setConstantValuetypeatIndex = "setConstantValue:type:atIndex:"; - } -} diff --git a/Veldrid.MetalBindings/MTLIndexType.cs b/Veldrid.MetalBindings/MTLIndexType.cs deleted file mode 100644 index aa2965e0a..000000000 --- a/Veldrid.MetalBindings/MTLIndexType.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLIndexType - { - UInt16 = 0, - UInt32 = 1, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLLanguageVersion.cs b/Veldrid.MetalBindings/MTLLanguageVersion.cs deleted file mode 100644 index dbbb49ba3..000000000 --- a/Veldrid.MetalBindings/MTLLanguageVersion.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLLanguageVersion : uint - { - Version1_0 = (1 << 16), - Version1_1 = (1 << 16) + 1, - Version1_2 = (1 << 16) + 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLLibrary.cs b/Veldrid.MetalBindings/MTLLibrary.cs deleted file mode 100644 index 7ddbc95de..000000000 --- a/Veldrid.MetalBindings/MTLLibrary.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLLibrary - { - public readonly IntPtr NativePtr; - public MTLLibrary(IntPtr ptr) => NativePtr = ptr; - - public MTLFunction newFunctionWithName(string name) - { - NSString nameNSS = NSString.New(name); - IntPtr function = IntPtr_objc_msgSend(NativePtr, sel_newFunctionWithName, nameNSS); - release(nameNSS.NativePtr); - return new MTLFunction(function); - } - - public MTLFunction newFunctionWithNameConstantValues(string name, MTLFunctionConstantValues constantValues) - { - NSString nameNSS = NSString.New(name); - IntPtr function = IntPtr_objc_msgSend( - NativePtr, - sel_newFunctionWithNameConstantValues, - nameNSS.NativePtr, - constantValues.NativePtr, - out NSError error); - release(nameNSS.NativePtr); - - if (function == IntPtr.Zero) - { - throw new Exception($"Failed to create MTLFunction: {error.localizedDescription}"); - } - - return new MTLFunction(function); - } - - private static readonly Selector sel_newFunctionWithName = "newFunctionWithName:"; - private static readonly Selector sel_newFunctionWithNameConstantValues = "newFunctionWithName:constantValues:error:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLLoadAction.cs b/Veldrid.MetalBindings/MTLLoadAction.cs deleted file mode 100644 index 74cef72ec..000000000 --- a/Veldrid.MetalBindings/MTLLoadAction.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLLoadAction - { - DontCare = 0, - Load = 1, - Clear = 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLMutability.cs b/Veldrid.MetalBindings/MTLMutability.cs deleted file mode 100644 index a60454e46..000000000 --- a/Veldrid.MetalBindings/MTLMutability.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLMutability - { - Default = 0, - Mutable = 1, - Immutable = 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLOrigin.cs b/Veldrid.MetalBindings/MTLOrigin.cs deleted file mode 100644 index 1ef5e9f88..000000000 --- a/Veldrid.MetalBindings/MTLOrigin.cs +++ /dev/null @@ -1,18 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLOrigin - { - public UIntPtr x; - public UIntPtr y; - public UIntPtr z; - - public MTLOrigin(uint x, uint y, uint z) - { - this.x = (UIntPtr)x; - this.y = (UIntPtr)y; - this.z = (UIntPtr)z; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLPipelineBufferDescriptor.cs b/Veldrid.MetalBindings/MTLPipelineBufferDescriptor.cs deleted file mode 100644 index 8efa5f612..000000000 --- a/Veldrid.MetalBindings/MTLPipelineBufferDescriptor.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLPipelineBufferDescriptor - { - public readonly IntPtr NativePtr; - - public MTLPipelineBufferDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLMutability mutability - { - get => (MTLMutability)uint_objc_msgSend(NativePtr, sel_mutability); - set => objc_msgSend(NativePtr, sel_setMutability, (uint)value); - } - - private static readonly Selector sel_mutability = "mutability"; - private static readonly Selector sel_setMutability = "setMutability:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLPipelineBufferDescriptorArray.cs b/Veldrid.MetalBindings/MTLPipelineBufferDescriptorArray.cs deleted file mode 100644 index 04e7c3b90..000000000 --- a/Veldrid.MetalBindings/MTLPipelineBufferDescriptorArray.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLPipelineBufferDescriptorArray - { - public readonly IntPtr NativePtr; - - public MTLPipelineBufferDescriptor this[uint index] - { - get - { - IntPtr value = IntPtr_objc_msgSend(NativePtr, Selectors.objectAtIndexedSubscript, (UIntPtr)index); - return new MTLPipelineBufferDescriptor(value); - } - set - { - objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, (UIntPtr)index); - } - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLPixelFormat.cs b/Veldrid.MetalBindings/MTLPixelFormat.cs deleted file mode 100644 index 1ecf623eb..000000000 --- a/Veldrid.MetalBindings/MTLPixelFormat.cs +++ /dev/null @@ -1,199 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLPixelFormat : uint - { - Invalid = 0, - - /* Normal 8 bit formats */ - - A8Unorm = 1, - - R8Unorm = 10, - R8Unorm_sRGB = 11, - - R8Snorm = 12, - R8Uint = 13, - R8Sint = 14, - - /* Normal 16 bit formats */ - - R16Unorm = 20, - R16Snorm = 22, - R16Uint = 23, - R16Sint = 24, - R16Float = 25, - - RG8Unorm = 30, - RG8Unorm_sRGB = 31, - RG8Snorm = 32, - RG8Uint = 33, - RG8Sint = 34, - - /* Packed 16 bit formats */ - - B5G6R5Unorm = 40, - A1BGR5Unorm = 41, - ABGR4Unorm = 42, - BGR5A1Unorm = 43, - - /* Normal 32 bit formats */ - - R32Uint = 53, - R32Sint = 54, - R32Float = 55, - - RG16Unorm = 60, - RG16Snorm = 62, - RG16Uint = 63, - RG16Sint = 64, - RG16Float = 65, - - RGBA8Unorm = 70, - RGBA8Unorm_sRGB = 71, - RGBA8Snorm = 72, - RGBA8Uint = 73, - RGBA8Sint = 74, - - BGRA8Unorm = 80, - BGRA8Unorm_sRGB = 81, - - /* Packed 32 bit formats */ - - RGB10A2Unorm = 90, - RGB10A2Uint = 91, - - RG11B10Float = 92, - RGB9E5Float = 93, - - BGR10_XR = 554, - BGR10_XR_sRGB = 555, - - /* Normal 64 bit formats */ - - RG32Uint = 103, - RG32Sint = 104, - RG32Float = 105, - - RGBA16Unorm = 110, - RGBA16Snorm = 112, - RGBA16Uint = 113, - RGBA16Sint = 114, - RGBA16Float = 115, - - BGRA10_XR = 552, - BGRA10_XR_sRGB = 553, - - /* Normal 128 bit formats */ - - RGBA32Uint = 123, - RGBA32Sint = 124, - RGBA32Float = 125, - - /* Compressed formats. */ - - /* S3TC/DXT */ - BC1_RGBA = 130, - BC1_RGBA_sRGB = 131, - BC2_RGBA = 132, - BC2_RGBA_sRGB = 133, - BC3_RGBA = 134, - BC3_RGBA_sRGB = 135, - - /* RGTC */ - BC4_RUnorm = 140, - BC4_RSnorm = 141, - BC5_RGUnorm = 142, - BC5_RGSnorm = 143, - - /* BPTC */ - BC6H_RGBFloat = 150, - BC6H_RGBUfloat = 151, - BC7_RGBAUnorm = 152, - BC7_RGBAUnorm_sRGB = 153, - - /* PVRTC */ - PVRTC_RGB_2BPP = 160, - PVRTC_RGB_2BPP_sRGB = 161, - PVRTC_RGB_4BPP = 162, - PVRTC_RGB_4BPP_sRGB = 163, - PVRTC_RGBA_2BPP = 164, - PVRTC_RGBA_2BPP_sRGB = 165, - PVRTC_RGBA_4BPP = 166, - PVRTC_RGBA_4BPP_sRGB = 167, - - /* ETC2 */ - EAC_R11Unorm = 170, - EAC_R11Snorm = 172, - EAC_RG11Unorm = 174, - EAC_RG11Snorm = 176, - EAC_RGBA8 = 178, - EAC_RGBA8_sRGB = 179, - - ETC2_RGB8 = 180, - ETC2_RGB8_sRGB = 181, - ETC2_RGB8A1 = 182, - ETC2_RGB8A1_sRGB = 183, - - /* ASTC */ - ASTC_4x4_sRGB = 186, - ASTC_5x4_sRGB = 187, - ASTC_5x5_sRGB = 188, - ASTC_6x5_sRGB = 189, - ASTC_6x6_sRGB = 190, - ASTC_8x5_sRGB = 192, - ASTC_8x6_sRGB = 193, - ASTC_8x8_sRGB = 194, - ASTC_10x5_sRGB = 195, - ASTC_10x6_sRGB = 196, - ASTC_10x8_sRGB = 197, - ASTC_10x10_sRGB = 198, - ASTC_12x10_sRGB = 199, - ASTC_12x12_sRGB = 200, - - ASTC_4x4_LDR = 204, - ASTC_5x4_LDR = 205, - ASTC_5x5_LDR = 206, - ASTC_6x5_LDR = 207, - ASTC_6x6_LDR = 208, - ASTC_8x5_LDR = 210, - ASTC_8x6_LDR = 211, - ASTC_8x8_LDR = 212, - ASTC_10x5_LDR = 213, - ASTC_10x6_LDR = 214, - ASTC_10x8_LDR = 215, - ASTC_10x10_LDR = 216, - ASTC_12x10_LDR = 217, - ASTC_12x12_LDR = 218, - - /*! - @constant GBGR422 - @abstract A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values. - @discussion This format is equivelent to YUY2, YUYV, yuvs, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_REV_APPLE. The component order, from lowest addressed byte to highest, is Y0, Cb, Y1, Cr. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode. - */ - GBGR422 = 240, - - /*! - @constant BGRG422 - @abstract A pixel format where the red and green channels are subsampled horizontally. Two pixels are stored in 32 bits, with shared red and blue values, and unique green values. - @discussion This format is equivelent to UYVY, 2vuy, or GL_RGB_422_APPLE/GL_UNSIGNED_SHORT_8_8_APPLE. The component order, from lowest addressed byte to highest, is Cb, Y0, Cr, Y1. There is no implicit colorspace conversion from YUV to RGB, the shader will receive (Cr, Y, Cb, 1). 422 textures must have a width that is a multiple of 2, and can only be used for 2D non-mipmap textures. When sampling, ClampToEdge is the only usable wrap mode. - */ - BGRG422 = 241, - - /* Depth */ - - Depth16Unorm = 250, - Depth32Float = 252, - - /* Stencil */ - - Stencil8 = 253, - - /* Depth Stencil */ - - Depth24Unorm_Stencil8 = 255, - Depth32Float_Stencil8 = 260, - - X32_Stencil8 = 261, - X24_Stencil8 = 262, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLPrimitiveType.cs b/Veldrid.MetalBindings/MTLPrimitiveType.cs deleted file mode 100644 index 7593ddb2d..000000000 --- a/Veldrid.MetalBindings/MTLPrimitiveType.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLPrimitiveType : uint - { - Point = 0, - Line = 1, - LineStrip = 2, - Triangle = 3, - TriangleStrip = 4, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRegion.cs b/Veldrid.MetalBindings/MTLRegion.cs deleted file mode 100644 index 4aaf9fca3..000000000 --- a/Veldrid.MetalBindings/MTLRegion.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public struct MTLRegion - { - public MTLOrigin origin; - public MTLSize size; - - public MTLRegion(MTLOrigin origin, MTLSize size) - { - this.origin = origin; - this.size = size; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderCommandEncoder.cs b/Veldrid.MetalBindings/MTLRenderCommandEncoder.cs deleted file mode 100644 index ee486bcd8..000000000 --- a/Veldrid.MetalBindings/MTLRenderCommandEncoder.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderCommandEncoder - { - public readonly IntPtr NativePtr; - public MTLRenderCommandEncoder(IntPtr ptr) => NativePtr = ptr; - public bool IsNull => NativePtr == IntPtr.Zero; - - public void setRenderPipelineState(MTLRenderPipelineState pipelineState) - => objc_msgSend(NativePtr, sel_setRenderPipelineState, pipelineState.NativePtr); - - public void setVertexBuffer(MTLBuffer buffer, UIntPtr offset, UIntPtr index) - => objc_msgSend(NativePtr, sel_setVertexBuffer, - buffer.NativePtr, - offset, - index); - - public void setFragmentBuffer(MTLBuffer buffer, UIntPtr offset, UIntPtr index) - => objc_msgSend(NativePtr, sel_setFragmentBuffer, - buffer.NativePtr, - offset, - index); - - public void setVertexTexture(MTLTexture texture, UIntPtr index) - => objc_msgSend(NativePtr, sel_setVertexTexture, texture.NativePtr, index); - public void setFragmentTexture(MTLTexture texture, UIntPtr index) - => objc_msgSend(NativePtr, sel_setFragmentTexture, texture.NativePtr, index); - - public void setVertexSamplerState(MTLSamplerState sampler, UIntPtr index) - => objc_msgSend(NativePtr, sel_setVertexSamplerState, sampler.NativePtr, index); - - public void setFragmentSamplerState(MTLSamplerState sampler, UIntPtr index) - => objc_msgSend(NativePtr, sel_setFragmentSamplerState, sampler.NativePtr, index); - - public void drawPrimitives( - MTLPrimitiveType primitiveType, - UIntPtr vertexStart, - UIntPtr vertexCount, - UIntPtr instanceCount, - UIntPtr baseInstance) - => objc_msgSend(NativePtr, sel_drawPrimitives0, - primitiveType, vertexStart, vertexCount, instanceCount, baseInstance); - - public void drawPrimitives( - MTLPrimitiveType primitiveType, - UIntPtr vertexStart, - UIntPtr vertexCount, - UIntPtr instanceCount) - => objc_msgSend(NativePtr, sel_drawPrimitives2, - primitiveType, vertexStart, vertexCount, instanceCount); - - public void drawPrimitives(MTLPrimitiveType primitiveType, MTLBuffer indirectBuffer, UIntPtr indirectBufferOffset) - => objc_msgSend(NativePtr, sel_drawPrimitives1, - primitiveType, indirectBuffer, indirectBufferOffset); - - public void drawIndexedPrimitives( - MTLPrimitiveType primitiveType, - UIntPtr indexCount, - MTLIndexType indexType, - MTLBuffer indexBuffer, - UIntPtr indexBufferOffset, - UIntPtr instanceCount) - => objc_msgSend(NativePtr, sel_drawIndexedPrimitives0, - primitiveType, indexCount, indexType, indexBuffer.NativePtr, indexBufferOffset, instanceCount); - - public void drawIndexedPrimitives( - MTLPrimitiveType primitiveType, - UIntPtr indexCount, - MTLIndexType indexType, - MTLBuffer indexBuffer, - UIntPtr indexBufferOffset, - UIntPtr instanceCount, - IntPtr baseVertex, - UIntPtr baseInstance) - => objc_msgSend( - NativePtr, - sel_drawIndexedPrimitives1, - primitiveType, indexCount, indexType, indexBuffer.NativePtr, indexBufferOffset, instanceCount, baseVertex, baseInstance); - - public void drawIndexedPrimitives( - MTLPrimitiveType primitiveType, - MTLIndexType indexType, - MTLBuffer indexBuffer, - UIntPtr indexBufferOffset, - MTLBuffer indirectBuffer, - UIntPtr indirectBufferOffset) - => objc_msgSend(NativePtr, sel_drawIndexedPrimitives2, - primitiveType, - indexType, - indexBuffer, - indexBufferOffset, - indirectBuffer, - indirectBufferOffset); - - public unsafe void setViewport(MTLViewport viewport) - => objc_msgSend(NativePtr, sel_setViewport, viewport); - - public unsafe void setViewports(MTLViewport* viewports, UIntPtr count) - => objc_msgSend(NativePtr, sel_setViewports, viewports, count); - - public unsafe void setScissorRect(MTLScissorRect scissorRect) - => objc_msgSend(NativePtr, sel_setScissorRect, scissorRect); - - public unsafe void setScissorRects(MTLScissorRect* scissorRects, UIntPtr count) - => objc_msgSend(NativePtr, sel_setScissorRects, scissorRects, count); - - public void setCullMode(MTLCullMode cullMode) - => objc_msgSend(NativePtr, sel_setCullMode, (uint)cullMode); - - public void setFrontFacing(MTLWinding frontFaceWinding) - => objc_msgSend(NativePtr, sel_setFrontFacingWinding, (uint)frontFaceWinding); - - public void setDepthStencilState(MTLDepthStencilState depthStencilState) - => objc_msgSend(NativePtr, sel_setDepthStencilState, depthStencilState.NativePtr); - - public void setDepthClipMode(MTLDepthClipMode depthClipMode) - => objc_msgSend(NativePtr, sel_setDepthClipMode, (uint)depthClipMode); - - public void endEncoding() => objc_msgSend(NativePtr, sel_endEncoding); - - public void setStencilReferenceValue(uint stencilReference) - => objc_msgSend(NativePtr, sel_setStencilReferenceValue, stencilReference); - - public void setBlendColor(float red, float green, float blue, float alpha) - => objc_msgSend(NativePtr, sel_setBlendColor, red, green, blue, alpha); - - public void setTriangleFillMode(MTLTriangleFillMode fillMode) - => objc_msgSend(NativePtr, sel_setTriangleFillMode, (uint)fillMode); - - public void pushDebugGroup(NSString @string) - => objc_msgSend(NativePtr, Selectors.pushDebugGroup, @string.NativePtr); - - public void popDebugGroup() => objc_msgSend(NativePtr, Selectors.popDebugGroup); - - public void insertDebugSignpost(NSString @string) - => objc_msgSend(NativePtr, Selectors.insertDebugSignpost, @string.NativePtr); - - private static readonly Selector sel_setRenderPipelineState = "setRenderPipelineState:"; - private static readonly Selector sel_setVertexBuffer = "setVertexBuffer:offset:atIndex:"; - private static readonly Selector sel_setFragmentBuffer = "setFragmentBuffer:offset:atIndex:"; - private static readonly Selector sel_setVertexTexture = "setVertexTexture:atIndex:"; - private static readonly Selector sel_setFragmentTexture = "setFragmentTexture:atIndex:"; - private static readonly Selector sel_setVertexSamplerState = "setVertexSamplerState:atIndex:"; - private static readonly Selector sel_setFragmentSamplerState = "setFragmentSamplerState:atIndex:"; - private static readonly Selector sel_drawPrimitives0 = "drawPrimitives:vertexStart:vertexCount:instanceCount:baseInstance:"; - private static readonly Selector sel_drawPrimitives1 = "drawPrimitives:indirectBuffer:indirectBufferOffset:"; - private static readonly Selector sel_drawPrimitives2 = "drawPrimitives:vertexStart:vertexCount:instanceCount:"; - private static readonly Selector sel_drawIndexedPrimitives0 = "drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:"; - private static readonly Selector sel_drawIndexedPrimitives1 = "drawIndexedPrimitives:indexCount:indexType:indexBuffer:indexBufferOffset:instanceCount:baseVertex:baseInstance:"; - private static readonly Selector sel_drawIndexedPrimitives2 = "drawIndexedPrimitives:indexType:indexBuffer:indexBufferOffset:indirectBuffer:indirectBufferOffset:"; - private static readonly Selector sel_setViewport = "setViewport:"; - private static readonly Selector sel_setViewports = "setViewports:count:"; - private static readonly Selector sel_setScissorRect = "setScissorRect:"; - private static readonly Selector sel_setScissorRects = "setScissorRects:count:"; - private static readonly Selector sel_setCullMode = "setCullMode:"; - private static readonly Selector sel_setFrontFacingWinding = "setFrontFacingWinding:"; - private static readonly Selector sel_setDepthStencilState = "setDepthStencilState:"; - private static readonly Selector sel_setDepthClipMode = "setDepthClipMode:"; - private static readonly Selector sel_endEncoding = "endEncoding"; - private static readonly Selector sel_setStencilReferenceValue = "setStencilReferenceValue:"; - private static readonly Selector sel_setBlendColor = "setBlendColorRed:green:blue:alpha:"; - private static readonly Selector sel_setTriangleFillMode = "setTriangleFillMode:"; - } -} diff --git a/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptor.cs deleted file mode 100644 index a66f3e817..000000000 --- a/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptor.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLRenderPassColorAttachmentDescriptor - { - public readonly IntPtr NativePtr; - public MTLRenderPassColorAttachmentDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLTexture texture - { - get => objc_msgSend(NativePtr, Selectors.texture); - set => objc_msgSend(NativePtr, Selectors.setTexture, value.NativePtr); - } - - public MTLLoadAction loadAction - { - get => (MTLLoadAction)uint_objc_msgSend(NativePtr, Selectors.loadAction); - set => objc_msgSend(NativePtr, Selectors.setLoadAction, (uint)value); - } - - public MTLStoreAction storeAction - { - get => (MTLStoreAction)uint_objc_msgSend(NativePtr, Selectors.storeAction); - set => objc_msgSend(NativePtr, Selectors.setStoreAction, (uint)value); - } - - public MTLTexture resolveTexture - { - get => objc_msgSend(NativePtr, Selectors.resolveTexture); - set => objc_msgSend(NativePtr, Selectors.setResolveTexture, value.NativePtr); - } - - public MTLClearColor clearColor - { - get - { - if (ObjectiveCRuntime.UseStret()) - { - return objc_msgSend_stret(NativePtr, sel_clearColor); - } - else - { - return MTLClearColor_objc_msgSend(NativePtr,sel_clearColor); - } - } - set => objc_msgSend(NativePtr, sel_setClearColor, value); - } - - public UIntPtr slice - { - get => UIntPtr_objc_msgSend(NativePtr, Selectors.slice); - set => objc_msgSend(NativePtr, Selectors.setSlice, value); - } - - public UIntPtr level - { - get => UIntPtr_objc_msgSend(NativePtr, Selectors.level); - set => objc_msgSend(NativePtr, Selectors.setLevel, value); - } - - private static readonly Selector sel_clearColor = "clearColor"; - private static readonly Selector sel_setClearColor = "setClearColor:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptorArray.cs b/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptorArray.cs deleted file mode 100644 index 1e1a8966d..000000000 --- a/Veldrid.MetalBindings/MTLRenderPassColorAttachmentDescriptorArray.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderPassColorAttachmentDescriptorArray - { - public readonly IntPtr NativePtr; - - public MTLRenderPassColorAttachmentDescriptor this[uint index] - { - get - { - IntPtr value = IntPtr_objc_msgSend(NativePtr, Selectors.objectAtIndexedSubscript, (UIntPtr)index); - return new MTLRenderPassColorAttachmentDescriptor(value); - } - set - { - objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, (UIntPtr)index); - } - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPassDepthAttachmentDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPassDepthAttachmentDescriptor.cs deleted file mode 100644 index 7fb35b9ee..000000000 --- a/Veldrid.MetalBindings/MTLRenderPassDepthAttachmentDescriptor.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLRenderPassDepthAttachmentDescriptor - { - public readonly IntPtr NativePtr; - - public MTLRenderPassDepthAttachmentDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLTexture texture - { - get => objc_msgSend(NativePtr, Selectors.texture); - set => objc_msgSend(NativePtr, Selectors.setTexture, value.NativePtr); - } - - public MTLLoadAction loadAction - { - get => (MTLLoadAction)uint_objc_msgSend(NativePtr, Selectors.loadAction); - set => objc_msgSend(NativePtr, Selectors.setLoadAction, (uint)value); - } - - public MTLStoreAction storeAction - { - get => (MTLStoreAction)uint_objc_msgSend(NativePtr, Selectors.storeAction); - set => objc_msgSend(NativePtr, Selectors.setStoreAction, (uint)value); - } - - public double clearDepth - { - get => double_objc_msgSend(NativePtr, sel_clearDepth); - set => objc_msgSend(NativePtr, sel_setClearDepth, value); - } - - public UIntPtr slice - { - get => UIntPtr_objc_msgSend(NativePtr, Selectors.slice); - set => objc_msgSend(NativePtr, Selectors.setSlice, value); - } - - public UIntPtr level - { - get => UIntPtr_objc_msgSend(NativePtr, Selectors.level); - set => objc_msgSend(NativePtr, Selectors.setLevel, value); - } - - private static readonly Selector sel_clearDepth = "clearDepth"; - private static readonly Selector sel_setClearDepth = "setClearDepth:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPassDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPassDescriptor.cs deleted file mode 100644 index 568c926ac..000000000 --- a/Veldrid.MetalBindings/MTLRenderPassDescriptor.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderPassDescriptor - { - private static readonly ObjCClass s_class = new ObjCClass(nameof(MTLRenderPassDescriptor)); - public readonly IntPtr NativePtr; - public static MTLRenderPassDescriptor New() => s_class.AllocInit(); - - public MTLRenderPassColorAttachmentDescriptorArray colorAttachments - => objc_msgSend(NativePtr, sel_colorAttachments); - - public MTLRenderPassDepthAttachmentDescriptor depthAttachment - => objc_msgSend(NativePtr, sel_depthAttachment); - - public MTLRenderPassStencilAttachmentDescriptor stencilAttachment - => objc_msgSend(NativePtr, sel_stencilAttachment); - - private static readonly Selector sel_colorAttachments = "colorAttachments"; - private static readonly Selector sel_depthAttachment = "depthAttachment"; - private static readonly Selector sel_stencilAttachment = "stencilAttachment"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPassStencilAttachmentDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPassStencilAttachmentDescriptor.cs deleted file mode 100644 index f2837d1f3..000000000 --- a/Veldrid.MetalBindings/MTLRenderPassStencilAttachmentDescriptor.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLRenderPassStencilAttachmentDescriptor - { - public readonly IntPtr NativePtr; - - public MTLTexture texture - { - get => objc_msgSend(NativePtr, Selectors.texture); - set => objc_msgSend(NativePtr, Selectors.setTexture, value.NativePtr); - } - - public MTLLoadAction loadAction - { - get => (MTLLoadAction)uint_objc_msgSend(NativePtr, Selectors.loadAction); - set => objc_msgSend(NativePtr, Selectors.setLoadAction, (uint)value); - } - - public MTLStoreAction storeAction - { - get => (MTLStoreAction)uint_objc_msgSend(NativePtr, Selectors.storeAction); - set => objc_msgSend(NativePtr, Selectors.setStoreAction, (uint)value); - } - - public uint clearStencil - { - get => uint_objc_msgSend(NativePtr, sel_clearStencil); - set => objc_msgSend(NativePtr, sel_setClearStencil, value); - } - - public UIntPtr slice - { - get => UIntPtr_objc_msgSend(NativePtr, Selectors.slice); - set => objc_msgSend(NativePtr, Selectors.setSlice, value); - } - - private static readonly Selector sel_clearStencil = "clearStencil"; - private static readonly Selector sel_setClearStencil = "setClearStencil:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptor.cs deleted file mode 100644 index d1fb44f82..000000000 --- a/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptor.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderPipelineColorAttachmentDescriptor - { - public readonly IntPtr NativePtr; - - public MTLRenderPipelineColorAttachmentDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLPixelFormat pixelFormat - { - get => (MTLPixelFormat)uint_objc_msgSend(NativePtr, Selectors.pixelFormat); - set => objc_msgSend(NativePtr, Selectors.setPixelFormat, (uint)value); - } - - public Bool8 blendingEnabled - { - get => bool8_objc_msgSend(NativePtr, sel_isBlendingEnabled); - set => objc_msgSend(NativePtr, sel_setBlendingEnabled, value); - } - - public MTLBlendOperation alphaBlendOperation - { - get => (MTLBlendOperation)uint_objc_msgSend(NativePtr, sel_alphaBlendOperation); - set => objc_msgSend(NativePtr, sel_setAlphaBlendOperation, (uint)value); - } - - public MTLBlendOperation rgbBlendOperation - { - get => (MTLBlendOperation)uint_objc_msgSend(NativePtr, sel_rgbBlendOperation); - set => objc_msgSend(NativePtr, sel_setRGBBlendOperation, (uint)value); - } - - public MTLBlendFactor destinationAlphaBlendFactor - { - get => (MTLBlendFactor)uint_objc_msgSend(NativePtr, sel_destinationAlphaBlendFactor); - set => objc_msgSend(NativePtr, sel_setDestinationAlphaBlendFactor, (uint)value); - } - - public MTLBlendFactor destinationRGBBlendFactor - { - get => (MTLBlendFactor)uint_objc_msgSend(NativePtr, sel_destinationRGBBlendFactor); - set => objc_msgSend(NativePtr, sel_setDestinationRGBBlendFactor, (uint)value); - } - - public MTLBlendFactor sourceAlphaBlendFactor - { - get => (MTLBlendFactor)uint_objc_msgSend(NativePtr, sel_sourceAlphaBlendFactor); - set => objc_msgSend(NativePtr, sel_setSourceAlphaBlendFactor, (uint)value); - } - - public MTLBlendFactor sourceRGBBlendFactor - { - get => (MTLBlendFactor)uint_objc_msgSend(NativePtr, sel_sourceRGBBlendFactor); - set => objc_msgSend(NativePtr, sel_setSourceRGBBlendFactor, (uint)value); - } - - private static readonly Selector sel_isBlendingEnabled = "isBlendingEnabled"; - private static readonly Selector sel_setBlendingEnabled = "setBlendingEnabled:"; - private static readonly Selector sel_alphaBlendOperation = "alphaBlendOperation"; - private static readonly Selector sel_setAlphaBlendOperation = "setAlphaBlendOperation:"; - private static readonly Selector sel_rgbBlendOperation = "rgbBlendOperation"; - private static readonly Selector sel_setRGBBlendOperation = "setRgbBlendOperation:"; - private static readonly Selector sel_destinationAlphaBlendFactor = "destinationAlphaBlendFactor"; - private static readonly Selector sel_setDestinationAlphaBlendFactor = "setDestinationAlphaBlendFactor:"; - private static readonly Selector sel_destinationRGBBlendFactor = "destinationRGBBlendFactor"; - private static readonly Selector sel_setDestinationRGBBlendFactor = "setDestinationRGBBlendFactor:"; - private static readonly Selector sel_sourceAlphaBlendFactor = "sourceAlphaBlendFactor"; - private static readonly Selector sel_setSourceAlphaBlendFactor = "setSourceAlphaBlendFactor:"; - private static readonly Selector sel_sourceRGBBlendFactor = "sourceRGBBlendFactor"; - private static readonly Selector sel_setSourceRGBBlendFactor = "setSourceRGBBlendFactor:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptorArray.cs b/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptorArray.cs deleted file mode 100644 index 9b333c314..000000000 --- a/Veldrid.MetalBindings/MTLRenderPipelineColorAttachmentDescriptorArray.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -using System.Runtime.InteropServices; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderPipelineColorAttachmentDescriptorArray - { - public readonly IntPtr NativePtr; - - public MTLRenderPipelineColorAttachmentDescriptor this[uint index] - { - get - { - IntPtr ptr = IntPtr_objc_msgSend(NativePtr, Selectors.objectAtIndexedSubscript, index); - return new MTLRenderPipelineColorAttachmentDescriptor(ptr); - } - set - { - objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, index); - } - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLRenderPipelineDescriptor.cs b/Veldrid.MetalBindings/MTLRenderPipelineDescriptor.cs deleted file mode 100644 index 3fef8a3d6..000000000 --- a/Veldrid.MetalBindings/MTLRenderPipelineDescriptor.cs +++ /dev/null @@ -1,77 +0,0 @@ -using static Veldrid.MetalBindings.ObjectiveCRuntime; -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLRenderPipelineDescriptor - { - public readonly IntPtr NativePtr; - - public MTLRenderPipelineDescriptor(IntPtr ptr) => NativePtr = ptr; - - public static MTLRenderPipelineDescriptor New() - { - var cls = new ObjCClass("MTLRenderPipelineDescriptor"); - var ret = cls.AllocInit(); - return ret; - } - - public MTLFunction vertexFunction - { - get => objc_msgSend(NativePtr, sel_vertexFunction); - set => objc_msgSend(NativePtr, sel_setVertexFunction, value.NativePtr); - } - - public MTLFunction fragmentFunction - { - get => objc_msgSend(NativePtr, sel_fragmentFunction); - set => objc_msgSend(NativePtr, sel_setFragmentFunction, value.NativePtr); - } - - public MTLRenderPipelineColorAttachmentDescriptorArray colorAttachments - => objc_msgSend(NativePtr, sel_colorAttachments); - - public MTLPixelFormat depthAttachmentPixelFormat - { - get => (MTLPixelFormat)uint_objc_msgSend(NativePtr, sel_depthAttachmentPixelFormat); - set => objc_msgSend(NativePtr, sel_setDepthAttachmentPixelFormat, (uint)value); - } - - public MTLPixelFormat stencilAttachmentPixelFormat - { - get => (MTLPixelFormat)uint_objc_msgSend(NativePtr, sel_stencilAttachmentPixelFormat); - set => objc_msgSend(NativePtr, sel_setStencilAttachmentPixelFormat, (uint)value); - } - - public UIntPtr sampleCount - { - get => UIntPtr_objc_msgSend(NativePtr, sel_sampleCount); - set => objc_msgSend(NativePtr, sel_setSampleCount, value); - } - - public MTLVertexDescriptor vertexDescriptor => objc_msgSend(NativePtr, sel_vertexDescriptor); - - public Bool8 alphaToCoverageEnabled - { - get => bool8_objc_msgSend(NativePtr, sel_isAlphaToCoverageEnabled); - set => objc_msgSend(NativePtr, sel_setAlphaToCoverageEnabled, value); - } - - private static readonly Selector sel_vertexFunction = "vertexFunction"; - private static readonly Selector sel_setVertexFunction = "setVertexFunction:"; - private static readonly Selector sel_fragmentFunction = "fragmentFunction"; - private static readonly Selector sel_setFragmentFunction = "setFragmentFunction:"; - private static readonly Selector sel_colorAttachments = "colorAttachments"; - private static readonly Selector sel_depthAttachmentPixelFormat = "depthAttachmentPixelFormat"; - private static readonly Selector sel_setDepthAttachmentPixelFormat = "setDepthAttachmentPixelFormat:"; - private static readonly Selector sel_stencilAttachmentPixelFormat = "stencilAttachmentPixelFormat"; - private static readonly Selector sel_setStencilAttachmentPixelFormat = "setStencilAttachmentPixelFormat:"; - private static readonly Selector sel_sampleCount = "sampleCount"; - private static readonly Selector sel_setSampleCount = "setSampleCount:"; - private static readonly Selector sel_vertexDescriptor = "vertexDescriptor"; - private static readonly Selector sel_isAlphaToCoverageEnabled = "isAlphaToCoverageEnabled"; - private static readonly Selector sel_setAlphaToCoverageEnabled = "setAlphaToCoverageEnabled:"; - } -} diff --git a/Veldrid.MetalBindings/MTLRenderPipelineState.cs b/Veldrid.MetalBindings/MTLRenderPipelineState.cs deleted file mode 100644 index 7283ba6b7..000000000 --- a/Veldrid.MetalBindings/MTLRenderPipelineState.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLRenderPipelineState - { - public readonly IntPtr NativePtr; - public MTLRenderPipelineState(IntPtr ptr) => NativePtr = ptr; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLResourceOptions.cs b/Veldrid.MetalBindings/MTLResourceOptions.cs deleted file mode 100644 index 1d089f4a8..000000000 --- a/Veldrid.MetalBindings/MTLResourceOptions.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLResourceOptions : uint - { - CPUCacheModeDefaultCache = MTLCPUCacheMode.DefaultCache, - CPUCacheModeWriteCombined = MTLCPUCacheMode.WriteCombined, - - StorageModeShared = MTLStorageMode.Shared << 4, - StorageModeManaged = MTLStorageMode.Managed << 4, - StorageModePrivate = MTLStorageMode.Private << 4, - StorageModeMemoryless = MTLStorageMode.Memoryless << 4, - - HazardTrackingModeUntracked = (uint)(0x1UL << 8), - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerAddressMode.cs b/Veldrid.MetalBindings/MTLSamplerAddressMode.cs deleted file mode 100644 index 86e88f2f5..000000000 --- a/Veldrid.MetalBindings/MTLSamplerAddressMode.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLSamplerAddressMode - { - ClampToEdge = 0, - MirrorClampToEdge = 1, - Repeat = 2, - MirrorRepeat = 3, - ClampToZero = 4, - ClampToBorderColor = 5, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerBorderColor.cs b/Veldrid.MetalBindings/MTLSamplerBorderColor.cs deleted file mode 100644 index 81129c67f..000000000 --- a/Veldrid.MetalBindings/MTLSamplerBorderColor.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLSamplerBorderColor - { - TransparentBlack = 0, - OpaqueBlack = 1, - OpaqueWhite = 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerDescriptor.cs b/Veldrid.MetalBindings/MTLSamplerDescriptor.cs deleted file mode 100644 index 5b82a6002..000000000 --- a/Veldrid.MetalBindings/MTLSamplerDescriptor.cs +++ /dev/null @@ -1,109 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLSamplerDescriptor - { - private static readonly ObjCClass s_class = new ObjCClass(nameof(MTLSamplerDescriptor)); - public readonly IntPtr NativePtr; - public static MTLSamplerDescriptor New() => s_class.AllocInit(); - - public MTLSamplerAddressMode rAddressMode - { - get => (MTLSamplerAddressMode)uint_objc_msgSend(NativePtr, sel_rAddressMode); - set => objc_msgSend(NativePtr, sel_setRAddressMode, (uint)value); - } - - public MTLSamplerAddressMode sAddressMode - { - get => (MTLSamplerAddressMode)uint_objc_msgSend(NativePtr, sel_sAddressMode); - set => objc_msgSend(NativePtr, sel_setSAddressMode, (uint)value); - } - - public MTLSamplerAddressMode tAddressMode - { - get => (MTLSamplerAddressMode)uint_objc_msgSend(NativePtr, sel_tAddressMode); - set => objc_msgSend(NativePtr, sel_setTAddressMode, (uint)value); - } - - public MTLSamplerMinMagFilter minFilter - { - get => (MTLSamplerMinMagFilter)uint_objc_msgSend(NativePtr, sel_minFilter); - set => objc_msgSend(NativePtr, sel_setMinFilter, (uint)value); - } - - public MTLSamplerMinMagFilter magFilter - { - get => (MTLSamplerMinMagFilter)uint_objc_msgSend(NativePtr, sel_magFilter); - set => objc_msgSend(NativePtr, sel_setMagFilter, (uint)value); - } - - public MTLSamplerMipFilter mipFilter - { - get => (MTLSamplerMipFilter)uint_objc_msgSend(NativePtr, sel_mipFilter); - set => objc_msgSend(NativePtr, sel_setMipFilter, (uint)value); - } - - public float lodMinClamp - { - get => float_objc_msgSend(NativePtr, sel_lodMinClamp); - set => objc_msgSend(NativePtr, sel_setLodMinClamp, value); - } - - public float lodMaxClamp - { - get => float_objc_msgSend(NativePtr, sel_lodMaxClamp); - set => objc_msgSend(NativePtr, sel_setLodMaxClamp, value); - } - - public Bool8 lodAverage - { - get => bool8_objc_msgSend(NativePtr, sel_lodAverage); - set => objc_msgSend(NativePtr, sel_setLodAverage, value); - } - - public UIntPtr maxAnisotropy - { - get => UIntPtr_objc_msgSend(NativePtr, sel_maxAnisotropy); - set => objc_msgSend(NativePtr, sel_setMaAnisotropy, value); - } - - public MTLCompareFunction compareFunction - { - get => (MTLCompareFunction)uint_objc_msgSend(NativePtr, sel_compareFunction); - set => objc_msgSend(NativePtr, sel_setCompareFunction, (uint)value); - } - - public MTLSamplerBorderColor borderColor - { - get => (MTLSamplerBorderColor)uint_objc_msgSend(NativePtr, sel_borderColor); - set => objc_msgSend(NativePtr, sel_setBorderColor, (uint)value); - } - - private static readonly Selector sel_rAddressMode = "rAddressMode"; - private static readonly Selector sel_setRAddressMode = "setRAddressMode:"; - private static readonly Selector sel_sAddressMode = "sAddressMode"; - private static readonly Selector sel_setSAddressMode = "setSAddressMode:"; - private static readonly Selector sel_tAddressMode = "tAddressMode"; - private static readonly Selector sel_setTAddressMode = "setTAddressMode:"; - private static readonly Selector sel_minFilter = "minFilter"; - private static readonly Selector sel_setMinFilter = "setMinFilter:"; - private static readonly Selector sel_magFilter = "magFilter"; - private static readonly Selector sel_setMagFilter = "setMagFilter:"; - private static readonly Selector sel_mipFilter = "mipFilter"; - private static readonly Selector sel_setMipFilter = "setMipFilter:"; - private static readonly Selector sel_lodMinClamp = "lodMinClamp"; - private static readonly Selector sel_setLodMinClamp = "setLodMinClamp:"; - private static readonly Selector sel_lodMaxClamp = "lodMaxClamp"; - private static readonly Selector sel_setLodMaxClamp = "setLodMaxClamp:"; - private static readonly Selector sel_lodAverage = "lodAverage"; - private static readonly Selector sel_setLodAverage = "setLodAverage:"; - private static readonly Selector sel_maxAnisotropy = "maxAnisotropy"; - private static readonly Selector sel_setMaAnisotropy = "setMaxAnisotropy:"; - private static readonly Selector sel_compareFunction = "compareFunction"; - private static readonly Selector sel_setCompareFunction = "setCompareFunction:"; - private static readonly Selector sel_borderColor = "borderColor"; - private static readonly Selector sel_setBorderColor = "setBorderColor:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerMinMagFilter.cs b/Veldrid.MetalBindings/MTLSamplerMinMagFilter.cs deleted file mode 100644 index ecb689dd5..000000000 --- a/Veldrid.MetalBindings/MTLSamplerMinMagFilter.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLSamplerMinMagFilter - { - Nearest = 0, - Linear = 1, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerMipFilter.cs b/Veldrid.MetalBindings/MTLSamplerMipFilter.cs deleted file mode 100644 index 08c8c5259..000000000 --- a/Veldrid.MetalBindings/MTLSamplerMipFilter.cs +++ /dev/null @@ -1,9 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLSamplerMipFilter - { - NotMipmapped = 0, - Nearest = 1, - Linear = 2, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSamplerState.cs b/Veldrid.MetalBindings/MTLSamplerState.cs deleted file mode 100644 index 47037554d..000000000 --- a/Veldrid.MetalBindings/MTLSamplerState.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLSamplerState - { - public readonly IntPtr NativePtr; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLScissorRect.cs b/Veldrid.MetalBindings/MTLScissorRect.cs deleted file mode 100644 index dbb4be637..000000000 --- a/Veldrid.MetalBindings/MTLScissorRect.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct MTLScissorRect - { - public UIntPtr x; - public UIntPtr y; - public UIntPtr width; - public UIntPtr height; - - public MTLScissorRect(uint x, uint y, uint width, uint height) - { - this.x = (UIntPtr)x; - this.y = (UIntPtr)y; - this.width = (UIntPtr)width; - this.height = (UIntPtr)height; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLSize.cs b/Veldrid.MetalBindings/MTLSize.cs deleted file mode 100644 index 9c50d98e9..000000000 --- a/Veldrid.MetalBindings/MTLSize.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public struct MTLSize - { - public UIntPtr Width; - public UIntPtr Height; - public UIntPtr Depth; - - public MTLSize(uint width, uint height, uint depth) - { - Width = (UIntPtr)width; - Height = (UIntPtr)height; - Depth = (UIntPtr)depth; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLStencilDescriptor.cs b/Veldrid.MetalBindings/MTLStencilDescriptor.cs deleted file mode 100644 index 7d0c212ab..000000000 --- a/Veldrid.MetalBindings/MTLStencilDescriptor.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLStencilDescriptor - { - public readonly IntPtr NativePtr; - - public MTLStencilOperation stencilFailureOperation - { - get => (MTLStencilOperation)uint_objc_msgSend(NativePtr, sel_stencilFailureOperation); - set => objc_msgSend(NativePtr, sel_setStencilFailureOperation, (uint)value); - } - - public MTLStencilOperation depthFailureOperation - { - get => (MTLStencilOperation)uint_objc_msgSend(NativePtr, sel_depthFailureOperation); - set => objc_msgSend(NativePtr, sel_setDepthFailureOperation, (uint)value); - } - - public MTLStencilOperation depthStencilPassOperation - { - get => (MTLStencilOperation)uint_objc_msgSend(NativePtr, sel_depthStencilPassOperation); - set => objc_msgSend(NativePtr, sel_setDepthStencilPassOperation, (uint)value); - } - - public MTLCompareFunction stencilCompareFunction - { - get => (MTLCompareFunction)uint_objc_msgSend(NativePtr, sel_stencilCompareFunction); - set => objc_msgSend(NativePtr, sel_setStencilCompareFunction, (uint)value); - } - - public uint readMask - { - get => uint_objc_msgSend(NativePtr, sel_readMask); - set => objc_msgSend(NativePtr, sel_setReadMask, value); - } - - public uint writeMask - { - get => uint_objc_msgSend(NativePtr, sel_writeMask); - set => objc_msgSend(NativePtr, sel_setWriteMask, value); - } - - private static readonly Selector sel_depthFailureOperation = "depthFailureOperation"; - private static readonly Selector sel_stencilFailureOperation = "stencilFailureOperation"; - private static readonly Selector sel_setStencilFailureOperation = "setStencilFailureOperation:"; - private static readonly Selector sel_setDepthFailureOperation = "setDepthFailureOperation:"; - private static readonly Selector sel_depthStencilPassOperation = "depthStencilPassOperation"; - private static readonly Selector sel_setDepthStencilPassOperation = "setDepthStencilPassOperation:"; - private static readonly Selector sel_stencilCompareFunction = "stencilCompareFunction"; - private static readonly Selector sel_setStencilCompareFunction = "setStencilCompareFunction:"; - private static readonly Selector sel_readMask = "readMask"; - private static readonly Selector sel_setReadMask = "setReadMask:"; - private static readonly Selector sel_writeMask = "writeMask"; - private static readonly Selector sel_setWriteMask = "setWriteMask:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLStencilOperation.cs b/Veldrid.MetalBindings/MTLStencilOperation.cs deleted file mode 100644 index 8d1dd791c..000000000 --- a/Veldrid.MetalBindings/MTLStencilOperation.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLStencilOperation - { - Keep = 0, - Zero = 1, - Replace = 2, - IncrementClamp = 3, - DecrementClamp = 4, - Invert = 5, - IncrementWrap = 6, - DecrementWrap = 7, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLStorageMode.cs b/Veldrid.MetalBindings/MTLStorageMode.cs deleted file mode 100644 index 23ba7809a..000000000 --- a/Veldrid.MetalBindings/MTLStorageMode.cs +++ /dev/null @@ -1,10 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLStorageMode : uint - { - Shared = 0, - Managed = 1, - Private = 2, - Memoryless = 3, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLStoreAction.cs b/Veldrid.MetalBindings/MTLStoreAction.cs deleted file mode 100644 index cbcd0c48a..000000000 --- a/Veldrid.MetalBindings/MTLStoreAction.cs +++ /dev/null @@ -1,12 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLStoreAction - { - DontCare = 0, - Store = 1, - MultisampleResolve = 2, - StoreAndMultisampleResolve = 3, - Unknown = 4, - CustomSampleDepthStore = 5, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLTexture.cs b/Veldrid.MetalBindings/MTLTexture.cs deleted file mode 100644 index 69d8a6e4c..000000000 --- a/Veldrid.MetalBindings/MTLTexture.cs +++ /dev/null @@ -1,46 +0,0 @@ -using static Veldrid.MetalBindings.ObjectiveCRuntime; -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - [StructLayout(LayoutKind.Sequential)] - public unsafe struct MTLTexture - { - public readonly IntPtr NativePtr; - - public MTLTexture(IntPtr ptr) => NativePtr = ptr; - public bool IsNull => NativePtr == IntPtr.Zero; - - public void replaceRegion( - MTLRegion region, - UIntPtr mipmapLevel, - UIntPtr slice, - void* pixelBytes, - UIntPtr bytesPerRow, - UIntPtr bytesPerImage) - { - objc_msgSend(NativePtr, sel_replaceRegion, - region, - mipmapLevel, - slice, - (IntPtr)pixelBytes, - bytesPerRow, - bytesPerImage); - } - - public MTLTexture newTextureView( - MTLPixelFormat pixelFormat, - MTLTextureType textureType, - NSRange levelRange, - NSRange sliceRange) - { - IntPtr ret = IntPtr_objc_msgSend(NativePtr, sel_newTextureView, - (uint)pixelFormat, (uint)textureType, levelRange, sliceRange); - return new MTLTexture(ret); - } - - private static readonly Selector sel_replaceRegion = "replaceRegion:mipmapLevel:slice:withBytes:bytesPerRow:bytesPerImage:"; - private static readonly Selector sel_newTextureView = "newTextureViewWithPixelFormat:textureType:levels:slices:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLTextureDescriptor.cs b/Veldrid.MetalBindings/MTLTextureDescriptor.cs deleted file mode 100644 index 360019736..000000000 --- a/Veldrid.MetalBindings/MTLTextureDescriptor.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLTextureDescriptor - { - private static readonly ObjCClass s_class = new ObjCClass(nameof(MTLTextureDescriptor)); - public readonly IntPtr NativePtr; - public static MTLTextureDescriptor New() => s_class.AllocInit(); - - public MTLTextureType textureType - { - get => (MTLTextureType)uint_objc_msgSend(NativePtr, sel_textureType); - set => objc_msgSend(NativePtr, sel_setTextureType, (uint)value); - } - - public MTLPixelFormat pixelFormat - { - get => (MTLPixelFormat)uint_objc_msgSend(NativePtr, Selectors.pixelFormat); - set => objc_msgSend(NativePtr, Selectors.setPixelFormat, (uint)value); - } - - public UIntPtr width - { - get => UIntPtr_objc_msgSend(NativePtr, sel_width); - set => objc_msgSend(NativePtr, sel_setWidth, value); - } - - public UIntPtr height - { - get => UIntPtr_objc_msgSend(NativePtr, sel_height); - set => objc_msgSend(NativePtr, sel_setHeight, value); - } - - public UIntPtr depth - { - get => UIntPtr_objc_msgSend(NativePtr, sel_depth); - set => objc_msgSend(NativePtr, sel_setDepth, value); - } - - public UIntPtr mipmapLevelCount - { - get => UIntPtr_objc_msgSend(NativePtr, sel_mipmapLevelCount); - set => objc_msgSend(NativePtr, sel_setMipmapLevelCount, value); - } - - public UIntPtr sampleCount - { - get => UIntPtr_objc_msgSend(NativePtr, sel_sampleCount); - set => objc_msgSend(NativePtr, sel_setSampleCount, value); - } - - public UIntPtr arrayLength - { - get => UIntPtr_objc_msgSend(NativePtr, sel_arrayLength); - set => objc_msgSend(NativePtr, sel_setArrayLength, value); - } - - public MTLResourceOptions resourceOptions - { - get => (MTLResourceOptions)uint_objc_msgSend(NativePtr, sel_resourceOptions); - set => objc_msgSend(NativePtr, sel_setResourceOptions, (uint)value); - } - - public MTLCPUCacheMode cpuCacheMode - { - get => (MTLCPUCacheMode)uint_objc_msgSend(NativePtr, sel_cpuCacheMode); - set => objc_msgSend(NativePtr, sel_setCpuCacheMode, (uint)value); - } - - public MTLStorageMode storageMode - { - get => (MTLStorageMode)uint_objc_msgSend(NativePtr, sel_storageMode); - set => objc_msgSend(NativePtr, sel_setStorageMode, (uint)value); - } - - public MTLTextureUsage textureUsage - { - get => (MTLTextureUsage)uint_objc_msgSend(NativePtr, sel_textureUsage); - set => objc_msgSend(NativePtr, sel_setTextureUsage, (uint)value); - } - - private static readonly Selector sel_textureType = "textureType"; - private static readonly Selector sel_setTextureType = "setTextureType:"; - private static readonly Selector sel_width = "width"; - private static readonly Selector sel_setWidth = "setWidth:"; - private static readonly Selector sel_height = "height"; - private static readonly Selector sel_setHeight = "setHeight:"; - private static readonly Selector sel_depth = "depth"; - private static readonly Selector sel_setDepth = "setDepth:"; - private static readonly Selector sel_mipmapLevelCount = "mipmapLevelCount"; - private static readonly Selector sel_setMipmapLevelCount = "setMipmapLevelCount:"; - private static readonly Selector sel_sampleCount = "sampleCount"; - private static readonly Selector sel_setSampleCount = "setSampleCount:"; - private static readonly Selector sel_arrayLength = "arrayLength"; - private static readonly Selector sel_setArrayLength = "setArrayLength:"; - private static readonly Selector sel_resourceOptions = "resourceOptions"; - private static readonly Selector sel_setResourceOptions = "setResourceOptions:"; - private static readonly Selector sel_cpuCacheMode = "cpuCacheMode"; - private static readonly Selector sel_setCpuCacheMode = "setCpuCacheMode:"; - private static readonly Selector sel_storageMode = "storageMode"; - private static readonly Selector sel_setStorageMode = "setStorageMode:"; - private static readonly Selector sel_textureUsage = "textureUsage"; - private static readonly Selector sel_setTextureUsage = "setTextureUsage:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLTextureType.cs b/Veldrid.MetalBindings/MTLTextureType.cs deleted file mode 100644 index 6b18527b9..000000000 --- a/Veldrid.MetalBindings/MTLTextureType.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLTextureType - { - Type1D, - Type1DArray, - Type2D, - Type2DArray, - Type2DMultisample, - TypeCube, - TypeCubeArray, - Type3D, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLTextureUsage.cs b/Veldrid.MetalBindings/MTLTextureUsage.cs deleted file mode 100644 index 08d0c4411..000000000 --- a/Veldrid.MetalBindings/MTLTextureUsage.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - [Flags] - public enum MTLTextureUsage - { - Unknown = 0, - ShaderRead = 1 << 0, - ShaderWrite = 1 << 1, - RenderTarget = 1 << 2, - PixelFormatView = 0x10, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLTriangleFillmode.cs b/Veldrid.MetalBindings/MTLTriangleFillmode.cs deleted file mode 100644 index 78840d2df..000000000 --- a/Veldrid.MetalBindings/MTLTriangleFillmode.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLTriangleFillMode : uint - { - Fill = 0, - Lines = 1, - } -} diff --git a/Veldrid.MetalBindings/MTLUtil.cs b/Veldrid.MetalBindings/MTLUtil.cs deleted file mode 100644 index a29f74ea0..000000000 --- a/Veldrid.MetalBindings/MTLUtil.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Text; - -namespace Veldrid.MetalBindings -{ - public static class MTLUtil - { - public static unsafe string GetUtf8String(byte* stringStart) - { - int characters = 0; - while (stringStart[characters] != 0) - { - characters++; - } - - return Encoding.UTF8.GetString(stringStart, characters); - } - - public static T AllocInit(string typeName) where T : struct - { - var cls = new ObjCClass(typeName); - return cls.AllocInit(); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexAttributeDescriptor.cs b/Veldrid.MetalBindings/MTLVertexAttributeDescriptor.cs deleted file mode 100644 index 400e94a51..000000000 --- a/Veldrid.MetalBindings/MTLVertexAttributeDescriptor.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLVertexAttributeDescriptor - { - public readonly IntPtr NativePtr; - - public MTLVertexAttributeDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLVertexFormat format - { - get => (MTLVertexFormat)uint_objc_msgSend(NativePtr, sel_format); - set => objc_msgSend(NativePtr, sel_setFormat, (uint)value); - } - - public UIntPtr offset - { - get => UIntPtr_objc_msgSend(NativePtr, sel_offset); - set => objc_msgSend(NativePtr, sel_setOffset, value); - } - - public UIntPtr bufferIndex - { - get => UIntPtr_objc_msgSend(NativePtr, sel_bufferIndex); - set => objc_msgSend(NativePtr, sel_setBufferIndex, value); - } - - private static readonly Selector sel_format = "format"; - private static readonly Selector sel_setFormat = "setFormat:"; - private static readonly Selector sel_offset = "offset"; - private static readonly Selector sel_setOffset = "setOffset:"; - private static readonly Selector sel_bufferIndex = "bufferIndex"; - private static readonly Selector sel_setBufferIndex = "setBufferIndex:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexAttributeDescriptorArray.cs b/Veldrid.MetalBindings/MTLVertexAttributeDescriptorArray.cs deleted file mode 100644 index 63f4ab1ba..000000000 --- a/Veldrid.MetalBindings/MTLVertexAttributeDescriptorArray.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLVertexAttributeDescriptorArray - { - public readonly IntPtr NativePtr; - - public MTLVertexAttributeDescriptor this[uint index] - { - get - { - IntPtr value = IntPtr_objc_msgSend(NativePtr, Selectors.objectAtIndexedSubscript, index); - return new MTLVertexAttributeDescriptor(value); - } - set => objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, index); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptor.cs b/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptor.cs deleted file mode 100644 index 0da212d79..000000000 --- a/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptor.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLVertexBufferLayoutDescriptor - { - public readonly IntPtr NativePtr; - - public MTLVertexBufferLayoutDescriptor(IntPtr ptr) => NativePtr = ptr; - - public MTLVertexStepFunction stepFunction - { - get => (MTLVertexStepFunction)uint_objc_msgSend(NativePtr, sel_stepFunction); - set => objc_msgSend(NativePtr, sel_setStepFunction, (uint)value); - } - - public UIntPtr stride - { - get => UIntPtr_objc_msgSend(NativePtr, sel_stride); - set => objc_msgSend(NativePtr, sel_setStride, value); - } - - public UIntPtr stepRate - { - get => UIntPtr_objc_msgSend(NativePtr, sel_stepRate); - set => objc_msgSend(NativePtr, sel_setStepRate, value); - } - - private static readonly Selector sel_stepFunction = "stepFunction"; - private static readonly Selector sel_setStepFunction = "setStepFunction:"; - private static readonly Selector sel_stride = "stride"; - private static readonly Selector sel_setStride = "setStride:"; - private static readonly Selector sel_stepRate = "stepRate"; - private static readonly Selector sel_setStepRate = "setStepRate:"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptorArray.cs b/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptorArray.cs deleted file mode 100644 index d8016dfd7..000000000 --- a/Veldrid.MetalBindings/MTLVertexBufferLayoutDescriptorArray.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct MTLVertexBufferLayoutDescriptorArray - { - public readonly IntPtr NativePtr; - - public MTLVertexBufferLayoutDescriptor this[uint index] - { - get - { - IntPtr value = IntPtr_objc_msgSend(NativePtr, Selectors.objectAtIndexedSubscript, index); - return new MTLVertexBufferLayoutDescriptor(value); - } - set => objc_msgSend(NativePtr, Selectors.setObjectAtIndexedSubscript, value.NativePtr, index); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexDescriptor.cs b/Veldrid.MetalBindings/MTLVertexDescriptor.cs deleted file mode 100644 index 8d295b8c4..000000000 --- a/Veldrid.MetalBindings/MTLVertexDescriptor.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct MTLVertexDescriptor - { - public readonly IntPtr NativePtr; - - public MTLVertexBufferLayoutDescriptorArray layouts - => objc_msgSend(NativePtr, sel_layouts); - - public MTLVertexAttributeDescriptorArray attributes - => objc_msgSend(NativePtr, sel_attributes); - - private static readonly Selector sel_layouts = "layouts"; - private static readonly Selector sel_attributes = "attributes"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLVertexFormat.cs b/Veldrid.MetalBindings/MTLVertexFormat.cs deleted file mode 100644 index 786a4608e..000000000 --- a/Veldrid.MetalBindings/MTLVertexFormat.cs +++ /dev/null @@ -1,49 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLVertexFormat - { - invalid = 0, - uchar2 = 1, - uchar3 = 2, - uchar4 = 3, - char2 = 4, - char3 = 5, - char4 = 6, - uchar2Normalized = 7, - uchar3Normalized = 8, - uchar4Normalized = 9, - char2Normalized = 10, - char3Normalized = 11, - char4Normalized = 12, - ushort2 = 13, - ushort3 = 14, - ushort4 = 15, - short2 = 16, - short3 = 17, - short4 = 18, - ushort2Normalized = 19, - ushort3Normalized = 20, - ushort4Normalized = 21, - short2Normalized = 22, - short3Normalized = 23, - short4Normalized = 24, - half2 = 25, - half3 = 26, - half4 = 27, - @float = 28, - float2 = 29, - float3 = 30, - float4 = 31, - @int = 32, - int2 = 33, - int3 = 34, - int4 = 35, - @uint = 36, - uint2 = 37, - uint3 = 38, - uint4 = 39, - int1010102Normalized = 40, - uint1010102Normalized = 41, - half = 53, - } -} diff --git a/Veldrid.MetalBindings/MTLVertexStepFunction.cs b/Veldrid.MetalBindings/MTLVertexStepFunction.cs deleted file mode 100644 index 6bbf839ee..000000000 --- a/Veldrid.MetalBindings/MTLVertexStepFunction.cs +++ /dev/null @@ -1,11 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLVertexStepFunction - { - Constant = 0, - PerVertex = 1, - PerInstance = 2, - PerPatch = 3, - PerPatchControlPoint = 4, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLViewport.cs b/Veldrid.MetalBindings/MTLViewport.cs deleted file mode 100644 index 272419ec5..000000000 --- a/Veldrid.MetalBindings/MTLViewport.cs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public struct MTLViewport - { - public double originX; - public double originY; - public double width; - public double height; - public double znear; - public double zfar; - - public MTLViewport(double originX, double originY, double width, double height, double znear, double zfar) - { - this.originX = originX; - this.originY = originY; - this.width = width; - this.height = height; - this.znear = znear; - this.zfar = zfar; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/MTLWinding.cs b/Veldrid.MetalBindings/MTLWinding.cs deleted file mode 100644 index e0d9537d5..000000000 --- a/Veldrid.MetalBindings/MTLWinding.cs +++ /dev/null @@ -1,8 +0,0 @@ -namespace Veldrid.MetalBindings -{ - public enum MTLWinding - { - Clockwise = 0, - CounterClockwise = 1, - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSArray.cs b/Veldrid.MetalBindings/NSArray.cs deleted file mode 100644 index 8395a6991..000000000 --- a/Veldrid.MetalBindings/NSArray.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct NSArray - { - public readonly IntPtr NativePtr; - public NSArray(IntPtr ptr) => NativePtr = ptr; - - public UIntPtr count => UIntPtr_objc_msgSend(NativePtr, sel_count); - private static readonly Selector sel_count = "count"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSAutoreleasePool.cs b/Veldrid.MetalBindings/NSAutoreleasePool.cs deleted file mode 100644 index 8031b62b0..000000000 --- a/Veldrid.MetalBindings/NSAutoreleasePool.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct NSAutoreleasePool : IDisposable - { - private static readonly ObjCClass s_class = new ObjCClass(nameof(NSAutoreleasePool)); - public readonly IntPtr NativePtr; - public NSAutoreleasePool(IntPtr ptr) => NativePtr = ptr; - - public static NSAutoreleasePool Begin() - { - return s_class.AllocInit(); - } - - public void Dispose() - { - ObjectiveCRuntime.release(this.NativePtr); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSDictionary.cs b/Veldrid.MetalBindings/NSDictionary.cs deleted file mode 100644 index b1c8d4c14..000000000 --- a/Veldrid.MetalBindings/NSDictionary.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct NSDictionary - { - public readonly IntPtr NativePtr; - - public UIntPtr count => ObjectiveCRuntime.UIntPtr_objc_msgSend(NativePtr, "count"); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSError.cs b/Veldrid.MetalBindings/NSError.cs deleted file mode 100644 index fee467e0d..000000000 --- a/Veldrid.MetalBindings/NSError.cs +++ /dev/null @@ -1,12 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct NSError - { - public readonly IntPtr NativePtr; - public string domain => string_objc_msgSend(NativePtr, "domain"); - public string localizedDescription => string_objc_msgSend(NativePtr, "localizedDescription"); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSRange.cs b/Veldrid.MetalBindings/NSRange.cs deleted file mode 100644 index dbab04adf..000000000 --- a/Veldrid.MetalBindings/NSRange.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct NSRange - { - public UIntPtr location; - public UIntPtr length; - - public NSRange(UIntPtr location, UIntPtr length) - { - this.location = location; - this.length = length; - } - - public NSRange(uint location, uint length) - { - this.location = (UIntPtr)location; - this.length = (UIntPtr)length; - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSString.cs b/Veldrid.MetalBindings/NSString.cs deleted file mode 100644 index 84fc30e3c..000000000 --- a/Veldrid.MetalBindings/NSString.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct NSString - { - public readonly IntPtr NativePtr; - public NSString(IntPtr ptr) => NativePtr = ptr; - public static implicit operator IntPtr(NSString nss) => nss.NativePtr; - - public static NSString New(string s) - { - var nss = s_class.Alloc(); - - fixed (char* utf16Ptr = s) - { - UIntPtr length = (UIntPtr)s.Length; - IntPtr newString = IntPtr_objc_msgSend(nss, sel_initWithCharacters, (IntPtr)utf16Ptr, length); - return new NSString(newString); - } - } - - public string GetValue() - { - byte* utf8Ptr = bytePtr_objc_msgSend(NativePtr, sel_utf8String); - return MTLUtil.GetUtf8String(utf8Ptr); - } - - private static readonly ObjCClass s_class = new ObjCClass(nameof(NSString)); - private static readonly Selector sel_initWithCharacters = "initWithCharacters:length:"; - private static readonly Selector sel_utf8String = "UTF8String"; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSView.cs b/Veldrid.MetalBindings/NSView.cs deleted file mode 100644 index 93ca5ada4..000000000 --- a/Veldrid.MetalBindings/NSView.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct NSView - { - public readonly IntPtr NativePtr; - public NSView(IntPtr ptr) => NativePtr = ptr; - - public Bool8 wantsLayer - { - get => bool8_objc_msgSend(NativePtr, "wantsLayer"); - set => objc_msgSend(NativePtr, "setWantsLayer:", value); - } - - public IntPtr layer - { - get => IntPtr_objc_msgSend(NativePtr, "layer"); - set => objc_msgSend(NativePtr, "setLayer:", value); - } - - public CGRect frame - { - get => objc_msgSend_stret(NativePtr, "frame"); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/NSWindow.cs b/Veldrid.MetalBindings/NSWindow.cs deleted file mode 100644 index 52457d4f7..000000000 --- a/Veldrid.MetalBindings/NSWindow.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct NSWindow - { - public readonly IntPtr NativePtr; - public NSWindow(IntPtr ptr) - { - NativePtr = ptr; - } - - public NSView contentView => objc_msgSend(NativePtr, "contentView"); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/ObjCClass.cs b/Veldrid.MetalBindings/ObjCClass.cs deleted file mode 100644 index 1f4da1e11..000000000 --- a/Veldrid.MetalBindings/ObjCClass.cs +++ /dev/null @@ -1,56 +0,0 @@ -using System; -using System.Runtime.CompilerServices; -using System.Text; - -namespace Veldrid.MetalBindings -{ - public unsafe struct ObjCClass - { - public readonly IntPtr NativePtr; - public static implicit operator IntPtr(ObjCClass c) => c.NativePtr; - - public ObjCClass(string name) - { - int byteCount = Encoding.UTF8.GetMaxByteCount(name.Length); - byte* utf8BytesPtr = stackalloc byte[byteCount]; - fixed (char* namePtr = name) - { - Encoding.UTF8.GetBytes(namePtr, name.Length, utf8BytesPtr, byteCount); - } - - NativePtr = ObjectiveCRuntime.objc_getClass(utf8BytesPtr); - } - - public IntPtr GetProperty(string propertyName) - { - int byteCount = Encoding.UTF8.GetMaxByteCount(propertyName.Length); - byte* utf8BytesPtr = stackalloc byte[byteCount]; - fixed (char* namePtr = propertyName) - { - Encoding.UTF8.GetBytes(namePtr, propertyName.Length, utf8BytesPtr, byteCount); - } - - return ObjectiveCRuntime.class_getProperty(this, utf8BytesPtr); - } - - public string Name => MTLUtil.GetUtf8String(ObjectiveCRuntime.class_getName(this)); - - public T Alloc() where T : struct - { - IntPtr value = ObjectiveCRuntime.IntPtr_objc_msgSend(NativePtr, Selectors.alloc); - return Unsafe.AsRef(&value); - } - - public T AllocInit() where T : struct - { - IntPtr value = ObjectiveCRuntime.IntPtr_objc_msgSend(NativePtr, Selectors.alloc); - ObjectiveCRuntime.objc_msgSend(value, Selectors.init); - return Unsafe.AsRef(&value); - } - - public ObjectiveCMethod* class_copyMethodList(out uint count) - { - return ObjectiveCRuntime.class_copyMethodList(this, out count); - } - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/ObjectiveCMethod.cs b/Veldrid.MetalBindings/ObjectiveCMethod.cs deleted file mode 100644 index 19a7c77d0..000000000 --- a/Veldrid.MetalBindings/ObjectiveCMethod.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace Veldrid.MetalBindings -{ - public struct ObjectiveCMethod - { - public readonly IntPtr NativePtr; - public ObjectiveCMethod(IntPtr ptr) => NativePtr = ptr; - public static implicit operator IntPtr(ObjectiveCMethod method) => method.NativePtr; - public static implicit operator ObjectiveCMethod(IntPtr ptr) => new ObjectiveCMethod(ptr); - - public Selector GetSelector() => ObjectiveCRuntime.method_getName(this); - public string GetName() => GetSelector().Name; - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/ObjectiveCRuntime.cs b/Veldrid.MetalBindings/ObjectiveCRuntime.cs deleted file mode 100644 index 18ae85246..000000000 --- a/Veldrid.MetalBindings/ObjectiveCRuntime.cs +++ /dev/null @@ -1,282 +0,0 @@ -using System; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -namespace Veldrid.MetalBindings -{ - public static unsafe class ObjectiveCRuntime - { - private const string ObjCLibrary = "/usr/lib/libobjc.A.dylib"; - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, float a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, double a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, CGRect a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, uint b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, NSRange b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLSize a, MTLSize b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr c, UIntPtr d, MTLSize e); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLClearColor a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, CGSize a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, UIntPtr b, UIntPtr c); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, void* a, UIntPtr b, UIntPtr c); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLPrimitiveType a, UIntPtr b, UIntPtr c, UIntPtr d, UIntPtr e); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLPrimitiveType a, UIntPtr b, UIntPtr c, UIntPtr d); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, NSRange a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, UIntPtr a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLCommandBufferHandler a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, UIntPtr b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLViewport a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLScissorRect a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, void* a, uint b, UIntPtr c); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, void* a, UIntPtr b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLPrimitiveType a, UIntPtr b, MTLIndexType c, IntPtr d, UIntPtr e, UIntPtr f); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, MTLPrimitiveType a, MTLBuffer b, UIntPtr c); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLPrimitiveType a, - UIntPtr b, - MTLIndexType c, - IntPtr d, - UIntPtr e, - UIntPtr f, - IntPtr g, - UIntPtr h); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLPrimitiveType a, - MTLIndexType b, - MTLBuffer c, - UIntPtr d, - MTLBuffer e, - UIntPtr f); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLBuffer a, - UIntPtr b, - MTLBuffer c, - UIntPtr d, - UIntPtr e); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - IntPtr a, - UIntPtr b, - UIntPtr c, - UIntPtr d, - MTLSize e, - IntPtr f, - UIntPtr g, - UIntPtr h, - MTLOrigin i); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLRegion a, - UIntPtr b, - UIntPtr c, - IntPtr d, - UIntPtr e, - UIntPtr f); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLTexture a, - UIntPtr b, - UIntPtr c, - MTLOrigin d, - MTLSize e, - MTLBuffer f, - UIntPtr g, - UIntPtr h, - UIntPtr i); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend( - IntPtr receiver, - Selector selector, - MTLTexture sourceTexture, - UIntPtr sourceSlice, - UIntPtr sourceLevel, - MTLOrigin sourceOrigin, - MTLSize sourceSize, - MTLTexture destinationTexture, - UIntPtr destinationSlice, - UIntPtr destinationLevel, - MTLOrigin destinationOrigin); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern byte* bytePtr_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern CGSize CGSize_objc_msgSend(IntPtr receiver, Selector selector); - - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern byte byte_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern Bool8 bool8_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern Bool8 bool8_objc_msgSend(IntPtr receiver, Selector selector, UIntPtr a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern Bool8 bool8_objc_msgSend(IntPtr receiver, Selector selector, IntPtr a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern Bool8 bool8_objc_msgSend(IntPtr receiver, Selector selector, UIntPtr a, IntPtr b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern Bool8 bool8_objc_msgSend(IntPtr receiver, Selector selector, uint a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern uint uint_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern float float_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - - public static extern CGFloat CGFloat_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern double double_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, IntPtr a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, out NSError error); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, uint a, uint b, NSRange c, NSRange d); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, MTLComputePipelineDescriptor a, uint b, IntPtr c, out NSError error); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, uint a); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, UIntPtr a); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, IntPtr b, out NSError error); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, IntPtr a, UIntPtr b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, UIntPtr b, MTLResourceOptions c); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern IntPtr IntPtr_objc_msgSend(IntPtr receiver, Selector selector, void* a, UIntPtr b, MTLResourceOptions c); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern UIntPtr UIntPtr_objc_msgSend(IntPtr receiver, Selector selector); - - public static T objc_msgSend(IntPtr receiver, Selector selector) where T : struct - { - IntPtr value = IntPtr_objc_msgSend(receiver, selector); - return Unsafe.AsRef(&value); - } - public static T objc_msgSend(IntPtr receiver, Selector selector, IntPtr a) where T : struct - { - IntPtr value = IntPtr_objc_msgSend(receiver, selector, a); - return Unsafe.AsRef(&value); - } - public static string string_objc_msgSend(IntPtr receiver, Selector selector) - { - return objc_msgSend(receiver, selector).GetValue(); - } - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, byte b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, Bool8 b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, uint b); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, float a, float b, float c, float d); - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern void objc_msgSend(IntPtr receiver, Selector selector, IntPtr b); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend_stret")] - public static extern void objc_msgSend_stret(void* retPtr, IntPtr receiver, Selector selector); - public static T objc_msgSend_stret(IntPtr receiver, Selector selector) where T : struct - { - T ret = default(T); - objc_msgSend_stret(Unsafe.AsPointer(ref ret), receiver, selector); - return ret; - } - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern MTLClearColor MTLClearColor_objc_msgSend(IntPtr receiver, Selector selector); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern MTLSize MTLSize_objc_msgSend(IntPtr receiver, Selector selector); - - [DllImport(ObjCLibrary, EntryPoint = "objc_msgSend")] - public static extern CGRect CGRect_objc_msgSend(IntPtr receiver, Selector selector); - - // TODO: This should check the current processor type, struct size, etc. - // At the moment there is no need because all existing occurences of - // this can safely use the non-stret versions everywhere. - public static bool UseStret() => false; - - [DllImport(ObjCLibrary)] - public static extern IntPtr sel_registerName(byte* namePtr); - - [DllImport(ObjCLibrary)] - public static extern byte* sel_getName(IntPtr selector); - - [DllImport(ObjCLibrary)] - public static extern IntPtr objc_getClass(byte* namePtr); - - [DllImport(ObjCLibrary)] - public static extern ObjCClass object_getClass(IntPtr obj); - - [DllImport(ObjCLibrary)] - public static extern IntPtr class_getProperty(ObjCClass cls, byte* namePtr); - - [DllImport(ObjCLibrary)] - public static extern byte* class_getName(ObjCClass cls); - - [DllImport(ObjCLibrary)] - public static extern byte* property_copyAttributeValue(IntPtr property, byte* attributeNamePtr); - - [DllImport(ObjCLibrary)] - public static extern Selector method_getName(ObjectiveCMethod method); - - [DllImport(ObjCLibrary)] - public static extern ObjectiveCMethod* class_copyMethodList(ObjCClass cls, out uint outCount); - - [DllImport(ObjCLibrary)] - public static extern void free(IntPtr receiver); - public static void retain(IntPtr receiver) => objc_msgSend(receiver, "retain"); - public static void release(IntPtr receiver) => objc_msgSend(receiver, "release"); - public static ulong GetRetainCount(IntPtr receiver) => (ulong)UIntPtr_objc_msgSend(receiver, "retainCount"); - } -} diff --git a/Veldrid.MetalBindings/Selector.cs b/Veldrid.MetalBindings/Selector.cs deleted file mode 100644 index 204ea5329..000000000 --- a/Veldrid.MetalBindings/Selector.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Text; - -namespace Veldrid.MetalBindings -{ - public unsafe struct Selector - { - public readonly IntPtr NativePtr; - - public Selector(IntPtr ptr) - { - NativePtr = ptr; - } - - public Selector(string name) - { - int byteCount = Encoding.UTF8.GetMaxByteCount(name.Length); - byte* utf8BytesPtr = stackalloc byte[byteCount]; - fixed (char* namePtr = name) - { - Encoding.UTF8.GetBytes(namePtr, name.Length, utf8BytesPtr, byteCount); - } - - NativePtr = ObjectiveCRuntime.sel_registerName(utf8BytesPtr); - } - - public string Name - { - get - { - byte* name = ObjectiveCRuntime.sel_getName(NativePtr); - return MTLUtil.GetUtf8String(name); - } - } - - public static implicit operator Selector(string s) => new Selector(s); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/Selectors.cs b/Veldrid.MetalBindings/Selectors.cs deleted file mode 100644 index 9975d7c80..000000000 --- a/Veldrid.MetalBindings/Selectors.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Veldrid.MetalBindings -{ - internal static class Selectors - { - internal static readonly Selector texture = "texture"; - internal static readonly Selector setTexture = "setTexture:"; - internal static readonly Selector loadAction = "loadAction"; - internal static readonly Selector setLoadAction = "setLoadAction:"; - internal static readonly Selector storeAction = "storeAction"; - internal static readonly Selector setStoreAction = "setStoreAction:"; - internal static readonly Selector resolveTexture = "resolveTexture"; - internal static readonly Selector setResolveTexture = "setResolveTexture:"; - internal static readonly Selector slice = "slice"; - internal static readonly Selector setSlice = "setSlice:"; - internal static readonly Selector level = "level"; - internal static readonly Selector setLevel = "setLevel:"; - internal static readonly Selector objectAtIndexedSubscript = "objectAtIndexedSubscript:"; - internal static readonly Selector setObjectAtIndexedSubscript = "setObject:atIndexedSubscript:"; - internal static readonly Selector pixelFormat = "pixelFormat"; - internal static readonly Selector setPixelFormat = "setPixelFormat:"; - internal static readonly Selector alloc = "alloc"; - internal static readonly Selector init = "init"; - internal static readonly Selector pushDebugGroup = "pushDebugGroup:"; - internal static readonly Selector popDebugGroup = "popDebugGroup"; - internal static readonly Selector insertDebugSignpost = "insertDebugSignpost:"; - } -} diff --git a/Veldrid.MetalBindings/UIScreen.cs b/Veldrid.MetalBindings/UIScreen.cs deleted file mode 100644 index b6113e881..000000000 --- a/Veldrid.MetalBindings/UIScreen.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public unsafe struct UIScreen - { - public readonly IntPtr NativePtr; - public UIScreen(IntPtr ptr) - { - NativePtr = ptr; - } - - public CGFloat nativeScale => CGFloat_objc_msgSend(NativePtr, "nativeScale"); - - public static UIScreen mainScreen - => objc_msgSend(new ObjCClass(nameof(UIScreen)), "mainScreen"); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/UIView.cs b/Veldrid.MetalBindings/UIView.cs deleted file mode 100644 index ddfc60a0d..000000000 --- a/Veldrid.MetalBindings/UIView.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using static Veldrid.MetalBindings.ObjectiveCRuntime; - -namespace Veldrid.MetalBindings -{ - public struct UIView - { - public readonly IntPtr NativePtr; - public UIView(IntPtr ptr) => NativePtr = ptr; - - public CALayer layer => objc_msgSend(NativePtr, "layer"); - - public CGRect frame => CGRect_objc_msgSend(NativePtr, "frame"); - } -} \ No newline at end of file diff --git a/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj b/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj deleted file mode 100644 index 864dd878c..000000000 --- a/Veldrid.MetalBindings/Veldrid.MetalBindings.csproj +++ /dev/null @@ -1,12 +0,0 @@ - - - - netstandard2.0 - true - - - - - - - diff --git a/Veldrid.OpenGLBindings/Enums.cs b/Veldrid.OpenGLBindings/Enums.cs deleted file mode 100644 index 3be37d380..000000000 --- a/Veldrid.OpenGLBindings/Enums.cs +++ /dev/null @@ -1,2055 +0,0 @@ -using System; - -namespace Veldrid.OpenGLBinding -{ - public enum DrawBufferMode - { - None = 0, - NoneOes = 0, - FrontLeft = 1024, - FrontRight = 1025, - BackLeft = 1026, - BackRight = 1027, - Front = 1028, - Back = 1029, - Left = 1030, - Right = 1031, - FrontAndBack = 1032, - Aux0 = 1033, - Aux1 = 1034, - Aux2 = 1035, - Aux3 = 1036, - ColorAttachment0 = 36064, - ColorAttachment1 = 36065, - ColorAttachment2 = 36066, - ColorAttachment3 = 36067, - ColorAttachment4 = 36068, - ColorAttachment5 = 36069, - ColorAttachment6 = 36070, - ColorAttachment7 = 36071, - ColorAttachment8 = 36072, - ColorAttachment9 = 36073, - ColorAttachment10 = 36074, - ColorAttachment11 = 36075, - ColorAttachment12 = 36076, - ColorAttachment13 = 36077, - ColorAttachment14 = 36078, - ColorAttachment15 = 36079 - } - - [Flags] - public enum ClearBufferMask - { - None = 0, - DepthBufferBit = 256, - AccumBufferBit = 512, - StencilBufferBit = 1024, - ColorBufferBit = 16384, - CoverageBufferBitNv = 32768 - } - - public enum PrimitiveType - { - Points = 0, - Lines = 1, - LineLoop = 2, - LineStrip = 3, - Triangles = 4, - TriangleStrip = 5, - TriangleFan = 6, - Quads = 7, - QuadsExt = 7, - QuadStrip = 8, - Polygon = 9, - LinesAdjacency = 10, - LinesAdjacencyArb = 10, - LinesAdjacencyExt = 10, - LineStripAdjacency = 11, - LineStripAdjacencyArb = 11, - LineStripAdjacencyExt = 11, - TrianglesAdjacency = 12, - TrianglesAdjacencyArb = 12, - TrianglesAdjacencyExt = 12, - TriangleStripAdjacency = 13, - TriangleStripAdjacencyArb = 13, - TriangleStripAdjacencyExt = 13, - Patches = 14, - PatchesExt = 14 - } - - public enum DrawElementsType - { - UnsignedByte = 5121, - UnsignedShort = 5123, - UnsignedInt = 5125 - } - - public enum TextureUnit - { - Texture0 = 33984, - Texture1 = 33985, - Texture2 = 33986, - Texture3 = 33987, - Texture4 = 33988, - Texture5 = 33989, - Texture6 = 33990, - Texture7 = 33991, - Texture8 = 33992, - Texture9 = 33993, - Texture10 = 33994, - Texture11 = 33995, - Texture12 = 33996, - Texture13 = 33997, - Texture14 = 33998, - Texture15 = 33999, - Texture16 = 34000, - Texture17 = 34001, - Texture18 = 34002, - Texture19 = 34003, - Texture20 = 34004, - Texture21 = 34005, - Texture22 = 34006, - Texture23 = 34007, - Texture24 = 34008, - Texture25 = 34009, - Texture26 = 34010, - Texture27 = 34011, - Texture28 = 34012, - Texture29 = 34013, - Texture30 = 34014, - Texture31 = 34015 - } - - public enum FramebufferTarget - { - ReadFramebuffer = 36008, - DrawFramebuffer = 36009, - Framebuffer = 36160, - FramebufferExt = 36160 - } - - public enum RenderbufferTarget - { - Renderbuffer = 36161 - } - - public enum GLFramebufferAttachment - { - FrontLeft = 1024, - FrontRight = 1025, - BackLeft = 1026, - BackRight = 1027, - Aux0 = 1033, - Aux1 = 1034, - Aux2 = 1035, - Aux3 = 1036, - Color = 6144, - Depth = 6145, - Stencil = 6146, - DepthStencilAttachment = 33306, - ColorAttachment0 = 36064, - ColorAttachment0Ext = 36064, - ColorAttachment1 = 36065, - ColorAttachment1Ext = 36065, - ColorAttachment2 = 36066, - ColorAttachment2Ext = 36066, - ColorAttachment3 = 36067, - ColorAttachment3Ext = 36067, - ColorAttachment4 = 36068, - ColorAttachment4Ext = 36068, - ColorAttachment5 = 36069, - ColorAttachment5Ext = 36069, - ColorAttachment6 = 36070, - ColorAttachment6Ext = 36070, - ColorAttachment7 = 36071, - ColorAttachment7Ext = 36071, - ColorAttachment8 = 36072, - ColorAttachment8Ext = 36072, - ColorAttachment9 = 36073, - ColorAttachment9Ext = 36073, - ColorAttachment10 = 36074, - ColorAttachment10Ext = 36074, - ColorAttachment11 = 36075, - ColorAttachment11Ext = 36075, - ColorAttachment12 = 36076, - ColorAttachment12Ext = 36076, - ColorAttachment13 = 36077, - ColorAttachment13Ext = 36077, - ColorAttachment14 = 36078, - ColorAttachment14Ext = 36078, - ColorAttachment15 = 36079, - ColorAttachment15Ext = 36079, - DepthAttachment = 36096, - DepthAttachmentExt = 36096, - StencilAttachment = 36128, - StencilAttachmentExt = 36128 - } - - public enum TextureTarget - { - Texture1D = 3552, - Texture2D = 3553, - ProxyTexture1D = 32867, - ProxyTexture1DExt = 32867, - ProxyTexture2D = 32868, - ProxyTexture2DExt = 32868, - Texture3D = 32879, - Texture3DExt = 32879, - Texture3DOes = 32879, - ProxyTexture3D = 32880, - ProxyTexture3DExt = 32880, - DetailTexture2DSgis = 32917, - Texture4DSgis = 33076, - ProxyTexture4DSgis = 33077, - TextureMinLod = 33082, - TextureMinLodSgis = 33082, - TextureMaxLod = 33083, - TextureMaxLodSgis = 33083, - TextureBaseLevel = 33084, - TextureBaseLevelSgis = 33084, - TextureMaxLevel = 33085, - TextureMaxLevelSgis = 33085, - TextureRectangle = 34037, - TextureRectangleArb = 34037, - TextureRectangleNv = 34037, - ProxyTextureRectangle = 34039, - TextureCubeMap = 34067, - TextureBindingCubeMap = 34068, - TextureCubeMapPositiveX = 34069, - TextureCubeMapNegativeX = 34070, - TextureCubeMapPositiveY = 34071, - TextureCubeMapNegativeY = 34072, - TextureCubeMapPositiveZ = 34073, - TextureCubeMapNegativeZ = 34074, - ProxyTextureCubeMap = 34075, - Texture1DArray = 35864, - ProxyTexture1DArray = 35865, - Texture2DArray = 35866, - ProxyTexture2DArray = 35867, - TextureBuffer = 35882, - TextureCubeMapArray = 36873, - ProxyTextureCubeMapArray = 36875, - Texture2DMultisample = 37120, - ProxyTexture2DMultisample = 37121, - Texture2DMultisampleArray = 37122, - ProxyTexture2DMultisampleArray = 37123 - } - - public enum DrawBuffersEnum - { - None = 0, - FrontLeft = 1024, - FrontRight = 1025, - BackLeft = 1026, - BackRight = 1027, - Aux0 = 1033, - Aux1 = 1034, - Aux2 = 1035, - Aux3 = 1036, - ColorAttachment0 = 36064, - ColorAttachment1 = 36065, - ColorAttachment2 = 36066, - ColorAttachment3 = 36067, - ColorAttachment4 = 36068, - ColorAttachment5 = 36069, - ColorAttachment6 = 36070, - ColorAttachment7 = 36071, - ColorAttachment8 = 36072, - ColorAttachment9 = 36073, - ColorAttachment10 = 36074, - ColorAttachment11 = 36075, - ColorAttachment12 = 36076, - ColorAttachment13 = 36077, - ColorAttachment14 = 36078, - ColorAttachment15 = 36079 - } - - public enum FramebufferErrorCode - { - FramebufferUndefined = 33305, - FramebufferComplete = 36053, - FramebufferCompleteExt = 36053, - FramebufferIncompleteAttachment = 36054, - FramebufferIncompleteAttachmentExt = 36054, - FramebufferIncompleteMissingAttachment = 36055, - FramebufferIncompleteMissingAttachmentExt = 36055, - FramebufferIncompleteDimensionsExt = 36057, - FramebufferIncompleteFormatsExt = 36058, - FramebufferIncompleteDrawBuffer = 36059, - FramebufferIncompleteDrawBufferExt = 36059, - FramebufferIncompleteReadBuffer = 36060, - FramebufferIncompleteReadBufferExt = 36060, - FramebufferUnsupported = 36061, - FramebufferUnsupportedExt = 36061, - FramebufferIncompleteMultisample = 36182, - FramebufferIncompleteLayerTargets = 36264, - FramebufferIncompleteLayerCount = 36265 - } - - public enum BufferTarget - { - ArrayBuffer = 34962, - ElementArrayBuffer = 34963, - PixelPackBuffer = 35051, - PixelUnpackBuffer = 35052, - UniformBuffer = 35345, - TextureBuffer = 35882, - TransformFeedbackBuffer = 35982, - CopyReadBuffer = 36662, - CopyWriteBuffer = 36663, - DrawIndirectBuffer = 36671, - ShaderStorageBuffer = 37074, - DispatchIndirectBuffer = 37102, - QueryBuffer = 37266, - AtomicCounterBuffer = 37568 - } - - public enum GLPixelFormat - { - UnsignedShort = 5123, - UnsignedInt = 5125, - ColorIndex = 6400, - StencilIndex = 6401, - DepthComponent = 6402, - Red = 6403, - RedExt = 6403, - Green = 6404, - Blue = 6405, - Alpha = 6406, - Rgb = 6407, - Rgba = 6408, - Luminance = 6409, - LuminanceAlpha = 6410, - AbgrExt = 32768, - CmykExt = 32780, - CmykaExt = 32781, - Bgr = 32992, - Bgra = 32993, - Ycrcb422Sgix = 33211, - Ycrcb444Sgix = 33212, - Rg = 33319, - RgInteger = 33320, - R5G6B5IccSgix = 33894, - R5G6B5A8IccSgix = 33895, - Alpha16IccSgix = 33896, - Luminance16IccSgix = 33897, - Luminance16Alpha8IccSgix = 33899, - DepthStencil = 34041, - RedInteger = 36244, - GreenInteger = 36245, - BlueInteger = 36246, - AlphaInteger = 36247, - RgbInteger = 36248, - RgbaInteger = 36249, - BgrInteger = 36250, - BgraInteger = 36251 - } - - public enum GLPixelType - { - Byte = 5120, - UnsignedByte = 5121, - Short = 5122, - UnsignedShort = 5123, - Int = 5124, - UnsignedInt = 5125, - Float = 5126, - HalfFloat = 5131, - Bitmap = 6656, - UnsignedByte332 = 32818, - UnsignedByte332Ext = 32818, - UnsignedShort4444 = 32819, - UnsignedShort4444Ext = 32819, - UnsignedShort5551 = 32820, - UnsignedShort5551Ext = 32820, - UnsignedInt8888 = 32821, - UnsignedInt8888Ext = 32821, - UnsignedInt1010102 = 32822, - UnsignedInt1010102Ext = 32822, - UnsignedByte233Reversed = 33634, - UnsignedShort565 = 33635, - UnsignedShort565Reversed = 33636, - UnsignedShort4444Reversed = 33637, - UnsignedShort1555Reversed = 33638, - UnsignedInt8888Reversed = 33639, - UnsignedInt2101010Reversed = 33640, - UnsignedInt248 = 34042, - UnsignedInt10F11F11FRev = 35899, - UnsignedInt5999Rev = 35902, - Float32UnsignedInt248Rev = 36269 - } - - public enum PixelInternalFormat - { - One = 1, - Two = 2, - Three = 3, - Four = 4, - DepthComponent = 6402, - Alpha = 6406, - Rgb = 6407, - Rgba = 6408, - Luminance = 6409, - LuminanceAlpha = 6410, - R3G3B2 = 10768, - Alpha4 = 32827, - Alpha8 = 32828, - Alpha12 = 32829, - Alpha16 = 32830, - Luminance4 = 32831, - Luminance8 = 32832, - Luminance12 = 32833, - Luminance16 = 32834, - Luminance4Alpha4 = 32835, - Luminance6Alpha2 = 32836, - Luminance8Alpha8 = 32837, - Luminance12Alpha4 = 32838, - Luminance12Alpha12 = 32839, - Luminance16Alpha16 = 32840, - Intensity = 32841, - Intensity4 = 32842, - Intensity8 = 32843, - Intensity12 = 32844, - Intensity16 = 32845, - Rgb2Ext = 32846, - Rgb4 = 32847, - Rgb5 = 32848, - Rgb8 = 32849, - Rgb10 = 32850, - Rgb12 = 32851, - Rgb16 = 32852, - Rgba2 = 32853, - Rgba4 = 32854, - Rgb5A1 = 32855, - Rgba8 = 32856, - Rgb10A2 = 32857, - Rgba12 = 32858, - Rgba16 = 32859, - DualAlpha4Sgis = 33040, - DualAlpha8Sgis = 33041, - DualAlpha12Sgis = 33042, - DualAlpha16Sgis = 33043, - DualLuminance4Sgis = 33044, - DualLuminance8Sgis = 33045, - DualLuminance12Sgis = 33046, - DualLuminance16Sgis = 33047, - DualIntensity4Sgis = 33048, - DualIntensity8Sgis = 33049, - DualIntensity12Sgis = 33050, - DualIntensity16Sgis = 33051, - DualLuminanceAlpha4Sgis = 33052, - DualLuminanceAlpha8Sgis = 33053, - QuadAlpha4Sgis = 33054, - QuadAlpha8Sgis = 33055, - QuadLuminance4Sgis = 33056, - QuadLuminance8Sgis = 33057, - QuadIntensity4Sgis = 33058, - QuadIntensity8Sgis = 33059, - DepthComponent16 = 33189, - DepthComponent16Sgix = 33189, - DepthComponent24 = 33190, - DepthComponent24Sgix = 33190, - DepthComponent32 = 33191, - DepthComponent32Sgix = 33191, - CompressedRed = 33317, - CompressedRg = 33318, - R8 = 33321, - R16 = 33322, - Rg8 = 33323, - Rg16 = 33324, - R16f = 33325, - R32f = 33326, - Rg16f = 33327, - Rg32f = 33328, - R8i = 33329, - R8ui = 33330, - R16i = 33331, - R16ui = 33332, - R32i = 33333, - R32ui = 33334, - Rg8i = 33335, - Rg8ui = 33336, - Rg16i = 33337, - Rg16ui = 33338, - Rg32i = 33339, - Rg32ui = 33340, - CompressedRgbS3tcDxt1Ext = 33776, - CompressedRgbaS3tcDxt1Ext = 33777, - CompressedRgbaS3tcDxt3Ext = 33778, - CompressedRgbaS3tcDxt5Ext = 33779, - RgbIccSgix = 33888, - RgbaIccSgix = 33889, - AlphaIccSgix = 33890, - LuminanceIccSgix = 33891, - IntensityIccSgix = 33892, - LuminanceAlphaIccSgix = 33893, - R5G6B5IccSgix = 33894, - R5G6B5A8IccSgix = 33895, - Alpha16IccSgix = 33896, - Luminance16IccSgix = 33897, - Intensity16IccSgix = 33898, - Luminance16Alpha8IccSgix = 33899, - CompressedAlpha = 34025, - CompressedLuminance = 34026, - CompressedLuminanceAlpha = 34027, - CompressedIntensity = 34028, - CompressedRgb = 34029, - CompressedRgba = 34030, - DepthStencil = 34041, - Rgba32f = 34836, - Rgb32f = 34837, - Rgba16f = 34842, - Rgb16f = 34843, - Depth24Stencil8 = 35056, - R11fG11fB10f = 35898, - Rgb9E5 = 35901, - Srgb = 35904, - Srgb8 = 35905, - SrgbAlpha = 35906, - Srgb8Alpha8 = 35907, - SluminanceAlpha = 35908, - Sluminance8Alpha8 = 35909, - Sluminance = 35910, - Sluminance8 = 35911, - CompressedSrgb = 35912, - CompressedSrgbAlpha = 35913, - CompressedSluminance = 35914, - CompressedSluminanceAlpha = 35915, - CompressedSrgbS3tcDxt1Ext = 35916, - CompressedSrgbAlphaS3tcDxt1Ext = 35917, - CompressedSrgbAlphaS3tcDxt3Ext = 35918, - CompressedSrgbAlphaS3tcDxt5Ext = 35919, - DepthComponent32f = 36012, - Depth32fStencil8 = 36013, - Rgba32ui = 36208, - Rgb32ui = 36209, - Rgba16ui = 36214, - Rgb16ui = 36215, - Rgba8ui = 36220, - Rgb8ui = 36221, - Rgba32i = 36226, - Rgb32i = 36227, - Rgba16i = 36232, - Rgb16i = 36233, - Rgba8i = 36238, - Rgb8i = 36239, - Float32UnsignedInt248Rev = 36269, - CompressedRedRgtc1 = 36283, - CompressedSignedRedRgtc1 = 36284, - CompressedRgRgtc2 = 36285, - CompressedSignedRgRgtc2 = 36286, - CompressedRgbaBptcUnorm = 36492, - CompressedSrgbAlphaBptcUnorm = 36493, - CompressedRgbBptcSignedFloat = 36494, - CompressedRgbBptcUnsignedFloat = 36495, - R8Snorm = 36756, - Rg8Snorm = 36757, - Rgb8Snorm = 36758, - Rgba8Snorm = 36759, - R16Snorm = 36760, - Rg16Snorm = 36761, - Rgb16Snorm = 36762, - Rgba16Snorm = 36763, - Rgb10A2ui = 36975, - CompressedRgb8Etc2 = 0x9274, - CompressedRgb8PunchthroughAlpha1Etc2 = 0x9276, - CompressedRgba8Etc2Eac = 0x9278, - } - - public enum PixelStoreParameter - { - UnpackSwapBytes = 3312, - UnpackLsbFirst = 3313, - UnpackRowLength = 3314, - UnpackRowLengthExt = 3314, - UnpackSkipRows = 3315, - UnpackSkipRowsExt = 3315, - UnpackSkipPixels = 3316, - UnpackSkipPixelsExt = 3316, - UnpackAlignment = 3317, - PackSwapBytes = 3328, - PackLsbFirst = 3329, - PackRowLength = 3330, - PackSkipRows = 3331, - PackSkipPixels = 3332, - PackAlignment = 3333, - PackSkipImages = 32875, - PackSkipImagesExt = 32875, - PackImageHeight = 32876, - PackImageHeightExt = 32876, - UnpackSkipImages = 32877, - UnpackSkipImagesExt = 32877, - UnpackImageHeight = 32878, - UnpackImageHeightExt = 32878, - PackSkipVolumesSgis = 33072, - PackImageDepthSgis = 33073, - UnpackSkipVolumesSgis = 33074, - UnpackImageDepthSgis = 33075, - PixelTileWidthSgix = 33088, - PixelTileHeightSgix = 33089, - PixelTileGridWidthSgix = 33090, - PixelTileGridHeightSgix = 33091, - PixelTileGridDepthSgix = 33092, - PixelTileCacheSizeSgix = 33093, - PackResampleSgix = 33836, - UnpackResampleSgix = 33837, - PackSubsampleRateSgix = 34208, - UnpackSubsampleRateSgix = 34209, - PackResampleOml = 35204, - UnpackResampleOml = 35205, - UnpackCompressedBlockWidth = 37159, - UnpackCompressedBlockHeight = 37160, - UnpackCompressedBlockDepth = 37161, - UnpackCompressedBlockSize = 37162, - PackCompressedBlockWidth = 37163, - PackCompressedBlockHeight = 37164, - PackCompressedBlockDepth = 37165, - PackCompressedBlockSize = 37166 - } - - public enum ShaderType - { - FragmentShader = 35632, - VertexShader = 35633, - GeometryShader = 36313, - GeometryShaderExt = 36313, - TessEvaluationShader = 36487, - TessControlShader = 36488, - ComputeShader = 37305 - } - - public enum ShaderParameter - { - ShaderType = 35663, - DeleteStatus = 35712, - CompileStatus = 35713, - InfoLogLength = 35716, - ShaderSourceLength = 35720 - } - - public enum SamplerParameterName - { - TextureBorderColor = 4100, - TextureMagFilter = 10240, - TextureMinFilter = 10241, - TextureWrapS = 10242, - TextureWrapT = 10243, - TextureWrapR = 32882, - TextureMinLod = 33082, - TextureMaxLod = 33083, - TextureMaxAnisotropyExt = 34046, - TextureLodBias = 34049, - TextureCompareMode = 34892, - TextureCompareFunc = 34893 - } - - public enum TextureWrapMode - { - Clamp = 10496, - Repeat = 10497, - ClampToBorder = 33069, - ClampToBorderArb = 33069, - ClampToBorderNv = 33069, - ClampToBorderSgis = 33069, - ClampToEdge = 33071, - ClampToEdgeSgis = 33071, - MirroredRepeat = 33648 - } - - public enum TextureMinFilter - { - Nearest = 9728, - Linear = 9729, - NearestMipmapNearest = 9984, - LinearMipmapNearest = 9985, - NearestMipmapLinear = 9986, - LinearMipmapLinear = 9987, - Filter4Sgis = 33094, - LinearClipmapLinearSgix = 33136, - PixelTexGenQCeilingSgix = 33156, - PixelTexGenQRoundSgix = 33157, - PixelTexGenQFloorSgix = 33158, - NearestClipmapNearestSgix = 33869, - NearestClipmapLinearSgix = 33870, - LinearClipmapNearestSgix = 33871 - } - - public enum TextureMagFilter - { - Nearest = 9728, - Linear = 9729, - LinearDetailSgis = 32919, - LinearDetailAlphaSgis = 32920, - LinearDetailColorSgis = 32921, - LinearSharpenSgis = 32941, - LinearSharpenAlphaSgis = 32942, - LinearSharpenColorSgis = 32943, - Filter4Sgis = 33094, - PixelTexGenQCeilingSgix = 33156, - PixelTexGenQRoundSgix = 33157, - PixelTexGenQFloorSgix = 33158 - } - - public enum TextureCompareMode - { - None = 0, - CompareRefToTexture = 34894, - CompareRToTexture = 34894 - } - - public enum DepthFunction - { - Never = 512, - Less = 513, - Equal = 514, - Lequal = 515, - Greater = 516, - Notequal = 517, - Gequal = 518, - Always = 519 - } - - public enum BlendingFactorSrc - { - Zero = 0, - One = 1, - SrcColor = 768, - OneMinusSrcColor = 769, - SrcAlpha = 770, - OneMinusSrcAlpha = 771, - DstAlpha = 772, - OneMinusDstAlpha = 773, - DstColor = 774, - OneMinusDstColor = 775, - SrcAlphaSaturate = 776, - ConstantColor = 32769, - ConstantColorExt = 32769, - OneMinusConstantColor = 32770, - OneMinusConstantColorExt = 32770, - ConstantAlpha = 32771, - ConstantAlphaExt = 32771, - OneMinusConstantAlpha = 32772, - OneMinusConstantAlphaExt = 32772, - Src1Alpha = 34185, - Src1Color = 35065, - OneMinusSrc1Color = 35066, - OneMinusSrc1Alpha = 35067 - } - - public enum BlendingFactorDest - { - Zero = 0, - One = 1, - SrcColor = 768, - OneMinusSrcColor = 769, - SrcAlpha = 770, - OneMinusSrcAlpha = 771, - DstAlpha = 772, - OneMinusDstAlpha = 773, - DstColor = 774, - OneMinusDstColor = 775, - SrcAlphaSaturate = 776, - ConstantColor = 32769, - ConstantColorExt = 32769, - OneMinusConstantColor = 32770, - OneMinusConstantColorExt = 32770, - ConstantAlpha = 32771, - ConstantAlphaExt = 32771, - OneMinusConstantAlpha = 32772, - OneMinusConstantAlphaExt = 32772, - Src1Alpha = 34185, - Src1Color = 35065, - OneMinusSrc1Color = 35066, - OneMinusSrc1Alpha = 35067 - } - - public enum EnableCap - { - PointSmooth = 2832, - LineSmooth = 2848, - LineStipple = 2852, - PolygonSmooth = 2881, - PolygonStipple = 2882, - CullFace = 2884, - Lighting = 2896, - ColorMaterial = 2903, - Fog = 2912, - DepthTest = 2929, - StencilTest = 2960, - Normalize = 2977, - AlphaTest = 3008, - Dither = 3024, - Blend = 3042, - IndexLogicOp = 3057, - ColorLogicOp = 3058, - ScissorTest = 3089, - TextureGenS = 3168, - TextureGenT = 3169, - TextureGenR = 3170, - TextureGenQ = 3171, - AutoNormal = 3456, - Map1Color4 = 3472, - Map1Index = 3473, - Map1Normal = 3474, - Map1TextureCoord1 = 3475, - Map1TextureCoord2 = 3476, - Map1TextureCoord3 = 3477, - Map1TextureCoord4 = 3478, - Map1Vertex3 = 3479, - Map1Vertex4 = 3480, - Map2Color4 = 3504, - Map2Index = 3505, - Map2Normal = 3506, - Map2TextureCoord1 = 3507, - Map2TextureCoord2 = 3508, - Map2TextureCoord3 = 3509, - Map2TextureCoord4 = 3510, - Map2Vertex3 = 3511, - Map2Vertex4 = 3512, - Texture1D = 3552, - Texture2D = 3553, - PolygonOffsetPoint = 10753, - PolygonOffsetLine = 10754, - ClipDistance0 = 12288, - ClipPlane0 = 12288, - ClipDistance1 = 12289, - ClipPlane1 = 12289, - ClipDistance2 = 12290, - ClipPlane2 = 12290, - ClipDistance3 = 12291, - ClipPlane3 = 12291, - ClipDistance4 = 12292, - ClipPlane4 = 12292, - ClipDistance5 = 12293, - ClipPlane5 = 12293, - ClipDistance6 = 12294, - ClipDistance7 = 12295, - Light0 = 16384, - Light1 = 16385, - Light2 = 16386, - Light3 = 16387, - Light4 = 16388, - Light5 = 16389, - Light6 = 16390, - Light7 = 16391, - Convolution1D = 32784, - Convolution1DExt = 32784, - Convolution2D = 32785, - Convolution2DExt = 32785, - Separable2D = 32786, - Separable2DExt = 32786, - Histogram = 32804, - HistogramExt = 32804, - MinmaxExt = 32814, - PolygonOffsetFill = 32823, - RescaleNormal = 32826, - RescaleNormalExt = 32826, - Texture3DExt = 32879, - VertexArray = 32884, - NormalArray = 32885, - ColorArray = 32886, - IndexArray = 32887, - TextureCoordArray = 32888, - EdgeFlagArray = 32889, - InterlaceSgix = 32916, - Multisample = 32925, - MultisampleSgis = 32925, - SampleAlphaToCoverage = 32926, - SampleAlphaToMaskSgis = 32926, - SampleAlphaToOne = 32927, - SampleAlphaToOneSgis = 32927, - SampleCoverage = 32928, - SampleMaskSgis = 32928, - TextureColorTableSgi = 32956, - ColorTable = 32976, - ColorTableSgi = 32976, - PostConvolutionColorTable = 32977, - PostConvolutionColorTableSgi = 32977, - PostColorMatrixColorTable = 32978, - PostColorMatrixColorTableSgi = 32978, - Texture4DSgis = 33076, - PixelTexGenSgix = 33081, - SpriteSgix = 33096, - ReferencePlaneSgix = 33149, - IrInstrument1Sgix = 33151, - CalligraphicFragmentSgix = 33155, - FramezoomSgix = 33163, - FogOffsetSgix = 33176, - SharedTexturePaletteExt = 33275, - DebugOutputSynchronous = 33346, - AsyncHistogramSgix = 33580, - PixelTextureSgis = 33619, - AsyncTexImageSgix = 33628, - AsyncDrawPixelsSgix = 33629, - AsyncReadPixelsSgix = 33630, - FragmentLightingSgix = 33792, - FragmentColorMaterialSgix = 33793, - FragmentLight0Sgix = 33804, - FragmentLight1Sgix = 33805, - FragmentLight2Sgix = 33806, - FragmentLight3Sgix = 33807, - FragmentLight4Sgix = 33808, - FragmentLight5Sgix = 33809, - FragmentLight6Sgix = 33810, - FragmentLight7Sgix = 33811, - FogCoordArray = 33879, - ColorSum = 33880, - SecondaryColorArray = 33886, - TextureRectangle = 34037, - TextureCubeMap = 34067, - ProgramPointSize = 34370, - VertexProgramPointSize = 34370, - VertexProgramTwoSide = 34371, - DepthClamp = 34383, - TextureCubeMapSeamless = 34895, - PointSprite = 34913, - SampleShading = 35894, - RasterizerDiscard = 35977, - PrimitiveRestartFixedIndex = 36201, - FramebufferSrgb = 36281, - SampleMask = 36433, - PrimitiveRestart = 36765, - DebugOutput = 37600 - } - - public enum BlendEquationMode - { - FuncAdd = 32774, - Min = 32775, - Max = 32776, - FuncSubtract = 32778, - FuncReverseSubtract = 32779 - } - - public enum CullFaceMode - { - Front = 1028, - Back = 1029, - FrontAndBack = 1032 - } - - public enum MaterialFace - { - Front = 1028, - Back = 1029, - FrontAndBack = 1032 - } - - public enum PolygonMode - { - Point = 6912, - Line = 6913, - Fill = 6914 - } - - public enum GetProgramParameterName - { - ProgramBinaryRetrievableHint = 33367, - ProgramSeparable = 33368, - GeometryShaderInvocations = 34943, - GeometryVerticesOut = 35094, - GeometryInputType = 35095, - GeometryOutputType = 35096, - ActiveUniformBlockMaxNameLength = 35381, - ActiveUniformBlocks = 35382, - DeleteStatus = 35712, - LinkStatus = 35714, - ValidateStatus = 35715, - InfoLogLength = 35716, - AttachedShaders = 35717, - ActiveUniforms = 35718, - ActiveUniformMaxLength = 35719, - ActiveAttributes = 35721, - ActiveAttributeMaxLength = 35722, - TransformFeedbackVaryingMaxLength = 35958, - TransformFeedbackBufferMode = 35967, - TransformFeedbackVaryings = 35971, - TessControlOutputVertices = 36469, - TessGenMode = 36470, - TessGenSpacing = 36471, - TessGenVertexOrder = 36472, - TessGenPointMode = 36473, - MaxComputeWorkGroupSize = 37311, - ActiveAtomicCounterBuffers = 37593 - } - - public enum BufferRangeTarget - { - UniformBuffer = 35345, - TransformFeedbackBuffer = 35982, - ShaderStorageBuffer = 37074, - AtomicCounterBuffer = 37568 - } - - public enum DebugSource - { - DebugSourceApi = 33350, - DebugSourceWindowSystem = 33351, - DebugSourceShaderCompiler = 33352, - DebugSourceThirdParty = 33353, - DebugSourceApplication = 33354, - DebugSourceOther = 33355 - } - - public enum DebugType - { - DebugTypeError = 33356, - DebugTypeDeprecatedBehavior = 33357, - DebugTypeUndefinedBehavior = 33358, - DebugTypePortability = 33359, - DebugTypePerformance = 33360, - DebugTypeOther = 33361, - DebugTypeMarker = 33384, - DebugTypePushGroup = 33385, - DebugTypePopGroup = 33386 - } - - public enum DebugSeverity - { - DebugSeverityNotification = 33387, - DebugSeverityHigh = 37190, - DebugSeverityMedium = 37191, - DebugSeverityLow = 37192 - } - - public enum BufferUsageHint - { - StreamDraw = 35040, - StreamRead = 35041, - StreamCopy = 35042, - StaticDraw = 35044, - StaticRead = 35045, - StaticCopy = 35046, - DynamicDraw = 35048, - DynamicRead = 35049, - DynamicCopy = 35050 - } - - public enum VertexAttribPointerType - { - Byte = 5120, - UnsignedByte = 5121, - Short = 5122, - UnsignedShort = 5123, - Int = 5124, - UnsignedInt = 5125, - Float = 5126, - Double = 5130, - HalfFloat = 5131, - Fixed = 5132, - UnsignedInt2101010Rev = 33640, - Int2101010Rev = 36255 - } - - public enum FrontFaceDirection - { - Cw = 2304, - Ccw = 2305 - } - - public enum GetPName - { - CurrentColor = 2816, - CurrentIndex = 2817, - CurrentNormal = 2818, - CurrentTextureCoords = 2819, - CurrentRasterColor = 2820, - CurrentRasterIndex = 2821, - CurrentRasterTextureCoords = 2822, - CurrentRasterPosition = 2823, - CurrentRasterPositionValid = 2824, - CurrentRasterDistance = 2825, - PointSmooth = 2832, - PointSize = 2833, - PointSizeRange = 2834, - SmoothPointSizeRange = 2834, - PointSizeGranularity = 2835, - SmoothPointSizeGranularity = 2835, - LineSmooth = 2848, - LineWidth = 2849, - LineWidthRange = 2850, - SmoothLineWidthRange = 2850, - LineWidthGranularity = 2851, - SmoothLineWidthGranularity = 2851, - LineStipple = 2852, - LineStipplePattern = 2853, - LineStippleRepeat = 2854, - ListMode = 2864, - MaxListNesting = 2865, - ListBase = 2866, - ListIndex = 2867, - PolygonMode = 2880, - PolygonSmooth = 2881, - PolygonStipple = 2882, - EdgeFlag = 2883, - CullFace = 2884, - CullFaceMode = 2885, - FrontFace = 2886, - Lighting = 2896, - LightModelLocalViewer = 2897, - LightModelTwoSide = 2898, - LightModelAmbient = 2899, - ShadeModel = 2900, - ColorMaterialFace = 2901, - ColorMaterialParameter = 2902, - ColorMaterial = 2903, - Fog = 2912, - FogIndex = 2913, - FogDensity = 2914, - FogStart = 2915, - FogEnd = 2916, - FogMode = 2917, - FogColor = 2918, - DepthRange = 2928, - DepthTest = 2929, - DepthWritemask = 2930, - DepthClearValue = 2931, - DepthFunc = 2932, - AccumClearValue = 2944, - StencilTest = 2960, - StencilClearValue = 2961, - StencilFunc = 2962, - StencilValueMask = 2963, - StencilFail = 2964, - StencilPassDepthFail = 2965, - StencilPassDepthPass = 2966, - StencilRef = 2967, - StencilWritemask = 2968, - MatrixMode = 2976, - Normalize = 2977, - Viewport = 2978, - Modelview0StackDepthExt = 2979, - ModelviewStackDepth = 2979, - ProjectionStackDepth = 2980, - TextureStackDepth = 2981, - Modelview0MatrixExt = 2982, - ModelviewMatrix = 2982, - ProjectionMatrix = 2983, - TextureMatrix = 2984, - AttribStackDepth = 2992, - ClientAttribStackDepth = 2993, - AlphaTest = 3008, - AlphaTestQcom = 3008, - AlphaTestFunc = 3009, - AlphaTestFuncQcom = 3009, - AlphaTestRef = 3010, - AlphaTestRefQcom = 3010, - Dither = 3024, - BlendDst = 3040, - BlendSrc = 3041, - Blend = 3042, - LogicOpMode = 3056, - IndexLogicOp = 3057, - LogicOp = 3057, - ColorLogicOp = 3058, - AuxBuffers = 3072, - DrawBuffer = 3073, - DrawBufferExt = 3073, - ReadBuffer = 3074, - ReadBufferExt = 3074, - ReadBufferNv = 3074, - ScissorBox = 3088, - ScissorTest = 3089, - IndexClearValue = 3104, - IndexWritemask = 3105, - ColorClearValue = 3106, - ColorWritemask = 3107, - IndexMode = 3120, - RgbaMode = 3121, - Doublebuffer = 3122, - Stereo = 3123, - RenderMode = 3136, - PerspectiveCorrectionHint = 3152, - PointSmoothHint = 3153, - LineSmoothHint = 3154, - PolygonSmoothHint = 3155, - FogHint = 3156, - TextureGenS = 3168, - TextureGenT = 3169, - TextureGenR = 3170, - TextureGenQ = 3171, - PixelMapIToISize = 3248, - PixelMapSToSSize = 3249, - PixelMapIToRSize = 3250, - PixelMapIToGSize = 3251, - PixelMapIToBSize = 3252, - PixelMapIToASize = 3253, - PixelMapRToRSize = 3254, - PixelMapGToGSize = 3255, - PixelMapBToBSize = 3256, - PixelMapAToASize = 3257, - UnpackSwapBytes = 3312, - UnpackLsbFirst = 3313, - UnpackRowLength = 3314, - UnpackSkipRows = 3315, - UnpackSkipPixels = 3316, - UnpackAlignment = 3317, - PackSwapBytes = 3328, - PackLsbFirst = 3329, - PackRowLength = 3330, - PackSkipRows = 3331, - PackSkipPixels = 3332, - PackAlignment = 3333, - MapColor = 3344, - MapStencil = 3345, - IndexShift = 3346, - IndexOffset = 3347, - RedScale = 3348, - RedBias = 3349, - ZoomX = 3350, - ZoomY = 3351, - GreenScale = 3352, - GreenBias = 3353, - BlueScale = 3354, - BlueBias = 3355, - AlphaScale = 3356, - AlphaBias = 3357, - DepthScale = 3358, - DepthBias = 3359, - MaxEvalOrder = 3376, - MaxLights = 3377, - MaxClipDistances = 3378, - MaxClipPlanes = 3378, - MaxTextureSize = 3379, - MaxPixelMapTable = 3380, - MaxAttribStackDepth = 3381, - MaxModelviewStackDepth = 3382, - MaxNameStackDepth = 3383, - MaxProjectionStackDepth = 3384, - MaxTextureStackDepth = 3385, - MaxViewportDims = 3386, - MaxClientAttribStackDepth = 3387, - SubpixelBits = 3408, - IndexBits = 3409, - RedBits = 3410, - GreenBits = 3411, - BlueBits = 3412, - AlphaBits = 3413, - DepthBits = 3414, - StencilBits = 3415, - AccumRedBits = 3416, - AccumGreenBits = 3417, - AccumBlueBits = 3418, - AccumAlphaBits = 3419, - NameStackDepth = 3440, - AutoNormal = 3456, - Map1Color4 = 3472, - Map1Index = 3473, - Map1Normal = 3474, - Map1TextureCoord1 = 3475, - Map1TextureCoord2 = 3476, - Map1TextureCoord3 = 3477, - Map1TextureCoord4 = 3478, - Map1Vertex3 = 3479, - Map1Vertex4 = 3480, - Map2Color4 = 3504, - Map2Index = 3505, - Map2Normal = 3506, - Map2TextureCoord1 = 3507, - Map2TextureCoord2 = 3508, - Map2TextureCoord3 = 3509, - Map2TextureCoord4 = 3510, - Map2Vertex3 = 3511, - Map2Vertex4 = 3512, - Map1GridDomain = 3536, - Map1GridSegments = 3537, - Map2GridDomain = 3538, - Map2GridSegments = 3539, - Texture1D = 3552, - Texture2D = 3553, - FeedbackBufferSize = 3569, - FeedbackBufferType = 3570, - SelectionBufferSize = 3572, - PolygonOffsetUnits = 10752, - PolygonOffsetPoint = 10753, - PolygonOffsetLine = 10754, - ClipPlane0 = 12288, - ClipPlane1 = 12289, - ClipPlane2 = 12290, - ClipPlane3 = 12291, - ClipPlane4 = 12292, - ClipPlane5 = 12293, - Light0 = 16384, - Light1 = 16385, - Light2 = 16386, - Light3 = 16387, - Light4 = 16388, - Light5 = 16389, - Light6 = 16390, - Light7 = 16391, - BlendColorExt = 32773, - BlendEquationExt = 32777, - BlendEquationRgb = 32777, - PackCmykHintExt = 32782, - UnpackCmykHintExt = 32783, - Convolution1DExt = 32784, - Convolution2DExt = 32785, - Separable2DExt = 32786, - PostConvolutionRedScaleExt = 32796, - PostConvolutionGreenScaleExt = 32797, - PostConvolutionBlueScaleExt = 32798, - PostConvolutionAlphaScaleExt = 32799, - PostConvolutionRedBiasExt = 32800, - PostConvolutionGreenBiasExt = 32801, - PostConvolutionBlueBiasExt = 32802, - PostConvolutionAlphaBiasExt = 32803, - HistogramExt = 32804, - MinmaxExt = 32814, - PolygonOffsetFill = 32823, - PolygonOffsetFactor = 32824, - PolygonOffsetBiasExt = 32825, - RescaleNormalExt = 32826, - TextureBinding1D = 32872, - TextureBinding2D = 32873, - Texture3DBindingExt = 32874, - TextureBinding3D = 32874, - PackSkipImagesExt = 32875, - PackImageHeightExt = 32876, - UnpackSkipImagesExt = 32877, - UnpackImageHeightExt = 32878, - Texture3DExt = 32879, - Max3DTextureSize = 32883, - Max3DTextureSizeExt = 32883, - VertexArray = 32884, - NormalArray = 32885, - ColorArray = 32886, - IndexArray = 32887, - TextureCoordArray = 32888, - EdgeFlagArray = 32889, - VertexArraySize = 32890, - VertexArrayType = 32891, - VertexArrayStride = 32892, - VertexArrayCountExt = 32893, - NormalArrayType = 32894, - NormalArrayStride = 32895, - NormalArrayCountExt = 32896, - ColorArraySize = 32897, - ColorArrayType = 32898, - ColorArrayStride = 32899, - ColorArrayCountExt = 32900, - IndexArrayType = 32901, - IndexArrayStride = 32902, - IndexArrayCountExt = 32903, - TextureCoordArraySize = 32904, - TextureCoordArrayType = 32905, - TextureCoordArrayStride = 32906, - TextureCoordArrayCountExt = 32907, - EdgeFlagArrayStride = 32908, - EdgeFlagArrayCountExt = 32909, - InterlaceSgix = 32916, - DetailTexture2DBindingSgis = 32918, - Multisample = 32925, - MultisampleSgis = 32925, - SampleAlphaToCoverage = 32926, - SampleAlphaToMaskSgis = 32926, - SampleAlphaToOne = 32927, - SampleAlphaToOneSgis = 32927, - SampleCoverage = 32928, - SampleMaskSgis = 32928, - SampleBuffers = 32936, - SampleBuffersSgis = 32936, - Samples = 32937, - SamplesSgis = 32937, - SampleCoverageValue = 32938, - SampleMaskValueSgis = 32938, - SampleCoverageInvert = 32939, - SampleMaskInvertSgis = 32939, - SamplePatternSgis = 32940, - ColorMatrixSgi = 32945, - ColorMatrixStackDepthSgi = 32946, - MaxColorMatrixStackDepthSgi = 32947, - PostColorMatrixRedScaleSgi = 32948, - PostColorMatrixGreenScaleSgi = 32949, - PostColorMatrixBlueScaleSgi = 32950, - PostColorMatrixAlphaScaleSgi = 32951, - PostColorMatrixRedBiasSgi = 32952, - PostColorMatrixGreenBiasSgi = 32953, - PostColorMatrixBlueBiasSgi = 32954, - PostColorMatrixAlphaBiasSgi = 32955, - TextureColorTableSgi = 32956, - BlendDstRgb = 32968, - BlendSrcRgb = 32969, - BlendDstAlpha = 32970, - BlendSrcAlpha = 32971, - ColorTableSgi = 32976, - PostConvolutionColorTableSgi = 32977, - PostColorMatrixColorTableSgi = 32978, - MaxElementsVertices = 33000, - MaxElementsIndices = 33001, - PointSizeMin = 33062, - PointSizeMinSgis = 33062, - PointSizeMax = 33063, - PointSizeMaxSgis = 33063, - PointFadeThresholdSize = 33064, - PointFadeThresholdSizeSgis = 33064, - DistanceAttenuationSgis = 33065, - PointDistanceAttenuation = 33065, - FogFuncPointsSgis = 33067, - MaxFogFuncPointsSgis = 33068, - PackSkipVolumesSgis = 33072, - PackImageDepthSgis = 33073, - UnpackSkipVolumesSgis = 33074, - UnpackImageDepthSgis = 33075, - Texture4DSgis = 33076, - Max4DTextureSizeSgis = 33080, - PixelTexGenSgix = 33081, - PixelTileBestAlignmentSgix = 33086, - PixelTileCacheIncrementSgix = 33087, - PixelTileWidthSgix = 33088, - PixelTileHeightSgix = 33089, - PixelTileGridWidthSgix = 33090, - PixelTileGridHeightSgix = 33091, - PixelTileGridDepthSgix = 33092, - PixelTileCacheSizeSgix = 33093, - SpriteSgix = 33096, - SpriteModeSgix = 33097, - SpriteAxisSgix = 33098, - SpriteTranslationSgix = 33099, - Texture4DBindingSgis = 33103, - MaxClipmapDepthSgix = 33143, - MaxClipmapVirtualDepthSgix = 33144, - PostTextureFilterBiasRangeSgix = 33147, - PostTextureFilterScaleRangeSgix = 33148, - ReferencePlaneSgix = 33149, - ReferencePlaneEquationSgix = 33150, - IrInstrument1Sgix = 33151, - InstrumentMeasurementsSgix = 33153, - CalligraphicFragmentSgix = 33155, - FramezoomSgix = 33163, - FramezoomFactorSgix = 33164, - MaxFramezoomFactorSgix = 33165, - GenerateMipmapHint = 33170, - GenerateMipmapHintSgis = 33170, - DeformationsMaskSgix = 33174, - FogOffsetSgix = 33176, - FogOffsetValueSgix = 33177, - LightModelColorControl = 33272, - SharedTexturePaletteExt = 33275, - MajorVersion = 33307, - MinorVersion = 33308, - NumExtensions = 33309, - ContextFlags = 33310, - ResetNotificationStrategy = 33366, - ProgramPipelineBinding = 33370, - MaxViewports = 33371, - ViewportSubpixelBits = 33372, - ViewportBoundsRange = 33373, - LayerProvokingVertex = 33374, - ViewportIndexProvokingVertex = 33375, - MaxCullDistances = 33529, - MaxCombinedClipAndCullDistances = 33530, - ContextReleaseBehavior = 33531, - ConvolutionHintSgix = 33558, - AsyncMarkerSgix = 33577, - PixelTexGenModeSgix = 33579, - AsyncHistogramSgix = 33580, - MaxAsyncHistogramSgix = 33581, - PixelTextureSgis = 33619, - AsyncTexImageSgix = 33628, - AsyncDrawPixelsSgix = 33629, - AsyncReadPixelsSgix = 33630, - MaxAsyncTexImageSgix = 33631, - MaxAsyncDrawPixelsSgix = 33632, - MaxAsyncReadPixelsSgix = 33633, - VertexPreclipSgix = 33774, - VertexPreclipHintSgix = 33775, - FragmentLightingSgix = 33792, - FragmentColorMaterialSgix = 33793, - FragmentColorMaterialFaceSgix = 33794, - FragmentColorMaterialParameterSgix = 33795, - MaxFragmentLightsSgix = 33796, - MaxActiveLightsSgix = 33797, - LightEnvModeSgix = 33799, - FragmentLightModelLocalViewerSgix = 33800, - FragmentLightModelTwoSideSgix = 33801, - FragmentLightModelAmbientSgix = 33802, - FragmentLightModelNormalInterpolationSgix = 33803, - FragmentLight0Sgix = 33804, - PackResampleSgix = 33836, - UnpackResampleSgix = 33837, - CurrentFogCoord = 33875, - FogCoordArrayType = 33876, - FogCoordArrayStride = 33877, - ColorSum = 33880, - CurrentSecondaryColor = 33881, - SecondaryColorArraySize = 33882, - SecondaryColorArrayType = 33883, - SecondaryColorArrayStride = 33884, - CurrentRasterSecondaryColor = 33887, - AliasedPointSizeRange = 33901, - AliasedLineWidthRange = 33902, - ActiveTexture = 34016, - ClientActiveTexture = 34017, - MaxTextureUnits = 34018, - TransposeModelviewMatrix = 34019, - TransposeProjectionMatrix = 34020, - TransposeTextureMatrix = 34021, - TransposeColorMatrix = 34022, - MaxRenderbufferSize = 34024, - MaxRenderbufferSizeExt = 34024, - TextureCompressionHint = 34031, - TextureBindingRectangle = 34038, - MaxRectangleTextureSize = 34040, - MaxTextureLodBias = 34045, - TextureCubeMap = 34067, - TextureBindingCubeMap = 34068, - MaxCubeMapTextureSize = 34076, - PackSubsampleRateSgix = 34208, - UnpackSubsampleRateSgix = 34209, - VertexArrayBinding = 34229, - ProgramPointSize = 34370, - DepthClamp = 34383, - NumCompressedTextureFormats = 34466, - CompressedTextureFormats = 34467, - NumProgramBinaryFormats = 34814, - ProgramBinaryFormats = 34815, - StencilBackFunc = 34816, - StencilBackFail = 34817, - StencilBackPassDepthFail = 34818, - StencilBackPassDepthPass = 34819, - RgbaFloatMode = 34848, - MaxDrawBuffers = 34852, - DrawBuffer0 = 34853, - DrawBuffer1 = 34854, - DrawBuffer2 = 34855, - DrawBuffer3 = 34856, - DrawBuffer4 = 34857, - DrawBuffer5 = 34858, - DrawBuffer6 = 34859, - DrawBuffer7 = 34860, - DrawBuffer8 = 34861, - DrawBuffer9 = 34862, - DrawBuffer10 = 34863, - DrawBuffer11 = 34864, - DrawBuffer12 = 34865, - DrawBuffer13 = 34866, - DrawBuffer14 = 34867, - DrawBuffer15 = 34868, - BlendEquationAlpha = 34877, - TextureCubeMapSeamless = 34895, - PointSprite = 34913, - MaxVertexAttribs = 34921, - MaxTessControlInputComponents = 34924, - MaxTessEvaluationInputComponents = 34925, - MaxTextureCoords = 34929, - MaxTextureImageUnits = 34930, - ArrayBufferBinding = 34964, - ElementArrayBufferBinding = 34965, - VertexArrayBufferBinding = 34966, - NormalArrayBufferBinding = 34967, - ColorArrayBufferBinding = 34968, - IndexArrayBufferBinding = 34969, - TextureCoordArrayBufferBinding = 34970, - EdgeFlagArrayBufferBinding = 34971, - SecondaryColorArrayBufferBinding = 34972, - FogCoordArrayBufferBinding = 34973, - WeightArrayBufferBinding = 34974, - VertexAttribArrayBufferBinding = 34975, - PixelPackBufferBinding = 35053, - PixelUnpackBufferBinding = 35055, - MaxDualSourceDrawBuffers = 35068, - MaxArrayTextureLayers = 35071, - MinProgramTexelOffset = 35076, - MaxProgramTexelOffset = 35077, - SamplerBinding = 35097, - ClampVertexColor = 35098, - ClampFragmentColor = 35099, - ClampReadColor = 35100, - MaxVertexUniformBlocks = 35371, - MaxGeometryUniformBlocks = 35372, - MaxFragmentUniformBlocks = 35373, - MaxCombinedUniformBlocks = 35374, - MaxUniformBufferBindings = 35375, - MaxUniformBlockSize = 35376, - MaxCombinedVertexUniformComponents = 35377, - MaxCombinedGeometryUniformComponents = 35378, - MaxCombinedFragmentUniformComponents = 35379, - UniformBufferOffsetAlignment = 35380, - MaxFragmentUniformComponents = 35657, - MaxVertexUniformComponents = 35658, - MaxVaryingComponents = 35659, - MaxVaryingFloats = 35659, - MaxVertexTextureImageUnits = 35660, - MaxCombinedTextureImageUnits = 35661, - FragmentShaderDerivativeHint = 35723, - CurrentProgram = 35725, - ImplementationColorReadType = 35738, - ImplementationColorReadFormat = 35739, - TextureBinding1DArray = 35868, - TextureBinding2DArray = 35869, - MaxGeometryTextureImageUnits = 35881, - TextureBuffer = 35882, - MaxTextureBufferSize = 35883, - TextureBindingBuffer = 35884, - TextureBufferDataStoreBinding = 35885, - SampleShading = 35894, - MinSampleShadingValue = 35895, - MaxTransformFeedbackSeparateComponents = 35968, - MaxTransformFeedbackInterleavedComponents = 35978, - MaxTransformFeedbackSeparateAttribs = 35979, - StencilBackRef = 36003, - StencilBackValueMask = 36004, - StencilBackWritemask = 36005, - DrawFramebufferBinding = 36006, - FramebufferBinding = 36006, - FramebufferBindingExt = 36006, - RenderbufferBinding = 36007, - RenderbufferBindingExt = 36007, - ReadFramebufferBinding = 36010, - MaxColorAttachments = 36063, - MaxColorAttachmentsExt = 36063, - MaxSamples = 36183, - FramebufferSrgb = 36281, - MaxGeometryVaryingComponents = 36317, - MaxVertexVaryingComponents = 36318, - MaxGeometryUniformComponents = 36319, - MaxGeometryOutputVertices = 36320, - MaxGeometryTotalOutputComponents = 36321, - MaxSubroutines = 36327, - MaxSubroutineUniformLocations = 36328, - ShaderBinaryFormats = 36344, - NumShaderBinaryFormats = 36345, - ShaderCompiler = 36346, - MaxVertexUniformVectors = 36347, - MaxVaryingVectors = 36348, - MaxFragmentUniformVectors = 36349, - MaxCombinedTessControlUniformComponents = 36382, - MaxCombinedTessEvaluationUniformComponents = 36383, - TransformFeedbackBufferPaused = 36387, - TransformFeedbackBufferActive = 36388, - TransformFeedbackBinding = 36389, - Timestamp = 36392, - QuadsFollowProvokingVertexConvention = 36428, - ProvokingVertex = 36431, - SampleMask = 36433, - MaxSampleMaskWords = 36441, - MaxGeometryShaderInvocations = 36442, - MinFragmentInterpolationOffset = 36443, - MaxFragmentInterpolationOffset = 36444, - FragmentInterpolationOffsetBits = 36445, - MinProgramTextureGatherOffset = 36446, - MaxProgramTextureGatherOffset = 36447, - MaxTransformFeedbackBuffers = 36464, - MaxVertexStreams = 36465, - PatchVertices = 36466, - PatchDefaultInnerLevel = 36467, - PatchDefaultOuterLevel = 36468, - MaxPatchVertices = 36477, - MaxTessGenLevel = 36478, - MaxTessControlUniformComponents = 36479, - MaxTessEvaluationUniformComponents = 36480, - MaxTessControlTextureImageUnits = 36481, - MaxTessEvaluationTextureImageUnits = 36482, - MaxTessControlOutputComponents = 36483, - MaxTessPatchComponents = 36484, - MaxTessControlTotalOutputComponents = 36485, - MaxTessEvaluationOutputComponents = 36486, - MaxTessControlUniformBlocks = 36489, - MaxTessEvaluationUniformBlocks = 36490, - DrawIndirectBufferBinding = 36675, - MaxVertexImageUniforms = 37066, - MaxTessControlImageUniforms = 37067, - MaxTessEvaluationImageUniforms = 37068, - MaxGeometryImageUniforms = 37069, - MaxFragmentImageUniforms = 37070, - MaxCombinedImageUniforms = 37071, - ShaderStorageBufferOffsetAlignment = 37087, - ContextRobustAccess = 37107, - TextureBinding2DMultisample = 37124, - TextureBinding2DMultisampleArray = 37125, - MaxColorTextureSamples = 37134, - MaxDepthTextureSamples = 37135, - MaxIntegerSamples = 37136, - MaxVertexOutputComponents = 37154, - MaxGeometryInputComponents = 37155, - MaxGeometryOutputComponents = 37156, - MaxFragmentInputComponents = 37157, - MaxComputeImageUniforms = 37309, - ClipOrigin = 37724, - ClipDepthMode = 37725 - } - - public enum TextureParameterName - { - TextureBorderColor = 4100, - TextureMagFilter = 10240, - TextureMinFilter = 10241, - TextureWrapS = 10242, - TextureWrapT = 10243, - TexturePriority = 32870, - TexturePriorityExt = 32870, - TextureDepth = 32881, - TextureWrapR = 32882, - TextureWrapRExt = 32882, - TextureWrapROes = 32882, - DetailTextureLevelSgis = 32922, - DetailTextureModeSgis = 32923, - ShadowAmbientSgix = 32959, - TextureCompareFailValue = 32959, - DualTextureSelectSgis = 33060, - QuadTextureSelectSgis = 33061, - ClampToBorder = 33069, - ClampToEdge = 33071, - TextureWrapQSgis = 33079, - TextureMinLod = 33082, - TextureMaxLod = 33083, - TextureBaseLevel = 33084, - TextureMaxLevel = 33085, - TextureClipmapCenterSgix = 33137, - TextureClipmapFrameSgix = 33138, - TextureClipmapOffsetSgix = 33139, - TextureClipmapVirtualDepthSgix = 33140, - TextureClipmapLodOffsetSgix = 33141, - TextureClipmapDepthSgix = 33142, - PostTextureFilterBiasSgix = 33145, - PostTextureFilterScaleSgix = 33146, - TextureLodBiasSSgix = 33166, - TextureLodBiasTSgix = 33167, - TextureLodBiasRSgix = 33168, - GenerateMipmap = 33169, - GenerateMipmapSgis = 33169, - TextureCompareSgix = 33178, - TextureMaxClampSSgix = 33641, - TextureMaxClampTSgix = 33642, - TextureMaxClampRSgix = 33643, - TextureLodBias = 34049, - DepthTextureMode = 34891, - TextureCompareMode = 34892, - TextureCompareFunc = 34893, - TextureSwizzleR = 36418, - TextureSwizzleG = 36419, - TextureSwizzleB = 36420, - TextureSwizzleA = 36421, - TextureSwizzleRgba = 36422 - } - - public enum StringName - { - Vendor = 0x1F00, - Renderer = 0x1F01, - Version = 0x1F02, - } - - public enum StringNameIndexed - { - Extensions = 7939, - ShadingLanguageVersion = 35724 - } - - public enum ObjectLabelIdentifier - { - Texture = 5890, - VertexArray = 32884, - Buffer = 33504, - Shader = 33505, - Program = 33506, - Query = 33507, - ProgramPipeline = 33508, - Sampler = 33510, - Framebuffer = 36160, - Renderbuffer = 36161, - TransformFeedback = 36386 - } - - public enum BlitFramebufferFilter - { - Nearest = 9728, - Linear = 9729 - } - - public enum ErrorCode : int - { - NoError = ((int)0), - InvalidEnum = ((int)0x0500), - InvalidValue = ((int)0x0501), - InvalidOperation = ((int)0x0502), - StackOverflow = ((int)0x0503), - StackUnderflow = ((int)0x0504), - OutOfMemory = ((int)0x0505), - InvalidFramebufferOperation = ((int)0x0506), - InvalidFramebufferOperationExt = ((int)0x0506), - InvalidFramebufferOperationOes = ((int)0x0506), - ContextLost = ((int)0x0507), - TableTooLarge = ((int)0x8031), - TableTooLargeExt = ((int)0x8031), - TextureTooLargeExt = ((int)0x8065), - } - - public enum ProgramInterface : int - { - TransformFeedbackBuffer = ((int)0x8C8E), - AtomicCounterBuffer = ((int)0x92C0), - Uniform = ((int)0x92E1), - UniformBlock = ((int)0x92E2), - ProgramInput = ((int)0x92E3), - ProgramOutput = ((int)0x92E4), - BufferVariable = ((int)0x92E5), - ShaderStorageBlock = ((int)0x92E6), - VertexSubroutine = ((int)0x92E8), - TessControlSubroutine = ((int)0x92E9), - TessEvaluationSubroutine = ((int)0x92EA), - GeometrySubroutine = ((int)0x92EB), - FragmentSubroutine = ((int)0x92EC), - ComputeSubroutine = ((int)0x92ED), - VertexSubroutineUniform = ((int)0x92EE), - TessControlSubroutineUniform = ((int)0x92EF), - TessEvaluationSubroutineUniform = ((int)0x92F0), - GeometrySubroutineUniform = ((int)0x92F1), - FragmentSubroutineUniform = ((int)0x92F2), - ComputeSubroutineUniform = ((int)0x92F3), - TransformFeedbackVarying = ((int)0x92F4), - } - - public enum TextureAccess : int - { - ReadOnly = ((int)0x88B8), - WriteOnly = ((int)0x88B9), - ReadWrite = ((int)0x88BA), - } - - public enum SizedInternalFormat : int - { - Rgba8 = ((int)0x8058), - Rgba16 = ((int)0x805B), - R8 = ((int)0x8229), - R16 = ((int)0x822A), - Rg8 = ((int)0x822B), - Rg16 = ((int)0x822C), - R16f = ((int)0x822D), - R32f = ((int)0x822E), - Rg16f = ((int)0x822F), - Rg32f = ((int)0x8230), - R8i = ((int)0x8231), - R8ui = ((int)0x8232), - R16i = ((int)0x8233), - R16ui = ((int)0x8234), - R32i = ((int)0x8235), - R32ui = ((int)0x8236), - Rg8i = ((int)0x8237), - Rg8ui = ((int)0x8238), - Rg16i = ((int)0x8239), - Rg16ui = ((int)0x823A), - Rg32i = ((int)0x823B), - Rg32ui = ((int)0x823C), - Rgba32f = ((int)0x8814), - Rgba16f = ((int)0x881A), - Rgba32ui = ((int)0x8D70), - Rgba16ui = ((int)0x8D76), - Rgba8ui = ((int)0x8D7C), - Rgba32i = ((int)0x8D82), - Rgba16i = ((int)0x8D88), - Rgba8i = ((int)0x8D8E), - } - - public enum MemoryBarrierFlags : int - { - VertexAttribArrayBarrierBit = ((int)0x00000001), - ElementArrayBarrierBit = ((int)0x00000002), - UniformBarrierBit = ((int)0x00000004), - TextureFetchBarrierBit = ((int)0x00000008), - ShaderImageAccessBarrierBit = ((int)0x00000020), - CommandBarrierBit = ((int)0x00000040), - PixelBufferBarrierBit = ((int)0x00000080), - TextureUpdateBarrierBit = ((int)0x00000100), - BufferUpdateBarrierBit = ((int)0x00000200), - FramebufferBarrierBit = ((int)0x00000400), - TransformFeedbackBarrierBit = ((int)0x00000800), - AtomicCounterBarrierBit = ((int)0x00001000), - ShaderStorageBarrierBit = ((int)0x00002000), - ClientMappedBufferBarrierBit = ((int)0x00004000), - QueryBufferBarrierBit = ((int)0x00008000), - AllBarrierBits = unchecked((int)0xFFFFFFFF), - } - - - public enum BufferAccess : int - { - ReadOnly = ((int)0x88B8), - WriteOnly = ((int)0x88B9), - ReadWrite = ((int)0x88BA), - } - - [Flags] - public enum BufferAccessMask : int - { - Read = ((int)0x0001), - Write = ((int)0x0002), - InvalidateRange = ((int)0x0004), - InvalidateBuffer = ((int)0x0008), - FlushExplicit = ((int)0x0010), - Unsynchronized = ((int)0x0020), - Persistent = ((int)0x0040), - Coherent = ((int)0x0080), - } - - public enum StencilFunction : int - { - Never = ((int)0x0200), - Less = ((int)0x0201), - Equal = ((int)0x0202), - Lequal = ((int)0x0203), - Greater = ((int)0x0204), - Notequal = ((int)0x0205), - Gequal = ((int)0x0206), - Always = ((int)0x0207), - } - - public enum StencilOp : int - { - Zero = ((int)0), - Invert = ((int)0x150A), - Keep = ((int)0x1E00), - Replace = ((int)0x1E01), - Incr = ((int)0x1E02), - Decr = ((int)0x1E03), - IncrWrap = ((int)0x8507), - DecrWrap = ((int)0x8508), - } - - public enum ActiveUniformBlockParameter : int - { - UniformBlockReferencedByTessControlShader = ((int)0x84F0), - UniformBlockReferencedByTessEvaluationShader = ((int)0x84F1), - UniformBlockBinding = ((int)0x8A3F), - UniformBlockDataSize = ((int)0x8A40), - UniformBlockNameLength = ((int)0x8A41), - UniformBlockActiveUniforms = ((int)0x8A42), - UniformBlockActiveUniformIndices = ((int)0x8A43), - UniformBlockReferencedByVertexShader = ((int)0x8A44), - UniformBlockReferencedByGeometryShader = ((int)0x8A45), - UniformBlockReferencedByFragmentShader = ((int)0x8A46), - UniformBlockReferencedByComputeShader = ((int)0x90EC), - } - - public enum GetTextureParameter : int - { - TextureWidth = ((int)0x1000), - TextureHeight = ((int)0x1001), - TextureComponents = ((int)0x1003), - TextureInternalFormat = ((int)0x1003), - TextureBorderColor = ((int)0x1004), - TextureBorderColorNv = ((int)0x1004), - TextureBorder = ((int)0x1005), - TextureTarget = ((int)0x1006), - TextureMagFilter = ((int)0x2800), - TextureMinFilter = ((int)0x2801), - TextureWrapS = ((int)0x2802), - TextureWrapT = ((int)0x2803), - TextureRedSize = ((int)0x805C), - TextureGreenSize = ((int)0x805D), - TextureBlueSize = ((int)0x805E), - TextureAlphaSize = ((int)0x805F), - TextureLuminanceSize = ((int)0x8060), - TextureIntensitySize = ((int)0x8061), - TexturePriority = ((int)0x8066), - TextureResident = ((int)0x8067), - TextureDepth = ((int)0x8071), - TextureDepthExt = ((int)0x8071), - TextureWrapR = ((int)0x8072), - TextureWrapRExt = ((int)0x8072), - DetailTextureLevelSgis = ((int)0x809A), - DetailTextureModeSgis = ((int)0x809B), - DetailTextureFuncPointsSgis = ((int)0x809C), - SharpenTextureFuncPointsSgis = ((int)0x80B0), - ShadowAmbientSgix = ((int)0x80BF), - DualTextureSelectSgis = ((int)0x8124), - QuadTextureSelectSgis = ((int)0x8125), - Texture4DsizeSgis = ((int)0x8136), - TextureWrapQSgis = ((int)0x8137), - TextureMinLod = ((int)0x813A), - TextureMinLodSgis = ((int)0x813A), - TextureMaxLod = ((int)0x813B), - TextureMaxLodSgis = ((int)0x813B), - TextureBaseLevel = ((int)0x813C), - TextureBaseLevelSgis = ((int)0x813C), - TextureMaxLevel = ((int)0x813D), - TextureMaxLevelSgis = ((int)0x813D), - TextureFilter4SizeSgis = ((int)0x8147), - TextureClipmapCenterSgix = ((int)0x8171), - TextureClipmapFrameSgix = ((int)0x8172), - TextureClipmapOffsetSgix = ((int)0x8173), - TextureClipmapVirtualDepthSgix = ((int)0x8174), - TextureClipmapLodOffsetSgix = ((int)0x8175), - TextureClipmapDepthSgix = ((int)0x8176), - PostTextureFilterBiasSgix = ((int)0x8179), - PostTextureFilterScaleSgix = ((int)0x817A), - TextureLodBiasSSgix = ((int)0x818E), - TextureLodBiasTSgix = ((int)0x818F), - TextureLodBiasRSgix = ((int)0x8190), - GenerateMipmap = ((int)0x8191), - GenerateMipmapSgis = ((int)0x8191), - TextureCompareSgix = ((int)0x819A), - TextureCompareOperatorSgix = ((int)0x819B), - TextureLequalRSgix = ((int)0x819C), - TextureGequalRSgix = ((int)0x819D), - TextureViewMinLevel = ((int)0x82DB), - TextureViewNumLevels = ((int)0x82DC), - TextureViewMinLayer = ((int)0x82DD), - TextureViewNumLayers = ((int)0x82DE), - TextureImmutableLevels = ((int)0x82DF), - TextureMaxClampSSgix = ((int)0x8369), - TextureMaxClampTSgix = ((int)0x836A), - TextureMaxClampRSgix = ((int)0x836B), - TextureCompressedImageSize = ((int)0x86A0), - TextureCompressed = ((int)0x86A1), - TextureDepthSize = ((int)0x884A), - DepthTextureMode = ((int)0x884B), - TextureCompareMode = ((int)0x884C), - TextureCompareFunc = ((int)0x884D), - TextureStencilSize = ((int)0x88F1), - TextureRedType = ((int)0x8C10), - TextureGreenType = ((int)0x8C11), - TextureBlueType = ((int)0x8C12), - TextureAlphaType = ((int)0x8C13), - TextureLuminanceType = ((int)0x8C14), - TextureIntensityType = ((int)0x8C15), - TextureDepthType = ((int)0x8C16), - TextureSharedSize = ((int)0x8C3F), - TextureSwizzleR = ((int)0x8E42), - TextureSwizzleG = ((int)0x8E43), - TextureSwizzleB = ((int)0x8E44), - TextureSwizzleA = ((int)0x8E45), - TextureSwizzleRgba = ((int)0x8E46), - ImageFormatCompatibilityType = ((int)0x90C7), - TextureSamples = ((int)0x9106), - TextureFixedSampleLocations = ((int)0x9107), - TextureImmutableFormat = ((int)0x912F), - } - - public enum RenderbufferPname - { - RenderbufferWidth = 0x8D42, - RenderbufferHeight = 0x8D43, - } - - public enum ClipControlOrigin - { - LowerLeft = 0x8CA1, - UpperLeft = 0x8CA2, - } - - public enum ClipControlDepthRange - { - NegativeOneToOne = 0x935E, - ZeroToOne = 0x935F, - } - - public enum FramebufferParameterName - { - ColorEncoding = 0x8210, - ComponentType = 0x8211, - RedSize = 0x8212, - GreenSize = 0x8213, - BlueSize = 0x8214, - AlphaSize = 0x8215, - DepthSize = 0x8216, - StencilSize = 0x8217, - ObjectType = 0x8CD0, - ObjectName = 0x8CD1, - TextureLvel = 0x8CD2, - CubeMapFace = 0x8CD3, - TextureLayer = 0x8CD4, - Layered = 0x8DA7, - LayerTargets = 0x8DA8, - } -} diff --git a/Veldrid.OpenGLBindings/GLBoolean.cs b/Veldrid.OpenGLBindings/GLBoolean.cs deleted file mode 100644 index 39fccaa71..000000000 --- a/Veldrid.OpenGLBindings/GLBoolean.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; - -namespace Veldrid.OpenGLBinding -{ - /// - /// A boolean value stored in an unsigned byte. - /// - public struct GLboolean : IEquatable - { - /// - /// The raw value of the . A value of 0 represents "false", all other values represent "true". - /// - public byte Value; - - /// - /// Constructs a new with the given raw value. - /// - /// - public GLboolean(byte value) - { - Value = value; - } - - /// - /// Represents the boolean "true" value. Has a raw value of 1. - /// - public static readonly GLboolean True = new GLboolean(1); - - /// - /// Represents the boolean "true" value. Has a raw value of 0. - /// - public static readonly GLboolean False = new GLboolean(0); - - /// - /// Returns whether another value is considered equal to this one. - /// Two s are considered equal when their raw values are equal. - /// - /// The value to compare to. - /// True if the other value's underlying raw value is equal to this instance's. False otherwise. - public bool Equals(GLboolean other) - { - return Value.Equals(other.Value); - } - - public override bool Equals(object obj) - { - return obj is GLboolean b && Equals(b); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - - public override string ToString() - { - return $"{(this ? "True" : "False")} ({Value})"; - } - - public static implicit operator bool(GLboolean b) => b.Value != 0; - public static implicit operator uint(GLboolean b) => b.Value; - public static implicit operator GLboolean(bool b) => b ? True : False; - public static implicit operator GLboolean(byte value) => new GLboolean(value); - - public static bool operator ==(GLboolean left, GLboolean right) => left.Value == right.Value; - public static bool operator !=(GLboolean left, GLboolean right) => left.Value != right.Value; - } -} diff --git a/Veldrid.OpenGLBindings/OpenGLNative.cs b/Veldrid.OpenGLBindings/OpenGLNative.cs deleted file mode 100644 index c53bb4c5d..000000000 --- a/Veldrid.OpenGLBindings/OpenGLNative.cs +++ /dev/null @@ -1,1883 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Veldrid.OpenGLBinding -{ - // uint = uint - // GLuint = uint - // GLuint64 = uint64 - // GLenum = uint - // Glclampf = 32-bit float, [0, 1] - public static unsafe class OpenGLNative - { - private static Func s_getProcAddress; - - private const CallingConvention CallConv = CallingConvention.Winapi; - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenVertexArrays_t(uint n, out uint arrays); - private static glGenVertexArrays_t p_glGenVertexArrays; - public static void glGenVertexArrays(uint n, out uint arrays) => p_glGenVertexArrays(n, out arrays); - - [UnmanagedFunctionPointer(CallConv)] - private delegate uint glGetError_t(); - private static glGetError_t p_glGetError; - public static uint glGetError() => p_glGetError(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindVertexArray_t(uint array); - private static glBindVertexArray_t p_glBindVertexArray; - public static void glBindVertexArray(uint array) => p_glBindVertexArray(array); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClearColor_t(float red, float green, float blue, float alpha); - private static glClearColor_t p_glClearColor; - public static void glClearColor(float red, float green, float blue, float alpha) - => p_glClearColor(red, green, blue, alpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawBuffer_t(DrawBufferMode mode); - private static glDrawBuffer_t p_glDrawBuffer; - public static void glDrawBuffer(DrawBufferMode mode) => p_glDrawBuffer(mode); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawBuffers_t(uint n, DrawBuffersEnum* bufs); - private static glDrawBuffers_t p_glDrawBuffers; - public static void glDrawBuffers(uint n, DrawBuffersEnum* bufs) => p_glDrawBuffers(n, bufs); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClear_t(ClearBufferMask mask); - private static glClear_t p_glClear; - public static void glClear(ClearBufferMask mask) => p_glClear(mask); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClearDepth_t(double depth); - private static glClearDepth_t p_glClearDepth; - public static void glClearDepth(double depth) => p_glClearDepth(depth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClearDepthf_t(float depth); - private static glClearDepthf_t p_glClearDepthf; - public static void glClearDepthf(float depth) => p_glClearDepthf(depth); - - private static glClearDepthf_t p_glClearDepthf_Compat; - public static void glClearDepth_Compat(float depth) => p_glClearDepthf_Compat(depth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElements_t(PrimitiveType mode, uint count, DrawElementsType type, void* indices); - private static glDrawElements_t p_glDrawElements; - public static void glDrawElements(PrimitiveType mode, uint count, DrawElementsType type, void* indices) - => p_glDrawElements(mode, count, type, indices); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElementsBaseVertex_t( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - int basevertex); - private static glDrawElementsBaseVertex_t p_glDrawElementsBaseVertex; - public static void glDrawElementsBaseVertex( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - int basevertex) => p_glDrawElementsBaseVertex(mode, count, type, indices, basevertex); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElementsInstanced_t( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount); - private static glDrawElementsInstanced_t p_glDrawElementsInstanced; - public static void glDrawElementsInstanced( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount) => p_glDrawElementsInstanced(mode, count, type, indices, primcount); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElementsInstancedBaseVertex_t( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount, - int basevertex); - private static glDrawElementsInstancedBaseVertex_t p_glDrawElementsInstancedBaseVertex; - public static void glDrawElementsInstancedBaseVertex( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount, - int basevertex) => p_glDrawElementsInstancedBaseVertex(mode, count, type, indices, primcount, basevertex); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElementsInstancedBaseVertexBaseInstance_t( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount, - int basevertex, - uint baseinstance); - private static glDrawElementsInstancedBaseVertexBaseInstance_t p_glDrawElementsInstancedBaseVertexBaseInstance; - public static void glDrawElementsInstancedBaseVertexBaseInstance( - PrimitiveType mode, - uint count, - DrawElementsType type, - void* indices, - uint primcount, - int basevertex, - uint baseinstance) - => p_glDrawElementsInstancedBaseVertexBaseInstance( - mode, count, type, indices, primcount, basevertex, baseinstance); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawArrays_t(PrimitiveType mode, int first, uint count); - private static glDrawArrays_t p_glDrawArrays; - public static void glDrawArrays(PrimitiveType mode, int first, uint count) => p_glDrawArrays(mode, first, count); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawArraysInstanced_t(PrimitiveType mode, int first, uint count, uint primcount); - private static glDrawArraysInstanced_t p_glDrawArraysInstanced; - public static void glDrawArraysInstanced(PrimitiveType mode, int first, uint count, uint primcount) - => p_glDrawArraysInstanced(mode, first, count, primcount); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawArraysInstancedBaseInstance_t( - PrimitiveType mode, - int first, - uint count, - uint primcount, - uint baseinstance); - private static glDrawArraysInstancedBaseInstance_t p_glDrawArraysInstancedBaseInstance; - public static void glDrawArraysInstancedBaseInstance( - PrimitiveType mode, - int first, - uint count, - uint primcount, - uint baseinstance) => p_glDrawArraysInstancedBaseInstance(mode, first, count, primcount, baseinstance); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenBuffers_t(uint n, out uint buffers); - private static glGenBuffers_t p_glGenBuffers; - public static void glGenBuffers(uint n, out uint buffers) => p_glGenBuffers(n, out buffers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteBuffers_t(uint n, ref uint buffers); - private static glDeleteBuffers_t p_glDeleteBuffers; - public static void glDeleteBuffers(uint n, ref uint buffers) => p_glDeleteBuffers(n, ref buffers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenFramebuffers_t(uint n, out uint ids); - private static glGenFramebuffers_t p_glGenFramebuffers; - public static void glGenFramebuffers(uint n, out uint ids) => p_glGenFramebuffers(n, out ids); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glActiveTexture_t(TextureUnit texture); - private static glActiveTexture_t p_glActiveTexture; - public static void glActiveTexture(TextureUnit texture) => p_glActiveTexture(texture); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFramebufferTexture1D_t( - FramebufferTarget target, - GLFramebufferAttachment attachment, - TextureTarget textarget, - uint texture, - int level); - private static glFramebufferTexture1D_t p_glFramebufferTexture1D; - public static void glFramebufferTexture1D( - FramebufferTarget target, - GLFramebufferAttachment attachment, - TextureTarget textarget, - uint texture, - int level) => p_glFramebufferTexture1D(target, attachment, textarget, texture, level); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFramebufferTexture2D_t( - FramebufferTarget target, - GLFramebufferAttachment attachment, - TextureTarget textarget, - uint texture, - int level); - private static glFramebufferTexture2D_t p_glFramebufferTexture2D; - public static void glFramebufferTexture2D( - FramebufferTarget target, - GLFramebufferAttachment attachment, - TextureTarget textarget, - uint texture, - int level) => p_glFramebufferTexture2D(target, attachment, textarget, texture, level); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindTexture_t(TextureTarget target, uint texture); - private static glBindTexture_t p_glBindTexture; - public static void glBindTexture(TextureTarget target, uint texture) => p_glBindTexture(target, texture); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindFramebuffer_t(FramebufferTarget target, uint framebuffer); - private static glBindFramebuffer_t p_glBindFramebuffer; - public static void glBindFramebuffer(FramebufferTarget target, uint framebuffer) - => p_glBindFramebuffer(target, framebuffer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteFramebuffers_t(uint n, ref uint framebuffers); - private static glDeleteFramebuffers_t p_glDeleteFramebuffers; - public static void glDeleteFramebuffers(uint n, ref uint framebuffers) => p_glDeleteFramebuffers(n, ref framebuffers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenTextures_t(uint n, out uint textures); - private static glGenTextures_t p_glGenTextures; - public static void glGenTextures(uint n, out uint textures) => p_glGenTextures(n, out textures); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteTextures_t(uint n, ref uint textures); - private static glDeleteTextures_t p_glDeleteTextures; - public static void glDeleteTextures(uint n, ref uint textures) => p_glDeleteTextures(n, ref textures); - - [UnmanagedFunctionPointer(CallConv)] - private delegate FramebufferErrorCode glCheckFramebufferStatus_t(FramebufferTarget target); - private static glCheckFramebufferStatus_t p_glCheckFramebufferStatus; - public static FramebufferErrorCode glCheckFramebufferStatus(FramebufferTarget target) - => p_glCheckFramebufferStatus(target); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindBuffer_t(BufferTarget target, uint buffer); - private static glBindBuffer_t p_glBindBuffer; - public static void glBindBuffer(BufferTarget target, uint buffer) => p_glBindBuffer(target, buffer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glViewportIndexedf_t(uint index, float x, float y, float w, float h); - private static glViewportIndexedf_t p_glViewportIndexedf; - public static void glViewportIndexed(uint index, float x, float y, float w, float h) - => p_glViewportIndexedf(index, x, y, w, h); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glViewport_t(int x, int y, uint width, uint height); - private static glViewport_t p_glViewport; - public static void glViewport(int x, int y, uint width, uint height) => p_glViewport(x, y, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDepthRangeIndexed_t(uint index, double nearVal, double farVal); - private static glDepthRangeIndexed_t p_glDepthRangeIndexed; - public static void glDepthRangeIndexed(uint index, double nearVal, double farVal) - => p_glDepthRangeIndexed(index, nearVal, farVal); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDepthRangef_t(float n, float f); - private static glDepthRangef_t p_glDepthRangef; - public static void glDepthRangef(float n, float f) => p_glDepthRangef(n, f); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBufferSubData_t(BufferTarget target, IntPtr offset, UIntPtr size, void* data); - private static glBufferSubData_t p_glBufferSubData; - public static void glBufferSubData(BufferTarget target, IntPtr offset, UIntPtr size, void* data) - => p_glBufferSubData(target, offset, size, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glNamedBufferSubData_t(uint buffer, IntPtr offset, uint size, void* data); - private static glNamedBufferSubData_t p_glNamedBufferSubData; - public static void glNamedBufferSubData(uint buffer, IntPtr offset, uint size, void* data) - => p_glNamedBufferSubData(buffer, offset, size, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glScissorIndexed_t(uint index, int left, int bottom, uint width, uint height); - private static glScissorIndexed_t p_glScissorIndexed; - public static void glScissorIndexed(uint index, int left, int bottom, uint width, uint height) - => p_glScissorIndexed(index, left, bottom, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glScissor_t(int x, int y, uint width, uint height); - private static glScissor_t p_glScissor; - public static void glScissor(int x, int y, uint width, uint height) => p_glScissor(x, y, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPixelStorei_t(PixelStoreParameter pname, int param); - private static glPixelStorei_t p_glPixelStorei; - public static void glPixelStorei(PixelStoreParameter pname, int param) => p_glPixelStorei(pname, param); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexSubImage1D_t( - TextureTarget target, - int level, - int xoffset, - uint width, - GLPixelFormat format, - GLPixelType type, - void* pixels); - private static glTexSubImage1D_t p_glTexSubImage1D; - public static void glTexSubImage1D( - TextureTarget target, - int level, - int xoffset, - uint width, - GLPixelFormat format, - GLPixelType type, - void* pixels) => p_glTexSubImage1D(target, level, xoffset, width, format, type, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexSubImage2D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - uint width, - uint height, - GLPixelFormat format, - GLPixelType type, - void* pixels); - private static glTexSubImage2D_t p_glTexSubImage2D; - public static void glTexSubImage2D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - uint width, - uint height, - GLPixelFormat format, - GLPixelType type, - void* pixels) => p_glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexSubImage3D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - GLPixelFormat format, - GLPixelType type, - void* pixels); - private static glTexSubImage3D_t p_glTexSubImage3D; - public static void glTexSubImage3D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - GLPixelFormat format, - GLPixelType type, - void* pixels) - => p_glTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glShaderSource_t(uint shader, uint count, byte** @string, int* length); - private static glShaderSource_t p_glShaderSource; - public static void glShaderSource(uint shader, uint count, byte** @string, int* length) - => p_glShaderSource(shader, count, @string, length); - - [UnmanagedFunctionPointer(CallConv)] - private delegate uint glCreateShader_t(ShaderType shaderType); - private static glCreateShader_t p_glCreateShader; - public static uint glCreateShader(ShaderType shaderType) => p_glCreateShader(shaderType); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCompileShader_t(uint shader); - private static glCompileShader_t p_glCompileShader; - public static void glCompileShader(uint shader) => p_glCompileShader(shader); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetShaderiv_t(uint shader, ShaderParameter pname, int* @params); - private static glGetShaderiv_t p_glGetShaderiv; - public static void glGetShaderiv(uint shader, ShaderParameter pname, int* @params) - => p_glGetShaderiv(shader, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetShaderInfoLog_t(uint shader, uint maxLength, uint* length, byte* infoLog); - private static glGetShaderInfoLog_t p_glGetShaderInfoLog; - public static void glGetShaderInfoLog(uint shader, uint maxLength, uint* length, byte* infoLog) - => p_glGetShaderInfoLog(shader, maxLength, length, infoLog); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteShader_t(uint shader); - private static glDeleteShader_t p_glDeleteShader; - public static void glDeleteShader(uint shader) => p_glDeleteShader(shader); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenSamplers_t(uint n, out uint samplers); - private static glGenSamplers_t p_glGenSamplers; - public static void glGenSamplers(uint n, out uint samplers) => p_glGenSamplers(n, out samplers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glSamplerParameterf_t(uint sampler, SamplerParameterName pname, float param); - private static glSamplerParameterf_t p_glSamplerParameterf; - public static void glSamplerParameterf(uint sampler, SamplerParameterName pname, float param) - => p_glSamplerParameterf(sampler, pname, param); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glSamplerParameteri_t(uint sampler, SamplerParameterName pname, int param); - private static glSamplerParameteri_t p_glSamplerParameteri; - public static void glSamplerParameteri(uint sampler, SamplerParameterName pname, int param) - => p_glSamplerParameteri(sampler, pname, param); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glSamplerParameterfv_t(uint sampler, SamplerParameterName pname, float* @params); - private static glSamplerParameterfv_t p_glSamplerParameterfv; - public static void glSamplerParameterfv(uint sampler, SamplerParameterName pname, float* @params) - => p_glSamplerParameterfv(sampler, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindSampler_t(uint unit, uint sampler); - private static glBindSampler_t p_glBindSampler; - public static void glBindSampler(uint unit, uint sampler) => p_glBindSampler(unit, sampler); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteSamplers_t(uint n, ref uint samplers); - private static glDeleteSamplers_t p_glDeleteSamplers; - public static void glDeleteSamplers(uint n, ref uint samplers) => p_glDeleteSamplers(n, ref samplers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlendFuncSeparatei_t( - uint buf, - BlendingFactorSrc srcRGB, - BlendingFactorDest dstRGB, - BlendingFactorSrc srcAlpha, - BlendingFactorDest dstAlpha); - private static glBlendFuncSeparatei_t p_glBlendFuncSeparatei; - public static void glBlendFuncSeparatei( - uint buf, - BlendingFactorSrc srcRGB, - BlendingFactorDest dstRGB, - BlendingFactorSrc srcAlpha, - BlendingFactorDest dstAlpha) => p_glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlendFuncSeparate_t( - BlendingFactorSrc srcRGB, - BlendingFactorDest dstRGB, - BlendingFactorSrc srcAlpha, - BlendingFactorDest dstAlpha); - private static glBlendFuncSeparate_t p_glBlendFuncSeparate; - public static void glBlendFuncSeparate( - BlendingFactorSrc srcRGB, - BlendingFactorDest dstRGB, - BlendingFactorSrc srcAlpha, - BlendingFactorDest dstAlpha) => p_glBlendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glEnable_t(EnableCap cap); - private static glEnable_t p_glEnable; - public static void glEnable(EnableCap cap) => p_glEnable(cap); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glEnablei_t(EnableCap cap, uint index); - private static glEnablei_t p_glEnablei; - public static void glEnablei(EnableCap cap, uint index) => p_glEnablei(cap, index); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDisable_t(EnableCap cap); - private static glDisable_t p_glDisable; - public static void glDisable(EnableCap cap) => p_glDisable(cap); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDisablei_t(EnableCap cap, uint index); - private static glDisablei_t p_glDisablei; - public static void glDisablei(EnableCap cap, uint index) => p_glDisablei(cap, index); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlendEquationSeparatei_t(uint buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha); - private static glBlendEquationSeparatei_t p_glBlendEquationSeparatei; - public static void glBlendEquationSeparatei(uint buf, BlendEquationMode modeRGB, BlendEquationMode modeAlpha) - => p_glBlendEquationSeparatei(buf, modeRGB, modeAlpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlendEquationSeparate_t(BlendEquationMode modeRGB, BlendEquationMode modeAlpha); - private static glBlendEquationSeparate_t p_glBlendEquationSeparate; - public static void glBlendEquationSeparate(BlendEquationMode modeRGB, BlendEquationMode modeAlpha) - => p_glBlendEquationSeparate(modeRGB, modeAlpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlendColor_t(float red, float green, float blue, float alpha); - private static glBlendColor_t p_glBlendColor; - public static void glBlendColor(float red, float green, float blue, float alpha) - => p_glBlendColor(red, green, blue, alpha); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDepthFunc_t(DepthFunction func); - private static glDepthFunc_t p_glDepthFunc; - public static void glDepthFunc(DepthFunction func) => p_glDepthFunc(func); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDepthMask_t(GLboolean flag); - private static glDepthMask_t p_glDepthMask; - public static void glDepthMask(GLboolean flag) => p_glDepthMask(flag); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCullFace_t(CullFaceMode mode); - private static glCullFace_t p_glCullFace; - public static void glCullFace(CullFaceMode mode) => p_glCullFace(mode); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPolygonMode_t(MaterialFace face, PolygonMode mode); - private static glPolygonMode_t p_glPolygonMode; - public static void glPolygonMode(MaterialFace face, PolygonMode mode) => p_glPolygonMode(face, mode); - - [UnmanagedFunctionPointer(CallConv)] - private delegate uint glCreateProgram_t(); - private static glCreateProgram_t p_glCreateProgram; - public static uint glCreateProgram() => p_glCreateProgram(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glAttachShader_t(uint program, uint shader); - private static glAttachShader_t p_glAttachShader; - public static void glAttachShader(uint program, uint shader) => p_glAttachShader(program, shader); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindAttribLocation_t(uint program, uint index, byte* name); - private static glBindAttribLocation_t p_glBindAttribLocation; - public static void glBindAttribLocation(uint program, uint index, byte* name) - => p_glBindAttribLocation(program, index, name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glLinkProgram_t(uint program); - private static glLinkProgram_t p_glLinkProgram; - public static void glLinkProgram(uint program) => p_glLinkProgram(program); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetProgramiv_t(uint program, GetProgramParameterName pname, int* @params); - private static glGetProgramiv_t p_glGetProgramiv; - public static void glGetProgramiv(uint program, GetProgramParameterName pname, int* @params) - => p_glGetProgramiv(program, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetProgramInfoLog_t(uint program, uint maxLength, uint* length, byte* infoLog); - private static glGetProgramInfoLog_t p_glGetProgramInfoLog; - public static void glGetProgramInfoLog(uint program, uint maxLength, uint* length, byte* infoLog) - => p_glGetProgramInfoLog(program, maxLength, length, infoLog); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glUniformBlockBinding_t(uint program, uint uniformBlockIndex, uint uniformBlockBinding); - private static glUniformBlockBinding_t p_glUniformBlockBinding; - public static void glUniformBlockBinding(uint program, uint uniformBlockIndex, uint uniformBlockBinding) - => p_glUniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDeleteProgram_t(uint program); - private static glDeleteProgram_t p_glDeleteProgram; - public static void glDeleteProgram(uint program) => p_glDeleteProgram(program); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glUniform1i_t(int location, int v0); - private static glUniform1i_t p_glUniform1i; - public static void glUniform1i(int location, int v0) => p_glUniform1i(location, v0); - - [UnmanagedFunctionPointer(CallConv)] - private delegate uint glGetUniformBlockIndex_t(uint program, byte* uniformBlockName); - private static glGetUniformBlockIndex_t p_glGetUniformBlockIndex; - public static uint glGetUniformBlockIndex(uint program, byte* uniformBlockName) - => p_glGetUniformBlockIndex(program, uniformBlockName); - - [UnmanagedFunctionPointer(CallConv)] - private delegate int glGetUniformLocation_t(uint program, byte* name); - private static glGetUniformLocation_t p_glGetUniformLocation; - public static int glGetUniformLocation(uint program, byte* name) => p_glGetUniformLocation(program, name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate int glGetAttribLocation_t(uint program, byte* name); - private static glGetAttribLocation_t p_glGetAttribLocation; - public static int glGetAttribLocation(uint program, byte* name) => p_glGetAttribLocation(program, name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glUseProgram_t(uint program); - private static glUseProgram_t p_glUseProgram; - public static void glUseProgram(uint program) => p_glUseProgram(program); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindBufferRange_t( - BufferRangeTarget target, - uint index, - uint buffer, - IntPtr offset, - UIntPtr size); - private static glBindBufferRange_t p_glBindBufferRange; - public static void glBindBufferRange( - BufferRangeTarget target, - uint index, - uint buffer, - IntPtr offset, - UIntPtr size) => p_glBindBufferRange(target, index, buffer, offset, size); - - [UnmanagedFunctionPointer(CallingConvention.Winapi)] - public delegate void DebugProc( - DebugSource source, - DebugType type, - uint id, - DebugSeverity severity, - uint length, - byte* message, - void* userParam); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDebugMessageCallback_t(DebugProc callback, void* userParam); - private static glDebugMessageCallback_t p_glDebugMessageCallback; - public static void glDebugMessageCallback(DebugProc callback, void* userParam) - => p_glDebugMessageCallback(callback, userParam); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBufferData_t(BufferTarget target, UIntPtr size, void* data, BufferUsageHint usage); - private static glBufferData_t p_glBufferData; - public static void glBufferData(BufferTarget target, UIntPtr size, void* data, BufferUsageHint usage) - => p_glBufferData(target, size, data, usage); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glNamedBufferData_t(uint buffer, uint size, void* data, BufferUsageHint usage); - private static glNamedBufferData_t p_glNamedBufferData; - public static void glNamedBufferData(uint buffer, uint size, void* data, BufferUsageHint usage) - => p_glNamedBufferData(buffer, size, data, usage); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexImage1D_t( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - int border, - GLPixelFormat format, - GLPixelType type, - void* data); - private static glTexImage1D_t p_glTexImage1D; - public static void glTexImage1D( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - int border, - GLPixelFormat format, - GLPixelType type, - void* data) => p_glTexImage1D(target, level, internalFormat, width, border, format, type, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexImage2D_t( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - uint height, - int border, - GLPixelFormat format, - GLPixelType type, - void* data); - private static glTexImage2D_t p_glTexImage2D; - public static void glTexImage2D( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - uint height, - int border, - GLPixelFormat format, - GLPixelType type, - void* data) => p_glTexImage2D(target, level, internalFormat, width, height, border, format, type, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexImage3D_t( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - uint height, - uint depth, - int border, - GLPixelFormat format, - GLPixelType type, - void* data); - private static glTexImage3D_t p_glTexImage3D; - public static void glTexImage3D( - TextureTarget target, - int level, - PixelInternalFormat internalFormat, - uint width, - uint height, - uint depth, - int border, - GLPixelFormat format, - GLPixelType type, - void* data) => p_glTexImage3D(target, level, internalFormat, width, height, depth, border, format, type, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glEnableVertexAttribArray_t(uint index); - private static glEnableVertexAttribArray_t p_glEnableVertexAttribArray; - public static void glEnableVertexAttribArray(uint index) => p_glEnableVertexAttribArray(index); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDisableVertexAttribArray_t(uint index); - private static glDisableVertexAttribArray_t p_glDisableVertexAttribArray; - public static void glDisableVertexAttribArray(uint index) => p_glDisableVertexAttribArray(index); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glVertexAttribPointer_t( - uint index, - int size, - VertexAttribPointerType type, - GLboolean normalized, - uint stride, - void* pointer); - private static glVertexAttribPointer_t p_glVertexAttribPointer; - public static void glVertexAttribPointer( - uint index, - int size, - VertexAttribPointerType type, - GLboolean normalized, - uint stride, - void* pointer) => p_glVertexAttribPointer(index, size, type, normalized, stride, pointer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glVertexAttribIPointer_t( - uint index, - int size, - VertexAttribPointerType type, - uint stride, - void* pointer); - private static glVertexAttribIPointer_t p_glVertexAttribIPointer; - public static void glVertexAttribIPointer( - uint index, - int size, - VertexAttribPointerType type, - uint stride, - void* pointer) => p_glVertexAttribIPointer(index, size, type, stride, pointer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glVertexAttribDivisor_t(uint index, uint divisor); - private static glVertexAttribDivisor_t p_glVertexAttribDivisor; - public static void glVertexAttribDivisor(uint index, uint divisor) => p_glVertexAttribDivisor(index, divisor); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFrontFace_t(FrontFaceDirection mode); - private static glFrontFace_t p_glFrontFace; - public static void glFrontFace(FrontFaceDirection mode) => p_glFrontFace(mode); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetIntegerv_t(GetPName pname, int* data); - private static glGetIntegerv_t p_glGetIntegerv; - public static void glGetIntegerv(GetPName pname, int* data) => p_glGetIntegerv(pname, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindTextureUnit_t(uint unit, uint texture); - private static glBindTextureUnit_t p_glBindTextureUnit; - public static void glBindTextureUnit(uint unit, uint texture) => p_glBindTextureUnit(unit, texture); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexParameteri_t(TextureTarget target, TextureParameterName pname, int param); - private static glTexParameteri_t p_glTexParameteri; - public static void glTexParameteri(TextureTarget target, TextureParameterName pname, int param) - => p_glTexParameteri(target, pname, param); - - [UnmanagedFunctionPointer(CallConv)] - private delegate byte* glGetString_t(StringName name); - private static glGetString_t p_glGetString; - public static byte* glGetString(StringName name) => p_glGetString(name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate byte* glGetStringi_t(StringNameIndexed name, uint index); - private static glGetStringi_t p_glGetStringi; - public static byte* glGetStringi(StringNameIndexed name, uint index) => p_glGetStringi(name, index); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glObjectLabel_t(ObjectLabelIdentifier identifier, uint name, uint length, byte* label); - private static glObjectLabel_t p_glObjectLabel; - public static void glObjectLabel(ObjectLabelIdentifier identifier, uint name, uint length, byte* label) - => p_glObjectLabel(identifier, name, length, label); - - /// - /// Indicates whether the glObjectLabel function was successfully loaded. - /// Some drivers advertise KHR_Debug support, but return null for this function pointer. - /// - public static bool HasGlObjectLabel => p_glObjectLabel != null; - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexImage2DMultisample_t( - TextureTarget target, - uint samples, - PixelInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations); - private static glTexImage2DMultisample_t p_glTexImage2DMultisample; - public static void glTexImage2DMultiSample( - TextureTarget target, - uint samples, - PixelInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations) => p_glTexImage2DMultisample( - target, - samples, - internalformat, - width, - height, - fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexImage3DMultisample_t( - TextureTarget target, - uint samples, - PixelInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations); - private static glTexImage3DMultisample_t p_glTexImage3DMultisample; - public static void glTexImage3DMultisample( - TextureTarget target, - uint samples, - PixelInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations) => p_glTexImage3DMultisample( - target, - samples, - internalformat, - width, - height, - depth, - fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBlitFramebuffer_t( - int srcX0, - int srcY0, - int srcX1, - int srcY1, - int dstX0, - int dstY0, - int dstX1, - int dstY1, - ClearBufferMask mask, - BlitFramebufferFilter filter); - private static glBlitFramebuffer_t p_glBlitFramebuffer; - public static void glBlitFramebuffer( - int srcX0, - int srcY0, - int srcX1, - int srcY1, - int dstX0, - int dstY0, - int dstX1, - int dstY1, - ClearBufferMask mask, - BlitFramebufferFilter filter) - => p_glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFramebufferTextureLayer_t( - FramebufferTarget target, - GLFramebufferAttachment attachment, - uint texture, - int level, - int layer); - private static glFramebufferTextureLayer_t p_glFramebufferTextureLayer; - public static void glFramebufferTextureLayer( - FramebufferTarget target, - GLFramebufferAttachment attachment, - uint texture, - int level, - int layer) => p_glFramebufferTextureLayer(target, attachment, texture, level, layer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDispatchCompute_t(uint num_groups_x, uint num_groups_y, uint num_groups_z); - private static glDispatchCompute_t p_glDispatchCompute; - public static void glDispatchCompute(uint num_groups_x, uint num_groups_y, uint num_groups_z) - => p_glDispatchCompute(num_groups_x, num_groups_y, num_groups_z); - - [UnmanagedFunctionPointer(CallConv)] - private delegate uint glGetProgramResourceIndex_t(uint program, ProgramInterface programInterface, byte* name); - private static glGetProgramResourceIndex_t p_glGetProgramResourceIndex; - public static uint glGetProgramResourceIndex(uint program, ProgramInterface programInterface, byte* name) - => p_glGetProgramResourceIndex(program, programInterface, name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glShaderStorageBlockBinding_t(uint program, uint storageBlockIndex, uint storageBlockBinding); - private static glShaderStorageBlockBinding_t p_glShaderStorageBlockBinding; - public static void glShaderStorageBlockBinding(uint program, uint storageBlockIndex, uint storageBlockBinding) - => p_glShaderStorageBlockBinding(program, storageBlockIndex, storageBlockBinding); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawElementsIndirect_t(PrimitiveType mode, DrawElementsType type, IntPtr indirect); - private static glDrawElementsIndirect_t p_glDrawElementsIndirect; - public static void glDrawElementsIndirect(PrimitiveType mode, DrawElementsType type, IntPtr indirect) - => p_glDrawElementsIndirect(mode, type, indirect); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glMultiDrawElementsIndirect_t( - PrimitiveType mode, - DrawElementsType type, - IntPtr indirect, - uint drawcount, - uint stride); - private static glMultiDrawElementsIndirect_t p_glMultiDrawElementsIndirect; - public static void glMultiDrawElementsIndirect( - PrimitiveType mode, - DrawElementsType type, - IntPtr indirect, - uint drawcount, - uint stride) => p_glMultiDrawElementsIndirect(mode, type, indirect, drawcount, stride); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDrawArraysIndirect_t(PrimitiveType mode, IntPtr indirect); - private static glDrawArraysIndirect_t p_glDrawArraysIndirect; - public static void glDrawArraysIndirect(PrimitiveType mode, IntPtr indirect) - => p_glDrawArraysIndirect(mode, indirect); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glMultiDrawArraysIndirect_t(PrimitiveType mode, IntPtr indirect, uint drawcount, uint stride); - private static glMultiDrawArraysIndirect_t p_glMultiDrawArraysIndirect; - public static void glMultiDrawArraysIndirect(PrimitiveType mode, IntPtr indirect, uint drawcount, uint stride) - => p_glMultiDrawArraysIndirect(mode, indirect, drawcount, stride); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDispatchComputeIndirect_t(IntPtr indirect); - private static glDispatchComputeIndirect_t p_glDispatchComputeIndirect; - public static void glDispatchComputeIndirect(IntPtr indirect) => p_glDispatchComputeIndirect(indirect); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindImageTexture_t( - uint unit​, - uint texture​, - int level​, - GLboolean layered​, - int layer​, - TextureAccess access​, - SizedInternalFormat format​); - private static glBindImageTexture_t p_glBindImageTexture; - public static void glBindImageTexture( - uint unit​, - uint texture​, - int level​, - GLboolean layered​, - int layer​, - TextureAccess access​, - SizedInternalFormat format​) => p_glBindImageTexture(unit, texture, level, layered, layer, access, format); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glMemoryBarrier_t(MemoryBarrierFlags barriers); - private static glMemoryBarrier_t p_glMemoryBarrier; - public static void glMemoryBarrier(MemoryBarrierFlags barriers) => p_glMemoryBarrier(barriers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexStorage1D_t( - TextureTarget target, - uint levels, - SizedInternalFormat internalformat, - uint width); - private static glTexStorage1D_t p_glTexStorage1D; - public static void glTexStorage1D(TextureTarget target, uint levels, SizedInternalFormat internalformat, uint width) - => p_glTexStorage1D(target, levels, internalformat, width); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexStorage2D_t( - TextureTarget target, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height); - private static glTexStorage2D_t p_glTexStorage2D; - public static void glTexStorage2D( - TextureTarget target, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height) => p_glTexStorage2D(target, levels, internalformat, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexStorage3D_t( - TextureTarget target, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth); - private static glTexStorage3D_t p_glTexStorage3D; - public static void glTexStorage3D( - TextureTarget target, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth) => p_glTexStorage3D(target, levels, internalformat, width, height, depth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureStorage1D_t( - uint texture, - uint levels, - SizedInternalFormat internalformat, - uint width); - private static glTextureStorage1D_t p_glTextureStorage1D; - public static void glTextureStorage1D(uint texture, uint levels, SizedInternalFormat internalformat, uint width) - => p_glTextureStorage1D(texture, levels, internalformat, width); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureStorage2D_t( - uint texture, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height); - private static glTextureStorage2D_t p_glTextureStorage2D; - public static void glTextureStorage2D( - uint texture, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height) => p_glTextureStorage2D(texture, levels, internalformat, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureStorage3D_t( - uint texture, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth); - private static glTextureStorage3D_t p_glTextureStorage3D; - public static void glTextureStorage3D( - uint texture, - uint levels, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth) => p_glTextureStorage3D(texture, levels, internalformat, width, height, depth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureStorage2DMultisample_t( - uint texture, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations); - private static glTextureStorage2DMultisample_t p_glTextureStorage2DMultisample; - public static void glTextureStorage2DMultisample( - uint texture, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations) - => p_glTextureStorage2DMultisample(texture, samples, internalformat, width, height, fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureStorage3DMultisample_t( - uint texture, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations); - private static glTextureStorage3DMultisample_t p_glTextureStorage3DMultisample; - public static void glTextureStorage3DMultisample( - uint texture, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations) - => p_glTextureStorage3DMultisample(texture, samples, internalformat, width, height, depth, fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexStorage2DMultisample_t( - TextureTarget target, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations); - private static glTexStorage2DMultisample_t p_glTexStorage2DMultisample; - public static void glTexStorage2DMultisample( - TextureTarget target, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - GLboolean fixedsamplelocations) - => p_glTexStorage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTexStorage3DMultisample_t( - TextureTarget target, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations); - private static glTexStorage3DMultisample_t p_glTexStorage3DMultisample; - public static void glTexStorage3DMultisample( - TextureTarget target, - uint samples, - SizedInternalFormat internalformat, - uint width, - uint height, - uint depth, - GLboolean fixedsamplelocations) - => p_glTexStorage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glTextureView_t( - uint texture, - TextureTarget target, - uint origtexture, - PixelInternalFormat internalformat, - uint minlevel, - uint numlevels, - uint minlayer, - uint numlayers); - private static glTextureView_t p_glTextureView; - public static void glTextureView( - uint texture, - TextureTarget target, - uint origtexture, - PixelInternalFormat internalformat, - uint minlevel, - uint numlevels, - uint minlayer, - uint numlayers) - => p_glTextureView(texture, target, origtexture, internalformat, minlevel, numlevels, minlayer, numlayers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void* glMapBuffer_t(BufferTarget target, BufferAccess access); - private static glMapBuffer_t p_glMapBuffer; - public static void* glMapBuffer(BufferTarget target, BufferAccess access) => p_glMapBuffer(target, access); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void* glMapNamedBuffer_t(uint buffer, BufferAccess access); - private static glMapNamedBuffer_t p_glMapNamedBuffer; - public static void* glMapNamedBuffer(uint buffer, BufferAccess access) => p_glMapNamedBuffer(buffer, access); - - [UnmanagedFunctionPointer(CallConv)] - private delegate GLboolean glUnmapBuffer_t(BufferTarget target); - private static glUnmapBuffer_t p_glUnmapBuffer; - public static GLboolean glUnmapBuffer(BufferTarget target) => p_glUnmapBuffer(target); - - [UnmanagedFunctionPointer(CallConv)] - private delegate GLboolean glUnmapNamedBuffer_t(uint buffer); - private static glUnmapNamedBuffer_t p_glUnmapNamedBuffer; - public static GLboolean glUnmapNamedBuffer(uint buffer) => p_glUnmapNamedBuffer(buffer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCopyBufferSubData_t( - BufferTarget readTarget, - BufferTarget writeTarget, - IntPtr readOffset, - IntPtr writeOffset, - IntPtr size); - private static glCopyBufferSubData_t p_glCopyBufferSubData; - public static void glCopyBufferSubData( - BufferTarget readTarget, - BufferTarget writeTarget, - IntPtr readOffset, - IntPtr writeOffset, - IntPtr size) => p_glCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCopyTexSubImage2D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int x, - int y, - uint width, - uint height); - private static glCopyTexSubImage2D_t p_glCopyTexSubImage2D; - public static void glCopyTexSubImage2D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int x, - int y, - uint width, - uint height) => p_glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCopyTexSubImage3D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - int x, - int y, - uint width, - uint height); - private static glCopyTexSubImage3D_t p_glCopyTexSubImage3D; - public static void glCopyTexSubImage3D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - int x, - int y, - uint width, - uint height) => p_glCopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void* glMapBufferRange_t(BufferTarget target, IntPtr offset, IntPtr length, BufferAccessMask access); - private static glMapBufferRange_t p_glMapBufferRange; - public static void* glMapBufferRange(BufferTarget target, IntPtr offset, IntPtr length, BufferAccessMask access) - => p_glMapBufferRange(target, offset, length, access); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void* glMapNamedBufferRange_t(uint buffer, IntPtr offset, uint length, BufferAccessMask access); - private static glMapNamedBufferRange_t p_glMapNamedBufferRange; - public static void* glMapNamedBufferRange(uint buffer, IntPtr offset, uint length, BufferAccessMask access) - => p_glMapNamedBufferRange(buffer, offset, length, access); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetTexImage_t( - TextureTarget target, - int level, - GLPixelFormat format, - GLPixelType type, - void* pixels); - private static glGetTexImage_t p_glGetTexImage; - public static void glGetTexImage(TextureTarget target, int level, GLPixelFormat format, GLPixelType type, void* pixels) - => p_glGetTexImage(target, level, format, type, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetTextureSubImage_t( - uint texture, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - GLPixelFormat format, - GLPixelType type, - uint bufSize, - void* pixels); - private static glGetTextureSubImage_t p_glGetTextureSubImage; - public static void glGetTextureSubImage( - uint texture, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - GLPixelFormat format, - GLPixelType type, - uint bufSize, - void* pixels) - => p_glGetTextureSubImage( - texture, - level, - xoffset, - yoffset, - zoffset, - width, - height, - depth, - format, - type, - bufSize, - pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCopyNamedBufferSubData_t( - uint readBuffer, - uint writeBuffer, - IntPtr readOffset, - IntPtr writeOffset, - uint size); - private static glCopyNamedBufferSubData_t p_glCopyNamedBufferSubData; - public static void glCopyNamedBufferSubData( - uint readBuffer, - uint writeBuffer, - IntPtr readOffset, - IntPtr writeOffset, - uint size) => p_glCopyNamedBufferSubData(readBuffer, writeBuffer, readOffset, writeOffset, size); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCreateBuffers_t(uint n, uint* buffers); - private static glCreateBuffers_t p_glCreateBuffers; - public static void glCreateBuffers(uint n, uint* buffers) => p_glCreateBuffers(n, buffers); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCreateTextures_t(TextureTarget target, uint n, uint* textures); - private static glCreateTextures_t p_glCreateTextures; - public static void glCreateTextures(TextureTarget target, uint n, uint* textures) - => p_glCreateTextures(target, n, textures); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCompressedTexSubImage1D_t( - TextureTarget target, - int level, - int xoffset, - uint width, - PixelInternalFormat internalformat, - uint imageSize, - void* data); - private static glCompressedTexSubImage1D_t p_glCompressedTexSubImage1D; - public static void glCompressedTexSubImage1D( - TextureTarget target, - int level, - int xoffset, - uint width, - PixelInternalFormat internalformat, - uint imageSize, - void* data) => p_glCompressedTexSubImage1D(target, level, xoffset, width, internalformat, imageSize, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCompressedTexSubImage2D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - uint width, - uint height, - PixelInternalFormat format, - uint imageSize, - void* data); - private static glCompressedTexSubImage2D_t p_glCompressedTexSubImage2D; - public static void glCompressedTexSubImage2D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - uint width, - uint height, - PixelInternalFormat format, - uint imageSize, - void* data) => p_glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCompressedTexSubImage3D_t( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - PixelInternalFormat format, - uint imageSize, - void* data); - private static glCompressedTexSubImage3D_t p_glCompressedTexSubImage3D; - public static void glCompressedTexSubImage3D( - TextureTarget target, - int level, - int xoffset, - int yoffset, - int zoffset, - uint width, - uint height, - uint depth, - PixelInternalFormat format, - uint imageSize, - void* data) - => p_glCompressedTexSubImage3D( - target, - level, - xoffset, - yoffset, - zoffset, - width, - height, - depth, - format, - imageSize, - data); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glCopyImageSubData_t( - uint srcName, - TextureTarget srcTarget, - int srcLevel, - int srcX, - int srcY, - int srcZ, - uint dstName, - TextureTarget dstTarget, - int dstLevel, - int dstX, - int dstY, - int dstZ, - uint srcWidth, - uint srcHeight, - uint srcDepth); - private static glCopyImageSubData_t p_glCopyImageSubData; - public static void glCopyImageSubData( - uint srcName, - TextureTarget srcTarget, - int srcLevel, - int srcX, - int srcY, - int srcZ, - uint dstName, - TextureTarget dstTarget, - int dstLevel, - int dstX, - int dstY, - int dstZ, - uint srcWidth, - uint srcHeight, - uint srcDepth) => p_glCopyImageSubData( - srcName, srcTarget, - srcLevel, srcX, srcY, srcZ, - dstName, dstTarget, - dstLevel, dstX, dstY, dstZ, - srcWidth, srcHeight, srcDepth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glStencilFuncSeparate_t(CullFaceMode face, StencilFunction func, int @ref, uint mask); - private static glStencilFuncSeparate_t p_glStencilFuncSeparate; - public static void glStencilFuncSeparate(CullFaceMode face, StencilFunction func, int @ref, uint mask) - => p_glStencilFuncSeparate(face, func, @ref, mask); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glStencilOpSeparate_t( - CullFaceMode face, - StencilOp sfail, - StencilOp dpfail, - StencilOp dppass); - private static glStencilOpSeparate_t p_glStencilOpSeparate; - public static void glStencilOpSeparate( - CullFaceMode face, - StencilOp sfail, - StencilOp dpfail, - StencilOp dppass) => p_glStencilOpSeparate(face, sfail, dpfail, dppass); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glStencilMask_t(uint mask); - private static glStencilMask_t p_glStencilMask; - public static void glStencilMask(uint mask) => p_glStencilMask(mask); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClearStencil_t(int s); - private static glClearStencil_t p_glClearStencil; - public static void glClearStencil(int s) => p_glClearStencil(s); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetActiveUniformBlockiv_t( - uint program, - uint uniformBlockIndex, - ActiveUniformBlockParameter pname, - int* @params); - private static glGetActiveUniformBlockiv_t p_glGetActiveUniformBlockiv; - public static void glGetActiveUniformBlockiv( - uint program, - uint uniformBlockIndex, - ActiveUniformBlockParameter pname, - int* @params) => p_glGetActiveUniformBlockiv(program, uniformBlockIndex, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetCompressedTexImage_t(TextureTarget target, int level, void* pixels); - private static glGetCompressedTexImage_t p_glGetCompressedTexImage; - public static void glGetCompressedTexImage(TextureTarget target, int level, void* pixels) - => p_glGetCompressedTexImage(target, level, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetCompressedTextureImage_t(uint texture, int level, uint bufSize, void* pixels); - private static glGetCompressedTextureImage_t p_glGetCompressedTextureImage; - public static void glGetCompressedTextureImage(uint texture, int level, uint bufSize, void* pixels) - => p_glGetCompressedTextureImage(texture, level, bufSize, pixels); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetTexLevelParameteriv_t( - TextureTarget target, - int level, - GetTextureParameter pname, - int* @params); - private static glGetTexLevelParameteriv_t p_glGetTexLevelParameteriv; - public static void glGetTexLevelParameteriv( - TextureTarget target, - int level, - GetTextureParameter pname, - int* @params) => p_glGetTexLevelParameteriv(target, level, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFramebufferRenderbuffer_t( - FramebufferTarget target, - GLFramebufferAttachment attachment, - RenderbufferTarget renderbuffertarget, - uint renderbuffer); - private static glFramebufferRenderbuffer_t p_glFramebufferRenderbuffer; - public static void glFramebufferRenderbuffer( - FramebufferTarget target, - GLFramebufferAttachment attachment, - RenderbufferTarget renderbuffertarget, - uint renderbuffer) - => p_glFramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glRenderbufferStorage_t( - RenderbufferTarget target, - uint internalformat, - uint width, - uint height); - private static glRenderbufferStorage_t p_glRenderbufferStorage; - public static void glRenderbufferStorage( - RenderbufferTarget target, - uint internalFormat, - uint width, - uint height) => p_glRenderbufferStorage(target, internalFormat, width, height); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetRenderbufferParameteriv_t( - RenderbufferTarget target, - RenderbufferPname pname, - out int parameters); - private static glGetRenderbufferParameteriv_t p_glGetRenderbufferParameteriv; - public static void glGetRenderbufferParameteriv( - RenderbufferTarget target, - RenderbufferPname pname, - out int parameters) => p_glGetRenderbufferParameteriv(target, pname, out parameters); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenRenderbuffers_t(uint count, out uint names); - private static glGenRenderbuffers_t p_glGenRenderbuffers; - public static void glGenRenderbuffers(uint count, out uint names) - => p_glGenRenderbuffers(count, out names); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glBindRenderbuffer_t(RenderbufferTarget bindPoint, uint name); - private static glBindRenderbuffer_t p_glBindRenderbuffer; - public static void glBindRenderbuffer(RenderbufferTarget bindPoint, uint name) - => p_glBindRenderbuffer(bindPoint, name); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenerateMipmap_t(TextureTarget target); - private static glGenerateMipmap_t p_glGenerateMipmap; - public static void glGenerateMipmap(TextureTarget target) => p_glGenerateMipmap(target); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGenerateTextureMipmap_t(uint texture); - private static glGenerateTextureMipmap_t p_glGenerateTextureMipmap; - public static void glGenerateTextureMipmap(uint texture) => p_glGenerateTextureMipmap(texture); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glClipControl_t(ClipControlOrigin origin, ClipControlDepthRange depth); - private static glClipControl_t p_glClipControl; - public static void glClipControl(ClipControlOrigin origin, ClipControlDepthRange depth) - => p_glClipControl(origin, depth); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glGetFramebufferAttachmentParameteriv_t( - FramebufferTarget target, - GLFramebufferAttachment attachment, - FramebufferParameterName pname, - int* @params); - private static glGetFramebufferAttachmentParameteriv_t p_glGetFramebufferAttachmentParameteriv; - public static void glGetFramebufferAttachmentParameteriv( - FramebufferTarget target, - GLFramebufferAttachment attachment, - FramebufferParameterName pname, - int* @params) => p_glGetFramebufferAttachmentParameteriv(target, attachment, pname, @params); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFlush_t(); - private static glFlush_t p_glFlush; - public static void glFlush() => p_glFlush(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glFinish_t(); - private static glFinish_t p_glFinish; - public static void glFinish() => p_glFinish(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPushDebugGroup_t(DebugSource source, uint id, uint length, byte* message); - private static glPushDebugGroup_t p_glPushDebugGroup; - public static void glPushDebugGroup(DebugSource source, uint id, uint length, byte* message) - => p_glPushDebugGroup(source, id, length, message); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPopDebugGroup_t(); - private static glPopDebugGroup_t p_glPopDebugGroup; - public static void glPopDebugGroup() => p_glPopDebugGroup(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glDebugMessageInsert_t( - DebugSource source, - DebugType type, - uint id, - DebugSeverity severity, - uint length, - byte* message); - private static glDebugMessageInsert_t p_glDebugMessageInsert; - public static void glDebugMessageInsert( - DebugSource source, - DebugType type, - uint id, - DebugSeverity severity, - uint length, - byte* message) => p_glDebugMessageInsert(source, type, id, severity, length, message); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glInsertEventMarker_t(uint length, byte* marker); - private static glInsertEventMarker_t p_glInsertEventMarker; - public static void glInsertEventMarker(uint length, byte* marker) => p_glInsertEventMarker(length, marker); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPushGroupMarkerEXT_t(uint length, byte* marker); - private static glPushGroupMarkerEXT_t p_glPushGroupMarker; - public static void glPushGroupMarker(uint length, byte* marker) => p_glPushGroupMarker(length, marker); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glPopGroupMarkerEXT_t(); - private static glPopGroupMarkerEXT_t p_glPopGroupMarker; - public static void glPopGroupMarker() => p_glPopGroupMarker(); - - [UnmanagedFunctionPointer(CallConv)] - private delegate void glReadPixels_t( - int x, - int y, - uint width, - uint height, - GLPixelFormat format, - GLPixelType type, - void* data); - private static glReadPixels_t p_glReadPixels; - public static void glReadPixels( - int x, - int y, - uint width, - uint height, - GLPixelFormat format, - GLPixelType type, - void* data) => p_glReadPixels(x, y, width, height, format, type, data); - - public static void LoadGetString(IntPtr glContext, Func getProcAddress) - { - s_getProcAddress = getProcAddress; - LoadFunction("glGetString", out p_glGetString); - } - - public static void LoadAllFunctions(IntPtr glContext, Func getProcAddress, bool gles) - { - s_getProcAddress = getProcAddress; - - // Common functions - - LoadFunction("glCompressedTexSubImage2D", out p_glCompressedTexSubImage2D); - LoadFunction("glCompressedTexSubImage3D", out p_glCompressedTexSubImage3D); - LoadFunction("glStencilFuncSeparate", out p_glStencilFuncSeparate); - LoadFunction("glStencilOpSeparate", out p_glStencilOpSeparate); - LoadFunction("glStencilMask", out p_glStencilMask); - LoadFunction("glClearStencil", out p_glClearStencil); - LoadFunction("glGetActiveUniformBlockiv", out p_glGetActiveUniformBlockiv); - LoadFunction("glGetCompressedTexImage", out p_glGetCompressedTexImage); - LoadFunction("glGetCompressedTextureImage", out p_glGetCompressedTextureImage); - LoadFunction("glGetTexLevelParameteriv", out p_glGetTexLevelParameteriv); - LoadFunction("glTexImage1D", out p_glTexImage1D); - LoadFunction("glCompressedTexImage1D", out p_glCompressedTexSubImage1D); - - LoadFunction("glGenVertexArrays", out p_glGenVertexArrays); - LoadFunction("glGetError", out p_glGetError); - LoadFunction("glBindVertexArray", out p_glBindVertexArray); - LoadFunction("glClearColor", out p_glClearColor); - LoadFunction("glDrawBuffer", out p_glDrawBuffer); - LoadFunction("glDrawBuffers", out p_glDrawBuffers); - LoadFunction("glClear", out p_glClear); - LoadFunction("glClearDepth", out p_glClearDepth); - LoadFunction("glClearDepthf", out p_glClearDepthf); - if (p_glClearDepthf != null) { p_glClearDepthf_Compat = p_glClearDepthf; } - else { p_glClearDepthf_Compat = depth => p_glClearDepth(depth); } - - LoadFunction("glDrawElements", out p_glDrawElements); - LoadFunction("glDrawElementsBaseVertex", out p_glDrawElementsBaseVertex); - LoadFunction("glDrawElementsInstanced", out p_glDrawElementsInstanced); - LoadFunction("glDrawElementsInstancedBaseVertex", out p_glDrawElementsInstancedBaseVertex); - LoadFunction("glDrawArrays", out p_glDrawArrays); - LoadFunction("glDrawArraysInstanced", out p_glDrawArraysInstanced); - LoadFunction("glDrawArraysInstancedBaseInstance", out p_glDrawArraysInstancedBaseInstance); - LoadFunction("glGenBuffers", out p_glGenBuffers); - LoadFunction("glDeleteBuffers", out p_glDeleteBuffers); - LoadFunction("glGenFramebuffers", out p_glGenFramebuffers); - LoadFunction("glActiveTexture", out p_glActiveTexture); - LoadFunction("glFramebufferTexture2D", out p_glFramebufferTexture2D); - LoadFunction("glBindTexture", out p_glBindTexture); - LoadFunction("glBindFramebuffer", out p_glBindFramebuffer); - LoadFunction("glDeleteFramebuffers", out p_glDeleteFramebuffers); - LoadFunction("glGenTextures", out p_glGenTextures); - LoadFunction("glDeleteTextures", out p_glDeleteTextures); - LoadFunction("glCheckFramebufferStatus", out p_glCheckFramebufferStatus); - LoadFunction("glBindBuffer", out p_glBindBuffer); - LoadFunction("glDepthRangeIndexed", out p_glDepthRangeIndexed); - LoadFunction("glBufferSubData", out p_glBufferSubData); - LoadFunction("glNamedBufferSubData", out p_glNamedBufferSubData); - LoadFunction("glScissorIndexed", out p_glScissorIndexed); - LoadFunction("glTexSubImage1D", out p_glTexSubImage1D); - LoadFunction("glTexSubImage2D", out p_glTexSubImage2D); - LoadFunction("glTexSubImage3D", out p_glTexSubImage3D); - LoadFunction("glPixelStorei", out p_glPixelStorei); - LoadFunction("glShaderSource", out p_glShaderSource); - LoadFunction("glCreateShader", out p_glCreateShader); - LoadFunction("glCompileShader", out p_glCompileShader); - LoadFunction("glGetShaderiv", out p_glGetShaderiv); - LoadFunction("glGetShaderInfoLog", out p_glGetShaderInfoLog); - LoadFunction("glDeleteShader", out p_glDeleteShader); - LoadFunction("glGenSamplers", out p_glGenSamplers); - LoadFunction("glSamplerParameterf", out p_glSamplerParameterf); - LoadFunction("glSamplerParameteri", out p_glSamplerParameteri); - LoadFunction("glSamplerParameterfv", out p_glSamplerParameterfv); - LoadFunction("glBindSampler", out p_glBindSampler); - LoadFunction("glDeleteSamplers", out p_glDeleteSamplers); - LoadFunction("glBlendFuncSeparatei", out p_glBlendFuncSeparatei); - LoadFunction("glBlendFuncSeparate", out p_glBlendFuncSeparate); - LoadFunction("glEnable", out p_glEnable); - LoadFunction("glEnablei", out p_glEnablei); - LoadFunction("glDisable", out p_glDisable); - LoadFunction("glDisablei", out p_glDisablei); - LoadFunction("glBlendEquationSeparatei", out p_glBlendEquationSeparatei); - LoadFunction("glBlendEquationSeparate", out p_glBlendEquationSeparate); - LoadFunction("glBlendColor", out p_glBlendColor); - LoadFunction("glDepthFunc", out p_glDepthFunc); - LoadFunction("glDepthMask", out p_glDepthMask); - LoadFunction("glCullFace", out p_glCullFace); - LoadFunction("glCreateProgram", out p_glCreateProgram); - LoadFunction("glAttachShader", out p_glAttachShader); - LoadFunction("glBindAttribLocation", out p_glBindAttribLocation); - LoadFunction("glLinkProgram", out p_glLinkProgram); - LoadFunction("glGetProgramiv", out p_glGetProgramiv); - LoadFunction("glGetProgramInfoLog", out p_glGetProgramInfoLog); - LoadFunction("glUniformBlockBinding", out p_glUniformBlockBinding); - LoadFunction("glDeleteProgram", out p_glDeleteProgram); - LoadFunction("glUniform1i", out p_glUniform1i); - LoadFunction("glGetUniformBlockIndex", out p_glGetUniformBlockIndex); - LoadFunction("glGetUniformLocation", out p_glGetUniformLocation); - LoadFunction("glGetAttribLocation", out p_glGetAttribLocation); - LoadFunction("glUseProgram", out p_glUseProgram); - LoadFunction("glBindBufferRange", out p_glBindBufferRange); - LoadFunction("glDebugMessageCallback", out p_glDebugMessageCallback); - LoadFunction("glBufferData", out p_glBufferData); - LoadFunction("glNamedBufferData", out p_glNamedBufferData); - LoadFunction("glTexImage2D", out p_glTexImage2D); - LoadFunction("glTexImage3D", out p_glTexImage3D); - LoadFunction("glEnableVertexAttribArray", out p_glEnableVertexAttribArray); - LoadFunction("glDisableVertexAttribArray", out p_glDisableVertexAttribArray); - LoadFunction("glVertexAttribPointer", out p_glVertexAttribPointer); - LoadFunction("glVertexAttribIPointer", out p_glVertexAttribIPointer); - LoadFunction("glVertexAttribDivisor", out p_glVertexAttribDivisor); - LoadFunction("glFrontFace", out p_glFrontFace); - LoadFunction("glGetIntegerv", out p_glGetIntegerv); - LoadFunction("glBindTextureUnit", out p_glBindTextureUnit); - LoadFunction("glTexParameteri", out p_glTexParameteri); - LoadFunction("glGetStringi", out p_glGetStringi); - LoadFunction("glObjectLabel", out p_glObjectLabel); - LoadFunction("glTexImage2DMultisample", out p_glTexImage2DMultisample); - LoadFunction("glTexImage3DMultisample", out p_glTexImage3DMultisample); - LoadFunction("glBlitFramebuffer", out p_glBlitFramebuffer); - LoadFunction("glFramebufferTextureLayer", out p_glFramebufferTextureLayer); - LoadFunction("glDispatchCompute", out p_glDispatchCompute); - LoadFunction("glGetProgramResourceIndex", out p_glGetProgramResourceIndex); - LoadFunction("glShaderStorageBlockBinding", out p_glShaderStorageBlockBinding); - LoadFunction("glDrawElementsIndirect", out p_glDrawElementsIndirect); - LoadFunction("glMultiDrawElementsIndirect", out p_glMultiDrawElementsIndirect); - LoadFunction("glDrawArraysIndirect", out p_glDrawArraysIndirect); - LoadFunction("glMultiDrawArraysIndirect", out p_glMultiDrawArraysIndirect); - LoadFunction("glDispatchComputeIndirect", out p_glDispatchComputeIndirect); - LoadFunction("glBindImageTexture", out p_glBindImageTexture); - LoadFunction("glMemoryBarrier", out p_glMemoryBarrier); - LoadFunction("glTexStorage1D", out p_glTexStorage1D); - LoadFunction("glTexStorage2D", out p_glTexStorage2D); - LoadFunction("glTexStorage3D", out p_glTexStorage3D); - LoadFunction("glTextureStorage1D", out p_glTextureStorage1D); - LoadFunction("glTextureStorage2D", out p_glTextureStorage2D); - LoadFunction("glTextureStorage3D", out p_glTextureStorage3D); - LoadFunction("glTextureStorage2DMultisample", out p_glTextureStorage2DMultisample); - LoadFunction("glTextureStorage3DMultisample", out p_glTextureStorage3DMultisample); - LoadFunction("glTexStorage2DMultisample", out p_glTexStorage2DMultisample); - LoadFunction("glTexStorage3DMultisample", out p_glTexStorage3DMultisample); - LoadFunction("glTextureView", out p_glTextureView); - LoadFunction("glMapBuffer", out p_glMapBuffer); - LoadFunction("glMapNamedBuffer", out p_glMapNamedBuffer); - LoadFunction("glUnmapBuffer", out p_glUnmapBuffer); - LoadFunction("glUnmapNamedBuffer", out p_glUnmapNamedBuffer); - LoadFunction("glCopyBufferSubData", out p_glCopyBufferSubData); - LoadFunction("glCopyTexSubImage2D", out p_glCopyTexSubImage2D); - LoadFunction("glCopyTexSubImage3D", out p_glCopyTexSubImage3D); - LoadFunction("glMapBufferRange", out p_glMapBufferRange); - LoadFunction("glMapNamedBufferRange", out p_glMapNamedBufferRange); - LoadFunction("glGetTextureSubImage", out p_glGetTextureSubImage); - LoadFunction("glCopyNamedBufferSubData", out p_glCopyNamedBufferSubData); - LoadFunction("glCreateBuffers", out p_glCreateBuffers); - LoadFunction("glCreateTextures", out p_glCreateTextures); - LoadFunction("glGenerateMipmap", out p_glGenerateMipmap); - LoadFunction("glGetFramebufferAttachmentParameteriv", out p_glGetFramebufferAttachmentParameteriv); - LoadFunction("glFlush", out p_glFlush); - LoadFunction("glFinish", out p_glFinish); - - LoadFunction("glPushDebugGroup", out p_glPushDebugGroup); - LoadFunction("glPopDebugGroup", out p_glPopDebugGroup); - LoadFunction("glDebugMessageInsert", out p_glDebugMessageInsert); - - LoadFunction("glReadPixels", out p_glReadPixels); - - if (!gles) - { - LoadFunction("glFramebufferTexture1D", out p_glFramebufferTexture1D); - LoadFunction("glGetTexImage", out p_glGetTexImage); - LoadFunction("glPolygonMode", out p_glPolygonMode); - LoadFunction("glViewportIndexedf", out p_glViewportIndexedf); - LoadFunction("glCopyImageSubData", out p_glCopyImageSubData); - LoadFunction("glGenerateTextureMipmap", out p_glGenerateTextureMipmap); - LoadFunction("glClipControl", out p_glClipControl); - LoadFunction("glDrawElementsInstancedBaseVertexBaseInstance", out p_glDrawElementsInstancedBaseVertexBaseInstance); - } - else - { - LoadFunction("glViewport", out p_glViewport); - LoadFunction("glDepthRangef", out p_glDepthRangef); - LoadFunction("glScissor", out p_glScissor); - LoadFunction("glCopyImageSubData", out p_glCopyImageSubData); - if (p_glCopyImageSubData == null) - { - LoadFunction("glCopyImageSubDataOES", out p_glCopyImageSubData); - } - if (p_glCopyImageSubData == null) - { - LoadFunction("glCopyImageSubDataEXT", out p_glCopyImageSubData); - } - - LoadFunction("glRenderbufferStorage", out p_glRenderbufferStorage); - LoadFunction("glFramebufferRenderbuffer", out p_glFramebufferRenderbuffer); - LoadFunction("glGetRenderbufferParameteriv", out p_glGetRenderbufferParameteriv); - LoadFunction("glGenRenderbuffers", out p_glGenRenderbuffers); - LoadFunction("glBindRenderbuffer", out p_glBindRenderbuffer); - LoadFunction("glInsertEventMarker", out p_glInsertEventMarker); - LoadFunction("glPushGroupMarker", out p_glPushGroupMarker); - LoadFunction("glPopGroupMarker", out p_glPopGroupMarker); - } - } - - private static void LoadFunction(string name, out T field) - { - IntPtr funcPtr = s_getProcAddress(name); - if (funcPtr != IntPtr.Zero) - { - field = Marshal.GetDelegateForFunctionPointer(funcPtr); - } - else - { - field = default(T); - } - } - - private static void LoadFunction(out T field) - { - // Slow version using reflection -- prefer above. - string name = typeof(T).Name; - name = name.Substring(0, name.Length - 2); // Remove _t - LoadFunction(name, out field); - } - } -} diff --git a/Veldrid.OpenGLBindings/Veldrid.OpenGLBindings.csproj b/Veldrid.OpenGLBindings/Veldrid.OpenGLBindings.csproj deleted file mode 100644 index 06f97d235..000000000 --- a/Veldrid.OpenGLBindings/Veldrid.OpenGLBindings.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - netstandard2.0 - true - - - - Raw OpenGL bindings for .NET. Used by Veldrid for OpenGL interop. - 3D Graphics OpenGL Core Standard Game - - - diff --git a/vk/.editorconfig b/vk/.editorconfig deleted file mode 100644 index f40f84df1..000000000 --- a/vk/.editorconfig +++ /dev/null @@ -1,40 +0,0 @@ -; This file is for unifying the coding style for different editors and IDEs. -; More information at http://EditorConfig.org - -root = true - -[*] -end_of_line = CRLF -insert_final_newline = true -trim_trailing_whitespace = true -indent_style = space - -# Xml project files -[*.{csproj,vbproj,vcxproj,vcxproj.filters,proj,projitems,shproj,props,targets}] -indent_size = 2 - -[*.cs] -indent_size = 4 - -# Avoid "this." and "Me." if not necessary -dotnet_style_qualification_for_field = false:suggestion -dotnet_style_qualification_for_property = false:suggestion -dotnet_style_qualification_for_method = false:suggestion -dotnet_style_qualification_for_event = false:suggestion - -# Use language keywords instead of framework type names for type references -dotnet_style_predefined_type_for_locals_parameters_members = true:suggestion -dotnet_style_predefined_type_for_member_access = true:suggestion - -# Don't use "var" -csharp_style_var_for_built_in_types = false:suggestion -csharp_style_var_when_type_is_apparent = false:suggestion -csharp_style_var_elsewhere = false:suggestion - -# Newline settings -csharp_new_line_before_open_brace = all -csharp_new_line_before_else = true -csharp_new_line_before_catch = true -csharp_new_line_before_finally = true -csharp_new_line_before_members_in_object_initializers = true -csharp_new_line_before_members_in_anonymous_types = true \ No newline at end of file diff --git a/vk/.gitignore b/vk/.gitignore deleted file mode 100644 index dbd634092..000000000 --- a/vk/.gitignore +++ /dev/null @@ -1,253 +0,0 @@ -syntax: glob - -#NuGet things -project.lock.json - -### VisualStudio ### - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -bld/ -[Bb]in/ -[Oo]bj/ -msbuild.log - -# Visual Studio 2015 -.vs/ - -# Visual Studio 2015 Pre-CTP6 -*.sln.ide -*.ide/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -#NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opensdf -*.sdf -*.cachefile - -# Visual Studio profiler -*.psess -*.vsp -*.vspx - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding addin-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -*.pubxml -*.publishproj - -# NuGet Packages -*.nupkg -**/packages/* - -# Windows Azure Build Output -csx/ -*.build.csdef - -# Windows Store app package directory -AppPackages/ - -# Others -sql/ -*.Cache -ClientBin/ -[Ss]tyle[Cc]op.* -~$* -*.dbmdl -*.dbproj.schemaview -*.pfx -*.publishsettings -node_modules/ -*.metaproj -*.metaproj.tmp - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -### MonoDevelop ### - -*.pidb -*.userprefs - -### Windows ### - -# Windows image file caches -Thumbs.db -ehthumbs.db - -# Folder config file -Desktop.ini - -# Recycle Bin used on file shares -$RECYCLE.BIN/ - -# Windows Installer files -*.cab -*.msi -*.msm -*.msp - -# Windows shortcuts -*.lnk - -### Linux ### - -*~ - -# KDE directory preferences -.directory - -### OSX ### - -.DS_Store -.AppleDouble -.LSOverride - -# Icon must end with two \r -Icon - -# Thumbnails -._* - -# Files that might appear on external disk -.Spotlight-V100 -.Trashes - -# Directories potentially created on remote AFP share -.AppleDB -.AppleDesktop -Network Trash Folder -Temporary Items -.apdisk - -# vim temporary files -[._]*.s[a-w][a-z] -[._]s[a-w][a-z] -*.un~ -Session.vim -.netrwhist -*~ - -# VS Code -.vscode diff --git a/vk/Directory.Build.props b/vk/Directory.Build.props deleted file mode 100644 index 918e77b41..000000000 --- a/vk/Directory.Build.props +++ /dev/null @@ -1,9 +0,0 @@ - - - Debug - $(MSBuildThisFileDirectory) - $(RepositoryRootDirectory)bin - $([System.IO.Path]::GetFullPath('$(RepositoryRootDirectory)bin\$(Configuration)'))\$(MSBuildProjectName) - $([System.IO.Path]::GetFullPath('$(RepositoryRootDirectory)bin\obj\$(MSBuildProjectName)'))\ - - diff --git a/vk/LICENSE.md b/vk/LICENSE.md deleted file mode 100644 index 8389421e7..000000000 --- a/vk/LICENSE.md +++ /dev/null @@ -1,13 +0,0 @@ -All code in this repository is available under the MIT license. Some assets are used under a different license; those are noted in the README file. - -Code under the "samples" directory is adapted from the C++ sample code of Sascha Willems, at https://github.com/SaschaWillems/Vulkan. The license of which is included below: - -The MIT License (MIT) - -Copyright (c) 2016 Sascha Willems - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/vk/NuGet.Config b/vk/NuGet.Config deleted file mode 100644 index a54023f25..000000000 --- a/vk/NuGet.Config +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/vk/README.md b/vk/README.md deleted file mode 100644 index 6b1c9cd5b..000000000 --- a/vk/README.md +++ /dev/null @@ -1,46 +0,0 @@ -This repository contains low-level bindings for the [Vulkan](https://www.khronos.org/vulkan/) graphics and compute API. - -# Vulkan bindings and samples for .NET Core - -There are several projects included in this repository, including some sample projects using the Vulkan API, which have been adapted from the excellent samples created by Sascha Willems: https://github.com/SaschaWillems/Vulkan. - -# Building - -To build this repository, you need the .NET Core SDK: https://www.microsoft.com/net/core#windowscmd. - -``` -dotnet restore src\vk.sln -dotnet msbuild src\vk\vk.csproj -dotnet msbuild src\samples\triangle\triangle.csproj -``` - -The bindings can be built and work on all platforms. Currently, the sample projects only work on Windows. - -# Components -### vk.dll - -Contains the raw bindings for the Vulkan API. These bindings differ from many other .NET bindings in that they are low-level and unsafe. There is no attempt made to provide a higher-level abstraction on top of Vulkan. This means you must be very careful with usages of the API. On the other hand, it means that you can simply and easily translate from the many C++ examples available on the web. - -### vk.generator.dll - -Contains parsing and code generation logic for creating the C# bindings for Vulkan. - -### vk.rewriter.dll - -Contains assembly rewriting logic, using Mono.Cecil, which completes some of the handling for the native calls used by vk.dll. - -## Samples - -There are several sample projects included under the `src/samples` directory. These have been adapted line-by-line from the projects [here](https://github.com/SaschaWillems/Vulkan). - -### [Triangle](https://github.com/mellinoe/vk/blob/master/src/samples/triangle/TriangleExample.cs) - -This is the simplest demo, which just renders a colored triangle to the screen. - -# Attributions / Licenses - -Please note that (some) models and textures use separate licenses. Please comply to these when redistributing or using them in your own projects : - -* Cubemap used in cubemap example by Emil Persson(aka Humus) -* Voyager model by NASA -* Hidden treasure scene used in pipeline and debug marker examples by Laurynas Jurgila diff --git a/vk/build-package.cmd b/vk/build-package.cmd deleted file mode 100644 index 33abe1ecf..000000000 --- a/vk/build-package.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -dotnet build -c Release src\Vk.Generator\Vk.Generator.csproj -dotnet build -c Release src\Vk.Rewrite\Vk.Rewrite.csproj -dotnet pack -c Release src\Vk\Vk.csproj diff --git a/vk/build-package.sh b/vk/build-package.sh deleted file mode 100644 index a58de0401..000000000 --- a/vk/build-package.sh +++ /dev/null @@ -1,3 +0,0 @@ -dotnet build -c Release src/Vk.Generator/Vk.Generator.csproj -dotnet build -c Release src/Vk.Rewrite/Vk.Rewrite.csproj -dotnet pack -c Release src/Vk/Vk.csproj diff --git a/vk/dir.props b/vk/dir.props deleted file mode 100644 index 1c6f0993c..000000000 --- a/vk/dir.props +++ /dev/null @@ -1,9 +0,0 @@ - - - $(MSBuildThisFileDirectory) - $(ProjectDir)\bin - $(BinDir)\obj - $(BinDir)\$(Configuration)\$(MSBuildProjectName) - $(ObjDir)\$(Configuration)\$(MSBuildProjectName) - - diff --git a/vk/src/vk.generator/CodeGenerator.cs b/vk/src/vk.generator/CodeGenerator.cs deleted file mode 100644 index 1caa45656..000000000 --- a/vk/src/vk.generator/CodeGenerator.cs +++ /dev/null @@ -1,252 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Text; - -namespace Vk.Generator -{ - public class CodeGenerator - { - public static void GenerateCodeFiles(VulkanSpecification spec, TypeNameMappings tnm, string path) - { - if (!Directory.Exists(path)) - { - - } - GenerateAllTypes(spec, tnm, path); - } - - private static void GenerateAllTypes(VulkanSpecification spec, TypeNameMappings tnm, string path) - { - using (StreamWriter sw = File.CreateText(Path.Combine(path, "Structures.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(sw); - cw.WriteHeader(); - cw.WriteLine(); - - cw.Using("System"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - { - Util.SpaceSeparatedList(cw, spec.Structures, structure => - { - StructureHelpers.WriteStructure(cw, structure, tnm, spec.Constants); - }); - } - } - - using (StreamWriter enumWriter = File.CreateText(Path.Combine(path, "Enums.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(enumWriter); - cw.WriteHeader(); - cw.WriteLine(); - - cw.Using("System"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - { - Util.SpaceSeparatedList(cw, spec.Enums, enumDef => - { - EnumHelpers.WriteEnum(cw, enumDef, tnm); - }); - } - } - - CommandDefinition[] allVariants = spec.Commands.SelectMany(cd => VariantGenerator.GenerateVariants(cd)).ToArray(); - CommandDefinition[] allCommandsWithVariants = spec.Commands.Concat(allVariants).OrderBy(cd => cd.Name).ToArray(); - - using (StreamWriter commandWriter = File.CreateText(Path.Combine(path, "Commands.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(commandWriter); - cw.WriteHeader(); - cw.WriteLine(); - - cw.Using("System"); - cw.Using("System.Runtime.InteropServices"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - using (cw.PushBlock("public static unsafe partial class VulkanNative")) - { - Util.SpaceSeparatedList(cw, allCommandsWithVariants, command => - { - CommandHelpers.WriteCommand(cw, tnm, command); - }); - - cw.WriteLine(); - - using (cw.PushBlock("private static void LoadFunctionPointers()")) - { - foreach (CommandDefinition command in spec.Commands) - { - cw.WriteLine($"{command.Name}_ptr = s_nativeLib.LoadFunctionPointer(\"{command.Name}\");"); - } - } - } - } - - using (StreamWriter handleWriter = File.CreateText(Path.Combine(path, "Handles.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(handleWriter); - cw.WriteHeader(); - cw.WriteLine(); - - cw.Using("System"); - cw.Using("System.Diagnostics"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - { - Util.SpaceSeparatedList(cw, spec.Handles, handle => - { - HandleHelpers.WriteHandle(cw, handle); - }); - } - } - - using (StreamWriter unionWriter = File.CreateText(Path.Combine(path, "Unions.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(unionWriter); - cw.WriteHeader(); - cw.WriteLine(); - - cw.Using("System.Runtime.InteropServices"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - { - Util.SpaceSeparatedList(cw, spec.Unions, union => - { - UnionHelpers.WriteUnion(cw, tnm, union); - }); - } - } - - using (StreamWriter unionWriter = File.CreateText(Path.Combine(path, "Constants.gen.cs"))) - { - CsCodeWriter cw = new CsCodeWriter(unionWriter); - cw.WriteHeader(); - cw.WriteLine(); - cw.Using("System.Runtime.InteropServices"); - cw.WriteLine(); - - using (cw.PushBlock("namespace Vulkan")) - { - ConstantHelpers.WriteAllConstants(cw, tnm, spec.Constants); - } - } - } - } - - public class CsCodeWriter - { - private readonly StreamWriter _sw; - - private int _indentLevel = 0; - - public CsCodeWriter(StreamWriter sw) - { - _sw = sw; - } - - public void Using(string ns) - { - _sw.WriteLine($"using {ns};"); - } - - public void WriteHeader() - { - _sw.WriteLine("// This file is generated."); - } - - public void PushBlock() - { - WriteLine('{'); - _indentLevel += 4; - } - - public CodeBlock PushBlock(string ns) - { - return new CodeBlock(this, ns); - } - - public IfDefSection PushIfDef(string condition) - { - return new IfDefSection(this, condition); - } - - public void PopBlock() - { - _indentLevel -= 4; - WriteLine('}'); - } - - public void WriteLine() - { - _sw.WriteLine(); - } - - public void WriteLine(string text) - { - WriteIndentation(); - _sw.WriteLine(text); - } - - public void WriteLine(char c) - { - WriteIndentation(); - _sw.WriteLine(c); - } - - public void Write(string text) - { - _sw.Write(text); - } - - public void WriteIndentation() - { - for (int i = 0; i < _indentLevel; i++) - { - _sw.Write(' '); - } - } - - public class CodeBlock : IDisposable - { - private readonly CsCodeWriter _cw; - - public CodeBlock(CsCodeWriter cw, string header) - { - _cw = cw; - _cw.WriteLine(header); - _cw.PushBlock(); - } - - public void Dispose() - { - _cw.PopBlock(); - } - } - - public class IfDefSection : IDisposable - { - private readonly CsCodeWriter _cw; - private readonly string _condition; - - public IfDefSection(CsCodeWriter cw, string condition) - { - _cw = cw; - _condition = condition; - _cw.WriteLine($"#if {condition}"); - } - - public void Dispose() - { - _cw.WriteLine($"#endif // {_condition}"); - } - } - } -} diff --git a/vk/src/vk.generator/CommandDefinition.cs b/vk/src/vk.generator/CommandDefinition.cs deleted file mode 100644 index 193f3cbb8..000000000 --- a/vk/src/vk.generator/CommandDefinition.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; -using System.Linq; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class CommandDefinition - { - public string Name { get; } - public TypeSpec ReturnType { get; } - public ParameterDefinition[] Parameters { get; } - public string[] SuccessCodes { get; } - public string[] ErrorCodes { get; } - public bool IsVariant { get; } - - public CommandDefinition(string name, TypeSpec returnType, ParameterDefinition[] parameters, string[] successCodes, string[] errorCodes, bool isVariant) - { - Require.NotNull(parameters); - Require.NotNull(successCodes); - Require.NotNull(errorCodes); - - Name = name; - ReturnType = returnType; - Parameters = parameters; - SuccessCodes = successCodes; - ErrorCodes = errorCodes; - IsVariant = isVariant; - } - - public static CommandDefinition CreateFromXml(XElement xe) - { - Require.Equal("command", xe.Name); - - var proto = xe.Element("proto"); - string name = proto.Element("name").Value; - string returnTypeName = proto.Element("type").Value; - TypeSpec returnType = new TypeSpec(returnTypeName); - - var successAttr = xe.Attribute("successcodes"); - string[] successCodes = successAttr != null - ? successAttr.Value.Split(',').ToArray() - : Array.Empty(); - - var errorAttr = xe.Attribute("errorcodes"); - string[] errorCodes = errorAttr != null - ? errorAttr.Value.Split(',').ToArray() - : Array.Empty(); - - ParameterDefinition[] parameters = xe.Elements("param") - .Select(paramXml => ParameterDefinition.CreateFromXml(paramXml)).ToArray(); - - return new CommandDefinition(name, returnType, parameters, successCodes, errorCodes, false); - } - - public string GetParametersSignature(TypeNameMappings tnm) - { - return string.Join(", ", Parameters.Select(pd => pd.GetMappedAndNormalizedString(tnm))); - } - - public string GetParametersSignature() - { - return string.Join(", ", Parameters.Select(pd => pd.ToString())); - } - - public override string ToString() - { - string paramSig = GetParametersSignature(); - return $"{ReturnType} {Name}({paramSig})"; - } - } -} diff --git a/vk/src/vk.generator/CommandHelpers.cs b/vk/src/vk.generator/CommandHelpers.cs deleted file mode 100644 index 2adcf00e5..000000000 --- a/vk/src/vk.generator/CommandHelpers.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System.Linq; -using System.Runtime.InteropServices; - -namespace Vk.Generator -{ - public static class CommandHelpers - { - public static void WriteCommand(CsCodeWriter cw, TypeNameMappings tnm, CommandDefinition command) - { - if (!command.IsVariant) - { - cw.WriteLine($"private static IntPtr {command.Name}_ptr;"); - } - - if (command.SuccessCodes.Length != 0) - { - cw.WriteLine($"///Success codes:{string.Join(", ", command.SuccessCodes)}. Error codes:{string.Join(", ", command.ErrorCodes)}"); - } - - cw.WriteLine("[Generator.CalliRewrite]"); - using (cw.PushBlock($"public static unsafe {command.ReturnType.MapTypeSpec(tnm)} {command.Name}({command.GetParametersSignature(tnm)})")) - { - cw.WriteLine("throw new NotImplementedException();"); - } - } - } -} diff --git a/vk/src/vk.generator/Configuration.cs b/vk/src/vk.generator/Configuration.cs deleted file mode 100644 index 1693c7c9e..000000000 --- a/vk/src/vk.generator/Configuration.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; - -namespace Vk.Generator -{ - public static class Configuration - { - public static string CodeOutputPath { get; set; } = AppContext.BaseDirectory; - public static bool MapBaseTypes { get; set; } = true; - } -} diff --git a/vk/src/vk.generator/ConstantDefinition.cs b/vk/src/vk.generator/ConstantDefinition.cs deleted file mode 100644 index f69d17505..000000000 --- a/vk/src/vk.generator/ConstantDefinition.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class ConstantDefinition - { - public string Name { get; } - public string Value { get; } - public ConstantType Type { get; } - public string Comment { get; } - - public ConstantDefinition(string name, string value, string comment) - { - Name = name; - Value = value; - Type = ParseType(value); - Comment = comment; - } - - private ConstantType ParseType(string value) - { - if (value.EndsWith("f")) - { - return ConstantType.Float32; - } - else if (value.EndsWith("ULL)")) - { - return ConstantType.UInt64; - } - else - { - return ConstantType.UInt32; - } - } - - public static ConstantDefinition CreateFromXml(XElement xe) - { - Require.NotNull(xe); - - string name = xe.GetNameAttribute(); - string value = xe.Attribute("value").Value; - string comment = xe.Attribute("comment")?.Value; - - return new ConstantDefinition(name, value, comment); - } - - public enum ConstantType - { - UInt32, - UInt64, - Float32, - } - } -} diff --git a/vk/src/vk.generator/ConstantHelpers.cs b/vk/src/vk.generator/ConstantHelpers.cs deleted file mode 100644 index f79e739f9..000000000 --- a/vk/src/vk.generator/ConstantHelpers.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; - -namespace Vk.Generator -{ - public static class ConstantHelpers - { - public static void WriteAllConstants(CsCodeWriter cw, TypeNameMappings tnm, ConstantDefinition[] constants) - { - using (cw.PushBlock("public static partial class VulkanNative")) - { - foreach (ConstantDefinition constant in constants) - { - if (constant.Comment != null) - { - cw.WriteLine($"///{constant.Comment}"); - } - - cw.WriteLine($"public const {GetCSharpNameForConstantType(constant.Type)} {EnumHelpers.GetPrettyEnumName(constant.Name, "VK_")} = {NormalizeValue(constant.Value)};"); - } - } - - cw.WriteLine(); - - using (cw.PushBlock("public static partial class RawConstants")) - { - foreach (ConstantDefinition constant in constants) - { - if (constant.Comment != null) - { - cw.WriteLine($"///{constant.Comment}"); - } - - cw.WriteLine($"public const {GetCSharpNameForConstantType(constant.Type)} {constant.Name} = VulkanNative.{EnumHelpers.GetPrettyEnumName(constant.Name, "VK_")};"); - } - } - } - - public static void WriteConstant(CsCodeWriter cw, TypeNameMappings tnm, ConstantDefinition constant) - { - } - - public static string GetCSharpNameForConstantType(ConstantDefinition.ConstantType type) - { - switch (type) - { - case ConstantDefinition.ConstantType.UInt32: - return "uint"; - case ConstantDefinition.ConstantType.UInt64: - return "ulong"; - case ConstantDefinition.ConstantType.Float32: - return "float"; - default: - throw new InvalidOperationException("Illegal ConstantType: " + type); - } - } - - private static string NormalizeValue(string value) - { - return value.Replace("ULL", "UL"); - } - } -} \ No newline at end of file diff --git a/vk/src/vk.generator/EnumDefinition.cs b/vk/src/vk.generator/EnumDefinition.cs deleted file mode 100644 index 4769e51eb..000000000 --- a/vk/src/vk.generator/EnumDefinition.cs +++ /dev/null @@ -1,101 +0,0 @@ -using System; -using System.Linq; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class EnumDefinition - { - public string Name { get; } - public EnumType Type { get; } - public EnumValue[] Values { get; set; } - - public EnumDefinition(string name, EnumType type, EnumValue[] values) - { - Require.NotNullOrEmpty(name); - Require.NotNull(values); - - Name = name; - Type = type; - Values = values; - } - - public static EnumDefinition CreateFromXml(XElement xe) - { - Require.NotNull(xe); - - EnumType type; - var typeAttr = xe.Attribute("type"); - if (typeAttr != null) - { - string typeString = xe.Attribute("type").Value; - type = (EnumType)Enum.Parse(typeof(EnumType), typeString, true); - } - else - { - type = EnumType.Constants; - } - - string name = xe.Attribute("name").Value; - EnumValue[] values = xe.Elements("enum").Select(valuesx => EnumValue.CreateFromXml(valuesx, type == EnumType.Bitmask)).ToArray(); - return new EnumDefinition(name, type, values); - } - - public override string ToString() - { - return $"Enum: {Name} ({Type})[{Values.Length}]"; - } - } - - public enum EnumType - { - Bitmask, - Enum, - Constants, - } - - public class EnumValue - { - public string Name { get; } - public int ValueOrBitPosition { get; } - public string Comment { get; } - - public EnumValue(string name, int value, string comment) - { - Name = name; - ValueOrBitPosition = value; - Comment = comment; - } - - public static EnumValue CreateFromXml(XElement xe, bool isBitmask) - { - Require.NotNull(xe); - - string name = xe.Attribute("name").Value; - - int value; - string valueStr = xe.Attribute("value")?.Value; - if (valueStr != null) - { - if (valueStr.StartsWith("0x")) - { - valueStr = valueStr.Substring(2); - value = int.Parse(valueStr, System.Globalization.NumberStyles.HexNumber); - } - else - { - value = int.Parse(valueStr); - } - } - else - { - string bitposStr = xe.Attribute("bitpos").Value; - value = 1 << int.Parse(bitposStr); - } - - var commentAttr = xe.Attribute("comment"); - string comment = commentAttr != null ? commentAttr.Value : string.Empty; - return new EnumValue(name, value, comment); - } - } -} \ No newline at end of file diff --git a/vk/src/vk.generator/EnumHelpers.cs b/vk/src/vk.generator/EnumHelpers.cs deleted file mode 100644 index 729103b0e..000000000 --- a/vk/src/vk.generator/EnumHelpers.cs +++ /dev/null @@ -1,204 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Vk.Generator -{ - public static class EnumHelpers - { - private static readonly char[] s_underscoreSeparator = { '_' }; - - private static readonly Dictionary s_knownEnumPrefixes = new Dictionary - { - { "VkResult", "VK" }, - }; - - private static readonly Dictionary s_knownEnumValueNames = new Dictionary - { - { "VK_STENCIL_FRONT_AND_BACK", "FrontAndBack" }, - // VkStructureType - - // VkSampleCountFlagBits - { "VK_SAMPLE_COUNT_1_BIT", "Count1" }, - { "VK_SAMPLE_COUNT_2_BIT", "Count2" }, - { "VK_SAMPLE_COUNT_4_BIT", "Count4" }, - { "VK_SAMPLE_COUNT_8_BIT", "Count8" }, - { "VK_SAMPLE_COUNT_16_BIT", "Count16" }, - { "VK_SAMPLE_COUNT_32_BIT", "Count32" }, - { "VK_SAMPLE_COUNT_64_BIT", "Count64" }, - // VkImageType - { "VK_IMAGE_TYPE_1D", "Image1D" }, - { "VK_IMAGE_TYPE_2D", "Image2D" }, - { "VK_IMAGE_TYPE_3D", "Image3D" }, - // VkImageViewType - { "VK_IMAGE_VIEW_TYPE_1D", "Image1D" }, - { "VK_IMAGE_VIEW_TYPE_2D", "Image2D" }, - { "VK_IMAGE_VIEW_TYPE_3D", "Image3D" }, - { "VK_IMAGE_VIEW_TYPE_CUBE", "ImageCube" }, - { "VK_IMAGE_VIEW_TYPE_1D_ARRAY", "Image1DArray" }, - { "VK_IMAGE_VIEW_TYPE_2D_ARRAY", "Image2DArray" }, - { "VK_IMAGE_VIEW_TYPE_CUBE_ARRAY", "ImageCubeArray" }, - }; - - private static readonly HashSet s_ignoredParts = new HashSet(StringComparer.OrdinalIgnoreCase) - { - "flags", - "bit" - }; - - private static readonly HashSet s_preserveCaps = new HashSet(StringComparer.OrdinalIgnoreCase) - { - "khr", - "khx", - "ext", - "nv", - "nvx", - "amd", - }; - - public static void WriteEnum(CsCodeWriter cw, EnumDefinition enumDef, TypeNameMappings tnm) - { - if (enumDef.Type == EnumType.Bitmask) - { - cw.WriteLine("[Flags]"); - } - string mappedName = tnm.GetMappedName(enumDef.Name); - string enumNamePrefix = GetEnumNamePrefix(mappedName); - using (cw.PushBlock("public enum " + mappedName)) - { - if (enumDef.Type == EnumType.Bitmask && !enumDef.Values.Any(ev => GetPrettyEnumName(ev.Name, enumNamePrefix) == "None")) - { - cw.WriteLine($"None = 0,"); - } - foreach (var value in enumDef.Values) - { - if (!string.IsNullOrEmpty(value.Comment)) - { - cw.WriteLine($"///{value.Comment}"); - } - - string prettyName = GetPrettyEnumName(value.Name, enumNamePrefix); - cw.WriteLine($"{prettyName} = {value.ValueOrBitPosition},"); - } - } - - using (cw.PushBlock("public static partial class RawConstants")) - { - foreach (var value in enumDef.Values) - { - if (!string.IsNullOrEmpty(value.Comment)) - { - cw.WriteLine($"///{value.Comment}"); - } - - string prettyName = GetPrettyEnumName(value.Name, enumNamePrefix); - cw.WriteLine($"public const {mappedName} {value.Name} = {mappedName}.{prettyName};"); - } - } - } - - public static string GetEnumNamePrefix(string typeName) - { - if (s_knownEnumPrefixes.TryGetValue(typeName, out string knownValue)) - { - return knownValue; - } - - List parts = new List(4); - int chunkStart = 0; - for (int i = 0; i < typeName.Length; i++) - { - if (char.IsUpper(typeName[i])) - { - if (chunkStart != i) - { - parts.Add(typeName.Substring(chunkStart, i - chunkStart)); - } - - chunkStart = i; - if (i == typeName.Length - 1) - { - parts.Add(typeName.Substring(i, 1)); - } - } - else if (i == typeName.Length - 1) - { - parts.Add(typeName.Substring(chunkStart, typeName.Length - chunkStart)); - } - } - - for (int i = 0; i < parts.Count; i++) - { - if ( - parts[i] == "Flag" - || parts[i] == "Flags" - || (parts[i] == "K" && (i + 2) < parts.Count && parts[i + 1] == "H" && parts[i + 2] == "R") - || (parts[i] == "A" && (i + 2) < parts.Count && parts[i + 1] == "M" && parts[i + 2] == "D") - || (parts[i] == "E" && (i + 2) < parts.Count && parts[i + 1] == "X" && parts[i + 2] == "T") - || (parts[i] == "Type" && (i + 3) < parts.Count && parts[i + 1] == "N" && parts[i + 2] == "V" && parts[i + 3] == "X") - ) - { - parts = new List(parts.Take(i)); - break; - } - } - - return string.Join("_", parts.Select(s => s.ToUpper())); - } - - public static string TrimIgnoredParts(string ret) - { - foreach (string ignored in s_ignoredParts) - { - int index; - if ((index = ret.IndexOf(ignored, StringComparison.OrdinalIgnoreCase)) != -1) - { - ret = ret.Remove(index, ignored.Length); - } - } - - return ret; - } - - public static string GetPrettyEnumName(string value, string enumPrefix) - { - if (s_knownEnumValueNames.TryGetValue(value, out string knownName)) - { - return knownName; - } - - if (value.IndexOf(enumPrefix) != 0) - { - return value; - } - - string[] parts = value.Substring(enumPrefix.Length, value.Length - enumPrefix.Length) - .Split(s_underscoreSeparator, StringSplitOptions.RemoveEmptyEntries); - StringBuilder sb = new StringBuilder(); - foreach (string part in parts) - { - if (s_ignoredParts.Contains(part)) - { - continue; - } - - if (s_preserveCaps.Contains(part)) - { - sb.Append(part); - } - else - { - sb.Append(char.ToUpper(part[0])); - for (int i = 1; i < part.Length; i++) - { - sb.Append(char.ToLower(part[i])); - } - } - } - - string prettyName = sb.ToString(); - return (char.IsNumber(prettyName[0])) ? "_" + prettyName : prettyName; - } - } -} diff --git a/vk/src/vk.generator/ExtensionDefinition.cs b/vk/src/vk.generator/ExtensionDefinition.cs deleted file mode 100644 index 5128a0e97..000000000 --- a/vk/src/vk.generator/ExtensionDefinition.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System.Collections.Generic; -using System.Diagnostics; -using System.Linq; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class ExtensionDefinition - { - public string Name { get; } - public int Number { get; } - public string Type { get; } - public ExtensionConstant[] Constants { get; } - public EnumExtensionValue[] EnumExtensions { get; } - public string[] CommandNames { get; } - - public ExtensionDefinition( - string name, - int number, - string type, - ExtensionConstant[] constants, - EnumExtensionValue[] enumExtensions, - string[] commandNames) - { - Name = name; - Number = number; - Type = type; - Constants = constants; - EnumExtensions = enumExtensions; - CommandNames = commandNames; - } - - public static ExtensionDefinition CreateFromXml(XElement xe) - { - string name = xe.GetNameAttribute(); - string numberString = xe.Attribute("number").Value; - int number = int.Parse(numberString); - string type = xe.GetTypeAttributeOrNull(); - List extensionConstants = new List(); - List enumExtensions = new List(); - List commandNames = new List(); - - foreach (var require in xe.Elements("require")) - { - foreach (var enumXE in require.Elements("enum")) - { - string enumName = enumXE.GetNameAttribute(); - string extends = enumXE.Attribute("extends")?.Value; - if (extends != null) - { - string valueString; - string offsetString = enumXE.Attribute("offset")?.Value; - if (offsetString != null) - { - int offset = int.Parse(offsetString); - int direction = 1; - if (enumXE.Attribute("dir")?.Value == "-") - { - direction = -1; - } - - int value = direction * (1000000000 + (number - 1) * 1000 + offset); - valueString = value.ToString(); - } - else - { - string bitPosString = enumXE.Attribute("bitpos")?.Value; - if (bitPosString != null) - { - int shift = int.Parse(bitPosString); - valueString = (1 << shift).ToString(); - } - else - { - valueString = enumXE.Attribute("value").Value; - } - } - enumExtensions.Add(new EnumExtensionValue(extends, enumName, valueString)); - } - else - { - var valueAttribute = enumXE.Attribute("value"); - if (valueAttribute == null) - continue; - - extensionConstants.Add(new ExtensionConstant(name, valueAttribute.Value)); - } - } - foreach (var commandXE in require.Elements("command")) - { - commandNames.Add(commandXE.GetNameAttribute()); - } - } - return new ExtensionDefinition(name, number, type, extensionConstants.ToArray(), enumExtensions.ToArray(), commandNames.ToArray()); - } - } - - public class ExtensionConstant - { - public string Name { get; } - public string Value { get; } - public ExtensionConstant(string name, string value) - { - Name = name; - Value = value; - } - } - - [DebuggerDisplay("{DebuggerDisplayString}")] - public class EnumExtensionValue - { - public string ExtendedType { get; } - public string Name { get; } - public string Value { get; } - - public EnumExtensionValue(string extendedType, string name, string value) - { - ExtendedType = extendedType; - Name = name; - Value = value; - } - - private string DebuggerDisplayString => - $"Ext: {ExtendedType}, {Name} = {Value}"; - } -} diff --git a/vk/src/vk.generator/HandleDefinition.cs b/vk/src/vk.generator/HandleDefinition.cs deleted file mode 100644 index 037045335..000000000 --- a/vk/src/vk.generator/HandleDefinition.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class HandleDefinition - { - public string Name { get; } - public bool Dispatchable { get; } - public string Parent { get; } - - public HandleDefinition(string name, bool dispatchable, string parent) - { - Name = name; - Dispatchable = dispatchable; - Parent = parent; - } - - public static HandleDefinition CreateFromXml(XElement xe) - { - Require.NotNull(xe); - string name = xe.GetNameElement(); - bool dispatchable = xe.GetTypeElement() == "VK_DEFINE_HANDLE"; - string parent = xe.Attribute("parent")?.Value; - - return new HandleDefinition(name, dispatchable, parent); - } - } -} diff --git a/vk/src/vk.generator/HandleHelpers.cs b/vk/src/vk.generator/HandleHelpers.cs deleted file mode 100644 index ecb7038ea..000000000 --- a/vk/src/vk.generator/HandleHelpers.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; - -namespace Vk.Generator -{ - public static class HandleHelpers - { - public static void WriteHandle(CsCodeWriter cw, HandleDefinition handle) - { - if (handle.Parent != null) - { - cw.WriteIndentation(); - cw.Write($"///"); - cw.Write($"A {(handle.Dispatchable ? "dispatchable" : "non-dispatchable")} handle owned by a {handle.Parent}."); - cw.Write(""); - cw.Write(Environment.NewLine); - } - cw.WriteLine($"[DebuggerDisplay(\"{{DebuggerDisplay,nq}}\")]"); - using (cw.PushBlock($"public partial struct {handle.Name} : IEquatable<{handle.Name}>")) - { - string handleType = handle.Dispatchable ? "IntPtr" : "ulong"; - string nullValue = handle.Dispatchable ? "IntPtr.Zero" : "0"; - - cw.WriteLine($"public readonly {handleType} Handle;"); - - cw.WriteLine($"public {handle.Name}({handleType} existingHandle) {{ Handle = existingHandle; }}"); - cw.WriteLine($"public static {handle.Name} Null => new {handle.Name}({nullValue});"); - cw.WriteLine($"public static implicit operator {handle.Name}({handleType} handle) => new {handle.Name}(handle);"); - cw.WriteLine($"public static bool operator ==({handle.Name} left, {handle.Name} right) => left.Handle == right.Handle;"); - cw.WriteLine($"public static bool operator !=({handle.Name} left, {handle.Name} right) => left.Handle != right.Handle;"); - cw.WriteLine($"public static bool operator ==({handle.Name} left, {handleType} right) => left.Handle == right;"); - cw.WriteLine($"public static bool operator !=({handle.Name} left, {handleType} right) => left.Handle != right;"); - cw.WriteLine($"public bool Equals({handle.Name} h) => Handle == h.Handle;"); - cw.WriteLine($"public override bool Equals(object o) => o is {handle.Name} h && Equals(h);"); - cw.WriteLine($"public override int GetHashCode() => Handle.GetHashCode();"); - cw.WriteLine($"private string DebuggerDisplay => string.Format(\"{handle.Name} [0x{{0}}]\", Handle.ToString(\"X\"));"); - } - } - } -} diff --git a/vk/src/vk.generator/MemberSpec.cs b/vk/src/vk.generator/MemberSpec.cs deleted file mode 100644 index 905fc2d55..000000000 --- a/vk/src/vk.generator/MemberSpec.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System.Text.RegularExpressions; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class MemberSpec - { - public string Name { get; } - public TypeSpec Type { get; } - public bool IsOptional { get; } - public int ElementCount { get; } - public string ElementCountSymbolic { get; } - public string Comment { get; } - public string LegalValues { get; } - - public MemberSpec(string name, TypeSpec type, bool isOptional, int elementCount, string elementCountSymbolic, string comment, string legalValues) - { - Name = name; - Type = type; - IsOptional = isOptional; - ElementCount = elementCount; - ElementCountSymbolic = elementCountSymbolic; - Comment = comment; - LegalValues = legalValues; - } - - public static MemberSpec CreateFromXml(XElement xe) - { - Require.NotNull(xe); - - string name = xe.GetNameElement(); - bool isOptional = xe.GetOptionalAttributeOrFalse(); - string typeName = xe.Element("type").Value; - int pointerLevel = xe.Value.Contains($"{typeName}*") ? 1 : 0; // TODO: Make this better. - if (xe.Value.Contains($"{typeName}* const*")) - { - pointerLevel += 1; - } - - TypeSpec type = new TypeSpec(typeName, pointerLevel); - - bool foundConstantElementCount = false; - int elementCount = 1; - string elementCountSymbolic = null; - for (int i = 2; i < 10; i++) - { - if (xe.Value.Contains($"{name}[{i}]")) - { - elementCount = i; - foundConstantElementCount = true; - break; - } - } - - if (!foundConstantElementCount) - { - Match m = Regex.Match(xe.Value, @"\[(.*)\]"); - if (m.Captures.Count > 0) - { - elementCountSymbolic = m.Groups[1].Value; - } - } - - string value = xe.Attribute("values")?.Value; - - return new MemberSpec(name, type, isOptional, elementCount, elementCountSymbolic, string.Empty, value); - } - - public override string ToString() - { - string optionalPart = IsOptional ? "[opt] " : ""; - string countPart = ElementCount != 1 ? $" [{ElementCount}]" : ElementCountSymbolic != null ? $" [{ElementCountSymbolic}]" : ""; - return $"{optionalPart}{Type} {Name}"; - } - } -} diff --git a/vk/src/vk.generator/ParameterDefinition.cs b/vk/src/vk.generator/ParameterDefinition.cs deleted file mode 100644 index 5ca5b9383..000000000 --- a/vk/src/vk.generator/ParameterDefinition.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class ParameterDefinition - { - public string Name { get; } - public TypeSpec Type { get; } - public ParameterModifier Modifier { get; } - public bool IsOptional { get; } - - public ParameterDefinition(string name, TypeSpec type, ParameterModifier modifier, bool isOptional) - { - Name = name; - Type = type; - Modifier = modifier; - IsOptional = isOptional; - } - - public static ParameterDefinition CreateFromXml(XElement xe) - { - string name = xe.Element("name").Value; - var optionalAttr = xe.Attribute("optional"); - bool isOptional = optionalAttr != null && optionalAttr.Value == "true"; - string typeName = xe.Element("type").Value; - int pointerLevel = 0; - if (xe.Value.Contains($"{typeName}**") || xe.Value.Contains($"{typeName}* const*")) - { - pointerLevel = 2; - } - else if(xe.Value.Contains($"{typeName}*")) - { - pointerLevel = 1; - } - - - TypeSpec type = new TypeSpec(typeName, pointerLevel); - - return new ParameterDefinition(name, type, ParameterModifier.None, isOptional); - } - - public string GetMappedAndNormalizedString(TypeNameMappings tnm) - { - return $"{GetModifierString()}{Type.MapTypeSpec(tnm)} {Util.NormalizeFieldName(Name)}"; - } - - public string GetModifierString() - { - if (Modifier == ParameterModifier.Ref) - { - return "ref "; - } - else if (Modifier == ParameterModifier.Out) - { - return "out "; - } - else - { - return string.Empty; - } - } - - public override string ToString() - { - return $"{GetModifierString()}{Type} {Name}"; - } - } - - public enum ParameterModifier - { - None, - Ref, - Out - } -} diff --git a/vk/src/vk.generator/Program.cs b/vk/src/vk.generator/Program.cs deleted file mode 100644 index 6e660f915..000000000 --- a/vk/src/vk.generator/Program.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.IO; -using System.CommandLine; -using System.Collections.Generic; - -namespace Vk.Generator -{ - public class Program - { - public static int Main(string[] args) - { - string outputPath = AppContext.BaseDirectory; - - ArgumentSyntax.Parse(args, s => - { - s.DefineOption("o|out", ref outputPath, "The folder into which code is generated. Defaults to the application directory."); - }); - - Configuration.CodeOutputPath = outputPath; - - if (File.Exists(outputPath)) - { - Console.Error.WriteLine("The given path is a file, not a folder."); - return 1; - } - else if (!Directory.Exists(outputPath)) - { - Directory.CreateDirectory(outputPath); - } - - using (var fs = File.OpenRead(Path.Combine(AppContext.BaseDirectory, "vk.xml"))) - { - VulkanSpecification vs = VulkanSpecification.LoadFromXmlStream(fs); - TypeNameMappings tnm = new TypeNameMappings(); - foreach (var typedef in vs.Typedefs) - { - if (typedef.Requires != null) - { - tnm.AddMapping(typedef.Requires, typedef.Name); - } - else - { - tnm.AddMapping(typedef.Name, "uint"); - } - } - - HashSet definedBaseTypes = new HashSet - { - "VkBool32" - }; - - if (Configuration.MapBaseTypes) - { - foreach (var baseType in vs.BaseTypes) - { - if (!definedBaseTypes.Contains(baseType.Key)) - { - tnm.AddMapping(baseType.Key, baseType.Value); - } - } - } - - CodeGenerator.GenerateCodeFiles(vs, tnm, Configuration.CodeOutputPath); - } - - return 0; - } - } -} \ No newline at end of file diff --git a/vk/src/vk.generator/Require.cs b/vk/src/vk.generator/Require.cs deleted file mode 100644 index 773f39496..000000000 --- a/vk/src/vk.generator/Require.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public static class Require - { - public static void NotNull(T obj) where T : class - { - if (obj == null) - { - throw new InvalidOperationException("Object should not have been null."); - } - } - - public static void NotNullOrEmpty(string name) - { - if (string.IsNullOrEmpty(name)) - { - throw new InvalidOperationException("Value should not have been null or empty."); - } - } - - internal static void Equal(T expected, T actual) where T : IEquatable - { - if (!expected.Equals(actual)) - { - throw new InvalidOperationException($"Requirement not met. Expected: {expected}, Actual: {actual}"); - } - } - } -} diff --git a/vk/src/vk.generator/StructureDefinition.cs b/vk/src/vk.generator/StructureDefinition.cs deleted file mode 100644 index ec6611443..000000000 --- a/vk/src/vk.generator/StructureDefinition.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Linq; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class StructureDefinition - { - public string Name { get; } - public MemberSpec[] Members { get; } - - public StructureDefinition(string name, MemberSpec[] members) - { - Name = name; - Members = members; - } - - public static StructureDefinition CreateFromXml(XElement xe) - { - Require.NotNull(xe); - - string name = xe.GetNameAttribute(); - MemberSpec[] members = xe.Elements("member").Select(memberx => MemberSpec.CreateFromXml(memberx)).ToArray(); - return new StructureDefinition(name, members); - } - - public override string ToString() - { - return $"struct {Name}[{Members.Length}]"; - } - } -} diff --git a/vk/src/vk.generator/StructureHelpers.cs b/vk/src/vk.generator/StructureHelpers.cs deleted file mode 100644 index 167ead500..000000000 --- a/vk/src/vk.generator/StructureHelpers.cs +++ /dev/null @@ -1,111 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Vk.Generator -{ - public static class StructureHelpers - { - private static readonly HashSet s_fixedCapableTypes = new HashSet() - { - "byte", "short", "int", "long", "char", "sbyte", "ushort", "uint", "ulong", "float", "double" - }; - - public static void WriteStructure(CsCodeWriter cw, StructureDefinition structure, TypeNameMappings tnm, ConstantDefinition[] constants) - { - using (cw.PushBlock("public unsafe partial struct " + structure.Name)) - { - foreach (var member in structure.Members) - { - if (member.ElementCount > 1) - { - for (int i = 0; i < member.ElementCount; i++) - { - WriteMember(cw, tnm, member, "_" + i); - } - } - else if (member.ElementCountSymbolic != null) - { - var validConstant = constants.FirstOrDefault(cd => cd.Name == member.ElementCountSymbolic); - if (validConstant != null) - WriteMemberSymbolicCount(cw, tnm, member, constants); - else - WriteMember(cw, tnm, member, string.Empty); - } - else - { - WriteMember(cw, tnm, member, string.Empty); - } - } - - if (HasAnyFieldWithSpecifiedValues(structure)) - { - // Add a helper property which fills in the structure type. - using (cw.PushBlock($"public static {structure.Name} New()")) - { - cw.WriteLine($"{structure.Name} ret = new {structure.Name}();"); - foreach (var member in structure.Members.Where(ms => ms.LegalValues != null)) - { - cw.WriteLine($"ret.{member.Name} = {member.Type}.{GetDefaultValueString(member.Type, member.LegalValues)};"); - } - cw.WriteLine("return ret;"); - } - } - } - } - - private static string GetDefaultValueString(TypeSpec type, string legalValues) - { - string prefix = EnumHelpers.GetEnumNamePrefix(type.Name); - string prettyName = EnumHelpers.GetPrettyEnumName(legalValues, prefix); - return prettyName; - } - - private static bool HasAnyFieldWithSpecifiedValues(StructureDefinition sd) - { - return sd.Members.Any(ms => ms.LegalValues != null); - } - - private static void WriteMember(CsCodeWriter cw, TypeNameMappings tnm, MemberSpec member, string nameSuffix) - { - if (!string.IsNullOrEmpty(member.Comment)) - { - cw.WriteLine($"///{member.Comment}"); - } - - cw.WriteLine($"public {member.Type.MapTypeSpec(tnm)} {Util.NormalizeFieldName(member.Name)}{nameSuffix};"); - } - - private static void WriteMemberSymbolicCount(CsCodeWriter cw, TypeNameMappings tnm, MemberSpec member, ConstantDefinition[] constants) - { - if (!CanUseFixed(member.Type.MapTypeSpec(tnm))) - { - int count = GetSymbolValue(member.ElementCountSymbolic, constants); - for (int i = 0; i < count; i++) - { - WriteMember(cw, tnm, member, "_" + i); - } - } - else - { - if (!string.IsNullOrEmpty(member.Comment)) - { - cw.WriteLine($"///{member.Comment}"); - } - - string mappedSymbolicName = EnumHelpers.GetPrettyEnumName(member.ElementCountSymbolic, "VK_"); - cw.WriteLine($"public fixed {member.Type.MapTypeSpec(tnm)} {Util.NormalizeFieldName(member.Name)}[(int)VulkanNative.{mappedSymbolicName}];"); - } - } - - private static int GetSymbolValue(string symbolName, ConstantDefinition[] constants) - { - return int.Parse(constants.Single(cd => cd.Name == symbolName).Value); - } - - private static bool CanUseFixed(TypeSpec type) - { - return s_fixedCapableTypes.Contains(type.Name); - } - } -} diff --git a/vk/src/vk.generator/TypeNameMappings.cs b/vk/src/vk.generator/TypeNameMappings.cs deleted file mode 100644 index a1d9475b5..000000000 --- a/vk/src/vk.generator/TypeNameMappings.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Vk.Generator -{ - public class TypeNameMappings - { - private readonly Dictionary _nameMappings = new Dictionary() - { - { "uint8_t", "byte" }, - { "uint32_t", "uint" }, - { "uint64_t", "ulong" }, - { "int32_t", "int" }, - { "int64_t", "long" }, - { "int64_t*", "long*" }, - { "char", "byte" }, - { "size_t", "UIntPtr" }, - { "DWORD", "uint" }, - - { "ANativeWindow", "Android.ANativeWindow" }, - - { "MirConnection", "Mir.MirConnection" }, - { "MirSurface", "Mir.MirSurface" }, - - { "wl_display", "Wayland.wl_display" }, - { "wl_surface", "Wayland.wl_surface" }, - - { "Display", "Xlib.Display" }, - { "Window", "Xlib.Window" }, - { "VisualID", "Xlib.VisualID" }, - { "RROutput", "IntPtr" }, - - { "HINSTANCE", "Win32.HINSTANCE" }, - { "HWND", "Win32.HWND" }, - { "HANDLE", "Win32.HANDLE" }, - { "SECURITY_ATTRIBUTES", "Win32.SECURITY_ATTRIBUTES" }, - { "LPCWSTR", "IntPtr" }, - - { "xcb_connection_t", "Xcb.xcb_connection_t" }, - { "xcb_window_t", "Xcb.xcb_window_t" }, - { "xcb_visualid_t", "Xcb.xcb_visualid_t" }, - }; - - internal IEnumerable> GetAllMappings() - { - return _nameMappings; - } - - public void AddMapping(string originalName, string newName) - { - _nameMappings.Add(originalName, newName); - } - - public string GetMappedName(string name) - { - if (_nameMappings.TryGetValue(name, out string mappedName)) - { - return GetMappedName(mappedName); - } - else if (name.StartsWith("PFN")) - { - return "IntPtr"; - } - else - { - return name; - } - } - } -} diff --git a/vk/src/vk.generator/TypeSpec.cs b/vk/src/vk.generator/TypeSpec.cs deleted file mode 100644 index 754ac67bc..000000000 --- a/vk/src/vk.generator/TypeSpec.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; - -namespace Vk.Generator -{ - public class TypeSpec - { - public string Name { get; } - public int PointerIndirection { get; } - public int ArrayDimensions { get; } - - public TypeSpec(string name) : this(name, 0, 0) { } - public TypeSpec(string name, int pointerIndirection) : this(name, pointerIndirection, 0) { } - public TypeSpec(string name, int pointerIndirection, int arrayDimensions) - { - Name = name; - PointerIndirection = pointerIndirection; - ArrayDimensions = arrayDimensions; - } - - public TypeSpec MapTypeSpec(TypeNameMappings tnm) - { - return new TypeSpec(tnm.GetMappedName(Name), PointerIndirection, ArrayDimensions); - } - - public override string ToString() - { - return GetFullTypeName(); - } - - private string GetFullTypeName() - { - return $"{Name}{new string('*', PointerIndirection)}{GetArrayPortion()}"; - } - - private string GetArrayPortion() - { - if (ArrayDimensions == 0) - { - return string.Empty; - } - else if (ArrayDimensions == 1) - { - return "[]"; - } - else - { - return $"[{new string(',', ArrayDimensions - 1)}]"; - } - } - } -} diff --git a/vk/src/vk.generator/TypedefDefinition.cs b/vk/src/vk.generator/TypedefDefinition.cs deleted file mode 100644 index a04e9ea17..000000000 --- a/vk/src/vk.generator/TypedefDefinition.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class TypedefDefinition - { - public string Name { get; } - public string Requires { get; } - public string Type { get; } - - public TypedefDefinition(string name, string requires, string type) - { - Name = name; - Requires = requires; - Type = type; - } - - public static TypedefDefinition CreateFromXml(XElement xe) - { - string name = xe.GetNameElement(); - string requires = xe.Attribute("requires")?.Value; - string type = xe.GetTypeElement(); - return new TypedefDefinition(name, requires, type); - } - - public override string ToString() - { - return $"{Name}, {Requires} -> {Type}"; - } - } -} diff --git a/vk/src/vk.generator/UnionHelpers.cs b/vk/src/vk.generator/UnionHelpers.cs deleted file mode 100644 index 9700e29ef..000000000 --- a/vk/src/vk.generator/UnionHelpers.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; - -namespace Vk.Generator -{ - public class UnionHelpers - { - public static void WriteUnion(CsCodeWriter cw, TypeNameMappings tnm, StructureDefinition union) - { - cw.WriteLine("[StructLayout(LayoutKind.Explicit)]"); - using (cw.PushBlock("public partial struct " + union.Name)) - { - foreach (var member in union.Members) - { - if (member.ElementCount > 1) - { - for (int i = 0; i < member.ElementCount; i++) - { - int fieldSize = Util.GetTypeSize(member.Type.MapTypeSpec(tnm)); - cw.WriteLine($"[FieldOffset({i * fieldSize})]"); - WriteMember(cw, tnm, member, "_" + i); - } - } - else - { - cw.WriteLine("[FieldOffset(0)]"); - WriteMember(cw, tnm, member, string.Empty); - } - } - } - } - - private static void WriteMember(CsCodeWriter cw, TypeNameMappings tnm, MemberSpec member, string nameSuffix) - { - if (!string.IsNullOrEmpty(member.Comment)) - { - cw.WriteLine($"///{member.Comment}"); - } - - cw.WriteLine($"public {member.Type.MapTypeSpec(tnm)} {Util.NormalizeFieldName(member.Name)}{nameSuffix};"); - } - } -} \ No newline at end of file diff --git a/vk/src/vk.generator/Util.cs b/vk/src/vk.generator/Util.cs deleted file mode 100644 index 193bb71f0..000000000 --- a/vk/src/vk.generator/Util.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Vk.Generator -{ - public static class Util - { - private static readonly Dictionary s_typeSizes = new Dictionary - { - { "byte", 1 }, - { "uint", 4 }, - { "ulong", 4 }, - { "int", 4 }, - { "float", 4 }, - }; - - private static readonly HashSet s_keywords = new HashSet - { - "object", - "event", - }; - - public static int GetTypeSize(TypeSpec type) - { - if (type.PointerIndirection != 0 || !s_typeSizes.TryGetValue(type.Name, out int size)) - { - throw new InvalidOperationException(); - } - - return size; - } - - public static string NormalizeFieldName(string name) - { - if (s_keywords.Contains(name)) - { - return "@" + name; - } - - return name; - } - public static void SpaceSeparatedList(CsCodeWriter cw, IList list, Action action) - { - for (int i = 0; i < list.Count; i++) - { - var item = list[i]; - action(item); - if (i != list.Count - 1) - { - cw.WriteLine(); - } - } - } - } -} \ No newline at end of file diff --git a/vk/src/vk.generator/VariantGenerator.cs b/vk/src/vk.generator/VariantGenerator.cs deleted file mode 100644 index f57ed3eed..000000000 --- a/vk/src/vk.generator/VariantGenerator.cs +++ /dev/null @@ -1,122 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Vk.Generator -{ - public static class VariantGenerator - { - public static CommandDefinition[] GenerateVariants(CommandDefinition cd) - { - ParameterDefinition[] parameters = cd.Parameters; - List[] parameterPossibilities = new List[parameters.Length]; - for (int i = 0; i < parameters.Length; i++) - { - parameterPossibilities[i] = new List() { parameters[i] }; - parameterPossibilities[i].AddRange(GenerateVariantParameters(cd, parameters[i])); - } - - ParameterDefinition[][] definitions = parameterPossibilities.Select(l => l.ToArray()).ToArray(); - var combos = GetCombinations(definitions).ToArray(); - CommandDefinition[] commands = combos.Skip(1).Select(pd => - { - return new CommandDefinition(cd.Name, cd.ReturnType, pd, cd.SuccessCodes, cd.ErrorCodes, true); - }).ToArray(); - - return commands; - } - - private static IEnumerable GetCombinations(ParameterDefinition[][] pds) - { - ParameterDefinition[] first = pds.First(); - ParameterDefinition[][] rest = GetSubArray(pds, 1); - foreach (var option in first) - { - if (!rest.Any()) - { - yield return new[] { option }; - } - else - { - var restVariants = GetCombinations(rest); - foreach (var restVariant in restVariants) - { - yield return Prepend(option, restVariant); - } - } - } - } - - private static IEnumerable GenerateVariantParameters(CommandDefinition cd, ParameterDefinition pd) - { - if (CanHaveVariant(pd)) - { - if ((cd.Name.StartsWith("vkCreate") || cd.Name.StartsWith("vkAllocate") || cd.Name.StartsWith("vkGet")) && pd == cd.Parameters.Last()) - { - yield return OutVariant(pd); - } - else if (pd.Type.Name == "char" && pd.Type.PointerIndirection == 1) - { - yield return StringVariant(pd); - } - else - { - yield return RefVariant(pd); - yield return IntPtrVariant(pd); - if (pd.Name.EndsWith("Infos")) - { - yield return ArrayVariant(pd, 1); - } - } - } - } - - private static ParameterDefinition StringVariant(ParameterDefinition pd) - { - TypeSpec typeSpec = new TypeSpec("string"); - return new ParameterDefinition(pd.Name, typeSpec, ParameterModifier.None, pd.IsOptional); - } - - private static ParameterDefinition ArrayVariant(ParameterDefinition pd, int dimensions) - { - TypeSpec typeSpec = new TypeSpec(pd.Type.Name, pd.Type.PointerIndirection - 1, dimensions); - return new ParameterDefinition(pd.Name, typeSpec, ParameterModifier.None, pd.IsOptional); - } - - private static ParameterDefinition OutVariant(ParameterDefinition pd) - { - TypeSpec typeSpec = new TypeSpec(pd.Type.Name, pd.Type.PointerIndirection - 1); - return new ParameterDefinition(pd.Name, typeSpec, ParameterModifier.Out, pd.IsOptional); - } - - private static ParameterDefinition RefVariant(ParameterDefinition pd) - { - TypeSpec typeSpec = new TypeSpec(pd.Type.Name, pd.Type.PointerIndirection - 1); - return new ParameterDefinition(pd.Name, typeSpec, ParameterModifier.Ref, pd.IsOptional); - } - - private static ParameterDefinition IntPtrVariant(ParameterDefinition pd) - { - TypeSpec typeSpec = new TypeSpec(nameof(IntPtr)); - return new ParameterDefinition(pd.Name, typeSpec, ParameterModifier.None, pd.IsOptional); - } - - private static bool CanHaveVariant(ParameterDefinition pd) - { - return pd.Type.PointerIndirection > 0 && pd.Type.Name != "void"; - } - - private static T[] GetSubArray(T[] array, int skip) - { - return array.Skip(skip).ToArray(); - } - - private static T[] Prepend(T first, T[] rest) - { - T[] arr = new T[rest.Length + 1]; - rest.CopyTo(arr, 1); - arr[0] = first; - return arr; - } - } -} diff --git a/vk/src/vk.generator/VulkanSpecification.cs b/vk/src/vk.generator/VulkanSpecification.cs deleted file mode 100644 index e9c188b00..000000000 --- a/vk/src/vk.generator/VulkanSpecification.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public class VulkanSpecification - { - public CommandDefinition[] Commands { get; } - public ConstantDefinition[] Constants { get; } - public TypedefDefinition[] Typedefs { get; } - public EnumDefinition[] Enums { get; } - public StructureDefinition[] Structures { get; } - public StructureDefinition[] Unions{ get; } - public HandleDefinition[] Handles { get; } - public string[] BitmaskTypes { get; } - public Dictionary BaseTypes { get; } - public ExtensionDefinition[] Extensions { get; } - - public VulkanSpecification( - CommandDefinition[] commands, - ConstantDefinition[] constants, - TypedefDefinition[] typedefs, - EnumDefinition[] enums, - StructureDefinition[] structures, - StructureDefinition[] unions, - HandleDefinition[] handles, - string[] bitmaskTypes, - Dictionary baseTypes, - ExtensionDefinition[] extensions) - { - Commands = commands; - Constants = constants; - Typedefs = typedefs; - Enums = enums; - Structures = structures; - Unions = unions; - Handles = handles; - BitmaskTypes = bitmaskTypes; - BaseTypes = baseTypes; - Extensions = extensions; - AddExtensionEnums(Enums, Extensions); - } - - public static VulkanSpecification LoadFromXmlStream(Stream specFileStream) - { - var spec = XDocument.Load(specFileStream); - var registry = spec.Element("registry"); - var commands = registry.Element("commands"); - CommandDefinition[] commandDefinitions = commands.Elements("command") - .Select(commandx => CommandDefinition.CreateFromXml(commandx)).ToArray(); - - ConstantDefinition[] constantDefinitions = registry.Elements("enums") - .Where(enumx => enumx.Attribute("name").Value == "API Constants") - .SelectMany(enumx => enumx.Elements("enum")) - .Select(enumxx => ConstantDefinition.CreateFromXml(enumxx)).ToArray(); - - var types = registry.Elements("types"); - TypedefDefinition[] typedefDefinitions = types.Elements("type").Where(xe => xe.Value.Contains("typedef") && xe.HasCategoryAttribute("bitmask")) - .Select(xe2 => TypedefDefinition.CreateFromXml(xe2)).ToArray(); - - EnumDefinition[] enumDefinitions = registry.Elements("enums") - .Where(enumx => enumx.GetTypeAttributeOrNull() == "enum" || enumx.GetTypeAttributeOrNull() == "bitmask") - .Select(enumx => EnumDefinition.CreateFromXml(enumx)).ToArray(); - - StructureDefinition[] structures = types.Elements("type").Where(typex => typex.HasCategoryAttribute("struct")) - .Select(typex => StructureDefinition.CreateFromXml(typex)).ToArray(); - - StructureDefinition[] unions = - types.Elements("type") - .Where(typex => typex.HasCategoryAttribute("union")) - .Select(typex => StructureDefinition.CreateFromXml(typex)).ToArray(); - - HandleDefinition[] handles = types.Elements("type").Where(typex => typex.HasCategoryAttribute("handle")) - .Select(typex => HandleDefinition.CreateFromXml(typex)).ToArray(); - - string[] bitmaskTypes = types.Elements("type").Where(typex => typex.HasCategoryAttribute("bitmask")) - .Select(typex => typex.GetNameElement()).ToArray(); - - Dictionary baseTypes = types.Elements("type").Where(typex => typex.HasCategoryAttribute("basetype")) - .ToDictionary( - typex => typex.GetNameElement(), - typex => typex.Element("type").Value); - - ExtensionDefinition[] extensions = registry.Element("extensions").Elements("extension") - .Select(xe => ExtensionDefinition.CreateFromXml(xe)).ToArray(); - - return new VulkanSpecification( - commandDefinitions, - constantDefinitions, - typedefDefinitions, - enumDefinitions, - structures, - unions, - handles, - bitmaskTypes, - baseTypes, - extensions); - } - - private void AddExtensionEnums(EnumDefinition[] enums, ExtensionDefinition[] extensions) - { - foreach (ExtensionDefinition exDef in extensions) - { - if (exDef.Name == "VK_KHX_device_group") - { - - } - - foreach (var enumEx in exDef.EnumExtensions) - { - EnumDefinition enumDef = GetEnumDef(enums, enumEx.ExtendedType); - int value = int.Parse(enumEx.Value); - enumDef.Values = enumDef.Values.Append(new EnumValue(enumEx.Name, value, null)).ToArray(); - } - } - } - - private EnumDefinition GetEnumDef(EnumDefinition[] enums, string name) - { - return enums.Single(ed => ed.Name == name); - } - } -} diff --git a/vk/src/vk.generator/XElementExtensions.cs b/vk/src/vk.generator/XElementExtensions.cs deleted file mode 100644 index bcc1a3469..000000000 --- a/vk/src/vk.generator/XElementExtensions.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Xml.Linq; - -namespace Vk.Generator -{ - public static class XElementExtensions - { - public static string GetNameAttribute(this XElement xe) - { - return xe.Attribute("name").Value; - } - - public static string GetNameElement(this XElement xe) - { - return xe.Element("name").Value; - } - - public static string GetTypeElement(this XElement xe) - { - return xe.Element("type").Value; - } - - public static string GetTypeAttributeOrNull(this XElement xe) - { - return xe.Attribute("type")?.Value; - } - - public static bool GetOptionalAttributeOrFalse(this XElement xe) - { - var attr = xe.Attribute("optional"); - return attr != null - ? attr.Value == "true" - : false; - } - - public static bool HasCategoryAttribute(this XElement xe, string value) - { - var attr = xe.Attribute("category"); - return attr != null && attr.Value == value; - } - } -} diff --git a/vk/src/vk.generator/vk.generator.csproj b/vk/src/vk.generator/vk.generator.csproj deleted file mode 100644 index 256604880..000000000 --- a/vk/src/vk.generator/vk.generator.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - netcoreapp2.0 - Exe - vk.generator - Vk.Generator - true - false - - - - PreserveNewest - Designer - - - - \ No newline at end of file diff --git a/vk/src/vk.generator/vk.xml b/vk/src/vk.generator/vk.xml deleted file mode 100644 index 13fc2628a..000000000 --- a/vk/src/vk.generator/vk.xml +++ /dev/null @@ -1,7634 +0,0 @@ - - - -Copyright (c) 2015-2018 The Khronos Group Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. - ------------------------------------------------------------------------- - -This file, vk.xml, is the Vulkan API Registry. It is a critically important -and normative part of the Vulkan Specification, including a canonical -machine-readable definition of the API, parameter and member validation -language incorporated into the Specification and reference pages, and other -material which is registered by Khronos, such as tags used by extension and -layer authors. The authoritative public version of vk.xml is maintained in -the master branch of the Khronos Vulkan GitHub project. The authoritative -private version is maintained in the 1.0 branch of the member gitlab server. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #include "vk_platform.h" - - WSI extensions - #include "vulkan.h" - #include <X11/Xlib.h> - #include <X11/extensions/Xrandr.h> - #include <android/native_window.h> - #include <mir_toolkit/client_types.h> - #include <wayland-client.h> - #include <windows.h> - #include <xcb/xcb.h> - - - - - - - - - - - - - - - - - - - - - #define VK_MAKE_VERSION(major, minor, patch) \ - (((major) << 22) | ((minor) << 12) | (patch)) - #define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22) - #define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff) - #define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff) - - // DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead. -//#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0) // Patch version should always be set to 0 - // Vulkan 1.0 version number -#define VK_API_VERSION_1_0 VK_MAKE_VERSION(1, 0, 0)// Patch version should always be set to 0 - // Version of this file -#define VK_HEADER_VERSION 68 - - -#define VK_DEFINE_HANDLE(object) typedef struct object##_T* object; - - -#if !defined(VK_DEFINE_NON_DISPATCHABLE_HANDLE) -#if defined(__LP64__) || defined(_WIN64) || (defined(__x86_64__) && !defined(__ILP32__) ) || defined(_M_X64) || defined(__ia64) || defined (_M_IA64) || defined(__aarch64__) || defined(__powerpc64__) - #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object##_T *object; -#else - #define VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef uint64_t object; -#endif -#endif - - - -#define VK_NULL_HANDLE 0 - - - typedef uint32_t VkSampleMask; - typedef uint32_t VkBool32; - typedef uint32_t VkFlags; - typedef uint64_t VkDeviceSize; - - Basic C types, pulled in via vk_platform.h - - - - - - - - - - - Bitmask types - typedef VkFlags VkFramebufferCreateFlags; - typedef VkFlags VkQueryPoolCreateFlags; - typedef VkFlags VkRenderPassCreateFlags; - typedef VkFlags VkSamplerCreateFlags; - typedef VkFlags VkPipelineLayoutCreateFlags; - typedef VkFlags VkPipelineCacheCreateFlags; - typedef VkFlags VkPipelineDepthStencilStateCreateFlags; - typedef VkFlags VkPipelineDynamicStateCreateFlags; - typedef VkFlags VkPipelineColorBlendStateCreateFlags; - typedef VkFlags VkPipelineMultisampleStateCreateFlags; - typedef VkFlags VkPipelineRasterizationStateCreateFlags; - typedef VkFlags VkPipelineViewportStateCreateFlags; - typedef VkFlags VkPipelineTessellationStateCreateFlags; - typedef VkFlags VkPipelineInputAssemblyStateCreateFlags; - typedef VkFlags VkPipelineVertexInputStateCreateFlags; - typedef VkFlags VkPipelineShaderStageCreateFlags; - typedef VkFlags VkDescriptorSetLayoutCreateFlags; - typedef VkFlags VkBufferViewCreateFlags; - typedef VkFlags VkInstanceCreateFlags; - typedef VkFlags VkDeviceCreateFlags; - typedef VkFlags VkDeviceQueueCreateFlags; - typedef VkFlags VkQueueFlags; - typedef VkFlags VkMemoryPropertyFlags; - typedef VkFlags VkMemoryHeapFlags; - typedef VkFlags VkAccessFlags; - typedef VkFlags VkBufferUsageFlags; - typedef VkFlags VkBufferCreateFlags; - typedef VkFlags VkShaderStageFlags; - typedef VkFlags VkImageUsageFlags; - typedef VkFlags VkImageCreateFlags; - typedef VkFlags VkImageViewCreateFlags; - typedef VkFlags VkPipelineCreateFlags; - typedef VkFlags VkColorComponentFlags; - typedef VkFlags VkFenceCreateFlags; - typedef VkFlags VkSemaphoreCreateFlags; - typedef VkFlags VkFormatFeatureFlags; - typedef VkFlags VkQueryControlFlags; - typedef VkFlags VkQueryResultFlags; - typedef VkFlags VkShaderModuleCreateFlags; - typedef VkFlags VkEventCreateFlags; - typedef VkFlags VkCommandPoolCreateFlags; - typedef VkFlags VkCommandPoolResetFlags; - typedef VkFlags VkCommandBufferResetFlags; - typedef VkFlags VkCommandBufferUsageFlags; - typedef VkFlags VkQueryPipelineStatisticFlags; - typedef VkFlags VkMemoryMapFlags; - typedef VkFlags VkImageAspectFlags; - typedef VkFlags VkSparseMemoryBindFlags; - typedef VkFlags VkSparseImageFormatFlags; - typedef VkFlags VkSubpassDescriptionFlags; - typedef VkFlags VkPipelineStageFlags; - typedef VkFlags VkSampleCountFlags; - typedef VkFlags VkAttachmentDescriptionFlags; - typedef VkFlags VkStencilFaceFlags; - typedef VkFlags VkCullModeFlags; - typedef VkFlags VkDescriptorPoolCreateFlags; - typedef VkFlags VkDescriptorPoolResetFlags; - typedef VkFlags VkDependencyFlags; - - typedef VkFlags VkIndirectCommandsLayoutUsageFlagsNVX; - typedef VkFlags VkObjectEntryUsageFlagsNVX; - - typedef VkFlags VkDescriptorUpdateTemplateCreateFlagsKHR; - - WSI extensions - typedef VkFlags VkCompositeAlphaFlagsKHR; - typedef VkFlags VkDisplayPlaneAlphaFlagsKHR; - typedef VkFlags VkSurfaceTransformFlagsKHR; - typedef VkFlags VkSwapchainCreateFlagsKHR; - typedef VkFlags VkDisplayModeCreateFlagsKHR; - typedef VkFlags VkDisplaySurfaceCreateFlagsKHR; - typedef VkFlags VkAndroidSurfaceCreateFlagsKHR; - typedef VkFlags VkMirSurfaceCreateFlagsKHR; - typedef VkFlags VkViSurfaceCreateFlagsNN; - typedef VkFlags VkWaylandSurfaceCreateFlagsKHR; - typedef VkFlags VkWin32SurfaceCreateFlagsKHR; - typedef VkFlags VkXlibSurfaceCreateFlagsKHR; - typedef VkFlags VkXcbSurfaceCreateFlagsKHR; - typedef VkFlags VkIOSSurfaceCreateFlagsMVK; - typedef VkFlags VkMacOSSurfaceCreateFlagsMVK; - typedef VkFlags VkPeerMemoryFeatureFlagsKHX; - typedef VkFlags VkMemoryAllocateFlagsKHX; - typedef VkFlags VkDeviceGroupPresentModeFlagsKHX; - - typedef VkFlags VkDebugReportFlagsEXT; - typedef VkFlags VkCommandPoolTrimFlagsKHR; - typedef VkFlags VkExternalMemoryHandleTypeFlagsNV; - typedef VkFlags VkExternalMemoryFeatureFlagsNV; - typedef VkFlags VkExternalMemoryHandleTypeFlagsKHR; - typedef VkFlags VkExternalMemoryFeatureFlagsKHR; - typedef VkFlags VkExternalSemaphoreHandleTypeFlagsKHR; - typedef VkFlags VkExternalSemaphoreFeatureFlagsKHR; - typedef VkFlags VkSemaphoreImportFlagsKHR; - typedef VkFlags VkExternalFenceHandleTypeFlagsKHR; - typedef VkFlags VkExternalFenceFeatureFlagsKHR; - typedef VkFlags VkFenceImportFlagsKHR; - typedef VkFlags VkSurfaceCounterFlagsEXT; - typedef VkFlags VkPipelineViewportSwizzleStateCreateFlagsNV; - typedef VkFlags VkPipelineDiscardRectangleStateCreateFlagsEXT; - typedef VkFlags VkPipelineCoverageToColorStateCreateFlagsNV; - typedef VkFlags VkPipelineCoverageModulationStateCreateFlagsNV; - typedef VkFlags VkValidationCacheCreateFlagsEXT; - typedef VkFlags VkPipelineRasterizationConservativeStateCreateFlagsEXT; - - Types which can be void pointers or class pointers, selected at compile time - VK_DEFINE_HANDLE(VkInstance) - VK_DEFINE_HANDLE(VkPhysicalDevice) - VK_DEFINE_HANDLE(VkDevice) - VK_DEFINE_HANDLE(VkQueue) - VK_DEFINE_HANDLE(VkCommandBuffer) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDeviceMemory) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkCommandPool) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBuffer) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkBufferView) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkImage) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkImageView) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkShaderModule) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipeline) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineLayout) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSampler) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSet) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorSetLayout) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorPool) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFence) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSemaphore) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkEvent) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkQueryPool) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkFramebuffer) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkRenderPass) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkPipelineCache) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkObjectTableNVX) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkIndirectCommandsLayoutNVX) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDescriptorUpdateTemplateKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSamplerYcbcrConversionKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkValidationCacheEXT) - - WSI extensions - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDisplayModeKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSurfaceKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSwapchainKHR) - VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkDebugReportCallbackEXT) - - Types generated from corresponding enums tags below - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Extensions - - - - - - - - - - - - - - - - WSI extensions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The PFN_vk*Function types are used by VkAllocationCallbacks below - typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)( - void* pUserData, - size_t size, - VkInternalAllocationType allocationType, - VkSystemAllocationScope allocationScope); - typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)( - void* pUserData, - size_t size, - VkInternalAllocationType allocationType, - VkSystemAllocationScope allocationScope); - typedef void* (VKAPI_PTR *PFN_vkReallocationFunction)( - void* pUserData, - void* pOriginal, - size_t size, - size_t alignment, - VkSystemAllocationScope allocationScope); - typedef void* (VKAPI_PTR *PFN_vkAllocationFunction)( - void* pUserData, - size_t size, - size_t alignment, - VkSystemAllocationScope allocationScope); - typedef void (VKAPI_PTR *PFN_vkFreeFunction)( - void* pUserData, - void* pMemory); - - The PFN_vkVoidFunction type are used by VkGet*ProcAddr below - typedef void (VKAPI_PTR *PFN_vkVoidFunction)(void); - - The PFN_vkDebugReportCallbackEXT type are used by the DEBUG_REPORT extension - typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)( - VkDebugReportFlagsEXT flags, - VkDebugReportObjectTypeEXT objectType, - uint64_t object, - size_t location, - int32_t messageCode, - const char* pLayerPrefix, - const char* pMessage, - void* pUserData); - - Struct types - - int32_t x - int32_t y - - - int32_t x - int32_t y - int32_t z - - - uint32_t width - uint32_t height - - - uint32_t width - uint32_t height - uint32_t depth - - - float x - float y - float width - float height - float minDepth - float maxDepth - - - VkOffset2D offset - VkExtent2D extent - - - VkRect2D rect - uint32_t baseArrayLayer - uint32_t layerCount - - - VkComponentSwizzle r - VkComponentSwizzle g - VkComponentSwizzle b - VkComponentSwizzle a - - - uint32_t apiVersion - uint32_t driverVersion - uint32_t vendorID - uint32_t deviceID - VkPhysicalDeviceType deviceType - char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE] - uint8_t pipelineCacheUUID[VK_UUID_SIZE] - VkPhysicalDeviceLimits limits - VkPhysicalDeviceSparseProperties sparseProperties - - - char extensionName[VK_MAX_EXTENSION_NAME_SIZE]extension name - uint32_t specVersionversion of the extension specification implemented - - - char layerName[VK_MAX_EXTENSION_NAME_SIZE]layer name - uint32_t specVersionversion of the layer specification implemented - uint32_t implementationVersionbuild or release version of the layer's library - char description[VK_MAX_DESCRIPTION_SIZE]Free-form description of the layer - - - VkStructureType sType - const void* pNext - const char* pApplicationName - uint32_t applicationVersion - const char* pEngineName - uint32_t engineVersion - uint32_t apiVersion - - - void* pUserData - PFN_vkAllocationFunction pfnAllocation - PFN_vkReallocationFunction pfnReallocation - PFN_vkFreeFunction pfnFree - PFN_vkInternalAllocationNotification pfnInternalAllocation - PFN_vkInternalFreeNotification pfnInternalFree - - - VkStructureType sType - const void* pNext - VkDeviceQueueCreateFlags flags - uint32_t queueFamilyIndex - uint32_t queueCount - const float* pQueuePriorities - - - VkStructureType sType - const void* pNext - VkDeviceCreateFlags flags - uint32_t queueCreateInfoCount - const VkDeviceQueueCreateInfo* pQueueCreateInfos - uint32_t enabledLayerCount - const char* const* ppEnabledLayerNamesOrdered list of layer names to be enabled - uint32_t enabledExtensionCount - const char* const* ppEnabledExtensionNames - const VkPhysicalDeviceFeatures* pEnabledFeatures - - - VkStructureType sType - const void* pNext - VkInstanceCreateFlags flags - const VkApplicationInfo* pApplicationInfo - uint32_t enabledLayerCount - const char* const* ppEnabledLayerNamesOrdered list of layer names to be enabled - uint32_t enabledExtensionCount - const char* const* ppEnabledExtensionNamesExtension names to be enabled - - - VkQueueFlags queueFlagsQueue flags - uint32_t queueCount - uint32_t timestampValidBits - VkExtent3D minImageTransferGranularityMinimum alignment requirement for image transfers - - - uint32_t memoryTypeCount - VkMemoryType memoryTypes[VK_MAX_MEMORY_TYPES] - uint32_t memoryHeapCount - VkMemoryHeap memoryHeaps[VK_MAX_MEMORY_HEAPS] - - - VkStructureType sType - const void* pNext - VkDeviceSize allocationSizeSize of memory allocation - uint32_t memoryTypeIndexIndex of the of the memory type to allocate from - - - VkDeviceSize sizeSpecified in bytes - VkDeviceSize alignmentSpecified in bytes - uint32_t memoryTypeBitsBitmask of the allowed memory type indices into memoryTypes[] for this object - - - VkImageAspectFlags aspectMask - VkExtent3D imageGranularity - VkSparseImageFormatFlags flags - - - VkSparseImageFormatProperties formatProperties - uint32_t imageMipTailFirstLod - VkDeviceSize imageMipTailSizeSpecified in bytes, must be a multiple of sparse block size in bytes / alignment - VkDeviceSize imageMipTailOffsetSpecified in bytes, must be a multiple of sparse block size in bytes / alignment - VkDeviceSize imageMipTailStrideSpecified in bytes, must be a multiple of sparse block size in bytes / alignment - - - VkMemoryPropertyFlags propertyFlagsMemory properties of this memory type - uint32_t heapIndexIndex of the memory heap allocations of this memory type are taken from - - - VkDeviceSize sizeAvailable memory in the heap - VkMemoryHeapFlags flagsFlags for the heap - - - VkStructureType sType - const void* pNext - VkDeviceMemory memoryMapped memory object - VkDeviceSize offsetOffset within the memory object where the range starts - VkDeviceSize sizeSize of the range within the memory object - - - VkFormatFeatureFlags linearTilingFeaturesFormat features in case of linear tiling - VkFormatFeatureFlags optimalTilingFeaturesFormat features in case of optimal tiling - VkFormatFeatureFlags bufferFeaturesFormat features supported by buffers - - - VkExtent3D maxExtentmax image dimensions for this resource type - uint32_t maxMipLevelsmax number of mipmap levels for this resource type - uint32_t maxArrayLayersmax array size for this resource type - VkSampleCountFlags sampleCountssupported sample counts for this resource type - VkDeviceSize maxResourceSizemax size (in bytes) of this resource type - - - VkBuffer bufferBuffer used for this descriptor slot when the descriptor is UNIFORM_BUFFER[_DYNAMIC] or STORAGE_BUFFER[_DYNAMIC]. VK_NULL_HANDLE otherwise. - VkDeviceSize offsetBase offset from buffer start in bytes to update in the descriptor set. - VkDeviceSize rangeSize in bytes of the buffer resource for this descriptor update. - - - VkSampler samplerSampler to write to the descriptor in case it is a SAMPLER or COMBINED_IMAGE_SAMPLER descriptor. Ignored otherwise. - VkImageView imageViewImage view to write to the descriptor in case it is a SAMPLED_IMAGE, STORAGE_IMAGE, COMBINED_IMAGE_SAMPLER, or INPUT_ATTACHMENT descriptor. Ignored otherwise. - VkImageLayout imageLayoutLayout the image is expected to be in when accessed using this descriptor (only used if imageView is not VK_NULL_HANDLE). - - - VkStructureType sType - const void* pNext - VkDescriptorSet dstSetDestination descriptor set - uint32_t dstBindingBinding within the destination descriptor set to write - uint32_t dstArrayElementArray element within the destination binding to write - uint32_t descriptorCountNumber of descriptors to write (determines the size of the array pointed by pDescriptors) - VkDescriptorType descriptorTypeDescriptor type to write (determines which members of the array pointed by pDescriptors are going to be used) - const VkDescriptorImageInfo* pImageInfoSampler, image view, and layout for SAMPLER, COMBINED_IMAGE_SAMPLER, {SAMPLED,STORAGE}_IMAGE, and INPUT_ATTACHMENT descriptor types. - const VkDescriptorBufferInfo* pBufferInfoRaw buffer, size, and offset for {UNIFORM,STORAGE}_BUFFER[_DYNAMIC] descriptor types. - const VkBufferView* pTexelBufferViewBuffer view to write to the descriptor for {UNIFORM,STORAGE}_TEXEL_BUFFER descriptor types. - - - VkStructureType sType - const void* pNext - VkDescriptorSet srcSetSource descriptor set - uint32_t srcBindingBinding within the source descriptor set to copy from - uint32_t srcArrayElementArray element within the source binding to copy from - VkDescriptorSet dstSetDestination descriptor set - uint32_t dstBindingBinding within the destination descriptor set to copy to - uint32_t dstArrayElementArray element within the destination binding to copy to - uint32_t descriptorCountNumber of descriptors to write (determines the size of the array pointed by pDescriptors) - - - VkStructureType sType - const void* pNext - VkBufferCreateFlags flagsBuffer creation flags - VkDeviceSize sizeSpecified in bytes - VkBufferUsageFlags usageBuffer usage flags - VkSharingMode sharingMode - uint32_t queueFamilyIndexCount - const uint32_t* pQueueFamilyIndices - - - VkStructureType sType - const void* pNext - VkBufferViewCreateFlagsflags - VkBuffer buffer - VkFormat formatOptionally specifies format of elements - VkDeviceSize offsetSpecified in bytes - VkDeviceSize rangeView size specified in bytes - - - VkImageAspectFlags aspectMask - uint32_t mipLevel - uint32_t arrayLayer - - - VkImageAspectFlags aspectMask - uint32_t mipLevel - uint32_t baseArrayLayer - uint32_t layerCount - - - VkImageAspectFlags aspectMask - uint32_t baseMipLevel - uint32_t levelCount - uint32_t baseArrayLayer - uint32_t layerCount - - - VkStructureType sType - const void* pNext - VkAccessFlags srcAccessMaskMemory accesses from the source of the dependency to synchronize - VkAccessFlags dstAccessMaskMemory accesses from the destination of the dependency to synchronize - - - VkStructureType sType - const void* pNext - VkAccessFlags srcAccessMaskMemory accesses from the source of the dependency to synchronize - VkAccessFlags dstAccessMaskMemory accesses from the destination of the dependency to synchronize - uint32_t srcQueueFamilyIndexQueue family to transition ownership from - uint32_t dstQueueFamilyIndexQueue family to transition ownership to - VkBuffer bufferBuffer to sync - VkDeviceSize offsetOffset within the buffer to sync - VkDeviceSize sizeAmount of bytes to sync - - - VkStructureType sType - const void* pNext - VkAccessFlags srcAccessMaskMemory accesses from the source of the dependency to synchronize - VkAccessFlags dstAccessMaskMemory accesses from the destination of the dependency to synchronize - VkImageLayout oldLayoutCurrent layout of the image - VkImageLayout newLayoutNew layout to transition the image to - uint32_t srcQueueFamilyIndexQueue family to transition ownership from - uint32_t dstQueueFamilyIndexQueue family to transition ownership to - VkImage imageImage to sync - VkImageSubresourceRange subresourceRangeSubresource range to sync - - - VkStructureType sType - const void* pNext - VkImageCreateFlags flagsImage creation flags - VkImageType imageType - VkFormat format - VkExtent3D extent - uint32_t mipLevels - uint32_t arrayLayers - VkSampleCountFlagBits samples - VkImageTiling tiling - VkImageUsageFlags usageImage usage flags - VkSharingMode sharingModeCross-queue-family sharing mode - uint32_t queueFamilyIndexCountNumber of queue families to share across - const uint32_t* pQueueFamilyIndicesArray of queue family indices to share across - VkImageLayout initialLayoutInitial image layout for all subresources - - - VkDeviceSize offsetSpecified in bytes - VkDeviceSize sizeSpecified in bytes - VkDeviceSize rowPitchSpecified in bytes - VkDeviceSize arrayPitchSpecified in bytes - VkDeviceSize depthPitchSpecified in bytes - - - VkStructureType sType - const void* pNext - VkImageViewCreateFlags flags - VkImage image - VkImageViewType viewType - VkFormat format - VkComponentMapping components - VkImageSubresourceRange subresourceRange - - - VkDeviceSize srcOffsetSpecified in bytes - VkDeviceSize dstOffsetSpecified in bytes - VkDeviceSize sizeSpecified in bytes - - - VkDeviceSize resourceOffsetSpecified in bytes - VkDeviceSize sizeSpecified in bytes - VkDeviceMemory memory - VkDeviceSize memoryOffsetSpecified in bytes - VkSparseMemoryBindFlagsflags - - - VkImageSubresource subresource - VkOffset3D offset - VkExtent3D extent - VkDeviceMemory memory - VkDeviceSize memoryOffsetSpecified in bytes - VkSparseMemoryBindFlagsflags - - - VkBuffer buffer - uint32_t bindCount - const VkSparseMemoryBind* pBinds - - - VkImage image - uint32_t bindCount - const VkSparseMemoryBind* pBinds - - - VkImage image - uint32_t bindCount - const VkSparseImageMemoryBind* pBinds - - - VkStructureType sType - const void* pNext - uint32_t waitSemaphoreCount - const VkSemaphore* pWaitSemaphores - uint32_t bufferBindCount - const VkSparseBufferMemoryBindInfo* pBufferBinds - uint32_t imageOpaqueBindCount - const VkSparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds - uint32_t imageBindCount - const VkSparseImageMemoryBindInfo* pImageBinds - uint32_t signalSemaphoreCount - const VkSemaphore* pSignalSemaphores - - - VkImageSubresourceLayers srcSubresource - VkOffset3D srcOffsetSpecified in pixels for both compressed and uncompressed images - VkImageSubresourceLayers dstSubresource - VkOffset3D dstOffsetSpecified in pixels for both compressed and uncompressed images - VkExtent3D extentSpecified in pixels for both compressed and uncompressed images - - - VkImageSubresourceLayers srcSubresource - VkOffset3D srcOffsets[2]Specified in pixels for both compressed and uncompressed images - VkImageSubresourceLayers dstSubresource - VkOffset3D dstOffsets[2]Specified in pixels for both compressed and uncompressed images - - - VkDeviceSize bufferOffsetSpecified in bytes - uint32_t bufferRowLengthSpecified in texels - uint32_t bufferImageHeight - VkImageSubresourceLayers imageSubresource - VkOffset3D imageOffsetSpecified in pixels for both compressed and uncompressed images - VkExtent3D imageExtentSpecified in pixels for both compressed and uncompressed images - - - VkImageSubresourceLayers srcSubresource - VkOffset3D srcOffset - VkImageSubresourceLayers dstSubresource - VkOffset3D dstOffset - VkExtent3D extent - - - VkStructureType sType - const void* pNext - VkShaderModuleCreateFlags flags - size_t codeSizeSpecified in bytes - const uint32_t* pCodeBinary code of size codeSize - - - uint32_t bindingBinding number for this entry - VkDescriptorType descriptorTypeType of the descriptors in this binding - uint32_t descriptorCountNumber of descriptors in this binding - VkShaderStageFlags stageFlagsShader stages this binding is visible to - const VkSampler* pImmutableSamplersImmutable samplers (used if descriptor type is SAMPLER or COMBINED_IMAGE_SAMPLER, is either NULL or contains count number of elements) - - - VkStructureType sType - const void* pNext - VkDescriptorSetLayoutCreateFlags flags - uint32_t bindingCountNumber of bindings in the descriptor set layout - const VkDescriptorSetLayoutBinding* pBindingsArray of descriptor set layout bindings - - - VkDescriptorType type - uint32_t descriptorCount - - - VkStructureType sType - const void* pNext - VkDescriptorPoolCreateFlags flags - uint32_t maxSets - uint32_t poolSizeCount - const VkDescriptorPoolSize* pPoolSizes - - - VkStructureType sType - const void* pNext - VkDescriptorPool descriptorPool - uint32_t descriptorSetCount - const VkDescriptorSetLayout* pSetLayouts - - - uint32_t constantIDThe SpecConstant ID specified in the BIL - uint32_t offsetOffset of the value in the data block - size_t sizeSize in bytes of the SpecConstant - - - uint32_t mapEntryCountNumber of entries in the map - const VkSpecializationMapEntry* pMapEntriesArray of map entries - size_t dataSizeSize in bytes of pData - const void* pDataPointer to SpecConstant data - - - VkStructureType sType - const void* pNext - VkPipelineShaderStageCreateFlags flags - VkShaderStageFlagBits stageShader stage - VkShaderModule moduleModule containing entry point - const char* pNameNull-terminated entry point name - const VkSpecializationInfo* pSpecializationInfo - - - VkStructureType sType - const void* pNext - VkPipelineCreateFlags flagsPipeline creation flags - VkPipelineShaderStageCreateInfo stage - VkPipelineLayout layoutInterface layout of the pipeline - VkPipeline basePipelineHandleIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of - int32_t basePipelineIndexIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of - - - uint32_t bindingVertex buffer binding id - uint32_t strideDistance between vertices in bytes (0 = no advancement) - VkVertexInputRate inputRateThe rate at which the vertex data is consumed - - - uint32_t locationlocation of the shader vertex attrib - uint32_t bindingVertex buffer binding id - VkFormat formatformat of source data - uint32_t offsetOffset of first element in bytes from base of vertex - - - VkStructureType sType - const void* pNext - VkPipelineVertexInputStateCreateFlags flags - uint32_t vertexBindingDescriptionCountnumber of bindings - const VkVertexInputBindingDescription* pVertexBindingDescriptions - uint32_t vertexAttributeDescriptionCountnumber of attributes - const VkVertexInputAttributeDescription* pVertexAttributeDescriptions - - - VkStructureType sType - const void* pNext - VkPipelineInputAssemblyStateCreateFlags flags - VkPrimitiveTopology topology - VkBool32 primitiveRestartEnable - - - VkStructureType sType - const void* pNext - VkPipelineTessellationStateCreateFlags flags - uint32_t patchControlPoints - - - VkStructureType sType - const void* pNext - VkPipelineViewportStateCreateFlags flags - uint32_t viewportCount - const VkViewport* pViewports - uint32_t scissorCount - const VkRect2D* pScissors - - - VkStructureType sType - const void* pNext - VkPipelineRasterizationStateCreateFlags flags - VkBool32 depthClampEnable - VkBool32 rasterizerDiscardEnable - VkPolygonMode polygonModeoptional (GL45) - VkCullModeFlags cullMode - VkFrontFace frontFace - VkBool32 depthBiasEnable - float depthBiasConstantFactor - float depthBiasClamp - float depthBiasSlopeFactor - float lineWidth - - - VkStructureType sType - const void* pNext - VkPipelineMultisampleStateCreateFlags flags - VkSampleCountFlagBits rasterizationSamplesNumber of samples used for rasterization - VkBool32 sampleShadingEnableoptional (GL45) - float minSampleShadingoptional (GL45) - const VkSampleMask* pSampleMaskArray of sampleMask words - VkBool32 alphaToCoverageEnable - VkBool32 alphaToOneEnable - - - VkBool32 blendEnable - VkBlendFactor srcColorBlendFactor - VkBlendFactor dstColorBlendFactor - VkBlendOp colorBlendOp - VkBlendFactor srcAlphaBlendFactor - VkBlendFactor dstAlphaBlendFactor - VkBlendOp alphaBlendOp - VkColorComponentFlags colorWriteMask - - - VkStructureType sType - const void* pNext - VkPipelineColorBlendStateCreateFlags flags - VkBool32 logicOpEnable - VkLogicOp logicOp - uint32_t attachmentCount# of pAttachments - const VkPipelineColorBlendAttachmentState* pAttachments - float blendConstants[4] - - - VkStructureType sType - const void* pNext - VkPipelineDynamicStateCreateFlags flags - uint32_t dynamicStateCount - const VkDynamicState* pDynamicStates - - - VkStencilOp failOp - VkStencilOp passOp - VkStencilOp depthFailOp - VkCompareOp compareOp - uint32_t compareMask - uint32_t writeMask - uint32_t reference - - - VkStructureType sType - const void* pNext - VkPipelineDepthStencilStateCreateFlags flags - VkBool32 depthTestEnable - VkBool32 depthWriteEnable - VkCompareOp depthCompareOp - VkBool32 depthBoundsTestEnableoptional (depth_bounds_test) - VkBool32 stencilTestEnable - VkStencilOpState front - VkStencilOpState back - float minDepthBounds - float maxDepthBounds - - - VkStructureType sType - const void* pNext - VkPipelineCreateFlags flagsPipeline creation flags - uint32_t stageCount - const VkPipelineShaderStageCreateInfo* pStagesOne entry for each active shader stage - const VkPipelineVertexInputStateCreateInfo* pVertexInputState - const VkPipelineInputAssemblyStateCreateInfo* pInputAssemblyState - const VkPipelineTessellationStateCreateInfo* pTessellationState - const VkPipelineViewportStateCreateInfo* pViewportState - const VkPipelineRasterizationStateCreateInfo* pRasterizationState - const VkPipelineMultisampleStateCreateInfo* pMultisampleState - const VkPipelineDepthStencilStateCreateInfo* pDepthStencilState - const VkPipelineColorBlendStateCreateInfo* pColorBlendState - const VkPipelineDynamicStateCreateInfo* pDynamicState - VkPipelineLayout layoutInterface layout of the pipeline - VkRenderPass renderPass - uint32_t subpass - VkPipeline basePipelineHandleIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is nonzero, it specifies the handle of the base pipeline this is a derivative of - int32_t basePipelineIndexIf VK_PIPELINE_CREATE_DERIVATIVE_BIT is set and this value is not -1, it specifies an index into pCreateInfos of the base pipeline this is a derivative of - - - VkStructureType sType - const void* pNext - VkPipelineCacheCreateFlags flags - size_t initialDataSizeSize of initial data to populate cache, in bytes - const void* pInitialDataInitial data to populate cache - - - VkShaderStageFlags stageFlagsWhich stages use the range - uint32_t offsetStart of the range, in bytes - uint32_t sizeSize of the range, in bytes - - - VkStructureType sType - const void* pNext - VkPipelineLayoutCreateFlags flags - uint32_t setLayoutCountNumber of descriptor sets interfaced by the pipeline - const VkDescriptorSetLayout* pSetLayoutsArray of setCount number of descriptor set layout objects defining the layout of the - uint32_t pushConstantRangeCountNumber of push-constant ranges used by the pipeline - const VkPushConstantRange* pPushConstantRangesArray of pushConstantRangeCount number of ranges used by various shader stages - - - VkStructureType sType - const void* pNext - VkSamplerCreateFlags flags - VkFilter magFilterFilter mode for magnification - VkFilter minFilterFilter mode for minifiation - VkSamplerMipmapMode mipmapModeMipmap selection mode - VkSamplerAddressMode addressModeU - VkSamplerAddressMode addressModeV - VkSamplerAddressMode addressModeW - float mipLodBias - VkBool32 anisotropyEnable - float maxAnisotropy - VkBool32 compareEnable - VkCompareOp compareOp - float minLod - float maxLod - VkBorderColor borderColor - VkBool32 unnormalizedCoordinates - - - VkStructureType sType - const void* pNext - VkCommandPoolCreateFlags flagsCommand pool creation flags - uint32_t queueFamilyIndex - - - VkStructureType sType - const void* pNext - VkCommandPool commandPool - VkCommandBufferLevel level - uint32_t commandBufferCount - - - VkStructureType sType - const void* pNext - VkRenderPass renderPassRender pass for secondary command buffers - uint32_t subpass - VkFramebuffer framebufferFramebuffer for secondary command buffers - VkBool32 occlusionQueryEnableWhether this secondary command buffer may be executed during an occlusion query - VkQueryControlFlags queryFlagsQuery flags used by this secondary command buffer, if executed during an occlusion query - VkQueryPipelineStatisticFlags pipelineStatisticsPipeline statistics that may be counted for this secondary command buffer - - - VkStructureType sType - const void* pNext - VkCommandBufferUsageFlags flagsCommand buffer usage flags - const VkCommandBufferInheritanceInfo* pInheritanceInfoPointer to inheritance info for secondary command buffers - - - VkStructureType sType - const void* pNext - VkRenderPass renderPass - VkFramebuffer framebuffer - VkRect2D renderArea - uint32_t clearValueCount - const VkClearValue* pClearValues - - - float float32[4] - int32_t int32[4] - uint32_t uint32[4] - - - float depth - uint32_t stencil - - - VkClearColorValue color - VkClearDepthStencilValue depthStencil - - - VkImageAspectFlags aspectMask - uint32_t colorAttachment - VkClearValue clearValue - - - VkAttachmentDescriptionFlags flags - VkFormat format - VkSampleCountFlagBits samples - VkAttachmentLoadOp loadOpLoad operation for color or depth data - VkAttachmentStoreOp storeOpStore operation for color or depth data - VkAttachmentLoadOp stencilLoadOpLoad operation for stencil data - VkAttachmentStoreOp stencilStoreOpStore operation for stencil data - VkImageLayout initialLayout - VkImageLayout finalLayout - - - uint32_t attachment - VkImageLayout layout - - - VkSubpassDescriptionFlags flags - VkPipelineBindPoint pipelineBindPointMust be VK_PIPELINE_BIND_POINT_GRAPHICS for now - uint32_t inputAttachmentCount - const VkAttachmentReference* pInputAttachments - uint32_t colorAttachmentCount - const VkAttachmentReference* pColorAttachments - const VkAttachmentReference* pResolveAttachments - const VkAttachmentReference* pDepthStencilAttachment - uint32_t preserveAttachmentCount - const uint32_t* pPreserveAttachments - - - uint32_t srcSubpass - uint32_t dstSubpass - VkPipelineStageFlags srcStageMask - VkPipelineStageFlags dstStageMask - VkAccessFlags srcAccessMaskMemory accesses from the source of the dependency to synchronize - VkAccessFlags dstAccessMaskMemory accesses from the destination of the dependency to synchronize - VkDependencyFlags dependencyFlags - - - VkStructureType sType - const void* pNext - VkRenderPassCreateFlags flags - uint32_t attachmentCount - const VkAttachmentDescription* pAttachments - uint32_t subpassCount - const VkSubpassDescription* pSubpasses - uint32_t dependencyCount - const VkSubpassDependency* pDependencies - - - VkStructureType sType - const void* pNext - VkEventCreateFlags flagsEvent creation flags - - - VkStructureType sType - const void* pNext - VkFenceCreateFlags flagsFence creation flags - - - VkBool32 robustBufferAccessout of bounds buffer accesses are well defined - VkBool32 fullDrawIndexUint32full 32-bit range of indices for indexed draw calls - VkBool32 imageCubeArrayimage views which are arrays of cube maps - VkBool32 independentBlendblending operations are controlled per-attachment - VkBool32 geometryShadergeometry stage - VkBool32 tessellationShadertessellation control and evaluation stage - VkBool32 sampleRateShadingper-sample shading and interpolation - VkBool32 dualSrcBlendblend operations which take two sources - VkBool32 logicOplogic operations - VkBool32 multiDrawIndirectmulti draw indirect - VkBool32 drawIndirectFirstInstanceindirect draws can use non-zero firstInstance - VkBool32 depthClampdepth clamping - VkBool32 depthBiasClampdepth bias clamping - VkBool32 fillModeNonSolidpoint and wireframe fill modes - VkBool32 depthBoundsdepth bounds test - VkBool32 wideLineslines with width greater than 1 - VkBool32 largePointspoints with size greater than 1 - VkBool32 alphaToOnethe fragment alpha component can be forced to maximum representable alpha value - VkBool32 multiViewportviewport arrays - VkBool32 samplerAnisotropyanisotropic sampler filtering - VkBool32 textureCompressionETC2ETC texture compression formats - VkBool32 textureCompressionASTC_LDRASTC LDR texture compression formats - VkBool32 textureCompressionBCBC1-7 texture compressed formats - VkBool32 occlusionQueryPreciseprecise occlusion queries returning actual sample counts - VkBool32 pipelineStatisticsQuerypipeline statistics query - VkBool32 vertexPipelineStoresAndAtomicsstores and atomic ops on storage buffers and images are supported in vertex, tessellation, and geometry stages - VkBool32 fragmentStoresAndAtomicsstores and atomic ops on storage buffers and images are supported in the fragment stage - VkBool32 shaderTessellationAndGeometryPointSizetessellation and geometry stages can export point size - VkBool32 shaderImageGatherExtendedimage gather with run-time values and independent offsets - VkBool32 shaderStorageImageExtendedFormatsthe extended set of formats can be used for storage images - VkBool32 shaderStorageImageMultisamplemultisample images can be used for storage images - VkBool32 shaderStorageImageReadWithoutFormatread from storage image does not require format qualifier - VkBool32 shaderStorageImageWriteWithoutFormatwrite to storage image does not require format qualifier - VkBool32 shaderUniformBufferArrayDynamicIndexingarrays of uniform buffers can be accessed with dynamically uniform indices - VkBool32 shaderSampledImageArrayDynamicIndexingarrays of sampled images can be accessed with dynamically uniform indices - VkBool32 shaderStorageBufferArrayDynamicIndexingarrays of storage buffers can be accessed with dynamically uniform indices - VkBool32 shaderStorageImageArrayDynamicIndexingarrays of storage images can be accessed with dynamically uniform indices - VkBool32 shaderClipDistanceclip distance in shaders - VkBool32 shaderCullDistancecull distance in shaders - VkBool32 shaderFloat6464-bit floats (doubles) in shaders - VkBool32 shaderInt6464-bit integers in shaders - VkBool32 shaderInt1616-bit integers in shaders - VkBool32 shaderResourceResidencyshader can use texture operations that return resource residency information (requires sparseNonResident support) - VkBool32 shaderResourceMinLodshader can use texture operations that specify minimum resource LOD - VkBool32 sparseBindingSparse resources support: Resource memory can be managed at opaque page level rather than object level - VkBool32 sparseResidencyBufferSparse resources support: GPU can access partially resident buffers - VkBool32 sparseResidencyImage2DSparse resources support: GPU can access partially resident 2D (non-MSAA non-depth/stencil) images - VkBool32 sparseResidencyImage3DSparse resources support: GPU can access partially resident 3D images - VkBool32 sparseResidency2SamplesSparse resources support: GPU can access partially resident MSAA 2D images with 2 samples - VkBool32 sparseResidency4SamplesSparse resources support: GPU can access partially resident MSAA 2D images with 4 samples - VkBool32 sparseResidency8SamplesSparse resources support: GPU can access partially resident MSAA 2D images with 8 samples - VkBool32 sparseResidency16SamplesSparse resources support: GPU can access partially resident MSAA 2D images with 16 samples - VkBool32 sparseResidencyAliasedSparse resources support: GPU can correctly access data aliased into multiple locations (opt-in) - VkBool32 variableMultisampleRatemultisample rate must be the same for all pipelines in a subpass - VkBool32 inheritedQueriesQueries may be inherited from primary to secondary command buffers - - - VkBool32 residencyStandard2DBlockShapeSparse resources support: GPU will access all 2D (single sample) sparse resources using the standard sparse image block shapes (based on pixel format) - VkBool32 residencyStandard2DMultisampleBlockShapeSparse resources support: GPU will access all 2D (multisample) sparse resources using the standard sparse image block shapes (based on pixel format) - VkBool32 residencyStandard3DBlockShapeSparse resources support: GPU will access all 3D sparse resources using the standard sparse image block shapes (based on pixel format) - VkBool32 residencyAlignedMipSizeSparse resources support: Images with mip level dimensions that are NOT a multiple of the sparse image block dimensions will be placed in the mip tail - VkBool32 residencyNonResidentStrictSparse resources support: GPU can consistently access non-resident regions of a resource, all reads return as if data is 0, writes are discarded - - - resource maximum sizes - uint32_t maxImageDimension1Dmax 1D image dimension - uint32_t maxImageDimension2Dmax 2D image dimension - uint32_t maxImageDimension3Dmax 3D image dimension - uint32_t maxImageDimensionCubemax cubemap image dimension - uint32_t maxImageArrayLayersmax layers for image arrays - uint32_t maxTexelBufferElementsmax texel buffer size (fstexels) - uint32_t maxUniformBufferRangemax uniform buffer range (bytes) - uint32_t maxStorageBufferRangemax storage buffer range (bytes) - uint32_t maxPushConstantsSizemax size of the push constants pool (bytes) - memory limits - uint32_t maxMemoryAllocationCountmax number of device memory allocations supported - uint32_t maxSamplerAllocationCountmax number of samplers that can be allocated on a device - VkDeviceSize bufferImageGranularityGranularity (in bytes) at which buffers and images can be bound to adjacent memory for simultaneous usage - VkDeviceSize sparseAddressSpaceSizeTotal address space available for sparse allocations (bytes) - descriptor set limits - uint32_t maxBoundDescriptorSetsmax number of descriptors sets that can be bound to a pipeline - uint32_t maxPerStageDescriptorSamplersmax number of samplers allowed per-stage in a descriptor set - uint32_t maxPerStageDescriptorUniformBuffersmax number of uniform buffers allowed per-stage in a descriptor set - uint32_t maxPerStageDescriptorStorageBuffersmax number of storage buffers allowed per-stage in a descriptor set - uint32_t maxPerStageDescriptorSampledImagesmax number of sampled images allowed per-stage in a descriptor set - uint32_t maxPerStageDescriptorStorageImagesmax number of storage images allowed per-stage in a descriptor set - uint32_t maxPerStageDescriptorInputAttachmentsmax number of input attachments allowed per-stage in a descriptor set - uint32_t maxPerStageResourcesmax number of resources allowed by a single stage - uint32_t maxDescriptorSetSamplersmax number of samplers allowed in all stages in a descriptor set - uint32_t maxDescriptorSetUniformBuffersmax number of uniform buffers allowed in all stages in a descriptor set - uint32_t maxDescriptorSetUniformBuffersDynamicmax number of dynamic uniform buffers allowed in all stages in a descriptor set - uint32_t maxDescriptorSetStorageBuffersmax number of storage buffers allowed in all stages in a descriptor set - uint32_t maxDescriptorSetStorageBuffersDynamicmax number of dynamic storage buffers allowed in all stages in a descriptor set - uint32_t maxDescriptorSetSampledImagesmax number of sampled images allowed in all stages in a descriptor set - uint32_t maxDescriptorSetStorageImagesmax number of storage images allowed in all stages in a descriptor set - uint32_t maxDescriptorSetInputAttachmentsmax number of input attachments allowed in all stages in a descriptor set - vertex stage limits - uint32_t maxVertexInputAttributesmax number of vertex input attribute slots - uint32_t maxVertexInputBindingsmax number of vertex input binding slots - uint32_t maxVertexInputAttributeOffsetmax vertex input attribute offset added to vertex buffer offset - uint32_t maxVertexInputBindingStridemax vertex input binding stride - uint32_t maxVertexOutputComponentsmax number of output components written by vertex shader - tessellation control stage limits - uint32_t maxTessellationGenerationLevelmax level supported by tessellation primitive generator - uint32_t maxTessellationPatchSizemax patch size (vertices) - uint32_t maxTessellationControlPerVertexInputComponentsmax number of input components per-vertex in TCS - uint32_t maxTessellationControlPerVertexOutputComponentsmax number of output components per-vertex in TCS - uint32_t maxTessellationControlPerPatchOutputComponentsmax number of output components per-patch in TCS - uint32_t maxTessellationControlTotalOutputComponentsmax total number of per-vertex and per-patch output components in TCS - tessellation evaluation stage limits - uint32_t maxTessellationEvaluationInputComponentsmax number of input components per vertex in TES - uint32_t maxTessellationEvaluationOutputComponentsmax number of output components per vertex in TES - geometry stage limits - uint32_t maxGeometryShaderInvocationsmax invocation count supported in geometry shader - uint32_t maxGeometryInputComponentsmax number of input components read in geometry stage - uint32_t maxGeometryOutputComponentsmax number of output components written in geometry stage - uint32_t maxGeometryOutputVerticesmax number of vertices that can be emitted in geometry stage - uint32_t maxGeometryTotalOutputComponentsmax total number of components (all vertices) written in geometry stage - fragment stage limits - uint32_t maxFragmentInputComponentsmax number of input compontents read in fragment stage - uint32_t maxFragmentOutputAttachmentsmax number of output attachments written in fragment stage - uint32_t maxFragmentDualSrcAttachmentsmax number of output attachments written when using dual source blending - uint32_t maxFragmentCombinedOutputResourcesmax total number of storage buffers, storage images and output buffers - compute stage limits - uint32_t maxComputeSharedMemorySizemax total storage size of work group local storage (bytes) - uint32_t maxComputeWorkGroupCount[3]max num of compute work groups that may be dispatched by a single command (x,y,z) - uint32_t maxComputeWorkGroupInvocationsmax total compute invocations in a single local work group - uint32_t maxComputeWorkGroupSize[3]max local size of a compute work group (x,y,z) - uint32_t subPixelPrecisionBitsnumber bits of subpixel precision in screen x and y - uint32_t subTexelPrecisionBitsnumber bits of precision for selecting texel weights - uint32_t mipmapPrecisionBitsnumber bits of precision for selecting mipmap weights - uint32_t maxDrawIndexedIndexValuemax index value for indexed draw calls (for 32-bit indices) - uint32_t maxDrawIndirectCountmax draw count for indirect draw calls - float maxSamplerLodBiasmax absolute sampler LOD bias - float maxSamplerAnisotropymax degree of sampler anisotropy - uint32_t maxViewportsmax number of active viewports - uint32_t maxViewportDimensions[2]max viewport dimensions (x,y) - float viewportBoundsRange[2]viewport bounds range (min,max) - uint32_t viewportSubPixelBitsnumber bits of subpixel precision for viewport - size_t minMemoryMapAlignmentmin required alignment of pointers returned by MapMemory (bytes) - VkDeviceSize minTexelBufferOffsetAlignmentmin required alignment for texel buffer offsets (bytes) - VkDeviceSize minUniformBufferOffsetAlignmentmin required alignment for uniform buffer sizes and offsets (bytes) - VkDeviceSize minStorageBufferOffsetAlignmentmin required alignment for storage buffer offsets (bytes) - int32_t minTexelOffsetmin texel offset for OpTextureSampleOffset - uint32_t maxTexelOffsetmax texel offset for OpTextureSampleOffset - int32_t minTexelGatherOffsetmin texel offset for OpTextureGatherOffset - uint32_t maxTexelGatherOffsetmax texel offset for OpTextureGatherOffset - float minInterpolationOffsetfurthest negative offset for interpolateAtOffset - float maxInterpolationOffsetfurthest positive offset for interpolateAtOffset - uint32_t subPixelInterpolationOffsetBitsnumber of subpixel bits for interpolateAtOffset - uint32_t maxFramebufferWidthmax width for a framebuffer - uint32_t maxFramebufferHeightmax height for a framebuffer - uint32_t maxFramebufferLayersmax layer count for a layered framebuffer - VkSampleCountFlags framebufferColorSampleCountssupported color sample counts for a framebuffer - VkSampleCountFlags framebufferDepthSampleCountssupported depth sample counts for a framebuffer - VkSampleCountFlags framebufferStencilSampleCountssupported stencil sample counts for a framebuffer - VkSampleCountFlags framebufferNoAttachmentsSampleCountssupported sample counts for a framebuffer with no attachments - uint32_t maxColorAttachmentsmax number of color attachments per subpass - VkSampleCountFlags sampledImageColorSampleCountssupported color sample counts for a non-integer sampled image - VkSampleCountFlags sampledImageIntegerSampleCountssupported sample counts for an integer image - VkSampleCountFlags sampledImageDepthSampleCountssupported depth sample counts for a sampled image - VkSampleCountFlags sampledImageStencilSampleCountssupported stencil sample counts for a sampled image - VkSampleCountFlags storageImageSampleCountssupported sample counts for a storage image - uint32_t maxSampleMaskWordsmax number of sample mask words - VkBool32 timestampComputeAndGraphicstimestamps on graphics and compute queues - float timestampPeriodnumber of nanoseconds it takes for timestamp query value to increment by 1 - uint32_t maxClipDistancesmax number of clip distances - uint32_t maxCullDistancesmax number of cull distances - uint32_t maxCombinedClipAndCullDistancesmax combined number of user clipping - uint32_t discreteQueuePrioritiesdistinct queue priorities available - float pointSizeRange[2]range (min,max) of supported point sizes - float lineWidthRange[2]range (min,max) of supported line widths - float pointSizeGranularitygranularity of supported point sizes - float lineWidthGranularitygranularity of supported line widths - VkBool32 strictLinesline rasterization follows preferred rules - VkBool32 standardSampleLocationssupports standard sample locations for all supported sample counts - VkDeviceSize optimalBufferCopyOffsetAlignmentoptimal offset of buffer copies - VkDeviceSize optimalBufferCopyRowPitchAlignmentoptimal pitch of buffer copies - VkDeviceSize nonCoherentAtomSizeminimum size and alignment for non-coherent host-mapped device memory access - - - VkStructureType sType - const void* pNext - VkSemaphoreCreateFlags flagsSemaphore creation flags - - - VkStructureType sType - const void* pNext - VkQueryPoolCreateFlags flags - VkQueryType queryType - uint32_t queryCount - VkQueryPipelineStatisticFlags pipelineStatisticsOptional - - - VkStructureType sType - const void* pNext - VkFramebufferCreateFlags flags - VkRenderPass renderPass - uint32_t attachmentCount - const VkImageView* pAttachments - uint32_t width - uint32_t height - uint32_t layers - - - uint32_t vertexCount - uint32_t instanceCount - uint32_t firstVertex - uint32_t firstInstance - - - uint32_t indexCount - uint32_t instanceCount - uint32_t firstIndex - int32_t vertexOffset - uint32_t firstInstance - - - uint32_t x - uint32_t y - uint32_t z - - - VkStructureType sType - const void* pNext - uint32_t waitSemaphoreCount - const VkSemaphore* pWaitSemaphores - const VkPipelineStageFlags* pWaitDstStageMask - uint32_t commandBufferCount - const VkCommandBuffer* pCommandBuffers - uint32_t signalSemaphoreCount - const VkSemaphore* pSignalSemaphores - - WSI extensions - - VkDisplayKHR displayHandle of the display object - const char* displayNameName of the display - VkExtent2D physicalDimensionsIn millimeters? - VkExtent2D physicalResolutionMax resolution for CRT? - VkSurfaceTransformFlagsKHR supportedTransformsone or more bits from VkSurfaceTransformFlagsKHR - VkBool32 planeReorderPossibleVK_TRUE if the overlay plane's z-order can be changed on this display. - VkBool32 persistentContentVK_TRUE if this is a "smart" display that supports self-refresh/internal buffering. - - - VkDisplayKHR currentDisplayDisplay the plane is currently associated with. Will be VK_NULL_HANDLE if the plane is not in use. - uint32_t currentStackIndexCurrent z-order of the plane. - - - VkExtent2D visibleRegionVisible scanout region. - uint32_t refreshRateNumber of times per second the display is updated. - - - VkDisplayModeKHR displayModeHandle of this display mode. - VkDisplayModeParametersKHR parametersThe parameters this mode uses. - - - VkStructureType sType - const void* pNext - VkDisplayModeCreateFlagsKHR flags - VkDisplayModeParametersKHR parametersThe parameters this mode uses. - - - VkDisplayPlaneAlphaFlagsKHR supportedAlphaTypes of alpha blending supported, if any. - VkOffset2D minSrcPositionDoes the plane have any position and extent restrictions? - VkOffset2D maxSrcPosition - VkExtent2D minSrcExtent - VkExtent2D maxSrcExtent - VkOffset2D minDstPosition - VkOffset2D maxDstPosition - VkExtent2D minDstExtent - VkExtent2D maxDstExtent - - - VkStructureType sType - const void* pNext - VkDisplaySurfaceCreateFlagsKHR flags - VkDisplayModeKHR displayModeThe mode to use when displaying this surface - uint32_t planeIndexThe plane on which this surface appears. Must be between 0 and the value returned by vkGetPhysicalDeviceDisplayPlanePropertiesKHR() in pPropertyCount. - uint32_t planeStackIndexThe z-order of the plane. - VkSurfaceTransformFlagBitsKHR transformTransform to apply to the images as part of the scanout operation - float globalAlphaGlobal alpha value. Must be between 0 and 1, inclusive. Ignored if alphaMode is not VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR - VkDisplayPlaneAlphaFlagBitsKHR alphaModeWhat type of alpha blending to use. Must be a bit from vkGetDisplayPlanePropertiesKHR::supportedAlpha. - VkExtent2D imageExtentsize of the images to use with this surface - - - VkStructureType sType - const void* pNext - VkRect2D srcRectRectangle within the presentable image to read pixel data from when presenting to the display. - VkRect2D dstRectRectangle within the current display mode's visible region to display srcRectangle in. - VkBool32 persistentFor smart displays, use buffered mode. If the display properties member "persistentMode" is VK_FALSE, this member must always be VK_FALSE. - - - uint32_t minImageCountSupported minimum number of images for the surface - uint32_t maxImageCountSupported maximum number of images for the surface, 0 for unlimited - VkExtent2D currentExtentCurrent image width and height for the surface, (0, 0) if undefined - VkExtent2D minImageExtentSupported minimum image width and height for the surface - VkExtent2D maxImageExtentSupported maximum image width and height for the surface - uint32_t maxImageArrayLayersSupported maximum number of image layers for the surface - VkSurfaceTransformFlagsKHR supportedTransforms1 or more bits representing the transforms supported - VkSurfaceTransformFlagBitsKHR currentTransformThe surface's current transform relative to the device's natural orientation - VkCompositeAlphaFlagsKHR supportedCompositeAlpha1 or more bits representing the alpha compositing modes supported - VkImageUsageFlags supportedUsageFlagsSupported image usage flags for the surface - - - VkStructureType sType - const void* pNext - VkAndroidSurfaceCreateFlagsKHR flags - ANativeWindow* window - - - VkStructureType sType - const void* pNext - VkMirSurfaceCreateFlagsKHR flags - MirConnection* connection - MirSurface* mirSurface - - - VkStructureType sType - const void* pNext - VkViSurfaceCreateFlagsNN flags - void* window - - - VkStructureType sType - const void* pNext - VkWaylandSurfaceCreateFlagsKHR flags - struct wl_display* display - struct wl_surface* surface - - - VkStructureType sType - const void* pNext - VkWin32SurfaceCreateFlagsKHR flags - HINSTANCE hinstance - HWND hwnd - - - VkStructureType sType - const void* pNext - VkXlibSurfaceCreateFlagsKHR flags - Display* dpy - Window window - - - VkStructureType sType - const void* pNext - VkXcbSurfaceCreateFlagsKHR flags - xcb_connection_t* connection - xcb_window_t window - - - VkFormat formatSupported pair of rendering format - VkColorSpaceKHR colorSpaceand color space for the surface - - - VkStructureType sType - const void* pNext - VkSwapchainCreateFlagsKHR flags - VkSurfaceKHR surfaceThe swapchain's target surface - uint32_t minImageCountMinimum number of presentation images the application needs - VkFormat imageFormatFormat of the presentation images - VkColorSpaceKHR imageColorSpaceColorspace of the presentation images - VkExtent2D imageExtentDimensions of the presentation images - uint32_t imageArrayLayersDetermines the number of views for multiview/stereo presentation - VkImageUsageFlags imageUsageBits indicating how the presentation images will be used - VkSharingMode imageSharingModeSharing mode used for the presentation images - uint32_t queueFamilyIndexCountNumber of queue families having access to the images in case of concurrent sharing mode - const uint32_t* pQueueFamilyIndicesArray of queue family indices having access to the images in case of concurrent sharing mode - VkSurfaceTransformFlagBitsKHR preTransformThe transform, relative to the device's natural orientation, applied to the image content prior to presentation - VkCompositeAlphaFlagBitsKHR compositeAlphaThe alpha blending mode used when compositing this surface with other surfaces in the window system - VkPresentModeKHR presentModeWhich presentation mode to use for presents on this swap chain - VkBool32 clippedSpecifies whether presentable images may be affected by window clip regions - VkSwapchainKHR oldSwapchainExisting swap chain to replace, if any - - - VkStructureType sType - const void* pNext - uint32_t waitSemaphoreCountNumber of semaphores to wait for before presenting - const VkSemaphore* pWaitSemaphoresSemaphores to wait for before presenting - uint32_t swapchainCountNumber of swapchains to present in this call - const VkSwapchainKHR* pSwapchainsSwapchains to present an image from - const uint32_t* pImageIndicesIndices of which presentable images to present - VkResult* pResultsOptional (i.e. if non-NULL) VkResult for each swapchain - - - VkStructureType sType - const void* pNext - VkDebugReportFlagsEXT flagsIndicates which events call this callback - PFN_vkDebugReportCallbackEXT pfnCallbackFunction pointer of a callback function - void* pUserDataUser data provided to callback function - - - VkStructureType sTypeMust be VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT - const void* pNext - uint32_t disabledValidationCheckCountNumber of validation checks to disable - VkValidationCheckEXT* pDisabledValidationChecksValidation checks to disable - - - VkStructureType sType - const void* pNext - VkRasterizationOrderAMD rasterizationOrderRasterization order to use for the pipeline - - - VkStructureType sType - const void* pNext - VkDebugReportObjectTypeEXT objectTypeThe type of the object - uint64_t objectThe handle of the object, cast to uint64_t - const char* pObjectNameName to apply to the object - - - VkStructureType sType - const void* pNext - VkDebugReportObjectTypeEXT objectTypeThe type of the object - uint64_t objectThe handle of the object, cast to uint64_t - uint64_t tagNameThe name of the tag to set on the object - size_t tagSizeThe length in bytes of the tag data - const void* pTagTag data to attach to the object - - - VkStructureType sType - const void* pNext - const char* pMarkerNameName of the debug marker - float color[4]Optional color for debug marker - - - VkStructureType sType - const void* pNext - VkBool32 dedicatedAllocationWhether this image uses a dedicated allocation - - - VkStructureType sType - const void* pNext - VkBool32 dedicatedAllocationWhether this buffer uses a dedicated allocation - - - VkStructureType sType - const void* pNext - VkImage imageImage that this allocation will be bound to - VkBuffer bufferBuffer that this allocation will be bound to - - - VkImageFormatProperties imageFormatProperties - VkExternalMemoryFeatureFlagsNV externalMemoryFeatures - VkExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes - VkExternalMemoryHandleTypeFlagsNV compatibleHandleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsNV handleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsNV handleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsNV handleType - HANDLE handle - - - VkStructureType sType - const void* pNext - const SECURITY_ATTRIBUTES* pAttributes - DWORD dwAccess - - - VkStructureType sType - const void* pNext - uint32_t acquireCount - const VkDeviceMemory* pAcquireSyncs - const uint64_t* pAcquireKeys - const uint32_t* pAcquireTimeoutMilliseconds - uint32_t releaseCount - const VkDeviceMemory* pReleaseSyncs - const uint64_t* pReleaseKeys - - - VkStructureType sType - const void* pNext - VkBool32 computeBindingPointSupport - - - VkStructureType sType - const void* pNext - uint32_t maxIndirectCommandsLayoutTokenCount - uint32_t maxObjectEntryCounts - uint32_t minSequenceCountBufferOffsetAlignment - uint32_t minSequenceIndexBufferOffsetAlignment - uint32_t minCommandsTokenBufferOffsetAlignment - - - VkIndirectCommandsTokenTypeNVX tokenType - VkBuffer bufferbuffer containing tableEntries and additional data for indirectCommands - VkDeviceSize offsetoffset from the base address of the buffer - - - VkIndirectCommandsTokenTypeNVX tokenType - uint32_t bindingUnitBinding unit for vertex attribute / descriptor set, offset for pushconstants - uint32_t dynamicCountNumber of variable dynamic values for descriptor set / push constants - uint32_t divisorRate the which the array is advanced per element (must be power of 2, minimum 1) - - - VkStructureType sType - const void* pNext - VkPipelineBindPoint pipelineBindPoint - VkIndirectCommandsLayoutUsageFlagsNVX flags - uint32_t tokenCount - const VkIndirectCommandsLayoutTokenNVX* pTokens - - - VkStructureType sType - const void* pNext - VkObjectTableNVX objectTable - VkIndirectCommandsLayoutNVX indirectCommandsLayout - uint32_t indirectCommandsTokenCount - const VkIndirectCommandsTokenNVX* pIndirectCommandsTokens - uint32_t maxSequencesCount - VkCommandBuffer targetCommandBuffer - VkBuffer sequencesCountBuffer - VkDeviceSize sequencesCountOffset - VkBuffer sequencesIndexBuffer - VkDeviceSize sequencesIndexOffset - - - VkStructureType sType - const void* pNext - VkObjectTableNVX objectTable - VkIndirectCommandsLayoutNVX indirectCommandsLayout - uint32_t maxSequencesCount - - - VkStructureType sType - const void* pNext - uint32_t objectCount - const VkObjectEntryTypeNVX* pObjectEntryTypes - const uint32_t* pObjectEntryCounts - const VkObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags - - uint32_t maxUniformBuffersPerDescriptor - uint32_t maxStorageBuffersPerDescriptor - uint32_t maxStorageImagesPerDescriptor - uint32_t maxSampledImagesPerDescriptor - uint32_t maxPipelineLayouts - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - VkPipeline pipeline - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - VkPipelineLayout pipelineLayout - VkDescriptorSet descriptorSet - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - VkBuffer buffer - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - VkBuffer buffer - VkIndexType indexType - - - VkObjectEntryTypeNVX type - VkObjectEntryUsageFlagsNVX flags - VkPipelineLayout pipelineLayout - VkShaderStageFlags stageFlags - - - VkStructureType sType - void* pNext - VkPhysicalDeviceFeatures features - - - VkStructureType sType - void* pNext - VkPhysicalDeviceProperties properties - - - VkStructureType sType - void* pNext - VkFormatProperties formatProperties - - - VkStructureType sType - void* pNext - VkImageFormatProperties imageFormatProperties - - - VkStructureType sType - const void* pNext - VkFormat format - VkImageType type - VkImageTiling tiling - VkImageUsageFlags usage - VkImageCreateFlags flags - - - VkStructureType sType - void* pNext - VkQueueFamilyProperties queueFamilyProperties - - - VkStructureType sType - void* pNext - VkPhysicalDeviceMemoryProperties memoryProperties - - - VkStructureType sType - void* pNext - VkSparseImageFormatProperties properties - - - VkStructureType sType - const void* pNext - VkFormat format - VkImageType type - VkSampleCountFlagBits samples - VkImageUsageFlags usage - VkImageTiling tiling - - - VkStructureType sType - void* pNext - uint32_t maxPushDescriptors - - - VkStructureType sType - const void* pNext - uint32_t swapchainCountCopy of VkPresentInfoKHR::swapchainCount - const VkPresentRegionKHR* pRegionsThe regions that have changed - - - uint32_t rectangleCountNumber of rectangles in pRectangles - const VkRectLayerKHR* pRectanglesArray of rectangles that have changed in a swapchain's image(s) - - - VkOffset2D offsetupper-left corner of a rectangle that has not changed, in pixels of a presentation images - VkExtent2D extentDimensions of a rectangle that has not changed, in pixels of a presentation images - uint32_t layerLayer of a swapchain's image(s), for stereoscopic-3D images - - - VkStructureType sType - void* pNext - VkBool32 variablePointersStorageBuffer - VkBool32 variablePointers - - - VkExternalMemoryFeatureFlagsKHR externalMemoryFeatures - VkExternalMemoryHandleTypeFlagsKHR exportFromImportedHandleTypes - VkExternalMemoryHandleTypeFlagsKHR compatibleHandleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - void* pNext - VkExternalMemoryPropertiesKHR externalMemoryProperties - - - VkStructureType sType - const void* pNext - VkBufferCreateFlags flags - VkBufferUsageFlags usage - VkExternalMemoryHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - void* pNext - VkExternalMemoryPropertiesKHR externalMemoryProperties - - - VkStructureType sType - void* pNext - uint8_t deviceUUID[VK_UUID_SIZE] - uint8_t driverUUID[VK_UUID_SIZE] - uint8_t deviceLUID[VK_LUID_SIZE_KHR] - uint32_t deviceNodeMask - VkBool32 deviceLUIDValid - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsKHR handleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsKHR handleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagsKHR handleTypes - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagBitsKHR handleType - HANDLE handle - LPCWSTR name - - - VkStructureType sType - const void* pNext - const SECURITY_ATTRIBUTES* pAttributes - DWORD dwAccess - LPCWSTR name - - - VkStructureType sType - void* pNext - uint32_t memoryTypeBits - - - VkStructureType sType - const void* pNext - VkDeviceMemory memory - VkExternalMemoryHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagBitsKHR handleType - int fd - - - VkStructureType sType - void* pNext - uint32_t memoryTypeBits - - - VkStructureType sType - const void* pNext - VkDeviceMemory memory - VkExternalMemoryHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - const void* pNext - uint32_t acquireCount - const VkDeviceMemory* pAcquireSyncs - const uint64_t* pAcquireKeys - const uint32_t* pAcquireTimeouts - uint32_t releaseCount - const VkDeviceMemory* pReleaseSyncs - const uint64_t* pReleaseKeys - - - VkStructureType sType - const void* pNext - VkExternalSemaphoreHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - void* pNext - VkExternalSemaphoreHandleTypeFlagsKHR exportFromImportedHandleTypes - VkExternalSemaphoreHandleTypeFlagsKHR compatibleHandleTypes - VkExternalSemaphoreFeatureFlagsKHR externalSemaphoreFeatures - - - VkStructureType sType - const void* pNext - VkExternalSemaphoreHandleTypeFlagsKHR handleTypes - - - VkStructureType sType - const void* pNext - VkSemaphore semaphore - VkSemaphoreImportFlagsKHR flags - VkExternalSemaphoreHandleTypeFlagBitsKHR handleType - HANDLE handle - LPCWSTR name - - - VkStructureType sType - const void* pNext - const SECURITY_ATTRIBUTES* pAttributes - DWORD dwAccess - LPCWSTR name - - - VkStructureType sType - const void* pNext - uint32_t waitSemaphoreValuesCount - const uint64_t* pWaitSemaphoreValues - uint32_t signalSemaphoreValuesCount - const uint64_t* pSignalSemaphoreValues - - - VkStructureType sType - const void* pNext - VkSemaphore semaphore - VkExternalSemaphoreHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - const void* pNext - VkSemaphore semaphore - VkSemaphoreImportFlagsKHR flags - VkExternalSemaphoreHandleTypeFlagBitsKHR handleType - int fd - - - VkStructureType sType - const void* pNext - VkSemaphore semaphore - VkExternalSemaphoreHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - const void* pNext - VkExternalFenceHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - void* pNext - VkExternalFenceHandleTypeFlagsKHR exportFromImportedHandleTypes - VkExternalFenceHandleTypeFlagsKHR compatibleHandleTypes - VkExternalFenceFeatureFlagsKHR externalFenceFeatures - - - VkStructureType sType - const void* pNext - VkExternalFenceHandleTypeFlagsKHR handleTypes - - - VkStructureType sType - const void* pNext - VkFence fence - VkFenceImportFlagsKHR flags - VkExternalFenceHandleTypeFlagBitsKHR handleType - HANDLE handle - LPCWSTR name - - - VkStructureType sType - const void* pNext - const SECURITY_ATTRIBUTES* pAttributes - DWORD dwAccess - LPCWSTR name - - - VkStructureType sType - const void* pNext - VkFence fence - VkExternalFenceHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - const void* pNext - VkFence fence - VkFenceImportFlagsKHR flags - VkExternalFenceHandleTypeFlagBitsKHR handleType - int fd - - - VkStructureType sType - const void* pNext - VkFence fence - VkExternalFenceHandleTypeFlagBitsKHR handleType - - - VkStructureType sType - void* pNext - VkBool32 multiviewMultiple views in a renderpass - VkBool32 multiviewGeometryShaderMultiple views in a renderpass w/ geometry shader - VkBool32 multiviewTessellationShaderMultiple views in a renderpass w/ tessellation shader - - - VkStructureType sType - void* pNext - uint32_t maxMultiviewViewCountmax number of views in a subpass - uint32_t maxMultiviewInstanceIndexmax instance index for a draw in a multiview subpass - - - VkStructureType sType - const void* pNext - uint32_t subpassCount - const uint32_t* pViewMasks - uint32_t dependencyCount - const int32_t* pViewOffsets - uint32_t correlationMaskCount - const uint32_t* pCorrelationMasks - - - VkStructureType sType - void* pNext - uint32_t minImageCountSupported minimum number of images for the surface - uint32_t maxImageCountSupported maximum number of images for the surface, 0 for unlimited - VkExtent2D currentExtentCurrent image width and height for the surface, (0, 0) if undefined - VkExtent2D minImageExtentSupported minimum image width and height for the surface - VkExtent2D maxImageExtentSupported maximum image width and height for the surface - uint32_t maxImageArrayLayersSupported maximum number of image layers for the surface - VkSurfaceTransformFlagsKHR supportedTransforms1 or more bits representing the transforms supported - VkSurfaceTransformFlagBitsKHR currentTransformThe surface's current transform relative to the device's natural orientation - VkCompositeAlphaFlagsKHR supportedCompositeAlpha1 or more bits representing the alpha compositing modes supported - VkImageUsageFlags supportedUsageFlagsSupported image usage flags for the surface - VkSurfaceCounterFlagsEXT supportedSurfaceCounters - - - VkStructureType sType - const void* pNext - VkDisplayPowerStateEXT powerState - - - VkStructureType sType - const void* pNext - VkDeviceEventTypeEXT deviceEvent - - - VkStructureType sType - const void* pNext - VkDisplayEventTypeEXT displayEvent - - - VkStructureType sType - const void* pNext - VkSurfaceCounterFlagsEXT surfaceCounters - - - VkStructureType sType - void* pNext - uint32_t physicalDeviceCount - VkPhysicalDevice physicalDevices[VK_MAX_DEVICE_GROUP_SIZE_KHX] - VkBool32 subsetAllocation - - - VkStructureType sType - const void* pNext - VkMemoryAllocateFlagsKHX flags - uint32_t deviceMask - - - VkStructureType sType - const void* pNext - VkBuffer buffer - VkDeviceMemory memory - VkDeviceSize memoryOffset - - - VkStructureType sType - const void* pNext - uint32_t deviceIndexCount - const uint32_t* pDeviceIndices - - - VkStructureType sType - const void* pNext - VkImage image - VkDeviceMemory memory - VkDeviceSize memoryOffset - - - VkStructureType sType - const void* pNext - uint32_t deviceIndexCount - const uint32_t* pDeviceIndices - uint32_t SFRRectCount - const VkRect2D* pSFRRects - - - VkStructureType sType - const void* pNext - uint32_t deviceMask - uint32_t deviceRenderAreaCount - const VkRect2D* pDeviceRenderAreas - - - VkStructureType sType - const void* pNext - uint32_t deviceMask - - - VkStructureType sType - const void* pNext - uint32_t waitSemaphoreCount - const uint32_t* pWaitSemaphoreDeviceIndices - uint32_t commandBufferCount - const uint32_t* pCommandBufferDeviceMasks - uint32_t signalSemaphoreCount - const uint32_t* pSignalSemaphoreDeviceIndices - - - VkStructureType sType - const void* pNext - uint32_t resourceDeviceIndex - uint32_t memoryDeviceIndex - - - VkStructureType sType - const void* pNext - uint32_t presentMask[VK_MAX_DEVICE_GROUP_SIZE_KHX] - VkDeviceGroupPresentModeFlagsKHX modes - - - VkStructureType sType - const void* pNext - VkSwapchainKHR swapchain - - - VkStructureType sType - const void* pNext - VkSwapchainKHR swapchain - uint32_t imageIndex - - - VkStructureType sType - const void* pNext - VkSwapchainKHR swapchain - uint64_t timeout - VkSemaphore semaphore - VkFence fence - uint32_t deviceMask - - - VkStructureType sType - const void* pNext - uint32_t swapchainCount - const uint32_t* pDeviceMasks - VkDeviceGroupPresentModeFlagBitsKHX mode - - - VkStructureType sType - const void* pNext - uint32_t physicalDeviceCount - const VkPhysicalDevice* pPhysicalDevices - - - VkStructureType sType - const void* pNext - VkDeviceGroupPresentModeFlagsKHX modes - - - uint32_t dstBindingBinding within the destination descriptor set to write - uint32_t dstArrayElementArray element within the destination binding to write - uint32_t descriptorCountNumber of descriptors to write - VkDescriptorType descriptorTypeDescriptor type to write - size_t offsetOffset into pData where the descriptors to update are stored - size_t strideStride between two descriptors in pData when writing more than one descriptor - - - VkStructureType sType - void* pNext - VkDescriptorUpdateTemplateCreateFlagsKHR flags - uint32_t descriptorUpdateEntryCountNumber of descriptor update entries to use for the update template - const VkDescriptorUpdateTemplateEntryKHR* pDescriptorUpdateEntriesDescriptor update entries for the template - VkDescriptorUpdateTemplateTypeKHR templateType - VkDescriptorSetLayout descriptorSetLayout - VkPipelineBindPoint pipelineBindPoint - VkPipelineLayoutpipelineLayoutIf used for push descriptors, this is the only allowed layout - uint32_t set - - - float x - float y - - - Display primary in chromaticity coordinates - VkStructureType sType - const void* pNext - From SMPTE 2086 - VkXYColorEXT displayPrimaryRedDisplay primary's Red - VkXYColorEXT displayPrimaryGreenDisplay primary's Green - VkXYColorEXT displayPrimaryBlueDisplay primary's Blue - VkXYColorEXT whitePointDisplay primary's Blue - float maxLuminanceDisplay maximum luminance - float minLuminanceDisplay minimum luminance - From CTA 861.3 - float maxContentLightLevelContent maximum luminance - float maxFrameAverageLightLevel - - - uint64_t refreshDurationNumber of nanoseconds from the start of one refresh cycle to the next - - - uint32_t presentIDApplication-provided identifier, previously given to vkQueuePresentKHR - uint64_t desiredPresentTimeEarliest time an image should have been presented, previously given to vkQueuePresentKHR - uint64_t actualPresentTimeTime the image was actually displayed - uint64_t earliestPresentTimeEarliest time the image could have been displayed - uint64_t presentMarginHow early vkQueuePresentKHR was processed vs. how soon it needed to be and make earliestPresentTime - - - VkStructureType sType - const void* pNext - uint32_t swapchainCountCopy of VkPresentInfoKHR::swapchainCount - const VkPresentTimeGOOGLE* pTimesThe earliest times to present images - - - uint32_t presentIDApplication-provided identifier - uint64_t desiredPresentTimeEarliest time an image should be presented - - - VkStructureType sType - const void* pNext - VkIOSSurfaceCreateFlagsMVK flags - const void* pView - - - VkStructureType sType - const void* pNext - VkMacOSSurfaceCreateFlagsMVK flags - const void* pView - - - float xcoeff - float ycoeff - - - VkStructureType sType - const void* pNext - VkBool32 viewportWScalingEnable - uint32_t viewportCount - const VkViewportWScalingNV* pViewportWScalings - - - VkViewportCoordinateSwizzleNV x - VkViewportCoordinateSwizzleNV y - VkViewportCoordinateSwizzleNV z - VkViewportCoordinateSwizzleNV w - - - VkStructureType sType - const void* pNext - VkPipelineViewportSwizzleStateCreateFlagsNV flags - uint32_t viewportCount - const VkViewportSwizzleNV* pViewportSwizzles - - - VkStructureType sType - void* pNext - uint32_t maxDiscardRectanglesmax number of active discard rectangles - - - VkStructureType sType - const void* pNext - VkPipelineDiscardRectangleStateCreateFlagsEXT flags - VkDiscardRectangleModeEXT discardRectangleMode - uint32_t discardRectangleCount - const VkRect2D* pDiscardRectangles - - - VkStructureType sType - void* pNext - VkBool32 perViewPositionAllComponents - - - uint32_t subpass - uint32_t inputAttachmentIndex - VkImageAspectFlags aspectMask - - - VkStructureType sType - const void* pNext - uint32_t aspectReferenceCount - const VkInputAttachmentAspectReferenceKHR* pAspectReferences - - - VkStructureType sType - const void* pNext - VkSurfaceKHR surface - - - VkStructureType sType - void* pNext - VkSurfaceCapabilitiesKHR surfaceCapabilities - - - VkStructureType sType - void* pNext - VkSurfaceFormatKHR surfaceFormat - - - VkStructureType sType - void* pNext - VkImageUsageFlags sharedPresentSupportedUsageFlagsSupported image usage flags if swapchain created using a shared present mode - - - VkStructureType sType - void* pNext - VkBool32 storageBuffer16BitAccess16-bit integer/floating-point variables supported in BufferBlock - VkBool32 uniformAndStorageBuffer16BitAccess16-bit integer/floating-point variables supported in BufferBlock and Block - VkBool32 storagePushConstant1616-bit integer/floating-point variables supported in PushConstant - VkBool32 storageInputOutput1616-bit integer/floating-point variables supported in shader inputs and outputs - - - VkStructureType sType - const void* pNext - VkBuffer buffer - - - VkStructureType sType - const void* pNext - VkImage image - - - VkStructureType sType - const void* pNext - VkImage image - - - VkStructureType sType - void* pNext - VkMemoryRequirements memoryRequirements - - - VkStructureType sType - void* pNext - VkSparseImageMemoryRequirements memoryRequirements - - - VkStructureType sType - void* pNext - VkPointClippingBehaviorKHR pointClippingBehavior - - - VkStructureType sType - void* pNext - VkBool32 prefersDedicatedAllocation - VkBool32 requiresDedicatedAllocation - - - VkStructureType sType - const void* pNext - VkImage imageImage that this allocation will be bound to - VkBuffer bufferBuffer that this allocation will be bound to - - - VkStructureType sType - const void* pNext - VkImageUsageFlags usage - - - VkStructureType sType - const void* pNext - VkTessellationDomainOriginKHR domainOrigin - - - VkStructureType sType - const void* pNext - VkSamplerYcbcrConversionKHR conversion - - - VkStructureType sType - const void* pNext - VkFormat format - VkSamplerYcbcrModelConversionKHR ycbcrModel - VkSamplerYcbcrRangeKHR ycbcrRange - VkComponentMapping components - VkChromaLocationKHR xChromaOffset - VkChromaLocationKHR yChromaOffset - VkFilter chromaFilter - VkBool32 forceExplicitReconstruction - - - VkStructureType sType - const void* pNext - VkImageAspectFlagBits planeAspect - - - VkStructureType sType - const void* pNext - VkImageAspectFlagBits planeAspect - - - VkStructureType sType - void* pNext - VkBool32 samplerYcbcrConversionSampler color conversion supported - - - VkStructureType sType - void* pNext - uint32_t combinedImageSamplerDescriptorCount - - - VkStructureType sType - void* pNext - VkBool32 supportsTextureGatherLODBiasAMD - - - VkStructureType sType - const void* pNext - VkPipelineCoverageToColorStateCreateFlagsNV flags - VkBool32 coverageToColorEnable - uint32_t coverageToColorLocation - - - VkStructureType sType - void* pNext - VkBool32 filterMinmaxSingleComponentFormats - VkBool32 filterMinmaxImageComponentMapping - - - float x - float y - - - VkStructureType sType - const void* pNext - VkSampleCountFlagBits sampleLocationsPerPixel - VkExtent2D sampleLocationGridSize - uint32_t sampleLocationsCount - const VkSampleLocationEXT* pSampleLocations - - - uint32_t attachmentIndex - VkSampleLocationsInfoEXT sampleLocationsInfo - - - uint32_t subpassIndex - VkSampleLocationsInfoEXT sampleLocationsInfo - - - VkStructureType sType - const void* pNext - uint32_t attachmentInitialSampleLocationsCount - const VkAttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations - uint32_t postSubpassSampleLocationsCount - const VkSubpassSampleLocationsEXT* pPostSubpassSampleLocations - - - VkStructureType sType - const void* pNext - VkBool32 sampleLocationsEnable - VkSampleLocationsInfoEXT sampleLocationsInfo - - - VkStructureType sType - void* pNext - VkSampleCountFlags sampleLocationSampleCounts - VkExtent2D maxSampleLocationGridSize - float sampleLocationCoordinateRange[2] - uint32_t sampleLocationSubPixelBits - VkBool32 variableSampleLocations - - - VkStructureType sType - void* pNext - VkExtent2D maxSampleLocationGridSize - - - VkStructureType sType - const void* pNext - VkSamplerReductionModeEXT reductionMode - - - VkStructureType sType - void* pNext - VkBool32 advancedBlendCoherentOperations - - - VkStructureType sType - void* pNext - uint32_t advancedBlendMaxColorAttachments - VkBool32 advancedBlendIndependentBlend - VkBool32 advancedBlendNonPremultipliedSrcColor - VkBool32 advancedBlendNonPremultipliedDstColor - VkBool32 advancedBlendCorrelatedOverlap - VkBool32 advancedBlendAllOperations - - - VkStructureType sType - const void* pNext - VkBool32 srcPremultiplied - VkBool32 dstPremultiplied - VkBlendOverlapEXT blendOverlap - - - VkStructureType sType - const void* pNext - VkPipelineCoverageModulationStateCreateFlagsNV flags - VkCoverageModulationModeNV coverageModulationMode - VkBool32 coverageModulationTableEnable - uint32_t coverageModulationTableCount - const float* pCoverageModulationTable - - - VkStructureType sType - const void* pNext - uint32_t viewFormatCount - const VkFormat* pViewFormats - - - VkStructureType sType - const void* pNext - VkValidationCacheCreateFlagsEXT flags - size_t initialDataSize - const void* pInitialData - - - VkStructureType sType - const void* pNext - VkValidationCacheEXT validationCache - - - VkStructureType sType - const void* pNext - const void* handle - int stride - int format - int usage - - - uint32_t numUsedVgprs - uint32_t numUsedSgprs - uint32_t ldsSizePerLocalWorkGroup - size_t ldsUsageSizeInBytes - size_t scratchMemUsageInBytes - - - VkShaderStageFlags shaderStageMask - VkShaderResourceUsageAMD resourceUsage - uint32_t numPhysicalVgprs - uint32_t numPhysicalSgprs - uint32_t numAvailableVgprs - uint32_t numAvailableSgprs - uint32_t computeWorkGroupSize[3] - - - VkStructureType sType - const void* pNext - VkQueueGlobalPriorityEXT globalPriority - - - VkStructureType sType - const void* pNext - VkExternalMemoryHandleTypeFlagBitsKHR handleType - void* pHostPointer - - - VkStructureType sType - void* pNext - uint32_t memoryTypeBits - - - VkStructureType sType - void* pNext - VkDeviceSize minImportedHostPointerAlignment - - - VkStructureType sType - void* pNextPointer to next structure - float primitiveOverestimationSizeThe size in pixels the primitive is enlarged at each edge during conservative rasterization - float maxExtraPrimitiveOverestimationSizeThe maximum additional overestimation the client can specify in the pipeline state - float extraPrimitiveOverestimationSizeGranularityThe granularity of extra overestimation sizes the implementations supports between 0 and maxExtraOverestimationSize - VkBool32 primitiveUnderestimationtrue if the implementation supports conservative rasterization underestimation mode - VkBool32 conservativePointAndLineRasterizationtrue if conservative rasterization also applies to points and lines - VkBool32 degenerateTrianglesRasterizedtrue if degenerate triangles (those with zero area after snap) are rasterized - VkBool32 degenerateLinesRasterizedtrue if degenerate lines (those with zero length after snap) are rasterized - VkBool32 fullyCoveredFragmentShaderInputVariabletrue if the implementation supports the FullyCoveredEXT SPIR-V builtin fragment shader input - variable - VkBool32 conservativeRasterizationPostDepthCoveragetrue if the implementation supports both conservative rasterization and post depth coverage sample coverage mask - - - VkStructureType sType - const void* pNext - VkPipelineRasterizationConservativeStateCreateFlagsEXT flags - VkConservativeRasterizationModeEXT conservativeRasterizationMode - float extraPrimitiveOverestimationSize - - - - Vulkan enumerant (token) definitions - - - - - - - - - - - - - - - - - - - - - - - - - Unlike OpenGL, most tokens in Vulkan are actual typed enumerants in - their own numeric namespaces. The "name" attribute is the C enum - type name, and is pulled in from a type tag definition above - (slightly clunky, but retains the type / enum distinction). "type" - attributes of "enum" or "bitmask" indicate that these values should - be generated inside an appropriate definition. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - value="4" reserved for VK_KHR_sampler_mirror_clamp_to_edge - enum VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE; do not - alias! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Return codes (positive values) - - - - - - - Error codes (negative values) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Flags - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WSI Extensions - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Placeholder for validation enums to be defined for VK_EXT_Validation_flags extension - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VkResult vkCreateInstance - const VkInstanceCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkInstance* pInstance - - - void vkDestroyInstance - VkInstance instance - const VkAllocationCallbacks* pAllocator - - - VkResult vkEnumeratePhysicalDevices - VkInstance instance - uint32_t* pPhysicalDeviceCount - VkPhysicalDevice* pPhysicalDevices - - - PFN_vkVoidFunction vkGetDeviceProcAddr - VkDevice device - const char* pName - - - PFN_vkVoidFunction vkGetInstanceProcAddr - VkInstance instance - const char* pName - - - void vkGetPhysicalDeviceProperties - VkPhysicalDevice physicalDevice - VkPhysicalDeviceProperties* pProperties - - - void vkGetPhysicalDeviceQueueFamilyProperties - VkPhysicalDevice physicalDevice - uint32_t* pQueueFamilyPropertyCount - VkQueueFamilyProperties* pQueueFamilyProperties - - - void vkGetPhysicalDeviceMemoryProperties - VkPhysicalDevice physicalDevice - VkPhysicalDeviceMemoryProperties* pMemoryProperties - - - void vkGetPhysicalDeviceFeatures - VkPhysicalDevice physicalDevice - VkPhysicalDeviceFeatures* pFeatures - - - void vkGetPhysicalDeviceFormatProperties - VkPhysicalDevice physicalDevice - VkFormat format - VkFormatProperties* pFormatProperties - - - VkResult vkGetPhysicalDeviceImageFormatProperties - VkPhysicalDevice physicalDevice - VkFormat format - VkImageType type - VkImageTiling tiling - VkImageUsageFlags usage - VkImageCreateFlags flags - VkImageFormatProperties* pImageFormatProperties - - - VkResult vkCreateDevice - VkPhysicalDevice physicalDevice - const VkDeviceCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDevice* pDevice - - - void vkDestroyDevice - VkDevice device - const VkAllocationCallbacks* pAllocator - - - VkResult vkEnumerateInstanceLayerProperties - uint32_t* pPropertyCount - VkLayerProperties* pProperties - - - VkResult vkEnumerateInstanceExtensionProperties - const char* pLayerName - uint32_t* pPropertyCount - VkExtensionProperties* pProperties - - - VkResult vkEnumerateDeviceLayerProperties - VkPhysicalDevice physicalDevice - uint32_t* pPropertyCount - VkLayerProperties* pProperties - - - VkResult vkEnumerateDeviceExtensionProperties - VkPhysicalDevice physicalDevice - const char* pLayerName - uint32_t* pPropertyCount - VkExtensionProperties* pProperties - - - void vkGetDeviceQueue - VkDevice device - uint32_t queueFamilyIndex - uint32_t queueIndex - VkQueue* pQueue - - - VkResult vkQueueSubmit - VkQueue queue - uint32_t submitCount - const VkSubmitInfo* pSubmits - VkFence fence - - - VkResult vkQueueWaitIdle - VkQueue queue - - - VkResult vkDeviceWaitIdle - VkDevice device - - all sname:VkQueue objects created from pname:device - - - - VkResult vkAllocateMemory - VkDevice device - const VkMemoryAllocateInfo* pAllocateInfo - const VkAllocationCallbacks* pAllocator - VkDeviceMemory* pMemory - - - void vkFreeMemory - VkDevice device - VkDeviceMemory memory - const VkAllocationCallbacks* pAllocator - - - VkResult vkMapMemory - VkDevice device - VkDeviceMemory memory - VkDeviceSize offset - VkDeviceSize size - VkMemoryMapFlags flags - void** ppData - - - void vkUnmapMemory - VkDevice device - VkDeviceMemory memory - - - VkResult vkFlushMappedMemoryRanges - VkDevice device - uint32_t memoryRangeCount - const VkMappedMemoryRange* pMemoryRanges - - - VkResult vkInvalidateMappedMemoryRanges - VkDevice device - uint32_t memoryRangeCount - const VkMappedMemoryRange* pMemoryRanges - - - void vkGetDeviceMemoryCommitment - VkDevice device - VkDeviceMemory memory - VkDeviceSize* pCommittedMemoryInBytes - - - void vkGetBufferMemoryRequirements - VkDevice device - VkBuffer buffer - VkMemoryRequirements* pMemoryRequirements - - - VkResult vkBindBufferMemory - VkDevice device - VkBuffer buffer - VkDeviceMemory memory - VkDeviceSize memoryOffset - - - void vkGetImageMemoryRequirements - VkDevice device - VkImage image - VkMemoryRequirements* pMemoryRequirements - - - VkResult vkBindImageMemory - VkDevice device - VkImage image - VkDeviceMemory memory - VkDeviceSize memoryOffset - - - void vkGetImageSparseMemoryRequirements - VkDevice device - VkImage image - uint32_t* pSparseMemoryRequirementCount - VkSparseImageMemoryRequirements* pSparseMemoryRequirements - - - void vkGetPhysicalDeviceSparseImageFormatProperties - VkPhysicalDevice physicalDevice - VkFormat format - VkImageType type - VkSampleCountFlagBits samples - VkImageUsageFlags usage - VkImageTiling tiling - uint32_t* pPropertyCount - VkSparseImageFormatProperties* pProperties - - - VkResult vkQueueBindSparse - VkQueue queue - uint32_t bindInfoCount - const VkBindSparseInfo* pBindInfo - VkFence fence - - - VkResult vkCreateFence - VkDevice device - const VkFenceCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkFence* pFence - - - void vkDestroyFence - VkDevice device - VkFence fence - const VkAllocationCallbacks* pAllocator - - - VkResult vkResetFences - VkDevice device - uint32_t fenceCount - const VkFence* pFences - - - VkResult vkGetFenceStatus - VkDevice device - VkFence fence - - - VkResult vkWaitForFences - VkDevice device - uint32_t fenceCount - const VkFence* pFences - VkBool32 waitAll - uint64_t timeout - - - VkResult vkCreateSemaphore - VkDevice device - const VkSemaphoreCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSemaphore* pSemaphore - - - void vkDestroySemaphore - VkDevice device - VkSemaphore semaphore - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateEvent - VkDevice device - const VkEventCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkEvent* pEvent - - - void vkDestroyEvent - VkDevice device - VkEvent event - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetEventStatus - VkDevice device - VkEvent event - - - VkResult vkSetEvent - VkDevice device - VkEvent event - - - VkResult vkResetEvent - VkDevice device - VkEvent event - - - VkResult vkCreateQueryPool - VkDevice device - const VkQueryPoolCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkQueryPool* pQueryPool - - - void vkDestroyQueryPool - VkDevice device - VkQueryPool queryPool - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetQueryPoolResults - VkDevice device - VkQueryPool queryPool - uint32_t firstQuery - uint32_t queryCount - size_t dataSize - void* pData - VkDeviceSize stride - VkQueryResultFlags flags - - - VkResult vkCreateBuffer - VkDevice device - const VkBufferCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkBuffer* pBuffer - - - void vkDestroyBuffer - VkDevice device - VkBuffer buffer - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateBufferView - VkDevice device - const VkBufferViewCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkBufferView* pView - - - void vkDestroyBufferView - VkDevice device - VkBufferView bufferView - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateImage - VkDevice device - const VkImageCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkImage* pImage - - - void vkDestroyImage - VkDevice device - VkImage image - const VkAllocationCallbacks* pAllocator - - - void vkGetImageSubresourceLayout - VkDevice device - VkImage image - const VkImageSubresource* pSubresource - VkSubresourceLayout* pLayout - - - VkResult vkCreateImageView - VkDevice device - const VkImageViewCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkImageView* pView - - - void vkDestroyImageView - VkDevice device - VkImageView imageView - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateShaderModule - VkDevice device - const VkShaderModuleCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkShaderModule* pShaderModule - - - void vkDestroyShaderModule - VkDevice device - VkShaderModule shaderModule - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreatePipelineCache - VkDevice device - const VkPipelineCacheCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkPipelineCache* pPipelineCache - - - void vkDestroyPipelineCache - VkDevice device - VkPipelineCache pipelineCache - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetPipelineCacheData - VkDevice device - VkPipelineCache pipelineCache - size_t* pDataSize - void* pData - - - VkResult vkMergePipelineCaches - VkDevice device - VkPipelineCache dstCache - uint32_t srcCacheCount - const VkPipelineCache* pSrcCaches - - - VkResult vkCreateGraphicsPipelines - VkDevice device - VkPipelineCache pipelineCache - uint32_t createInfoCount - const VkGraphicsPipelineCreateInfo* pCreateInfos - const VkAllocationCallbacks* pAllocator - VkPipeline* pPipelines - - - VkResult vkCreateComputePipelines - VkDevice device - VkPipelineCache pipelineCache - uint32_t createInfoCount - const VkComputePipelineCreateInfo* pCreateInfos - const VkAllocationCallbacks* pAllocator - VkPipeline* pPipelines - - - void vkDestroyPipeline - VkDevice device - VkPipeline pipeline - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreatePipelineLayout - VkDevice device - const VkPipelineLayoutCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkPipelineLayout* pPipelineLayout - - - void vkDestroyPipelineLayout - VkDevice device - VkPipelineLayout pipelineLayout - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateSampler - VkDevice device - const VkSamplerCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSampler* pSampler - - - void vkDestroySampler - VkDevice device - VkSampler sampler - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateDescriptorSetLayout - VkDevice device - const VkDescriptorSetLayoutCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDescriptorSetLayout* pSetLayout - - - void vkDestroyDescriptorSetLayout - VkDevice device - VkDescriptorSetLayout descriptorSetLayout - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateDescriptorPool - VkDevice device - const VkDescriptorPoolCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDescriptorPool* pDescriptorPool - - - void vkDestroyDescriptorPool - VkDevice device - VkDescriptorPool descriptorPool - const VkAllocationCallbacks* pAllocator - - - VkResult vkResetDescriptorPool - VkDevice device - VkDescriptorPool descriptorPool - VkDescriptorPoolResetFlags flags - - any sname:VkDescriptorSet objects allocated from pname:descriptorPool - - - - VkResult vkAllocateDescriptorSets - VkDevice device - const VkDescriptorSetAllocateInfo* pAllocateInfo - VkDescriptorSet* pDescriptorSets - - - VkResult vkFreeDescriptorSets - VkDevice device - VkDescriptorPool descriptorPool - uint32_t descriptorSetCount - const VkDescriptorSet* pDescriptorSets - - - void vkUpdateDescriptorSets - VkDevice device - uint32_t descriptorWriteCount - const VkWriteDescriptorSet* pDescriptorWrites - uint32_t descriptorCopyCount - const VkCopyDescriptorSet* pDescriptorCopies - - - VkResult vkCreateFramebuffer - VkDevice device - const VkFramebufferCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkFramebuffer* pFramebuffer - - - void vkDestroyFramebuffer - VkDevice device - VkFramebuffer framebuffer - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateRenderPass - VkDevice device - const VkRenderPassCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkRenderPass* pRenderPass - - - void vkDestroyRenderPass - VkDevice device - VkRenderPass renderPass - const VkAllocationCallbacks* pAllocator - - - void vkGetRenderAreaGranularity - VkDevice device - VkRenderPass renderPass - VkExtent2D* pGranularity - - - VkResult vkCreateCommandPool - VkDevice device - const VkCommandPoolCreateInfo* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkCommandPool* pCommandPool - - - void vkDestroyCommandPool - VkDevice device - VkCommandPool commandPool - const VkAllocationCallbacks* pAllocator - - - VkResult vkResetCommandPool - VkDevice device - VkCommandPool commandPool - VkCommandPoolResetFlags flags - - - VkResult vkAllocateCommandBuffers - VkDevice device - const VkCommandBufferAllocateInfo* pAllocateInfo - VkCommandBuffer* pCommandBuffers - - - void vkFreeCommandBuffers - VkDevice device - VkCommandPool commandPool - uint32_t commandBufferCount - const VkCommandBuffer* pCommandBuffers - - - VkResult vkBeginCommandBuffer - VkCommandBuffer commandBuffer - const VkCommandBufferBeginInfo* pBeginInfo - - the sname:VkCommandPool that pname:commandBuffer was allocated from - - - - VkResult vkEndCommandBuffer - VkCommandBuffer commandBuffer - - the sname:VkCommandPool that pname:commandBuffer was allocated from - - - - VkResult vkResetCommandBuffer - VkCommandBuffer commandBuffer - VkCommandBufferResetFlags flags - - - void vkCmdBindPipeline - VkCommandBuffer commandBuffer - VkPipelineBindPoint pipelineBindPoint - VkPipeline pipeline - - - void vkCmdSetViewport - VkCommandBuffer commandBuffer - uint32_t firstViewport - uint32_t viewportCount - const VkViewport* pViewports - - - void vkCmdSetScissor - VkCommandBuffer commandBuffer - uint32_t firstScissor - uint32_t scissorCount - const VkRect2D* pScissors - - - void vkCmdSetLineWidth - VkCommandBuffer commandBuffer - float lineWidth - - - void vkCmdSetDepthBias - VkCommandBuffer commandBuffer - float depthBiasConstantFactor - float depthBiasClamp - float depthBiasSlopeFactor - - - void vkCmdSetBlendConstants - VkCommandBuffer commandBuffer - const float blendConstants[4] - - - void vkCmdSetDepthBounds - VkCommandBuffer commandBuffer - float minDepthBounds - float maxDepthBounds - - - void vkCmdSetStencilCompareMask - VkCommandBuffer commandBuffer - VkStencilFaceFlags faceMask - uint32_t compareMask - - - void vkCmdSetStencilWriteMask - VkCommandBuffer commandBuffer - VkStencilFaceFlags faceMask - uint32_t writeMask - - - void vkCmdSetStencilReference - VkCommandBuffer commandBuffer - VkStencilFaceFlags faceMask - uint32_t reference - - - void vkCmdBindDescriptorSets - VkCommandBuffer commandBuffer - VkPipelineBindPoint pipelineBindPoint - VkPipelineLayout layout - uint32_t firstSet - uint32_t descriptorSetCount - const VkDescriptorSet* pDescriptorSets - uint32_t dynamicOffsetCount - const uint32_t* pDynamicOffsets - - - void vkCmdBindIndexBuffer - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - VkIndexType indexType - - - void vkCmdBindVertexBuffers - VkCommandBuffer commandBuffer - uint32_t firstBinding - uint32_t bindingCount - const VkBuffer* pBuffers - const VkDeviceSize* pOffsets - - - void vkCmdDraw - VkCommandBuffer commandBuffer - uint32_t vertexCount - uint32_t instanceCount - uint32_t firstVertex - uint32_t firstInstance - - - void vkCmdDrawIndexed - VkCommandBuffer commandBuffer - uint32_t indexCount - uint32_t instanceCount - uint32_t firstIndex - int32_t vertexOffset - uint32_t firstInstance - - - void vkCmdDrawIndirect - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - uint32_t drawCount - uint32_t stride - - - void vkCmdDrawIndexedIndirect - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - uint32_t drawCount - uint32_t stride - - - void vkCmdDispatch - VkCommandBuffer commandBuffer - uint32_t groupCountX - uint32_t groupCountY - uint32_t groupCountZ - - - void vkCmdDispatchIndirect - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - - - void vkCmdCopyBuffer - VkCommandBuffer commandBuffer - VkBuffer srcBuffer - VkBuffer dstBuffer - uint32_t regionCount - const VkBufferCopy* pRegions - - - void vkCmdCopyImage - VkCommandBuffer commandBuffer - VkImage srcImage - VkImageLayout srcImageLayout - VkImage dstImage - VkImageLayout dstImageLayout - uint32_t regionCount - const VkImageCopy* pRegions - - - void vkCmdBlitImage - VkCommandBuffer commandBuffer - VkImage srcImage - VkImageLayout srcImageLayout - VkImage dstImage - VkImageLayout dstImageLayout - uint32_t regionCount - const VkImageBlit* pRegions - VkFilter filter - - - void vkCmdCopyBufferToImage - VkCommandBuffer commandBuffer - VkBuffer srcBuffer - VkImage dstImage - VkImageLayout dstImageLayout - uint32_t regionCount - const VkBufferImageCopy* pRegions - - - void vkCmdCopyImageToBuffer - VkCommandBuffer commandBuffer - VkImage srcImage - VkImageLayout srcImageLayout - VkBuffer dstBuffer - uint32_t regionCount - const VkBufferImageCopy* pRegions - - - void vkCmdUpdateBuffer - VkCommandBuffer commandBuffer - VkBuffer dstBuffer - VkDeviceSize dstOffset - VkDeviceSize dataSize - const void* pData - - - void vkCmdFillBuffer - VkCommandBuffer commandBuffer - VkBuffer dstBuffer - VkDeviceSize dstOffset - VkDeviceSize size - uint32_t data - - - void vkCmdClearColorImage - VkCommandBuffer commandBuffer - VkImage image - VkImageLayout imageLayout - const VkClearColorValue* pColor - uint32_t rangeCount - const VkImageSubresourceRange* pRanges - - - void vkCmdClearDepthStencilImage - VkCommandBuffer commandBuffer - VkImage image - VkImageLayout imageLayout - const VkClearDepthStencilValue* pDepthStencil - uint32_t rangeCount - const VkImageSubresourceRange* pRanges - - - void vkCmdClearAttachments - VkCommandBuffer commandBuffer - uint32_t attachmentCount - const VkClearAttachment* pAttachments - uint32_t rectCount - const VkClearRect* pRects - - - void vkCmdResolveImage - VkCommandBuffer commandBuffer - VkImage srcImage - VkImageLayout srcImageLayout - VkImage dstImage - VkImageLayout dstImageLayout - uint32_t regionCount - const VkImageResolve* pRegions - - - void vkCmdSetEvent - VkCommandBuffer commandBuffer - VkEvent event - VkPipelineStageFlags stageMask - - - void vkCmdResetEvent - VkCommandBuffer commandBuffer - VkEvent event - VkPipelineStageFlags stageMask - - - void vkCmdWaitEvents - VkCommandBuffer commandBuffer - uint32_t eventCount - const VkEvent* pEvents - VkPipelineStageFlags srcStageMask - VkPipelineStageFlags dstStageMask - uint32_t memoryBarrierCount - const VkMemoryBarrier* pMemoryBarriers - uint32_t bufferMemoryBarrierCount - const VkBufferMemoryBarrier* pBufferMemoryBarriers - uint32_t imageMemoryBarrierCount - const VkImageMemoryBarrier* pImageMemoryBarriers - - - void vkCmdPipelineBarrier - VkCommandBuffer commandBuffer - VkPipelineStageFlags srcStageMask - VkPipelineStageFlags dstStageMask - VkDependencyFlags dependencyFlags - uint32_t memoryBarrierCount - const VkMemoryBarrier* pMemoryBarriers - uint32_t bufferMemoryBarrierCount - const VkBufferMemoryBarrier* pBufferMemoryBarriers - uint32_t imageMemoryBarrierCount - const VkImageMemoryBarrier* pImageMemoryBarriers - - - void vkCmdBeginQuery - VkCommandBuffer commandBuffer - VkQueryPool queryPool - uint32_t query - VkQueryControlFlags flags - - - void vkCmdEndQuery - VkCommandBuffer commandBuffer - VkQueryPool queryPool - uint32_t query - - - void vkCmdResetQueryPool - VkCommandBuffer commandBuffer - VkQueryPool queryPool - uint32_t firstQuery - uint32_t queryCount - - - void vkCmdWriteTimestamp - VkCommandBuffer commandBuffer - VkPipelineStageFlagBits pipelineStage - VkQueryPool queryPool - uint32_t query - - - void vkCmdCopyQueryPoolResults - VkCommandBuffer commandBuffer - VkQueryPool queryPool - uint32_t firstQuery - uint32_t queryCount - VkBuffer dstBuffer - VkDeviceSize dstOffset - VkDeviceSize stride - VkQueryResultFlags flags - - - void vkCmdPushConstants - VkCommandBuffer commandBuffer - VkPipelineLayout layout - VkShaderStageFlags stageFlags - uint32_t offset - uint32_t size - const void* pValues - - - void vkCmdBeginRenderPass - VkCommandBuffer commandBuffer - const VkRenderPassBeginInfo* pRenderPassBegin - VkSubpassContents contents - - - void vkCmdNextSubpass - VkCommandBuffer commandBuffer - VkSubpassContents contents - - - void vkCmdEndRenderPass - VkCommandBuffer commandBuffer - - - void vkCmdExecuteCommands - VkCommandBuffer commandBuffer - uint32_t commandBufferCount - const VkCommandBuffer* pCommandBuffers - - - VkResult vkCreateAndroidSurfaceKHR - VkInstance instance - const VkAndroidSurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkResult vkGetPhysicalDeviceDisplayPropertiesKHR - VkPhysicalDevice physicalDevice - uint32_t* pPropertyCount - VkDisplayPropertiesKHR* pProperties - - - VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR - VkPhysicalDevice physicalDevice - uint32_t* pPropertyCount - VkDisplayPlanePropertiesKHR* pProperties - - - VkResult vkGetDisplayPlaneSupportedDisplaysKHR - VkPhysicalDevice physicalDevice - uint32_t planeIndex - uint32_t* pDisplayCount - VkDisplayKHR* pDisplays - - - VkResult vkGetDisplayModePropertiesKHR - VkPhysicalDevice physicalDevice - VkDisplayKHR display - uint32_t* pPropertyCount - VkDisplayModePropertiesKHR* pProperties - - - VkResult vkCreateDisplayModeKHR - VkPhysicalDevice physicalDevice - VkDisplayKHR display - const VkDisplayModeCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDisplayModeKHR* pMode - - - VkResult vkGetDisplayPlaneCapabilitiesKHR - VkPhysicalDevice physicalDevice - VkDisplayModeKHR mode - uint32_t planeIndex - VkDisplayPlaneCapabilitiesKHR* pCapabilities - - - VkResult vkCreateDisplayPlaneSurfaceKHR - VkInstance instance - const VkDisplaySurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkResult vkCreateSharedSwapchainsKHR - VkDevice device - uint32_t swapchainCount - const VkSwapchainCreateInfoKHR* pCreateInfos - const VkAllocationCallbacks* pAllocator - VkSwapchainKHR* pSwapchains - - - VkResult vkCreateMirSurfaceKHR - VkInstance instance - const VkMirSurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - MirConnection* connection - - - void vkDestroySurfaceKHR - VkInstance instance - VkSurfaceKHR surface - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetPhysicalDeviceSurfaceSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - VkSurfaceKHR surface - VkBool32* pSupported - - - VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR - VkPhysicalDevice physicalDevice - VkSurfaceKHR surface - VkSurfaceCapabilitiesKHR* pSurfaceCapabilities - - - VkResult vkGetPhysicalDeviceSurfaceFormatsKHR - VkPhysicalDevice physicalDevice - VkSurfaceKHR surface - uint32_t* pSurfaceFormatCount - VkSurfaceFormatKHR* pSurfaceFormats - - - VkResult vkGetPhysicalDeviceSurfacePresentModesKHR - VkPhysicalDevice physicalDevice - VkSurfaceKHR surface - uint32_t* pPresentModeCount - VkPresentModeKHR* pPresentModes - - - VkResult vkCreateSwapchainKHR - VkDevice device - const VkSwapchainCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSwapchainKHR* pSwapchain - - - void vkDestroySwapchainKHR - VkDevice device - VkSwapchainKHR swapchain - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetSwapchainImagesKHR - VkDevice device - VkSwapchainKHR swapchain - uint32_t* pSwapchainImageCount - VkImage* pSwapchainImages - - - VkResult vkAcquireNextImageKHR - VkDevice device - VkSwapchainKHR swapchain - uint64_t timeout - VkSemaphore semaphore - VkFence fence - uint32_t* pImageIndex - - - VkResult vkQueuePresentKHR - VkQueue queue - const VkPresentInfoKHR* pPresentInfo - - - VkResult vkCreateViSurfaceNN - VkInstance instance - const VkViSurfaceCreateInfoNN* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkResult vkCreateWaylandSurfaceKHR - VkInstance instance - const VkWaylandSurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - struct wl_display* display - - - VkResult vkCreateWin32SurfaceKHR - VkInstance instance - const VkWin32SurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - - - VkResult vkCreateXlibSurfaceKHR - VkInstance instance - const VkXlibSurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - Display* dpy - VisualID visualID - - - VkResult vkCreateXcbSurfaceKHR - VkInstance instance - const VkXcbSurfaceCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR - VkPhysicalDevice physicalDevice - uint32_t queueFamilyIndex - xcb_connection_t* connection - xcb_visualid_t visual_id - - - VkResult vkCreateDebugReportCallbackEXT - VkInstance instance - const VkDebugReportCallbackCreateInfoEXT* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDebugReportCallbackEXT* pCallback - - - void vkDestroyDebugReportCallbackEXT - VkInstance instance - VkDebugReportCallbackEXT callback - const VkAllocationCallbacks* pAllocator - - - void vkDebugReportMessageEXT - VkInstance instance - VkDebugReportFlagsEXT flags - VkDebugReportObjectTypeEXT objectType - uint64_t object - size_t location - int32_t messageCode - const char* pLayerPrefix - const char* pMessage - - - VkResult vkDebugMarkerSetObjectNameEXT - VkDevice device - const VkDebugMarkerObjectNameInfoEXT* pNameInfo - - - VkResult vkDebugMarkerSetObjectTagEXT - VkDevice device - const VkDebugMarkerObjectTagInfoEXT* pTagInfo - - - void vkCmdDebugMarkerBeginEXT - VkCommandBuffer commandBuffer - const VkDebugMarkerMarkerInfoEXT* pMarkerInfo - - - void vkCmdDebugMarkerEndEXT - VkCommandBuffer commandBuffer - - - void vkCmdDebugMarkerInsertEXT - VkCommandBuffer commandBuffer - const VkDebugMarkerMarkerInfoEXT* pMarkerInfo - - - VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV - VkPhysicalDevice physicalDevice - VkFormat format - VkImageType type - VkImageTiling tiling - VkImageUsageFlags usage - VkImageCreateFlags flags - VkExternalMemoryHandleTypeFlagsNV externalHandleType - VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties - - - VkResult vkGetMemoryWin32HandleNV - VkDevice device - VkDeviceMemory memory - VkExternalMemoryHandleTypeFlagsNV handleType - HANDLE* pHandle - - - void vkCmdDrawIndirectCountAMD - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - VkBuffer countBuffer - VkDeviceSize countBufferOffset - uint32_t maxDrawCount - uint32_t stride - - - void vkCmdDrawIndexedIndirectCountAMD - VkCommandBuffer commandBuffer - VkBuffer buffer - VkDeviceSize offset - VkBuffer countBuffer - VkDeviceSize countBufferOffset - uint32_t maxDrawCount - uint32_t stride - - - void vkCmdProcessCommandsNVX - VkCommandBuffer commandBuffer - const VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo - - - void vkCmdReserveSpaceForCommandsNVX - VkCommandBuffer commandBuffer - const VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo - - - VkResult vkCreateIndirectCommandsLayoutNVX - VkDevice device - const VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout - - - void vkDestroyIndirectCommandsLayoutNVX - VkDevice device - VkIndirectCommandsLayoutNVX indirectCommandsLayout - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateObjectTableNVX - VkDevice device - const VkObjectTableCreateInfoNVX* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkObjectTableNVX* pObjectTable - - - void vkDestroyObjectTableNVX - VkDevice device - VkObjectTableNVX objectTable - const VkAllocationCallbacks* pAllocator - - - VkResult vkRegisterObjectsNVX - VkDevice device - VkObjectTableNVX objectTable - uint32_t objectCount - const VkObjectTableEntryNVX* const* ppObjectTableEntries - const uint32_t* pObjectIndices - - - VkResult vkUnregisterObjectsNVX - VkDevice device - VkObjectTableNVX objectTable - uint32_t objectCount - const VkObjectEntryTypeNVX* pObjectEntryTypes - const uint32_t* pObjectIndices - - - void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX - VkPhysicalDevice physicalDevice - VkDeviceGeneratedCommandsFeaturesNVX* pFeatures - VkDeviceGeneratedCommandsLimitsNVX* pLimits - - - void vkGetPhysicalDeviceFeatures2KHR - VkPhysicalDevice physicalDevice - VkPhysicalDeviceFeatures2KHR* pFeatures - - - void vkGetPhysicalDeviceProperties2KHR - VkPhysicalDevice physicalDevice - VkPhysicalDeviceProperties2KHR* pProperties - - - void vkGetPhysicalDeviceFormatProperties2KHR - VkPhysicalDevice physicalDevice - VkFormat format - VkFormatProperties2KHR* pFormatProperties - - - VkResult vkGetPhysicalDeviceImageFormatProperties2KHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceImageFormatInfo2KHR* pImageFormatInfo - VkImageFormatProperties2KHR* pImageFormatProperties - - - void vkGetPhysicalDeviceQueueFamilyProperties2KHR - VkPhysicalDevice physicalDevice - uint32_t* pQueueFamilyPropertyCount - VkQueueFamilyProperties2KHR* pQueueFamilyProperties - - - void vkGetPhysicalDeviceMemoryProperties2KHR - VkPhysicalDevice physicalDevice - VkPhysicalDeviceMemoryProperties2KHR* pMemoryProperties - - - void vkGetPhysicalDeviceSparseImageFormatProperties2KHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo - uint32_t* pPropertyCount - VkSparseImageFormatProperties2KHR* pProperties - - - void vkCmdPushDescriptorSetKHR - VkCommandBuffer commandBuffer - VkPipelineBindPoint pipelineBindPoint - VkPipelineLayout layout - uint32_t set - uint32_t descriptorWriteCount - const VkWriteDescriptorSet* pDescriptorWrites - - - void vkTrimCommandPoolKHR - VkDevice device - VkCommandPool commandPool - VkCommandPoolTrimFlagsKHR flags - - - void vkGetPhysicalDeviceExternalBufferPropertiesKHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceExternalBufferInfoKHR* pExternalBufferInfo - VkExternalBufferPropertiesKHR* pExternalBufferProperties - - - VkResult vkGetMemoryWin32HandleKHR - VkDevice device - const VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo - HANDLE* pHandle - - - VkResult vkGetMemoryWin32HandlePropertiesKHR - VkDevice device - VkExternalMemoryHandleTypeFlagBitsKHR handleType - HANDLE handle - VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties - - - VkResult vkGetMemoryFdKHR - VkDevice device - const VkMemoryGetFdInfoKHR* pGetFdInfo - int* pFd - - - VkResult vkGetMemoryFdPropertiesKHR - VkDevice device - VkExternalMemoryHandleTypeFlagBitsKHR handleType - int fd - VkMemoryFdPropertiesKHR* pMemoryFdProperties - - - void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceExternalSemaphoreInfoKHR* pExternalSemaphoreInfo - VkExternalSemaphorePropertiesKHR* pExternalSemaphoreProperties - - - VkResult vkGetSemaphoreWin32HandleKHR - VkDevice device - const VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo - HANDLE* pHandle - - - VkResult vkImportSemaphoreWin32HandleKHR - VkDevice device - const VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo - - - VkResult vkGetSemaphoreFdKHR - VkDevice device - const VkSemaphoreGetFdInfoKHR* pGetFdInfo - int* pFd - - - VkResult vkImportSemaphoreFdKHR - VkDevice device - const VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo - - - void vkGetPhysicalDeviceExternalFencePropertiesKHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceExternalFenceInfoKHR* pExternalFenceInfo - VkExternalFencePropertiesKHR* pExternalFenceProperties - - - VkResult vkGetFenceWin32HandleKHR - VkDevice device - const VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo - HANDLE* pHandle - - - VkResult vkImportFenceWin32HandleKHR - VkDevice device - const VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo - - - VkResult vkGetFenceFdKHR - VkDevice device - const VkFenceGetFdInfoKHR* pGetFdInfo - int* pFd - - - VkResult vkImportFenceFdKHR - VkDevice device - const VkImportFenceFdInfoKHR* pImportFenceFdInfo - - - VkResult vkReleaseDisplayEXT - VkPhysicalDevice physicalDevice - VkDisplayKHR display - - - VkResult vkAcquireXlibDisplayEXT - VkPhysicalDevice physicalDevice - Display* dpy - VkDisplayKHR display - - - VkResult vkGetRandROutputDisplayEXT - VkPhysicalDevice physicalDevice - Display* dpy - RROutput rrOutput - VkDisplayKHR* pDisplay - - - VkResult vkDisplayPowerControlEXT - VkDevice device - VkDisplayKHR display - const VkDisplayPowerInfoEXT* pDisplayPowerInfo - - - VkResult vkRegisterDeviceEventEXT - VkDevice device - const VkDeviceEventInfoEXT* pDeviceEventInfo - const VkAllocationCallbacks* pAllocator - VkFence* pFence - - - VkResult vkRegisterDisplayEventEXT - VkDevice device - VkDisplayKHR display - const VkDisplayEventInfoEXT* pDisplayEventInfo - const VkAllocationCallbacks* pAllocator - VkFence* pFence - - - VkResult vkGetSwapchainCounterEXT - VkDevice device - VkSwapchainKHR swapchain - VkSurfaceCounterFlagBitsEXT counter - uint64_t* pCounterValue - - - VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT - VkPhysicalDevice physicalDevice - VkSurfaceKHR surface - VkSurfaceCapabilities2EXT* pSurfaceCapabilities - - - VkResult vkEnumeratePhysicalDeviceGroupsKHX - VkInstance instance - uint32_t* pPhysicalDeviceGroupCount - VkPhysicalDeviceGroupPropertiesKHX* pPhysicalDeviceGroupProperties - - - void vkGetDeviceGroupPeerMemoryFeaturesKHX - VkDevice device - uint32_t heapIndex - uint32_t localDeviceIndex - uint32_t remoteDeviceIndex - VkPeerMemoryFeatureFlagsKHX* pPeerMemoryFeatures - - - VkResult vkBindBufferMemory2KHR - VkDevice device - uint32_t bindInfoCount - const VkBindBufferMemoryInfoKHR* pBindInfos - - - VkResult vkBindImageMemory2KHR - VkDevice device - uint32_t bindInfoCount - const VkBindImageMemoryInfoKHR* pBindInfos - - - void vkCmdSetDeviceMaskKHX - VkCommandBuffer commandBuffer - uint32_t deviceMask - - - VkResult vkGetDeviceGroupPresentCapabilitiesKHX - VkDevice device - VkDeviceGroupPresentCapabilitiesKHX* pDeviceGroupPresentCapabilities - - - VkResult vkGetDeviceGroupSurfacePresentModesKHX - VkDevice device - VkSurfaceKHR surface - VkDeviceGroupPresentModeFlagsKHX* pModes - - - VkResult vkAcquireNextImage2KHX - VkDevice device - const VkAcquireNextImageInfoKHX* pAcquireInfo - uint32_t* pImageIndex - - - void vkCmdDispatchBaseKHX - VkCommandBuffer commandBuffer - uint32_t baseGroupX - uint32_t baseGroupY - uint32_t baseGroupZ - uint32_t groupCountX - uint32_t groupCountY - uint32_t groupCountZ - - - VkResult vkGetPhysicalDevicePresentRectanglesKHX - VkPhysicalDevice physicalDevice - VkSurfaceKHR surface - uint32_t* pRectCount - VkRect2D* pRects - - - VkResult vkCreateDescriptorUpdateTemplateKHR - VkDevice device - const VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate - - - void vkDestroyDescriptorUpdateTemplateKHR - VkDevice device - VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate - const VkAllocationCallbacks* pAllocator - - - void vkUpdateDescriptorSetWithTemplateKHR - VkDevice device - VkDescriptorSet descriptorSet - VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate - const void* pData - - - void vkCmdPushDescriptorSetWithTemplateKHR - VkCommandBuffer commandBuffer - VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate - VkPipelineLayout layout - uint32_t set - const void* pData - - - void vkSetHdrMetadataEXT - VkDevice device - uint32_t swapchainCount - const VkSwapchainKHR* pSwapchains - const VkHdrMetadataEXT* pMetadata - - - VkResult vkGetSwapchainStatusKHR - VkDevice device - VkSwapchainKHR swapchain - - - VkResult vkGetRefreshCycleDurationGOOGLE - VkDevice device - VkSwapchainKHR swapchain - VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties - - - VkResult vkGetPastPresentationTimingGOOGLE - VkDevice device - VkSwapchainKHR swapchain - uint32_t* pPresentationTimingCount - VkPastPresentationTimingGOOGLE* pPresentationTimings - - - VkResult vkCreateIOSSurfaceMVK - VkInstance instance - const VkIOSSurfaceCreateInfoMVK* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - VkResult vkCreateMacOSSurfaceMVK - VkInstance instance - const VkMacOSSurfaceCreateInfoMVK* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSurfaceKHR* pSurface - - - void vkCmdSetViewportWScalingNV - VkCommandBuffer commandBuffer - uint32_t firstViewport - uint32_t viewportCount - const VkViewportWScalingNV* pViewportWScalings - - - void vkCmdSetDiscardRectangleEXT - VkCommandBuffer commandBuffer - uint32_t firstDiscardRectangle - uint32_t discardRectangleCount - const VkRect2D* pDiscardRectangles - - - void vkCmdSetSampleLocationsEXT - VkCommandBuffer commandBuffer - const VkSampleLocationsInfoEXT* pSampleLocationsInfo - - - void vkGetPhysicalDeviceMultisamplePropertiesEXT - VkPhysicalDevice physicalDevice - VkSampleCountFlagBits samples - VkMultisamplePropertiesEXT* pMultisampleProperties - - - VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo - VkSurfaceCapabilities2KHR* pSurfaceCapabilities - - - VkResult vkGetPhysicalDeviceSurfaceFormats2KHR - VkPhysicalDevice physicalDevice - const VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo - uint32_t* pSurfaceFormatCount - VkSurfaceFormat2KHR* pSurfaceFormats - - - void vkGetBufferMemoryRequirements2KHR - VkDevice device - const VkBufferMemoryRequirementsInfo2KHR* pInfo - VkMemoryRequirements2KHR* pMemoryRequirements - - - void vkGetImageMemoryRequirements2KHR - VkDevice device - const VkImageMemoryRequirementsInfo2KHR* pInfo - VkMemoryRequirements2KHR* pMemoryRequirements - - - void vkGetImageSparseMemoryRequirements2KHR - VkDevice device - const VkImageSparseMemoryRequirementsInfo2KHR* pInfo - uint32_t* pSparseMemoryRequirementCount - VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements - - - VkResult vkCreateSamplerYcbcrConversionKHR - VkDevice device - const VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkSamplerYcbcrConversionKHR* pYcbcrConversion - - - void vkDestroySamplerYcbcrConversionKHR - VkDevice device - VkSamplerYcbcrConversionKHR ycbcrConversion - const VkAllocationCallbacks* pAllocator - - - VkResult vkCreateValidationCacheEXT - VkDevice device - const VkValidationCacheCreateInfoEXT* pCreateInfo - const VkAllocationCallbacks* pAllocator - VkValidationCacheEXT* pValidationCache - - - void vkDestroyValidationCacheEXT - VkDevice device - VkValidationCacheEXT validationCache - const VkAllocationCallbacks* pAllocator - - - VkResult vkGetValidationCacheDataEXT - VkDevice device - VkValidationCacheEXT validationCache - size_t* pDataSize - void* pData - - - VkResult vkMergeValidationCachesEXT - VkDevice device - VkValidationCacheEXT dstCache - uint32_t srcCacheCount - const VkValidationCacheEXT* pSrcCaches - - - VkResult vkGetSwapchainGrallocUsageANDROID - VkDevice device - VkFormat format - VkImageUsageFlags imageUsage - int* grallocUsage - - - VkResult vkAcquireImageANDROID - VkDevice device - VkImage image - int nativeFenceFd - VkSemaphore semaphore - VkFence fence - - - VkResult vkQueueSignalReleaseImageANDROID - VkQueue queue - uint32_t waitSemaphoreCount - const VkSemaphore* pWaitSemaphores - VkImage image - int* pNativeFenceFd - - - VkResult vkGetShaderInfoAMD - VkDevice device - VkPipeline pipeline - VkShaderStageFlagBits shaderStage - VkShaderInfoTypeAMD infoType - size_t* pInfoSize - void* pInfo - - - VkResult vkGetMemoryHostPointerPropertiesEXT - VkDevice device - VkExternalMemoryHandleTypeFlagBitsKHR handleType - const void* pHostPointer - VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - offset 1 reserved for the old VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHX enum - offset 2 reserved for the old VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHX enum - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/vk/src/vk.rewrite/Program.cs b/vk/src/vk.rewrite/Program.cs deleted file mode 100644 index e3535e729..000000000 --- a/vk/src/vk.rewrite/Program.cs +++ /dev/null @@ -1,205 +0,0 @@ -using Mono.Cecil; -using Mono.Cecil.Cil; -using System; -using System.Linq; -using Mono.Collections.Generic; -using System.CommandLine; -using System.CommandLine.Invocation; -using System.IO; -using System.Collections.Generic; -using System.Text; - -namespace Vk.Rewrite -{ - public class Program - { - private static TypeReference s_calliRewriteRef; - private static MethodReference s_stringToHGlobalUtf8Ref; - private static MethodDefinition s_freeHGlobalRef; - private static TypeReference s_stringHandleRef; - - public static int Main(string[] args) - { - var rootCommand = new RootCommand - { - new Option("--vkdll", "The location of vk.dll to rewrite."), - new Option("--out", "The output location of the rewritten DLL. If not specified, the DLL is rewritten in-place.") - }; - rootCommand.Description = "Rewrite vk.dll to invoke vulkan calls."; - - rootCommand.Handler = CommandHandler.Create((vkdll, outputPath) => - { - bool copiedToTemp = false; - if (vkdll == null) - { - Console.WriteLine("Error: a path for --vkdll is required."); - return; - } - if (outputPath == null) - { - outputPath = vkdll; - string copyPath = Path.GetTempFileName(); - File.Copy(vkdll, copyPath, overwrite: true); - vkdll = copyPath; - copiedToTemp = true; - } - try - { - Rewrite(vkdll, outputPath); - } - finally - { - if (copiedToTemp) - { - File.Delete(vkdll); - } - } - }); - - return rootCommand.InvokeAsync(args).Result; - } - - private static void Rewrite(string vkDllPath, string outputPath) - { - using (AssemblyDefinition vkDll = AssemblyDefinition.ReadAssembly(vkDllPath)) - { - LoadRefs(vkDll); - ModuleDefinition mainModule = vkDll.Modules[0]; - - s_stringHandleRef = mainModule.GetType("Vulkan.StringHandle"); - TypeDefinition bindingHelpers = mainModule.GetType("Vulkan.BindingsHelpers"); - s_stringToHGlobalUtf8Ref = bindingHelpers.Methods.Single(md => md.Name == "StringToHGlobalUtf8"); - s_freeHGlobalRef = bindingHelpers.Methods.Single(md => md.Name == "FreeHGlobal"); - - foreach (var type in mainModule.Types) - { - ProcessType(type); - } - vkDll.Write(outputPath); - } - } - - private static void LoadRefs(AssemblyDefinition vkDll) - { - s_calliRewriteRef = vkDll.MainModule.GetType("Vulkan.Generator.CalliRewriteAttribute"); - } - - private static void ProcessType(TypeDefinition type) - { - foreach (var method in type.Methods) - { - ProcessMethod(method); - } - } - - private static void ProcessMethod(MethodDefinition method) - { - if (method.CustomAttributes.Any(ca => ca.AttributeType == s_calliRewriteRef)) - { - var processor = method.Body.GetILProcessor(); - RewriteMethod(method); - method.CustomAttributes.Remove(method.CustomAttributes.Single(ca => ca.AttributeType == s_calliRewriteRef)); - } - } - - private static void RewriteMethod(MethodDefinition method) - { - var il = method.Body.GetILProcessor(); - il.Body.Instructions.Clear(); - - List stringParams = new List(); - for (int i = 0; i < method.Parameters.Count; i++) - { - EmitLoadArgument(il, i, method.Parameters); - TypeReference parameterType = method.Parameters[i].ParameterType; - if (parameterType.FullName == "System.String") - { - VariableDefinition variableDef = new VariableDefinition(s_stringHandleRef); - method.Body.Variables.Add(variableDef); - il.Emit(OpCodes.Call, s_stringToHGlobalUtf8Ref); - il.Emit(OpCodes.Stloc, variableDef); - il.Emit(OpCodes.Ldloc, variableDef); - stringParams.Add(variableDef); - } - else if (parameterType.IsByReference) - { - VariableDefinition byRefVariable = new VariableDefinition(new PinnedType(parameterType)); - method.Body.Variables.Add(byRefVariable); - il.Emit(OpCodes.Stloc, byRefVariable); - il.Emit(OpCodes.Ldloc, byRefVariable); - il.Emit(OpCodes.Conv_I); - } - } - - string functionPtrName = method.Name + "_ptr"; - var field = method.DeclaringType.Fields.SingleOrDefault(fd => fd.Name == functionPtrName); - if (field == null) - { - throw new InvalidOperationException("Can't find function pointer field for " + method.Name); - } - il.Emit(OpCodes.Ldsfld, field); - - CallSite callSite = new CallSite(method.ReturnType) - { - CallingConvention = MethodCallingConvention.StdCall - }; - foreach (ParameterDefinition pd in method.Parameters) - { - TypeReference parameterType; - if (pd.ParameterType.IsByReference) - { - parameterType = new PointerType(pd.ParameterType.GetElementType()); - } - else if (pd.ParameterType.FullName == "System.String") - { - parameterType = s_stringHandleRef; - } - else - { - parameterType = pd.ParameterType; - } - ParameterDefinition calliPD = new ParameterDefinition(pd.Name, pd.Attributes, parameterType); - - callSite.Parameters.Add(calliPD); - } - il.Emit(OpCodes.Calli, callSite); - - foreach (var stringVar in stringParams) - { - il.Emit(OpCodes.Ldloc, stringVar); - il.Emit(OpCodes.Call, s_freeHGlobalRef); - } - - il.Emit(OpCodes.Ret); - - if (method.Body.Variables.Count > 0) - { - method.Body.InitLocals = true; - } - } - - private static void EmitLoadArgument(ILProcessor il, int i, Collection parameters) - { - if (i == 0) - { - il.Emit(OpCodes.Ldarg_0); - } - else if (i == 1) - { - il.Emit(OpCodes.Ldarg_1); - } - else if (i == 2) - { - il.Emit(OpCodes.Ldarg_2); - } - else if (i == 3) - { - il.Emit(OpCodes.Ldarg_3); - } - else - { - il.Emit(OpCodes.Ldarg, i); - } - } - } -} diff --git a/vk/src/vk.rewrite/rewritten.dll b/vk/src/vk.rewrite/rewritten.dll deleted file mode 100644 index e69de29bb..000000000 diff --git a/vk/src/vk.rewrite/vk.rewrite.csproj b/vk/src/vk.rewrite/vk.rewrite.csproj deleted file mode 100644 index 2ac7378e6..000000000 --- a/vk/src/vk.rewrite/vk.rewrite.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - net6.0-windows - Exe - vk.rewrite - Vk.Generator.Rewrite - true - false - - - - - - \ No newline at end of file diff --git a/vk/src/vk.sln b/vk/src/vk.sln deleted file mode 100644 index 74c6971d1..000000000 --- a/vk/src/vk.sln +++ /dev/null @@ -1,252 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27004.2002 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "vk", "vk\vk.csproj", "{D8573039-9FE1-4554-A659-4E77CFBA83C1}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "vk.generator", "vk.generator\vk.generator.csproj", "{8B305A9D-A7CD-4476-A4AB-A33806A69465}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "vk.rewrite", "vk.rewrite\vk.rewrite.csproj", "{DBE56729-8E62-4138-9BEE-C02F2F8241AB}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "vk.samples.base", "samples\vk.samples.base\vk.samples.base.csproj", "{4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "triangle", "samples\triangle\triangle.csproj", "{6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pipelines", "samples\pipelines\pipelines.csproj", "{45170DDE-AA94-43D4-A45A-69A01D901310}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "texture", "samples\texture\texture.csproj", "{DB543F36-B4AF-491F-83B2-B07F43C0A64A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "texturecubemap", "samples\texturecubemap\texturecubemap.csproj", "{A324DBCD-9184-4567-B76A-DA7223BBAF7B}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "mesh", "samples\mesh\mesh.csproj", "{57986356-88D2-497B-8D29-670CA6BD82CC}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "pushconstants", "samples\pushconstants\pushconstants.csproj", "{C894311F-9A61-41B9-B118-B3DFBA430477}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "specializationconstants", "samples\specializationconstants\specializationconstants.csproj", "{C763044A-51A6-4742-9FEA-E5DF0C017DF4}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dynamicuniformbuffer", "samples\dynamicuniformbuffer\dynamicuniformbuffer.csproj", "{78F1011F-9C5A-4250-A790-13627CC1A87E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "offscreen", "samples\offscreen\offscreen.csproj", "{33152195-F74D-40ED-A706-C7F4EBD9830F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "radialblur", "samples\radialblur\radialblur.csproj", "{633628AC-3CEE-4BA1-879C-355E82426350}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "tutorial", "samples\tutorial\tutorial.csproj", "{FAF59919-5A20-44D5-97F1-21E401FC6577}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|x64.ActiveCfg = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|x64.Build.0 = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|x86.ActiveCfg = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Debug|x86.Build.0 = Debug|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|Any CPU.Build.0 = Release|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|x64.ActiveCfg = Release|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|x64.Build.0 = Release|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|x86.ActiveCfg = Release|Any CPU - {D8573039-9FE1-4554-A659-4E77CFBA83C1}.Release|x86.Build.0 = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|x64.ActiveCfg = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|x64.Build.0 = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|x86.ActiveCfg = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Debug|x86.Build.0 = Debug|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|Any CPU.Build.0 = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|x64.ActiveCfg = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|x64.Build.0 = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|x86.ActiveCfg = Release|Any CPU - {8B305A9D-A7CD-4476-A4AB-A33806A69465}.Release|x86.Build.0 = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|x64.ActiveCfg = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|x64.Build.0 = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|x86.ActiveCfg = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Debug|x86.Build.0 = Debug|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|Any CPU.Build.0 = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|x64.ActiveCfg = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|x64.Build.0 = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|x86.ActiveCfg = Release|Any CPU - {DBE56729-8E62-4138-9BEE-C02F2F8241AB}.Release|x86.Build.0 = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|x64.ActiveCfg = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|x64.Build.0 = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|x86.ActiveCfg = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Debug|x86.Build.0 = Debug|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|Any CPU.Build.0 = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|x64.ActiveCfg = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|x64.Build.0 = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|x86.ActiveCfg = Release|Any CPU - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4}.Release|x86.Build.0 = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|x64.ActiveCfg = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|x64.Build.0 = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|x86.ActiveCfg = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Debug|x86.Build.0 = Debug|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|Any CPU.Build.0 = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|x64.ActiveCfg = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|x64.Build.0 = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|x86.ActiveCfg = Release|Any CPU - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6}.Release|x86.Build.0 = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|Any CPU.Build.0 = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|x64.ActiveCfg = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|x64.Build.0 = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|x86.ActiveCfg = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Debug|x86.Build.0 = Debug|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|Any CPU.ActiveCfg = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|Any CPU.Build.0 = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|x64.ActiveCfg = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|x64.Build.0 = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|x86.ActiveCfg = Release|Any CPU - {45170DDE-AA94-43D4-A45A-69A01D901310}.Release|x86.Build.0 = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|x64.ActiveCfg = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|x64.Build.0 = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|x86.ActiveCfg = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Debug|x86.Build.0 = Debug|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|Any CPU.Build.0 = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|x64.ActiveCfg = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|x64.Build.0 = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|x86.ActiveCfg = Release|Any CPU - {DB543F36-B4AF-491F-83B2-B07F43C0A64A}.Release|x86.Build.0 = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|x64.ActiveCfg = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|x64.Build.0 = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|x86.ActiveCfg = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Debug|x86.Build.0 = Debug|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|Any CPU.Build.0 = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|x64.ActiveCfg = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|x64.Build.0 = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|x86.ActiveCfg = Release|Any CPU - {A324DBCD-9184-4567-B76A-DA7223BBAF7B}.Release|x86.Build.0 = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|x64.ActiveCfg = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|x64.Build.0 = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|x86.ActiveCfg = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Debug|x86.Build.0 = Debug|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|Any CPU.Build.0 = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|x64.ActiveCfg = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|x64.Build.0 = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|x86.ActiveCfg = Release|Any CPU - {57986356-88D2-497B-8D29-670CA6BD82CC}.Release|x86.Build.0 = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|x64.ActiveCfg = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|x64.Build.0 = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|x86.ActiveCfg = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Debug|x86.Build.0 = Debug|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|Any CPU.Build.0 = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|x64.ActiveCfg = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|x64.Build.0 = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|x86.ActiveCfg = Release|Any CPU - {C894311F-9A61-41B9-B118-B3DFBA430477}.Release|x86.Build.0 = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|x64.ActiveCfg = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|x64.Build.0 = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|x86.ActiveCfg = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Debug|x86.Build.0 = Debug|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|Any CPU.Build.0 = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|x64.ActiveCfg = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|x64.Build.0 = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|x86.ActiveCfg = Release|Any CPU - {C763044A-51A6-4742-9FEA-E5DF0C017DF4}.Release|x86.Build.0 = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|x64.ActiveCfg = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|x64.Build.0 = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|x86.ActiveCfg = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Debug|x86.Build.0 = Debug|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|Any CPU.Build.0 = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|x64.ActiveCfg = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|x64.Build.0 = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|x86.ActiveCfg = Release|Any CPU - {78F1011F-9C5A-4250-A790-13627CC1A87E}.Release|x86.Build.0 = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|x64.ActiveCfg = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|x64.Build.0 = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|x86.ActiveCfg = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Debug|x86.Build.0 = Debug|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|Any CPU.Build.0 = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|x64.ActiveCfg = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|x64.Build.0 = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|x86.ActiveCfg = Release|Any CPU - {33152195-F74D-40ED-A706-C7F4EBD9830F}.Release|x86.Build.0 = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|Any CPU.Build.0 = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|x64.ActiveCfg = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|x64.Build.0 = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|x86.ActiveCfg = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Debug|x86.Build.0 = Debug|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|Any CPU.ActiveCfg = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|Any CPU.Build.0 = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|x64.ActiveCfg = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|x64.Build.0 = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|x86.ActiveCfg = Release|Any CPU - {633628AC-3CEE-4BA1-879C-355E82426350}.Release|x86.Build.0 = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|x64.ActiveCfg = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|x64.Build.0 = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|x86.ActiveCfg = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Debug|x86.Build.0 = Debug|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|Any CPU.Build.0 = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|x64.ActiveCfg = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|x64.Build.0 = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|x86.ActiveCfg = Release|Any CPU - {FAF59919-5A20-44D5-97F1-21E401FC6577}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {4DCC64BC-32D5-4B60-89F2-06D11B91FBE4} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {6CAF233D-FA8D-4D67-AF9C-7F7995349ED6} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {45170DDE-AA94-43D4-A45A-69A01D901310} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {DB543F36-B4AF-491F-83B2-B07F43C0A64A} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {A324DBCD-9184-4567-B76A-DA7223BBAF7B} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {57986356-88D2-497B-8D29-670CA6BD82CC} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {C894311F-9A61-41B9-B118-B3DFBA430477} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {C763044A-51A6-4742-9FEA-E5DF0C017DF4} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {78F1011F-9C5A-4250-A790-13627CC1A87E} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {33152195-F74D-40ED-A706-C7F4EBD9830F} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {633628AC-3CEE-4BA1-879C-355E82426350} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - {FAF59919-5A20-44D5-97F1-21E401FC6577} = {2B0FDFF4-F2C0-4A0C-AA8B-1BFACE57E32C} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6683F8EA-EBC0-48F7-A6E0-2B71457EB172} - EndGlobalSection - GlobalSection(Performance) = preSolution - HasPerformanceSessions = true - EndGlobalSection -EndGlobal diff --git a/vk/src/vk/BindingsHelpers.cs b/vk/src/vk/BindingsHelpers.cs deleted file mode 100644 index 0a8be3ad1..000000000 --- a/vk/src/vk/BindingsHelpers.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.Runtime.InteropServices; -using System.Text; - -namespace Vulkan -{ - public static class BindingsHelpers - { - public static unsafe StringHandle StringToHGlobalUtf8(string s) - { - Debug.Assert(s != null); - int byteCount = Encoding.UTF8.GetByteCount(s); - IntPtr retPtr = Marshal.AllocHGlobal(byteCount); - fixed (char* stringPtr = s) - { - Encoding.UTF8.GetBytes(stringPtr, s.Length, (byte*)retPtr.ToPointer(), byteCount); - } - - return new StringHandle() { Handle = retPtr }; - } - - public static void FreeHGlobal(StringHandle ptr) - { - Marshal.FreeHGlobal(ptr.Handle); - } - } - - public struct StringHandle - { - public IntPtr Handle; - } -} diff --git a/vk/src/vk/CalliRewriteAttribute.cs b/vk/src/vk/CalliRewriteAttribute.cs deleted file mode 100644 index b35a2b439..000000000 --- a/vk/src/vk/CalliRewriteAttribute.cs +++ /dev/null @@ -1,8 +0,0 @@ -using System; - -namespace Vulkan.Generator -{ - internal class CalliRewriteAttribute : Attribute - { - } -} diff --git a/vk/src/vk/Commands.cs b/vk/src/vk/Commands.cs deleted file mode 100644 index 230b59903..000000000 --- a/vk/src/vk/Commands.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System; -using System.Diagnostics; -using System.IO; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - public static partial class VulkanNative - { - private static NativeLibrary s_nativeLib; - - static VulkanNative() - { - s_nativeLib = LoadNativeLibrary(); - LoadFunctionPointers(); - } - - private static NativeLibrary LoadNativeLibrary() - { - return NativeLibrary.Load(GetVulkanName()); - } - - private static string GetVulkanName() - { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - return "vulkan-1.dll"; - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) - { - if (RuntimeInformation.OSDescription.Contains("Unix")) - { - // Android - return "libvulkan.so"; - } - else - { - // Desktop Linux - return "libvulkan.so.1"; - } - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - { - return "libvulkan.dylib"; - } - else - { - throw new PlatformNotSupportedException(); - } - } - - private static Exception CreateMissingFunctionException() - { - return new InvalidOperationException("The function does not exist or could not be loaded."); - } - } - - public abstract class NativeLibrary : IDisposable - { - private readonly string _libraryName; - private readonly IntPtr _libraryHandle; - - public IntPtr NativeHandle => _libraryHandle; - - public NativeLibrary(string libraryName) - { - _libraryName = libraryName; - _libraryHandle = LoadLibrary(_libraryName); - if (_libraryHandle == IntPtr.Zero) - { - throw new InvalidOperationException("Could not load " + libraryName); - } - } - - protected abstract IntPtr LoadLibrary(string libraryName); - protected abstract void FreeLibrary(IntPtr libraryHandle); - protected abstract IntPtr LoadFunction(string functionName); - - public IntPtr LoadFunctionPointer(string functionName) - { - if (functionName == null) - { - throw new ArgumentNullException(nameof(functionName)); - } - - return LoadFunction(functionName); - } - - public void Dispose() - { - FreeLibrary(_libraryHandle); - } - - - public static NativeLibrary Load(string libraryName) - { - if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - { - return new WindowsNativeLibrary(libraryName); - } - else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux) - || RuntimeInformation.IsOSPlatform(OSPlatform.OSX)) - { - return new UnixNativeLibrary(libraryName); - } - else - { - throw new PlatformNotSupportedException("Cannot load native libraries on this platform: " + RuntimeInformation.OSDescription); - } - } - - private class WindowsNativeLibrary : NativeLibrary - { - public WindowsNativeLibrary(string libraryName) : base(libraryName) - { - } - - protected override IntPtr LoadLibrary(string libraryName) - { - return Kernel32.LoadLibrary(libraryName); - } - - protected override void FreeLibrary(IntPtr libraryHandle) - { - Kernel32.FreeLibrary(libraryHandle); - } - - protected override IntPtr LoadFunction(string functionName) - { - Debug.WriteLine("Loading " + functionName); - return Kernel32.GetProcAddress(NativeHandle, functionName); - } - } - - private class UnixNativeLibrary : NativeLibrary - { - public UnixNativeLibrary(string libraryName) : base(libraryName) - { - } - - protected override IntPtr LoadLibrary(string libraryName) - { - Libdl.dlerror(); - IntPtr handle = Libdl.dlopen(libraryName, Libdl.RTLD_NOW); - if (handle == IntPtr.Zero && !Path.IsPathRooted(libraryName)) - { - string baseDir = AppContext.BaseDirectory; - if (!string.IsNullOrWhiteSpace(baseDir)) - { - string localPath = Path.Combine(baseDir, libraryName); - handle = Libdl.dlopen(localPath, Libdl.RTLD_NOW); - } - } - - return handle; - } - - protected override void FreeLibrary(IntPtr libraryHandle) - { - Libdl.dlclose(libraryHandle); - } - - protected override IntPtr LoadFunction(string functionName) - { - return Libdl.dlsym(NativeHandle, functionName); - } - } - } -} diff --git a/vk/src/vk/Constants.cs b/vk/src/vk/Constants.cs deleted file mode 100644 index 1a697c303..000000000 --- a/vk/src/vk/Constants.cs +++ /dev/null @@ -1,9 +0,0 @@ -using System; - -namespace Vulkan -{ - public static partial class VulkanNative - { - public static readonly IntPtr NullHandle = IntPtr.Zero; - } -} diff --git a/vk/src/vk/Delegates.cs b/vk/src/vk/Delegates.cs deleted file mode 100644 index fc748bee1..000000000 --- a/vk/src/vk/Delegates.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; - -namespace Vulkan -{ - public unsafe delegate void* PFN_vkAllocationFunction( - void* pUserData, - UIntPtr size, - UIntPtr alignment, - VkSystemAllocationScope allocationScope); - - public unsafe delegate void* PFN_vkReallocationFunction( - void* pUserData, - void* pOriginal, - UIntPtr size, - UIntPtr alignment, - VkSystemAllocationScope allocationScope); - - public unsafe delegate void PFN_vkFreeFunction( - void* pUserData, - void* pMemory); - - public unsafe delegate void PFN_vkInternalAllocationNotification( - void* pUserData, - UIntPtr size, - VkInternalAllocationType allocationType, - VkSystemAllocationScope allocationScope); - - public unsafe delegate void PFN_vkInternalFreeNotification( - void* pUserData, - UIntPtr size, - VkInternalAllocationType allocationType, - VkSystemAllocationScope allocationScope); - - public unsafe delegate void PFN_vkVoidFunction(); - - public unsafe delegate uint PFN_vkDebugReportCallbackEXT( - uint flags, - VkDebugReportObjectTypeEXT objectType, - ulong @object, - UIntPtr location, - int messageCode, - byte* pLayerPrefix, - byte* pMessage, - void* pUserData); -} diff --git a/vk/src/vk/ExternalTypes.cs b/vk/src/vk/ExternalTypes.cs deleted file mode 100644 index 4ac28bf20..000000000 --- a/vk/src/vk/ExternalTypes.cs +++ /dev/null @@ -1,83 +0,0 @@ -using System; - -namespace Vulkan -{ - // Windows - - namespace Win32 - { - public struct HINSTANCE - { - public IntPtr Handle; - public static implicit operator IntPtr(HINSTANCE hinst) => hinst.Handle; - public static implicit operator HINSTANCE(IntPtr handle) => new HINSTANCE() { Handle = handle }; - } - - public struct HWND - { - public IntPtr Handle; - public static implicit operator IntPtr(HWND hwnd) => hwnd.Handle; - public static implicit operator HWND(IntPtr handle) => new HWND() { Handle = handle }; - } - - public struct HANDLE - { - public IntPtr Handle; - public static implicit operator IntPtr(HANDLE handle) => handle.Handle; - public static implicit operator HANDLE(IntPtr handle) => new HANDLE() { Handle = handle }; - } - - public struct SECURITY_ATTRIBUTES - { - public uint nLength; - public IntPtr lpSecurityDescriptor; - public uint bInheritHandle; - } - } - - // Android - namespace Android - { - public struct ANativeWindow { } - } - - // Linux - namespace Mir - { - public struct MirConnection { } - public struct MirSurface { } - } - - namespace Wayland - { - public struct wl_display { } - public struct wl_surface { } - } - - namespace Xlib - { - public struct Display { } - public struct Window - { - public IntPtr Value; - } - public struct VisualID - { - public ulong ID; - public static implicit operator VisualID(ulong value) => new VisualID() { ID = value }; - public static implicit operator ulong(VisualID id) => id.ID; - } - } - - namespace Xcb - { - public struct xcb_connection_t { } - public struct xcb_window_t { } - public struct xcb_visualid_t - { - public uint ID; - public static implicit operator xcb_visualid_t(uint value) => new xcb_visualid_t() { ID = value }; - public static implicit operator uint(xcb_visualid_t id) => id.ID; - } - } -} diff --git a/vk/src/vk/FunctionPointer.cs b/vk/src/vk/FunctionPointer.cs deleted file mode 100644 index 3fceaaf5b..000000000 --- a/vk/src/vk/FunctionPointer.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - public struct FunctionPointer - { - public IntPtr Pointer; - - public FunctionPointer(TFunc func) - { - Pointer = Marshal.GetFunctionPointerForDelegate(func); - } - } -} diff --git a/vk/src/vk/Generated/Commands.gen.cs b/vk/src/vk/Generated/Commands.gen.cs deleted file mode 100644 index 9e986102c..000000000 --- a/vk/src/vk/Generated/Commands.gen.cs +++ /dev/null @@ -1,11794 +0,0 @@ -// This file is generated. - -using System; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - public static unsafe partial class VulkanNative - { - private static IntPtr vkAcquireImageANDROID_ptr; - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireImageANDROID(VkDevice device, VkImage image, int nativeFenceFd, VkSemaphore semaphore, VkFence fence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAcquireNextImage2KHX_ptr; - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, VkAcquireNextImageInfoKHX* pAcquireInfo, uint* pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, VkAcquireNextImageInfoKHX* pAcquireInfo, ref uint pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, VkAcquireNextImageInfoKHX* pAcquireInfo, IntPtr pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, ref VkAcquireNextImageInfoKHX pAcquireInfo, uint* pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, ref VkAcquireNextImageInfoKHX pAcquireInfo, ref uint pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, ref VkAcquireNextImageInfoKHX pAcquireInfo, IntPtr pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, IntPtr pAcquireInfo, uint* pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, IntPtr pAcquireInfo, ref uint pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImage2KHX(VkDevice device, IntPtr pAcquireInfo, IntPtr pImageIndex) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAcquireNextImageKHR_ptr; - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, ulong timeout, VkSemaphore semaphore, VkFence fence, uint* pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, ulong timeout, VkSemaphore semaphore, VkFence fence, ref uint pImageIndex) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireNextImageKHR(VkDevice device, VkSwapchainKHR swapchain, ulong timeout, VkSemaphore semaphore, VkFence fence, IntPtr pImageIndex) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAcquireXlibDisplayEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, Xlib.Display* dpy, VkDisplayKHR display) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, ref Xlib.Display dpy, VkDisplayKHR display) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkAcquireXlibDisplayEXT(VkPhysicalDevice physicalDevice, IntPtr dpy, VkDisplayKHR display) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAllocateCommandBuffers_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, VkCommandBufferAllocateInfo* pAllocateInfo, VkCommandBuffer* pCommandBuffers) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, VkCommandBufferAllocateInfo* pAllocateInfo, out VkCommandBuffer pCommandBuffers) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, ref VkCommandBufferAllocateInfo pAllocateInfo, VkCommandBuffer* pCommandBuffers) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, ref VkCommandBufferAllocateInfo pAllocateInfo, out VkCommandBuffer pCommandBuffers) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, IntPtr pAllocateInfo, VkCommandBuffer* pCommandBuffers) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateCommandBuffers(VkDevice device, IntPtr pAllocateInfo, out VkCommandBuffer pCommandBuffers) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAllocateDescriptorSets_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, VkDescriptorSetAllocateInfo* pAllocateInfo, VkDescriptorSet* pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, VkDescriptorSetAllocateInfo* pAllocateInfo, out VkDescriptorSet pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, ref VkDescriptorSetAllocateInfo pAllocateInfo, VkDescriptorSet* pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, ref VkDescriptorSetAllocateInfo pAllocateInfo, out VkDescriptorSet pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, IntPtr pAllocateInfo, VkDescriptorSet* pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FRAGMENTED_POOL, VK_ERROR_OUT_OF_POOL_MEMORY_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateDescriptorSets(VkDevice device, IntPtr pAllocateInfo, out VkDescriptorSet pDescriptorSets) - { - throw new NotImplementedException(); - } - - private static IntPtr vkAllocateMemory_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, VkAllocationCallbacks* pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, ref VkAllocationCallbacks pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, ref VkAllocationCallbacks pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, IntPtr pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, VkMemoryAllocateInfo* pAllocateInfo, IntPtr pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, VkAllocationCallbacks* pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, ref VkAllocationCallbacks pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, ref VkAllocationCallbacks pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, IntPtr pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, ref VkMemoryAllocateInfo pAllocateInfo, IntPtr pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, VkAllocationCallbacks* pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, VkAllocationCallbacks* pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, ref VkAllocationCallbacks pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, ref VkAllocationCallbacks pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, IntPtr pAllocator, VkDeviceMemory* pMemory) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkAllocateMemory(VkDevice device, IntPtr pAllocateInfo, IntPtr pAllocator, out VkDeviceMemory pMemory) - { - throw new NotImplementedException(); - } - - private static IntPtr vkBeginCommandBuffer_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBeginCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferBeginInfo* pBeginInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBeginCommandBuffer(VkCommandBuffer commandBuffer, ref VkCommandBufferBeginInfo pBeginInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBeginCommandBuffer(VkCommandBuffer commandBuffer, IntPtr pBeginInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkBindBufferMemory_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindBufferMemory(VkDevice device, VkBuffer buffer, VkDeviceMemory memory, ulong memoryOffset) - { - throw new NotImplementedException(); - } - - private static IntPtr vkBindBufferMemory2KHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindBufferMemory2KHR(VkDevice device, uint bindInfoCount, VkBindBufferMemoryInfoKHR* pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindBufferMemory2KHR(VkDevice device, uint bindInfoCount, ref VkBindBufferMemoryInfoKHR pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindBufferMemory2KHR(VkDevice device, uint bindInfoCount, IntPtr pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindBufferMemory2KHR(VkDevice device, uint bindInfoCount, VkBindBufferMemoryInfoKHR[] pBindInfos) - { - throw new NotImplementedException(); - } - - private static IntPtr vkBindImageMemory_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindImageMemory(VkDevice device, VkImage image, VkDeviceMemory memory, ulong memoryOffset) - { - throw new NotImplementedException(); - } - - private static IntPtr vkBindImageMemory2KHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindImageMemory2KHR(VkDevice device, uint bindInfoCount, VkBindImageMemoryInfoKHR* pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindImageMemory2KHR(VkDevice device, uint bindInfoCount, ref VkBindImageMemoryInfoKHR pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindImageMemory2KHR(VkDevice device, uint bindInfoCount, IntPtr pBindInfos) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkBindImageMemory2KHR(VkDevice device, uint bindInfoCount, VkBindImageMemoryInfoKHR[] pBindInfos) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBeginQuery_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBeginQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint query, VkQueryControlFlags flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBeginRenderPass_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, VkRenderPassBeginInfo* pRenderPassBegin, VkSubpassContents contents) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, ref VkRenderPassBeginInfo pRenderPassBegin, VkSubpassContents contents) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBeginRenderPass(VkCommandBuffer commandBuffer, IntPtr pRenderPassBegin, VkSubpassContents contents) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBindDescriptorSets_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, VkDescriptorSet* pDescriptorSets, uint dynamicOffsetCount, uint* pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, VkDescriptorSet* pDescriptorSets, uint dynamicOffsetCount, ref uint pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, VkDescriptorSet* pDescriptorSets, uint dynamicOffsetCount, IntPtr pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, ref VkDescriptorSet pDescriptorSets, uint dynamicOffsetCount, uint* pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, ref VkDescriptorSet pDescriptorSets, uint dynamicOffsetCount, ref uint pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, ref VkDescriptorSet pDescriptorSets, uint dynamicOffsetCount, IntPtr pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, IntPtr pDescriptorSets, uint dynamicOffsetCount, uint* pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, IntPtr pDescriptorSets, uint dynamicOffsetCount, ref uint pDynamicOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindDescriptorSets(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint firstSet, uint descriptorSetCount, IntPtr pDescriptorSets, uint dynamicOffsetCount, IntPtr pDynamicOffsets) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBindIndexBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBindIndexBuffer(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset, VkIndexType indexType) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBindPipeline_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBindPipeline(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipeline pipeline) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBindVertexBuffers_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, VkBuffer* pBuffers, ulong* pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, VkBuffer* pBuffers, ref ulong pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, VkBuffer* pBuffers, IntPtr pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, ref VkBuffer pBuffers, ulong* pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, ref VkBuffer pBuffers, ref ulong pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, ref VkBuffer pBuffers, IntPtr pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, IntPtr pBuffers, ulong* pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, IntPtr pBuffers, ref ulong pOffsets) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBindVertexBuffers(VkCommandBuffer commandBuffer, uint firstBinding, uint bindingCount, IntPtr pBuffers, IntPtr pOffsets) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdBlitImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, VkImageBlit* pRegions, VkFilter filter) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, ref VkImageBlit pRegions, VkFilter filter) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdBlitImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, IntPtr pRegions, VkFilter filter) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdClearAttachments_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, VkClearAttachment* pAttachments, uint rectCount, VkClearRect* pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, VkClearAttachment* pAttachments, uint rectCount, ref VkClearRect pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, VkClearAttachment* pAttachments, uint rectCount, IntPtr pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, ref VkClearAttachment pAttachments, uint rectCount, VkClearRect* pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, ref VkClearAttachment pAttachments, uint rectCount, ref VkClearRect pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, ref VkClearAttachment pAttachments, uint rectCount, IntPtr pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, IntPtr pAttachments, uint rectCount, VkClearRect* pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, IntPtr pAttachments, uint rectCount, ref VkClearRect pRects) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearAttachments(VkCommandBuffer commandBuffer, uint attachmentCount, IntPtr pAttachments, uint rectCount, IntPtr pRects) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdClearColorImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearColorValue* pColor, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearColorValue* pColor, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearColorValue* pColor, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearColorValue pColor, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearColorValue pColor, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearColorValue pColor, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pColor, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pColor, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearColorImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pColor, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdClearDepthStencilImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearDepthStencilValue* pDepthStencil, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearDepthStencilValue* pDepthStencil, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, VkClearDepthStencilValue* pDepthStencil, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearDepthStencilValue pDepthStencil, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearDepthStencilValue pDepthStencil, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, ref VkClearDepthStencilValue pDepthStencil, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pDepthStencil, uint rangeCount, VkImageSubresourceRange* pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pDepthStencil, uint rangeCount, ref VkImageSubresourceRange pRanges) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdClearDepthStencilImage(VkCommandBuffer commandBuffer, VkImage image, VkImageLayout imageLayout, IntPtr pDepthStencil, uint rangeCount, IntPtr pRanges) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdCopyBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint regionCount, VkBufferCopy* pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint regionCount, ref VkBufferCopy pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBuffer(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkBuffer dstBuffer, uint regionCount, IntPtr pRegions) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdCopyBufferToImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, VkBufferImageCopy* pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, ref VkBufferImageCopy pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyBufferToImage(VkCommandBuffer commandBuffer, VkBuffer srcBuffer, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, IntPtr pRegions) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdCopyImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, VkImageCopy* pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, ref VkImageCopy pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, IntPtr pRegions) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdCopyImageToBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint regionCount, VkBufferImageCopy* pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint regionCount, ref VkBufferImageCopy pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyImageToBuffer(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkBuffer dstBuffer, uint regionCount, IntPtr pRegions) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdCopyQueryPoolResults_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdCopyQueryPoolResults(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint firstQuery, uint queryCount, VkBuffer dstBuffer, ulong dstOffset, ulong stride, VkQueryResultFlags flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDebugMarkerBeginEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, ref VkDebugMarkerMarkerInfoEXT pMarkerInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerBeginEXT(VkCommandBuffer commandBuffer, IntPtr pMarkerInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDebugMarkerEndEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerEndEXT(VkCommandBuffer commandBuffer) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDebugMarkerInsertEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, VkDebugMarkerMarkerInfoEXT* pMarkerInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, ref VkDebugMarkerMarkerInfoEXT pMarkerInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdDebugMarkerInsertEXT(VkCommandBuffer commandBuffer, IntPtr pMarkerInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDispatch_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDispatch(VkCommandBuffer commandBuffer, uint groupCountX, uint groupCountY, uint groupCountZ) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDispatchBaseKHX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDispatchBaseKHX(VkCommandBuffer commandBuffer, uint baseGroupX, uint baseGroupY, uint baseGroupZ, uint groupCountX, uint groupCountY, uint groupCountZ) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDispatchIndirect_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDispatchIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDraw_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDraw(VkCommandBuffer commandBuffer, uint vertexCount, uint instanceCount, uint firstVertex, uint firstInstance) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDrawIndexed_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDrawIndexed(VkCommandBuffer commandBuffer, uint indexCount, uint instanceCount, uint firstIndex, int vertexOffset, uint firstInstance) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDrawIndexedIndirect_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDrawIndexedIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset, uint drawCount, uint stride) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDrawIndexedIndirectCountAMD_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDrawIndexedIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset, VkBuffer countBuffer, ulong countBufferOffset, uint maxDrawCount, uint stride) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDrawIndirect_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDrawIndirect(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset, uint drawCount, uint stride) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdDrawIndirectCountAMD_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdDrawIndirectCountAMD(VkCommandBuffer commandBuffer, VkBuffer buffer, ulong offset, VkBuffer countBuffer, ulong countBufferOffset, uint maxDrawCount, uint stride) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdEndQuery_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdEndQuery(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint query) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdEndRenderPass_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdEndRenderPass(VkCommandBuffer commandBuffer) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdExecuteCommands_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint commandBufferCount, VkCommandBuffer* pCommandBuffers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint commandBufferCount, ref VkCommandBuffer pCommandBuffers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdExecuteCommands(VkCommandBuffer commandBuffer, uint commandBufferCount, IntPtr pCommandBuffers) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdFillBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdFillBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, ulong dstOffset, ulong size, uint data) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdNextSubpass_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdNextSubpass(VkCommandBuffer commandBuffer, VkSubpassContents contents) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdPipelineBarrier_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPipelineBarrier(VkCommandBuffer commandBuffer, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, VkDependencyFlags dependencyFlags, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdProcessCommandsNVX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdProcessCommandsNVX(VkCommandBuffer commandBuffer, VkCmdProcessCommandsInfoNVX* pProcessCommandsInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdProcessCommandsNVX(VkCommandBuffer commandBuffer, ref VkCmdProcessCommandsInfoNVX pProcessCommandsInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdProcessCommandsNVX(VkCommandBuffer commandBuffer, IntPtr pProcessCommandsInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdPushConstants_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdPushConstants(VkCommandBuffer commandBuffer, VkPipelineLayout layout, VkShaderStageFlags stageFlags, uint offset, uint size, void* pValues) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdPushDescriptorSetKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint set, uint descriptorWriteCount, VkWriteDescriptorSet* pDescriptorWrites) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint set, uint descriptorWriteCount, ref VkWriteDescriptorSet pDescriptorWrites) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdPushDescriptorSetKHR(VkCommandBuffer commandBuffer, VkPipelineBindPoint pipelineBindPoint, VkPipelineLayout layout, uint set, uint descriptorWriteCount, IntPtr pDescriptorWrites) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdPushDescriptorSetWithTemplateKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdPushDescriptorSetWithTemplateKHR(VkCommandBuffer commandBuffer, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, VkPipelineLayout layout, uint set, void* pData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdReserveSpaceForCommandsNVX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdReserveSpaceForCommandsNVX(VkCommandBuffer commandBuffer, VkCmdReserveSpaceForCommandsInfoNVX* pReserveSpaceInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdReserveSpaceForCommandsNVX(VkCommandBuffer commandBuffer, ref VkCmdReserveSpaceForCommandsInfoNVX pReserveSpaceInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdReserveSpaceForCommandsNVX(VkCommandBuffer commandBuffer, IntPtr pReserveSpaceInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdResetEvent_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdResetEvent(VkCommandBuffer commandBuffer, VkEvent @event, VkPipelineStageFlags stageMask) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdResetQueryPool_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdResetQueryPool(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint firstQuery, uint queryCount) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdResolveImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, VkImageResolve* pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, ref VkImageResolve pRegions) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdResolveImage(VkCommandBuffer commandBuffer, VkImage srcImage, VkImageLayout srcImageLayout, VkImage dstImage, VkImageLayout dstImageLayout, uint regionCount, IntPtr pRegions) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetBlendConstants_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetBlendConstants(VkCommandBuffer commandBuffer, float blendConstants) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetDepthBias_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDepthBias(VkCommandBuffer commandBuffer, float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetDepthBounds_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDepthBounds(VkCommandBuffer commandBuffer, float minDepthBounds, float maxDepthBounds) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetDeviceMaskKHX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDeviceMaskKHX(VkCommandBuffer commandBuffer, uint deviceMask) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetDiscardRectangleEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint firstDiscardRectangle, uint discardRectangleCount, VkRect2D* pDiscardRectangles) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint firstDiscardRectangle, uint discardRectangleCount, ref VkRect2D pDiscardRectangles) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetDiscardRectangleEXT(VkCommandBuffer commandBuffer, uint firstDiscardRectangle, uint discardRectangleCount, IntPtr pDiscardRectangles) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetEvent_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetEvent(VkCommandBuffer commandBuffer, VkEvent @event, VkPipelineStageFlags stageMask) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetLineWidth_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetLineWidth(VkCommandBuffer commandBuffer, float lineWidth) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetSampleLocationsEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, VkSampleLocationsInfoEXT* pSampleLocationsInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, ref VkSampleLocationsInfoEXT pSampleLocationsInfo) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetSampleLocationsEXT(VkCommandBuffer commandBuffer, IntPtr pSampleLocationsInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetScissor_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetScissor(VkCommandBuffer commandBuffer, uint firstScissor, uint scissorCount, VkRect2D* pScissors) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetScissor(VkCommandBuffer commandBuffer, uint firstScissor, uint scissorCount, ref VkRect2D pScissors) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetScissor(VkCommandBuffer commandBuffer, uint firstScissor, uint scissorCount, IntPtr pScissors) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetStencilCompareMask_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetStencilCompareMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint compareMask) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetStencilReference_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetStencilReference(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint reference) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetStencilWriteMask_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetStencilWriteMask(VkCommandBuffer commandBuffer, VkStencilFaceFlags faceMask, uint writeMask) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetViewport_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewport(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, VkViewport* pViewports) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewport(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, ref VkViewport pViewports) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewport(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, IntPtr pViewports) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdSetViewportWScalingNV_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, VkViewportWScalingNV* pViewportWScalings) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, ref VkViewportWScalingNV pViewportWScalings) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdSetViewportWScalingNV(VkCommandBuffer commandBuffer, uint firstViewport, uint viewportCount, IntPtr pViewportWScalings) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdUpdateBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdUpdateBuffer(VkCommandBuffer commandBuffer, VkBuffer dstBuffer, ulong dstOffset, ulong dataSize, void* pData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdWaitEvents_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, VkEvent* pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, ref VkEvent pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, VkMemoryBarrier* pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, ref VkMemoryBarrier pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, VkBufferMemoryBarrier* pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, ref VkBufferMemoryBarrier pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, VkImageMemoryBarrier* pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, ref VkImageMemoryBarrier pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkCmdWaitEvents(VkCommandBuffer commandBuffer, uint eventCount, IntPtr pEvents, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, uint memoryBarrierCount, IntPtr pMemoryBarriers, uint bufferMemoryBarrierCount, IntPtr pBufferMemoryBarriers, uint imageMemoryBarrierCount, IntPtr pImageMemoryBarriers) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCmdWriteTimestamp_ptr; - [Generator.CalliRewrite] - public static unsafe void vkCmdWriteTimestamp(VkCommandBuffer commandBuffer, VkPipelineStageFlags pipelineStage, VkQueryPool queryPool, uint query) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateAndroidSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, VkAndroidSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, ref VkAndroidSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateAndroidSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateBuffer_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, IntPtr pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, VkBufferCreateInfo* pCreateInfo, IntPtr pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, IntPtr pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, ref VkBufferCreateInfo pCreateInfo, IntPtr pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkBuffer* pBuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBuffer(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkBuffer pBuffer) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateBufferView_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, IntPtr pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, VkBufferViewCreateInfo* pCreateInfo, IntPtr pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, IntPtr pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, ref VkBufferViewCreateInfo pCreateInfo, IntPtr pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkBufferView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateBufferView(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkBufferView pView) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateCommandPool_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, IntPtr pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, VkCommandPoolCreateInfo* pCreateInfo, IntPtr pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, IntPtr pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, ref VkCommandPoolCreateInfo pCreateInfo, IntPtr pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkCommandPool* pCommandPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateCommandPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkCommandPool pCommandPool) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateComputePipelines_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo* pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkComputePipelineCreateInfo pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateComputePipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkComputePipelineCreateInfo[] pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDebugReportCallbackEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, IntPtr pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackCreateInfoEXT* pCreateInfo, IntPtr pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, IntPtr pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, ref VkDebugReportCallbackCreateInfoEXT pCreateInfo, IntPtr pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkDebugReportCallbackEXT* pCallback) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDebugReportCallbackEXT(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkDebugReportCallbackEXT pCallback) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDescriptorPool_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, IntPtr pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, VkDescriptorPoolCreateInfo* pCreateInfo, IntPtr pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, IntPtr pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, ref VkDescriptorPoolCreateInfo pCreateInfo, IntPtr pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkDescriptorPool* pDescriptorPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkDescriptorPool pDescriptorPool) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDescriptorSetLayout_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, VkDescriptorSetLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, IntPtr pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, ref VkDescriptorSetLayoutCreateInfo pCreateInfo, IntPtr pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkDescriptorSetLayout* pSetLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorSetLayout(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkDescriptorSetLayout pSetLayout) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDescriptorUpdateTemplateKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, ref VkDescriptorUpdateTemplateCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkDescriptorUpdateTemplateKHR* pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDescriptorUpdateTemplateKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkDescriptorUpdateTemplateKHR pDescriptorUpdateTemplate) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDevice_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, IntPtr pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, VkDeviceCreateInfo* pCreateInfo, IntPtr pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, IntPtr pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, ref VkDeviceCreateInfo pCreateInfo, IntPtr pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, IntPtr pAllocator, VkDevice* pDevice) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDevice(VkPhysicalDevice physicalDevice, IntPtr pCreateInfo, IntPtr pAllocator, out VkDevice pDevice) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDisplayModeKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, VkDisplayModeCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref VkDisplayModeCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, IntPtr pAllocator, VkDisplayModeKHR* pMode) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayModeKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pCreateInfo, IntPtr pAllocator, out VkDisplayModeKHR pMode) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateDisplayPlaneSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, VkDisplaySurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, ref VkDisplaySurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateDisplayPlaneSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateEvent_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, IntPtr pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, VkEventCreateInfo* pCreateInfo, IntPtr pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, IntPtr pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, ref VkEventCreateInfo pCreateInfo, IntPtr pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkEvent* pEvent) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateEvent(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkEvent pEvent) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateFence_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, VkFenceCreateInfo* pCreateInfo, IntPtr pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, ref VkFenceCreateInfo pCreateInfo, IntPtr pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFence(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkFence pFence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateFramebuffer_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, IntPtr pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, VkFramebufferCreateInfo* pCreateInfo, IntPtr pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, IntPtr pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, ref VkFramebufferCreateInfo pCreateInfo, IntPtr pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkFramebuffer* pFramebuffer) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateFramebuffer(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkFramebuffer pFramebuffer) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateGraphicsPipelines_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo* pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, ref VkGraphicsPipelineCreateInfo pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, IntPtr pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, VkAllocationCallbacks* pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, VkAllocationCallbacks* pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, ref VkAllocationCallbacks pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, IntPtr pAllocator, VkPipeline* pPipelines) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateGraphicsPipelines(VkDevice device, VkPipelineCache pipelineCache, uint createInfoCount, VkGraphicsPipelineCreateInfo[] pCreateInfos, IntPtr pAllocator, out VkPipeline pPipelines) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateImage_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, IntPtr pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, VkImageCreateInfo* pCreateInfo, IntPtr pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, IntPtr pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, ref VkImageCreateInfo pCreateInfo, IntPtr pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkImage* pImage) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImage(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkImage pImage) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateImageView_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, IntPtr pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, VkImageViewCreateInfo* pCreateInfo, IntPtr pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, IntPtr pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, ref VkImageViewCreateInfo pCreateInfo, IntPtr pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkImageView* pView) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateImageView(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkImageView pView) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateIndirectCommandsLayoutNVX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, IntPtr pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutCreateInfoNVX* pCreateInfo, IntPtr pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, VkAllocationCallbacks* pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, ref VkAllocationCallbacks pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, IntPtr pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, ref VkIndirectCommandsLayoutCreateInfoNVX pCreateInfo, IntPtr pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkIndirectCommandsLayoutNVX* pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIndirectCommandsLayoutNVX(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkIndirectCommandsLayoutNVX pIndirectCommandsLayout) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateInstance_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, IntPtr pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(VkInstanceCreateInfo* pCreateInfo, IntPtr pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, IntPtr pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(ref VkInstanceCreateInfo pCreateInfo, IntPtr pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, IntPtr pAllocator, VkInstance* pInstance) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_LAYER_NOT_PRESENT, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_INCOMPATIBLE_DRIVER - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateInstance(IntPtr pCreateInfo, IntPtr pAllocator, out VkInstance pInstance) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateIOSSurfaceMVK_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, VkIOSSurfaceCreateInfoMVK* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, ref VkIOSSurfaceCreateInfoMVK pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateIOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateMacOSSurfaceMVK_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, VkMacOSSurfaceCreateInfoMVK* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, ref VkMacOSSurfaceCreateInfoMVK pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMacOSSurfaceMVK(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateMirSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, VkMirSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, ref VkMirSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateMirSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateObjectTableNVX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, IntPtr pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, VkObjectTableCreateInfoNVX* pCreateInfo, IntPtr pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, VkAllocationCallbacks* pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, ref VkAllocationCallbacks pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, IntPtr pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, ref VkObjectTableCreateInfoNVX pCreateInfo, IntPtr pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkObjectTableNVX* pObjectTable) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateObjectTableNVX(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkObjectTableNVX pObjectTable) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreatePipelineCache_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, IntPtr pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, VkPipelineCacheCreateInfo* pCreateInfo, IntPtr pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, IntPtr pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, ref VkPipelineCacheCreateInfo pCreateInfo, IntPtr pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkPipelineCache* pPipelineCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineCache(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkPipelineCache pPipelineCache) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreatePipelineLayout_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, VkPipelineLayoutCreateInfo* pCreateInfo, IntPtr pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, IntPtr pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, ref VkPipelineLayoutCreateInfo pCreateInfo, IntPtr pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkPipelineLayout* pPipelineLayout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreatePipelineLayout(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkPipelineLayout pPipelineLayout) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateQueryPool_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, IntPtr pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, VkQueryPoolCreateInfo* pCreateInfo, IntPtr pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, IntPtr pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, ref VkQueryPoolCreateInfo pCreateInfo, IntPtr pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkQueryPool* pQueryPool) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateQueryPool(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkQueryPool pQueryPool) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateRenderPass_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, IntPtr pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, VkRenderPassCreateInfo* pCreateInfo, IntPtr pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, IntPtr pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, ref VkRenderPassCreateInfo pCreateInfo, IntPtr pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkRenderPass* pRenderPass) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateRenderPass(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkRenderPass pRenderPass) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateSampler_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, IntPtr pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, VkSamplerCreateInfo* pCreateInfo, IntPtr pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, IntPtr pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, ref VkSamplerCreateInfo pCreateInfo, IntPtr pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkSampler* pSampler) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_TOO_MANY_OBJECTS - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSampler(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkSampler pSampler) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateSamplerYcbcrConversionKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, ref VkSamplerYcbcrConversionCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkSamplerYcbcrConversionKHR* pYcbcrConversion) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSamplerYcbcrConversionKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkSamplerYcbcrConversionKHR pYcbcrConversion) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateSemaphore_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, IntPtr pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, VkSemaphoreCreateInfo* pCreateInfo, IntPtr pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, IntPtr pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, ref VkSemaphoreCreateInfo pCreateInfo, IntPtr pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkSemaphore* pSemaphore) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSemaphore(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkSemaphore pSemaphore) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateShaderModule_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, IntPtr pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, VkShaderModuleCreateInfo* pCreateInfo, IntPtr pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, VkAllocationCallbacks* pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, IntPtr pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, ref VkShaderModuleCreateInfo pCreateInfo, IntPtr pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkShaderModule* pShaderModule) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_SHADER_NV - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateShaderModule(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkShaderModule pShaderModule) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateSharedSwapchainsKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, IntPtr pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR* pCreateInfos, IntPtr pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, IntPtr pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, ref VkSwapchainCreateInfoKHR pCreateInfos, IntPtr pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, IntPtr pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, IntPtr pCreateInfos, IntPtr pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, IntPtr pAllocator, VkSwapchainKHR* pSwapchains) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSharedSwapchainsKHR(VkDevice device, uint swapchainCount, VkSwapchainCreateInfoKHR[] pCreateInfos, IntPtr pAllocator, out VkSwapchainKHR pSwapchains) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateSwapchainKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, VkSwapchainCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, ref VkSwapchainCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkSwapchainKHR* pSwapchain) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateSwapchainKHR(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkSwapchainKHR pSwapchain) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateValidationCacheEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, IntPtr pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, VkValidationCacheCreateInfoEXT* pCreateInfo, IntPtr pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, VkAllocationCallbacks* pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, ref VkAllocationCallbacks pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, IntPtr pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, ref VkValidationCacheCreateInfoEXT pCreateInfo, IntPtr pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, VkValidationCacheEXT* pValidationCache) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateValidationCacheEXT(VkDevice device, IntPtr pCreateInfo, IntPtr pAllocator, out VkValidationCacheEXT pValidationCache) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateViSurfaceNN_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, VkViSurfaceCreateInfoNN* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, ref VkViSurfaceCreateInfoNN pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_NATIVE_WINDOW_IN_USE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateViSurfaceNN(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateWaylandSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, VkWaylandSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, ref VkWaylandSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWaylandSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateWin32SurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, VkWin32SurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, ref VkWin32SurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateWin32SurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateXcbSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, VkXcbSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, ref VkXcbSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXcbSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkCreateXlibSurfaceKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, VkXlibSurfaceCreateInfoKHR* pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, ref VkXlibSurfaceCreateInfoKHR pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, VkAllocationCallbacks* pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, ref VkAllocationCallbacks pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, VkSurfaceKHR* pSurface) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkCreateXlibSurfaceKHR(VkInstance instance, IntPtr pCreateInfo, IntPtr pAllocator, out VkSurfaceKHR pSurface) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDebugMarkerSetObjectNameEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectNameEXT(VkDevice device, VkDebugMarkerObjectNameInfoEXT* pNameInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectNameEXT(VkDevice device, ref VkDebugMarkerObjectNameInfoEXT pNameInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectNameEXT(VkDevice device, IntPtr pNameInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDebugMarkerSetObjectTagEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectTagEXT(VkDevice device, VkDebugMarkerObjectTagInfoEXT* pTagInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectTagEXT(VkDevice device, ref VkDebugMarkerObjectTagInfoEXT pTagInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkDebugMarkerSetObjectTagEXT(VkDevice device, IntPtr pTagInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDebugReportMessageEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, ulong @object, UIntPtr location, int messageCode, byte* pLayerPrefix, byte* pMessage) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, ulong @object, UIntPtr location, int messageCode, byte* pLayerPrefix, string pMessage) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, ulong @object, UIntPtr location, int messageCode, string pLayerPrefix, byte* pMessage) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDebugReportMessageEXT(VkInstance instance, VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType, ulong @object, UIntPtr location, int messageCode, string pLayerPrefix, string pMessage) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyBuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyBuffer(VkDevice device, VkBuffer buffer, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyBuffer(VkDevice device, VkBuffer buffer, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyBuffer(VkDevice device, VkBuffer buffer, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyBufferView_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyBufferView(VkDevice device, VkBufferView bufferView, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyBufferView(VkDevice device, VkBufferView bufferView, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyBufferView(VkDevice device, VkBufferView bufferView, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyCommandPool_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyCommandPool(VkDevice device, VkCommandPool commandPool, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyDebugReportCallbackEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDebugReportCallbackEXT(VkInstance instance, VkDebugReportCallbackEXT callback, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyDescriptorPool_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyDescriptorSetLayout_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorSetLayout(VkDevice device, VkDescriptorSetLayout descriptorSetLayout, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyDescriptorUpdateTemplateKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDescriptorUpdateTemplateKHR(VkDevice device, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyDevice_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyDevice(VkDevice device, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDevice(VkDevice device, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyDevice(VkDevice device, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyEvent_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyEvent(VkDevice device, VkEvent @event, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyEvent(VkDevice device, VkEvent @event, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyEvent(VkDevice device, VkEvent @event, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyFence_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyFence(VkDevice device, VkFence fence, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyFence(VkDevice device, VkFence fence, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyFence(VkDevice device, VkFence fence, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyFramebuffer_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyFramebuffer(VkDevice device, VkFramebuffer framebuffer, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyImage_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyImage(VkDevice device, VkImage image, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyImage(VkDevice device, VkImage image, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyImage(VkDevice device, VkImage image, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyImageView_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyImageView(VkDevice device, VkImageView imageView, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyImageView(VkDevice device, VkImageView imageView, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyImageView(VkDevice device, VkImageView imageView, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyIndirectCommandsLayoutNVX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyIndirectCommandsLayoutNVX(VkDevice device, VkIndirectCommandsLayoutNVX indirectCommandsLayout, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyInstance_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyInstance(VkInstance instance, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyInstance(VkInstance instance, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyInstance(VkInstance instance, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyObjectTableNVX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyObjectTableNVX(VkDevice device, VkObjectTableNVX objectTable, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyObjectTableNVX(VkDevice device, VkObjectTableNVX objectTable, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyObjectTableNVX(VkDevice device, VkObjectTableNVX objectTable, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyPipeline_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipeline(VkDevice device, VkPipeline pipeline, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipeline(VkDevice device, VkPipeline pipeline, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipeline(VkDevice device, VkPipeline pipeline, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyPipelineCache_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineCache(VkDevice device, VkPipelineCache pipelineCache, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyPipelineLayout_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyPipelineLayout(VkDevice device, VkPipelineLayout pipelineLayout, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyQueryPool_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyQueryPool(VkDevice device, VkQueryPool queryPool, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyRenderPass_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyRenderPass(VkDevice device, VkRenderPass renderPass, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroySampler_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroySampler(VkDevice device, VkSampler sampler, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySampler(VkDevice device, VkSampler sampler, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySampler(VkDevice device, VkSampler sampler, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroySamplerYcbcrConversionKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionKHR ycbcrConversion, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionKHR ycbcrConversion, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySamplerYcbcrConversionKHR(VkDevice device, VkSamplerYcbcrConversionKHR ycbcrConversion, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroySemaphore_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySemaphore(VkDevice device, VkSemaphore semaphore, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyShaderModule_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyShaderModule(VkDevice device, VkShaderModule shaderModule, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroySurfaceKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySurfaceKHR(VkInstance instance, VkSurfaceKHR surface, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroySwapchainKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroySwapchainKHR(VkDevice device, VkSwapchainKHR swapchain, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDestroyValidationCacheEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkDestroyValidationCacheEXT(VkDevice device, VkValidationCacheEXT validationCache, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDeviceWaitIdle_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkDeviceWaitIdle(VkDevice device) - { - throw new NotImplementedException(); - } - - private static IntPtr vkDisplayPowerControlEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkDisplayPowerControlEXT(VkDevice device, VkDisplayKHR display, VkDisplayPowerInfoEXT* pDisplayPowerInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkDisplayPowerControlEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayPowerInfoEXT pDisplayPowerInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkDisplayPowerControlEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayPowerInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEndCommandBuffer_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEndCommandBuffer(VkCommandBuffer commandBuffer) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumerateDeviceExtensionProperties_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, uint* pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, uint* pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, ref uint pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, ref uint pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, IntPtr pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, IntPtr pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, byte* pLayerName, IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, uint* pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, uint* pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, ref uint pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, ref uint pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, IntPtr pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, IntPtr pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceExtensionProperties(VkPhysicalDevice physicalDevice, string pLayerName, IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumerateDeviceLayerProperties_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint* pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint* pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateDeviceLayerProperties(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumerateInstanceExtensionProperties_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, uint* pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, uint* pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, ref uint pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, ref uint pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, IntPtr pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, IntPtr pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(byte* pLayerName, IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, uint* pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, uint* pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, ref uint pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, ref uint pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, IntPtr pPropertyCount, VkExtensionProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, IntPtr pPropertyCount, ref VkExtensionProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_LAYER_NOT_PRESENT - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceExtensionProperties(string pLayerName, IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumerateInstanceLayerProperties_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(uint* pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(uint* pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(uint* pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(ref uint pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(ref uint pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(ref uint pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(IntPtr pPropertyCount, VkLayerProperties* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(IntPtr pPropertyCount, ref VkLayerProperties pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumerateInstanceLayerProperties(IntPtr pPropertyCount, IntPtr pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumeratePhysicalDeviceGroupsKHX_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, uint* pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupPropertiesKHX* pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, uint* pPhysicalDeviceGroupCount, ref VkPhysicalDeviceGroupPropertiesKHX pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, uint* pPhysicalDeviceGroupCount, IntPtr pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, ref uint pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupPropertiesKHX* pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, ref uint pPhysicalDeviceGroupCount, ref VkPhysicalDeviceGroupPropertiesKHX pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, ref uint pPhysicalDeviceGroupCount, IntPtr pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, IntPtr pPhysicalDeviceGroupCount, VkPhysicalDeviceGroupPropertiesKHX* pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, IntPtr pPhysicalDeviceGroupCount, ref VkPhysicalDeviceGroupPropertiesKHX pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDeviceGroupsKHX(VkInstance instance, IntPtr pPhysicalDeviceGroupCount, IntPtr pPhysicalDeviceGroupProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkEnumeratePhysicalDevices_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint* pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint* pPhysicalDeviceCount, ref VkPhysicalDevice pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, uint* pPhysicalDeviceCount, IntPtr pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, ref uint pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, ref uint pPhysicalDeviceCount, ref VkPhysicalDevice pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, ref uint pPhysicalDeviceCount, IntPtr pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, IntPtr pPhysicalDeviceCount, VkPhysicalDevice* pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, IntPtr pPhysicalDeviceCount, ref VkPhysicalDevice pPhysicalDevices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkEnumeratePhysicalDevices(VkInstance instance, IntPtr pPhysicalDeviceCount, IntPtr pPhysicalDevices) - { - throw new NotImplementedException(); - } - - private static IntPtr vkFlushMappedMemoryRanges_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFlushMappedMemoryRanges(VkDevice device, uint memoryRangeCount, VkMappedMemoryRange* pMemoryRanges) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFlushMappedMemoryRanges(VkDevice device, uint memoryRangeCount, ref VkMappedMemoryRange pMemoryRanges) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFlushMappedMemoryRanges(VkDevice device, uint memoryRangeCount, IntPtr pMemoryRanges) - { - throw new NotImplementedException(); - } - - private static IntPtr vkFreeCommandBuffers_ptr; - [Generator.CalliRewrite] - public static unsafe void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint commandBufferCount, VkCommandBuffer* pCommandBuffers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint commandBufferCount, ref VkCommandBuffer pCommandBuffers) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkFreeCommandBuffers(VkDevice device, VkCommandPool commandPool, uint commandBufferCount, IntPtr pCommandBuffers) - { - throw new NotImplementedException(); - } - - private static IntPtr vkFreeDescriptorSets_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint descriptorSetCount, VkDescriptorSet* pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint descriptorSetCount, ref VkDescriptorSet pDescriptorSets) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkFreeDescriptorSets(VkDevice device, VkDescriptorPool descriptorPool, uint descriptorSetCount, IntPtr pDescriptorSets) - { - throw new NotImplementedException(); - } - - private static IntPtr vkFreeMemory_ptr; - [Generator.CalliRewrite] - public static unsafe void vkFreeMemory(VkDevice device, VkDeviceMemory memory, VkAllocationCallbacks* pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkFreeMemory(VkDevice device, VkDeviceMemory memory, ref VkAllocationCallbacks pAllocator) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkFreeMemory(VkDevice device, VkDeviceMemory memory, IntPtr pAllocator) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetBufferMemoryRequirements_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, VkMemoryRequirements* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements(VkDevice device, VkBuffer buffer, out VkMemoryRequirements pMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetBufferMemoryRequirements2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, VkBufferMemoryRequirementsInfo2KHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, VkBufferMemoryRequirementsInfo2KHR* pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, ref VkBufferMemoryRequirementsInfo2KHR pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, ref VkBufferMemoryRequirementsInfo2KHR pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetBufferMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceGroupPeerMemoryFeaturesKHX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceGroupPeerMemoryFeaturesKHX(VkDevice device, uint heapIndex, uint localDeviceIndex, uint remoteDeviceIndex, VkPeerMemoryFeatureFlagsKHX* pPeerMemoryFeatures) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceGroupPeerMemoryFeaturesKHX(VkDevice device, uint heapIndex, uint localDeviceIndex, uint remoteDeviceIndex, out VkPeerMemoryFeatureFlagsKHX pPeerMemoryFeatures) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceGroupPresentCapabilitiesKHX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDeviceGroupPresentCapabilitiesKHX(VkDevice device, VkDeviceGroupPresentCapabilitiesKHX* pDeviceGroupPresentCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDeviceGroupPresentCapabilitiesKHX(VkDevice device, out VkDeviceGroupPresentCapabilitiesKHX pDeviceGroupPresentCapabilities) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceGroupSurfacePresentModesKHX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDeviceGroupSurfacePresentModesKHX(VkDevice device, VkSurfaceKHR surface, VkDeviceGroupPresentModeFlagsKHX* pModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDeviceGroupSurfacePresentModesKHX(VkDevice device, VkSurfaceKHR surface, out VkDeviceGroupPresentModeFlagsKHX pModes) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceMemoryCommitment_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, ulong* pCommittedMemoryInBytes) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceMemoryCommitment(VkDevice device, VkDeviceMemory memory, out ulong pCommittedMemoryInBytes) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceProcAddr_ptr; - [Generator.CalliRewrite] - public static unsafe IntPtr vkGetDeviceProcAddr(VkDevice device, byte* pName) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe IntPtr vkGetDeviceProcAddr(VkDevice device, out byte pName) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDeviceQueue_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceQueue(VkDevice device, uint queueFamilyIndex, uint queueIndex, VkQueue* pQueue) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetDeviceQueue(VkDevice device, uint queueFamilyIndex, uint queueIndex, out VkQueue pQueue) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDisplayModePropertiesKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint* pPropertyCount, VkDisplayModePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, uint* pPropertyCount, out VkDisplayModePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref uint pPropertyCount, VkDisplayModePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, ref uint pPropertyCount, out VkDisplayModePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pPropertyCount, VkDisplayModePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayModePropertiesKHR(VkPhysicalDevice physicalDevice, VkDisplayKHR display, IntPtr pPropertyCount, out VkDisplayModePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDisplayPlaneCapabilitiesKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint planeIndex, VkDisplayPlaneCapabilitiesKHR* pCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkDisplayModeKHR mode, uint planeIndex, out VkDisplayPlaneCapabilitiesKHR pCapabilities) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetDisplayPlaneSupportedDisplaysKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, uint* pDisplayCount, VkDisplayKHR* pDisplays) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, uint* pDisplayCount, out VkDisplayKHR pDisplays) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, ref uint pDisplayCount, VkDisplayKHR* pDisplays) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, ref uint pDisplayCount, out VkDisplayKHR pDisplays) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, IntPtr pDisplayCount, VkDisplayKHR* pDisplays) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetDisplayPlaneSupportedDisplaysKHR(VkPhysicalDevice physicalDevice, uint planeIndex, IntPtr pDisplayCount, out VkDisplayKHR pDisplays) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetEventStatus_ptr; - ///Success codes:VK_EVENT_SET, VK_EVENT_RESET. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkGetEventStatus(VkDevice device, VkEvent @event) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetFenceFdKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, VkFenceGetFdInfoKHR* pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, VkFenceGetFdInfoKHR* pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, ref VkFenceGetFdInfoKHR pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, ref VkFenceGetFdInfoKHR pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, IntPtr pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceFdKHR(VkDevice device, IntPtr pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetFenceStatus_ptr; - ///Success codes:VK_SUCCESS, VK_NOT_READY. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceStatus(VkDevice device, VkFence fence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetFenceWin32HandleKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, VkFenceGetWin32HandleInfoKHR* pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, ref VkFenceGetWin32HandleInfoKHR pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, ref VkFenceGetWin32HandleInfoKHR pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetFenceWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetImageMemoryRequirements_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements(VkDevice device, VkImage image, VkMemoryRequirements* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements(VkDevice device, VkImage image, out VkMemoryRequirements pMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetImageMemoryRequirements2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, VkImageMemoryRequirementsInfo2KHR* pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, VkImageMemoryRequirementsInfo2KHR* pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, ref VkImageMemoryRequirementsInfo2KHR pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, ref VkImageMemoryRequirementsInfo2KHR pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, VkMemoryRequirements2KHR* pMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, out VkMemoryRequirements2KHR pMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetImageSparseMemoryRequirements_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, uint* pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, ref uint pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, ref uint pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, IntPtr pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements(VkDevice device, VkImage image, IntPtr pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetImageSparseMemoryRequirements2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, uint* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, uint* pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, ref uint pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, ref uint pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, IntPtr pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2KHR* pInfo, IntPtr pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, uint* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, uint* pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, ref uint pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, ref uint pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, IntPtr pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, ref VkImageSparseMemoryRequirementsInfo2KHR pInfo, IntPtr pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, uint* pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, uint* pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, ref uint pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, ref uint pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, IntPtr pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2KHR* pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, IntPtr pInfo, IntPtr pSparseMemoryRequirementCount, out VkSparseImageMemoryRequirements2KHR pSparseMemoryRequirements) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetImageSubresourceLayout_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, VkImageSubresource* pSubresource, VkSubresourceLayout* pLayout) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, VkImageSubresource* pSubresource, out VkSubresourceLayout pLayout) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, ref VkImageSubresource pSubresource, VkSubresourceLayout* pLayout) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, ref VkImageSubresource pSubresource, out VkSubresourceLayout pLayout) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, IntPtr pSubresource, VkSubresourceLayout* pLayout) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetImageSubresourceLayout(VkDevice device, VkImage image, IntPtr pSubresource, out VkSubresourceLayout pLayout) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetInstanceProcAddr_ptr; - [Generator.CalliRewrite] - public static unsafe IntPtr vkGetInstanceProcAddr(VkInstance instance, byte* pName) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe IntPtr vkGetInstanceProcAddr(VkInstance instance, out byte pName) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryFdKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, VkMemoryGetFdInfoKHR* pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, VkMemoryGetFdInfoKHR* pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, ref VkMemoryGetFdInfoKHR pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, ref VkMemoryGetFdInfoKHR pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, IntPtr pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdKHR(VkDevice device, IntPtr pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryFdPropertiesKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdPropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, int fd, VkMemoryFdPropertiesKHR* pMemoryFdProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryFdPropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, int fd, out VkMemoryFdPropertiesKHR pMemoryFdProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryHostPointerPropertiesEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryHostPointerPropertiesEXT(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, void* pHostPointer, VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryHostPointerPropertiesEXT(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, void* pHostPointer, out VkMemoryHostPointerPropertiesEXT pMemoryHostPointerProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryWin32HandleKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, VkMemoryGetWin32HandleInfoKHR* pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, ref VkMemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, ref VkMemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryWin32HandleNV_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleNV(VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandleNV(VkDevice device, VkDeviceMemory memory, VkExternalMemoryHandleTypeFlagsNV handleType, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetMemoryWin32HandlePropertiesKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandlePropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, Win32.HANDLE handle, VkMemoryWin32HandlePropertiesKHR* pMemoryWin32HandleProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetMemoryWin32HandlePropertiesKHR(VkDevice device, VkExternalMemoryHandleTypeFlagsKHR handleType, Win32.HANDLE handle, out VkMemoryWin32HandlePropertiesKHR pMemoryWin32HandleProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPastPresentationTimingGOOGLE_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, uint* pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, uint* pPresentationTimingCount, out VkPastPresentationTimingGOOGLE pPresentationTimings) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, ref uint pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, ref uint pPresentationTimingCount, out VkPastPresentationTimingGOOGLE pPresentationTimings) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, IntPtr pPresentationTimingCount, VkPastPresentationTimingGOOGLE* pPresentationTimings) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPastPresentationTimingGOOGLE(VkDevice device, VkSwapchainKHR swapchain, IntPtr pPresentationTimingCount, out VkPastPresentationTimingGOOGLE pPresentationTimings) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceDisplayPlanePropertiesKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, uint* pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, uint* pPropertyCount, out VkDisplayPlanePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, out VkDisplayPlanePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, VkDisplayPlanePropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPlanePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, out VkDisplayPlanePropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceDisplayPropertiesKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, uint* pPropertyCount, VkDisplayPropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, uint* pPropertyCount, out VkDisplayPropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, VkDisplayPropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, ref uint pPropertyCount, out VkDisplayPropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, VkDisplayPropertiesKHR* pProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceDisplayPropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pPropertyCount, out VkDisplayPropertiesKHR pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceExternalBufferPropertiesKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalBufferInfoKHR* pExternalBufferInfo, VkExternalBufferPropertiesKHR* pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalBufferInfoKHR* pExternalBufferInfo, out VkExternalBufferPropertiesKHR pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalBufferInfoKHR pExternalBufferInfo, VkExternalBufferPropertiesKHR* pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalBufferInfoKHR pExternalBufferInfo, out VkExternalBufferPropertiesKHR pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalBufferInfo, VkExternalBufferPropertiesKHR* pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalBufferPropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalBufferInfo, out VkExternalBufferPropertiesKHR pExternalBufferProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceExternalFencePropertiesKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalFenceInfoKHR* pExternalFenceInfo, VkExternalFencePropertiesKHR* pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalFenceInfoKHR* pExternalFenceInfo, out VkExternalFencePropertiesKHR pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalFenceInfoKHR pExternalFenceInfo, VkExternalFencePropertiesKHR* pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalFenceInfoKHR pExternalFenceInfo, out VkExternalFencePropertiesKHR pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalFenceInfo, VkExternalFencePropertiesKHR* pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalFencePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalFenceInfo, out VkExternalFencePropertiesKHR pExternalFenceProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceExternalImageFormatPropertiesNV_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, VkExternalImageFormatPropertiesNV* pExternalImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceExternalImageFormatPropertiesNV(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkExternalMemoryHandleTypeFlagsNV externalHandleType, out VkExternalImageFormatPropertiesNV pExternalImageFormatProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceExternalSemaphorePropertiesKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalSemaphoreInfoKHR* pExternalSemaphoreInfo, VkExternalSemaphorePropertiesKHR* pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceExternalSemaphoreInfoKHR* pExternalSemaphoreInfo, out VkExternalSemaphorePropertiesKHR pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalSemaphoreInfoKHR pExternalSemaphoreInfo, VkExternalSemaphorePropertiesKHR* pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceExternalSemaphoreInfoKHR pExternalSemaphoreInfo, out VkExternalSemaphorePropertiesKHR pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalSemaphoreInfo, VkExternalSemaphorePropertiesKHR* pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceExternalSemaphorePropertiesKHR(VkPhysicalDevice physicalDevice, IntPtr pExternalSemaphoreInfo, out VkExternalSemaphorePropertiesKHR pExternalSemaphoreProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceFeatures_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures* pFeatures) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFeatures(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceFeatures pFeatures) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceFeatures2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2KHR* pFeatures) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceFeatures2KHR pFeatures) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceFormatProperties_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties* pFormatProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, out VkFormatProperties pFormatProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceFormatProperties2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkFormat format, VkFormatProperties2KHR* pFormatProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkFormat format, out VkFormatProperties2KHR pFormatProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, VkDeviceGeneratedCommandsFeaturesNVX* pFeatures, out VkDeviceGeneratedCommandsLimitsNVX pLimits) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, ref VkDeviceGeneratedCommandsFeaturesNVX pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, ref VkDeviceGeneratedCommandsFeaturesNVX pFeatures, out VkDeviceGeneratedCommandsLimitsNVX pLimits) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, IntPtr pFeatures, VkDeviceGeneratedCommandsLimitsNVX* pLimits) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(VkPhysicalDevice physicalDevice, IntPtr pFeatures, out VkDeviceGeneratedCommandsLimitsNVX pLimits) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceImageFormatProperties_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, VkImageFormatProperties* pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkImageTiling tiling, VkImageUsageFlags usage, VkImageCreateFlags flags, out VkImageFormatProperties pImageFormatProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceImageFormatProperties2KHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceImageFormatInfo2KHR* pImageFormatInfo, VkImageFormatProperties2KHR* pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceImageFormatInfo2KHR* pImageFormatInfo, out VkImageFormatProperties2KHR pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceImageFormatInfo2KHR pImageFormatInfo, VkImageFormatProperties2KHR* pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceImageFormatInfo2KHR pImageFormatInfo, out VkImageFormatProperties2KHR pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pImageFormatInfo, VkImageFormatProperties2KHR* pImageFormatProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_FORMAT_NOT_SUPPORTED - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pImageFormatInfo, out VkImageFormatProperties2KHR pImageFormatProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceMemoryProperties_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties* pMemoryProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMemoryProperties(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceMemoryProperties pMemoryProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceMemoryProperties2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceMemoryProperties2KHR* pMemoryProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMemoryProperties2KHR(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceMemoryProperties2KHR pMemoryProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceMirPresentationSupportKHR_ptr; - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, Mir.MirConnection* connection) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceMirPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, out Mir.MirConnection connection) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceMultisamplePropertiesEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physicalDevice, VkSampleCountFlags samples, VkMultisamplePropertiesEXT* pMultisampleProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceMultisamplePropertiesEXT(VkPhysicalDevice physicalDevice, VkSampleCountFlags samples, out VkMultisamplePropertiesEXT pMultisampleProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDevicePresentRectanglesKHX_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pRectCount, VkRect2D* pRects) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pRectCount, out VkRect2D pRects) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pRectCount, VkRect2D* pRects) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pRectCount, out VkRect2D pRects) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pRectCount, VkRect2D* pRects) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDevicePresentRectanglesKHX(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pRectCount, out VkRect2D pRects) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceProperties_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceProperties(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceProperties pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceProperties2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceProperties2KHR(VkPhysicalDevice physicalDevice, out VkPhysicalDeviceProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceQueueFamilyProperties_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint* pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint* pQueueFamilyPropertyCount, out VkQueueFamilyProperties pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, ref uint pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, ref uint pQueueFamilyPropertyCount, out VkQueueFamilyProperties pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, IntPtr pQueueFamilyPropertyCount, VkQueueFamilyProperties* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, IntPtr pQueueFamilyPropertyCount, out VkQueueFamilyProperties pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceQueueFamilyProperties2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, uint* pQueueFamilyPropertyCount, VkQueueFamilyProperties2KHR* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, uint* pQueueFamilyPropertyCount, out VkQueueFamilyProperties2KHR pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, ref uint pQueueFamilyPropertyCount, VkQueueFamilyProperties2KHR* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, ref uint pQueueFamilyPropertyCount, out VkQueueFamilyProperties2KHR pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pQueueFamilyPropertyCount, VkQueueFamilyProperties2KHR* pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceQueueFamilyProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pQueueFamilyPropertyCount, out VkQueueFamilyProperties2KHR pQueueFamilyProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSparseImageFormatProperties_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, uint* pPropertyCount, VkSparseImageFormatProperties* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, uint* pPropertyCount, out VkSparseImageFormatProperties pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, ref uint pPropertyCount, VkSparseImageFormatProperties* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, ref uint pPropertyCount, out VkSparseImageFormatProperties pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, IntPtr pPropertyCount, VkSparseImageFormatProperties* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlags samples, VkImageUsageFlags usage, VkImageTiling tiling, IntPtr pPropertyCount, out VkSparseImageFormatProperties pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSparseImageFormatProperties2KHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, uint* pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, uint* pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, ref uint pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, ref uint pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, IntPtr pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSparseImageFormatInfo2KHR* pFormatInfo, IntPtr pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, uint* pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, uint* pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, ref uint pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, ref uint pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, IntPtr pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSparseImageFormatInfo2KHR pFormatInfo, IntPtr pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, uint* pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, uint* pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, ref uint pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, ref uint pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, IntPtr pPropertyCount, VkSparseImageFormatProperties2KHR* pProperties) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(VkPhysicalDevice physicalDevice, IntPtr pFormatInfo, IntPtr pPropertyCount, out VkSparseImageFormatProperties2KHR pProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceCapabilities2EXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilities2EXT* pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2EXT(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, out VkSurfaceCapabilities2EXT pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceCapabilities2KHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, out VkSurfaceCapabilities2KHR pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, out VkSurfaceCapabilities2KHR pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, VkSurfaceCapabilities2KHR* pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilities2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, out VkSurfaceCapabilities2KHR pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceCapabilitiesKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, VkSurfaceCapabilitiesKHR* pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceCapabilitiesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, out VkSurfaceCapabilitiesKHR pSurfaceCapabilities) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceFormats2KHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, uint* pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, ref uint pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, ref uint pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, IntPtr pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceSurfaceInfo2KHR* pSurfaceInfo, IntPtr pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, uint* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, uint* pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, ref uint pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, ref uint pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, IntPtr pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, ref VkPhysicalDeviceSurfaceInfo2KHR pSurfaceInfo, IntPtr pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, uint* pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, uint* pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, ref uint pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, ref uint pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, IntPtr pSurfaceFormatCount, VkSurfaceFormat2KHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormats2KHR(VkPhysicalDevice physicalDevice, IntPtr pSurfaceInfo, IntPtr pSurfaceFormatCount, out VkSurfaceFormat2KHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceFormatsKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pSurfaceFormatCount, out VkSurfaceFormatKHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pSurfaceFormatCount, out VkSurfaceFormatKHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pSurfaceFormatCount, VkSurfaceFormatKHR* pSurfaceFormats) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceFormatsKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pSurfaceFormatCount, out VkSurfaceFormatKHR pSurfaceFormats) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfacePresentModesKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pPresentModeCount, VkPresentModeKHR* pPresentModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, uint* pPresentModeCount, out VkPresentModeKHR pPresentModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pPresentModeCount, VkPresentModeKHR* pPresentModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, ref uint pPresentModeCount, out VkPresentModeKHR pPresentModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pPresentModeCount, VkPresentModeKHR* pPresentModes) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfacePresentModesKHR(VkPhysicalDevice physicalDevice, VkSurfaceKHR surface, IntPtr pPresentModeCount, out VkPresentModeKHR pPresentModes) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceSurfaceSupportKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, VkSurfaceKHR surface, VkBool32* pSupported) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPhysicalDeviceSurfaceSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, VkSurfaceKHR surface, out VkBool32 pSupported) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceWaylandPresentationSupportKHR_ptr; - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, Wayland.wl_display* display) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceWaylandPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, out Wayland.wl_display display) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceWin32PresentationSupportKHR_ptr; - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceWin32PresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceXcbPresentationSupportKHR_ptr; - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, Xcb.xcb_connection_t* connection, Xcb.xcb_visualid_t visual_id) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, ref Xcb.xcb_connection_t connection, Xcb.xcb_visualid_t visual_id) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXcbPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, IntPtr connection, Xcb.xcb_visualid_t visual_id) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPhysicalDeviceXlibPresentationSupportKHR_ptr; - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, Xlib.Display* dpy, Xlib.VisualID visualID) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, ref Xlib.Display dpy, Xlib.VisualID visualID) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkBool32 vkGetPhysicalDeviceXlibPresentationSupportKHR(VkPhysicalDevice physicalDevice, uint queueFamilyIndex, IntPtr dpy, Xlib.VisualID visualID) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetPipelineCacheData_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, UIntPtr* pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, ref UIntPtr pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetPipelineCacheData(VkDevice device, VkPipelineCache pipelineCache, IntPtr pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetQueryPoolResults_ptr; - ///Success codes:VK_SUCCESS, VK_NOT_READY. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkGetQueryPoolResults(VkDevice device, VkQueryPool queryPool, uint firstQuery, uint queryCount, UIntPtr dataSize, void* pData, ulong stride, VkQueryResultFlags flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetRandROutputDisplayEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, Xlib.Display* dpy, IntPtr rrOutput, VkDisplayKHR* pDisplay) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, Xlib.Display* dpy, IntPtr rrOutput, out VkDisplayKHR pDisplay) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, ref Xlib.Display dpy, IntPtr rrOutput, VkDisplayKHR* pDisplay) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, ref Xlib.Display dpy, IntPtr rrOutput, out VkDisplayKHR pDisplay) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, IntPtr dpy, IntPtr rrOutput, VkDisplayKHR* pDisplay) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRandROutputDisplayEXT(VkPhysicalDevice physicalDevice, IntPtr dpy, IntPtr rrOutput, out VkDisplayKHR pDisplay) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetRefreshCycleDurationGOOGLE_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, VkRefreshCycleDurationGOOGLE* pDisplayTimingProperties) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetRefreshCycleDurationGOOGLE(VkDevice device, VkSwapchainKHR swapchain, out VkRefreshCycleDurationGOOGLE pDisplayTimingProperties) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetRenderAreaGranularity_ptr; - [Generator.CalliRewrite] - public static unsafe void vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, VkExtent2D* pGranularity) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkGetRenderAreaGranularity(VkDevice device, VkRenderPass renderPass, out VkExtent2D pGranularity) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSemaphoreFdKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, VkSemaphoreGetFdInfoKHR* pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, VkSemaphoreGetFdInfoKHR* pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, ref VkSemaphoreGetFdInfoKHR pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, ref VkSemaphoreGetFdInfoKHR pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, IntPtr pGetFdInfo, int* pFd) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreFdKHR(VkDevice device, IntPtr pGetFdInfo, out int pFd) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSemaphoreWin32HandleKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, VkSemaphoreGetWin32HandleInfoKHR* pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, ref VkSemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, ref VkSemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, Win32.HANDLE* pHandle) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSemaphoreWin32HandleKHR(VkDevice device, IntPtr pGetWin32HandleInfo, out Win32.HANDLE pHandle) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetShaderInfoAMD_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlags shaderStage, VkShaderInfoTypeAMD infoType, UIntPtr* pInfoSize, void* pInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlags shaderStage, VkShaderInfoTypeAMD infoType, ref UIntPtr pInfoSize, void* pInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_OUT_OF_HOST_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetShaderInfoAMD(VkDevice device, VkPipeline pipeline, VkShaderStageFlags shaderStage, VkShaderInfoTypeAMD infoType, IntPtr pInfoSize, void* pInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSwapchainCounterEXT_ptr; - ///Success codes:VK_SUCCESS, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainCounterEXT(VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagsEXT counter, ulong* pCounterValue) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainCounterEXT(VkDevice device, VkSwapchainKHR swapchain, VkSurfaceCounterFlagsEXT counter, out ulong pCounterValue) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSwapchainGrallocUsageANDROID_ptr; - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainGrallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainGrallocUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, out int grallocUsage) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSwapchainImagesKHR_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint* pSwapchainImageCount, VkImage* pSwapchainImages) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, uint* pSwapchainImageCount, out VkImage pSwapchainImages) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, ref uint pSwapchainImageCount, VkImage* pSwapchainImages) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, ref uint pSwapchainImageCount, out VkImage pSwapchainImages) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, IntPtr pSwapchainImageCount, VkImage* pSwapchainImages) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainImagesKHR(VkDevice device, VkSwapchainKHR swapchain, IntPtr pSwapchainImageCount, out VkImage pSwapchainImages) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetSwapchainStatusKHR_ptr; - ///Success codes:VK_SUCCESS, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkGetSwapchainStatusKHR(VkDevice device, VkSwapchainKHR swapchain) - { - throw new NotImplementedException(); - } - - private static IntPtr vkGetValidationCacheDataEXT_ptr; - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, UIntPtr* pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, ref UIntPtr pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_INCOMPLETE. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkGetValidationCacheDataEXT(VkDevice device, VkValidationCacheEXT validationCache, IntPtr pDataSize, void* pData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkImportFenceFdKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceFdKHR(VkDevice device, VkImportFenceFdInfoKHR* pImportFenceFdInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceFdKHR(VkDevice device, ref VkImportFenceFdInfoKHR pImportFenceFdInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceFdKHR(VkDevice device, IntPtr pImportFenceFdInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkImportFenceWin32HandleKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceWin32HandleKHR(VkDevice device, VkImportFenceWin32HandleInfoKHR* pImportFenceWin32HandleInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceWin32HandleKHR(VkDevice device, ref VkImportFenceWin32HandleInfoKHR pImportFenceWin32HandleInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportFenceWin32HandleKHR(VkDevice device, IntPtr pImportFenceWin32HandleInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkImportSemaphoreFdKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreFdKHR(VkDevice device, VkImportSemaphoreFdInfoKHR* pImportSemaphoreFdInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreFdKHR(VkDevice device, ref VkImportSemaphoreFdInfoKHR pImportSemaphoreFdInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreFdKHR(VkDevice device, IntPtr pImportSemaphoreFdInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkImportSemaphoreWin32HandleKHR_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreWin32HandleKHR(VkDevice device, VkImportSemaphoreWin32HandleInfoKHR* pImportSemaphoreWin32HandleInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreWin32HandleKHR(VkDevice device, ref VkImportSemaphoreWin32HandleInfoKHR pImportSemaphoreWin32HandleInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkImportSemaphoreWin32HandleKHR(VkDevice device, IntPtr pImportSemaphoreWin32HandleInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkInvalidateMappedMemoryRanges_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkInvalidateMappedMemoryRanges(VkDevice device, uint memoryRangeCount, VkMappedMemoryRange* pMemoryRanges) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkInvalidateMappedMemoryRanges(VkDevice device, uint memoryRangeCount, ref VkMappedMemoryRange pMemoryRanges) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkInvalidateMappedMemoryRanges(VkDevice device, uint memoryRangeCount, IntPtr pMemoryRanges) - { - throw new NotImplementedException(); - } - - private static IntPtr vkMapMemory_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_MEMORY_MAP_FAILED - [Generator.CalliRewrite] - public static unsafe VkResult vkMapMemory(VkDevice device, VkDeviceMemory memory, ulong offset, ulong size, uint flags, void** ppData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkMergePipelineCaches_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint srcCacheCount, VkPipelineCache* pSrcCaches) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint srcCacheCount, ref VkPipelineCache pSrcCaches) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergePipelineCaches(VkDevice device, VkPipelineCache dstCache, uint srcCacheCount, IntPtr pSrcCaches) - { - throw new NotImplementedException(); - } - - private static IntPtr vkMergeValidationCachesEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint srcCacheCount, VkValidationCacheEXT* pSrcCaches) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint srcCacheCount, ref VkValidationCacheEXT pSrcCaches) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkMergeValidationCachesEXT(VkDevice device, VkValidationCacheEXT dstCache, uint srcCacheCount, IntPtr pSrcCaches) - { - throw new NotImplementedException(); - } - - private static IntPtr vkQueueBindSparse_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueBindSparse(VkQueue queue, uint bindInfoCount, VkBindSparseInfo* pBindInfo, VkFence fence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueBindSparse(VkQueue queue, uint bindInfoCount, ref VkBindSparseInfo pBindInfo, VkFence fence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueBindSparse(VkQueue queue, uint bindInfoCount, IntPtr pBindInfo, VkFence fence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkQueuePresentKHR_ptr; - ///Success codes:VK_SUCCESS, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkQueuePresentKHR(VkQueue queue, VkPresentInfoKHR* pPresentInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkQueuePresentKHR(VkQueue queue, ref VkPresentInfoKHR pPresentInfo) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_SUBOPTIMAL_KHR. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST, VK_ERROR_OUT_OF_DATE_KHR, VK_ERROR_SURFACE_LOST_KHR - [Generator.CalliRewrite] - public static unsafe VkResult vkQueuePresentKHR(VkQueue queue, IntPtr pPresentInfo) - { - throw new NotImplementedException(); - } - - private static IntPtr vkQueueSignalReleaseImageANDROID_ptr; - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, VkSemaphore* pWaitSemaphores, VkImage image, int* pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, VkSemaphore* pWaitSemaphores, VkImage image, ref int pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, VkSemaphore* pWaitSemaphores, VkImage image, IntPtr pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, ref VkSemaphore pWaitSemaphores, VkImage image, int* pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, ref VkSemaphore pWaitSemaphores, VkImage image, ref int pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, ref VkSemaphore pWaitSemaphores, VkImage image, IntPtr pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, IntPtr pWaitSemaphores, VkImage image, int* pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, IntPtr pWaitSemaphores, VkImage image, ref int pNativeFenceFd) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSignalReleaseImageANDROID(VkQueue queue, uint waitSemaphoreCount, IntPtr pWaitSemaphores, VkImage image, IntPtr pNativeFenceFd) - { - throw new NotImplementedException(); - } - - private static IntPtr vkQueueSubmit_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSubmit(VkQueue queue, uint submitCount, VkSubmitInfo* pSubmits, VkFence fence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSubmit(VkQueue queue, uint submitCount, ref VkSubmitInfo pSubmits, VkFence fence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueSubmit(VkQueue queue, uint submitCount, IntPtr pSubmits, VkFence fence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkQueueWaitIdle_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkQueueWaitIdle(VkQueue queue) - { - throw new NotImplementedException(); - } - - private static IntPtr vkRegisterDeviceEventEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, VkDeviceEventInfoEXT* pDeviceEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, ref VkDeviceEventInfoEXT pDeviceEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDeviceEventEXT(VkDevice device, IntPtr pDeviceEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkRegisterDisplayEventEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, VkDisplayEventInfoEXT* pDisplayEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, ref VkDisplayEventInfoEXT pDisplayEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, VkAllocationCallbacks* pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, VkAllocationCallbacks* pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, VkAllocationCallbacks* pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, ref VkAllocationCallbacks pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, IntPtr pAllocator, VkFence* pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, IntPtr pAllocator, ref VkFence pFence) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterDisplayEventEXT(VkDevice device, VkDisplayKHR display, IntPtr pDisplayEventInfo, IntPtr pAllocator, IntPtr pFence) - { - throw new NotImplementedException(); - } - - private static IntPtr vkRegisterObjectsNVX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectTableEntryNVX** ppObjectTableEntries, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectTableEntryNVX** ppObjectTableEntries, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectTableEntryNVX** ppObjectTableEntries, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectTableEntryNVX* ppObjectTableEntries, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectTableEntryNVX* ppObjectTableEntries, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectTableEntryNVX* ppObjectTableEntries, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr ppObjectTableEntries, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr ppObjectTableEntries, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkRegisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr ppObjectTableEntries, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - private static IntPtr vkReleaseDisplayEXT_ptr; - ///Success codes:VK_SUCCESS. Error codes: - [Generator.CalliRewrite] - public static unsafe VkResult vkReleaseDisplayEXT(VkPhysicalDevice physicalDevice, VkDisplayKHR display) - { - throw new NotImplementedException(); - } - - private static IntPtr vkResetCommandBuffer_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetCommandBuffer(VkCommandBuffer commandBuffer, VkCommandBufferResetFlags flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkResetCommandPool_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetCommandPool(VkDevice device, VkCommandPool commandPool, VkCommandPoolResetFlags flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkResetDescriptorPool_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, uint flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkResetEvent_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetEvent(VkDevice device, VkEvent @event) - { - throw new NotImplementedException(); - } - - private static IntPtr vkResetFences_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetFences(VkDevice device, uint fenceCount, VkFence* pFences) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetFences(VkDevice device, uint fenceCount, ref VkFence pFences) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkResetFences(VkDevice device, uint fenceCount, IntPtr pFences) - { - throw new NotImplementedException(); - } - - private static IntPtr vkSetEvent_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkSetEvent(VkDevice device, VkEvent @event) - { - throw new NotImplementedException(); - } - - private static IntPtr vkSetHdrMetadataEXT_ptr; - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, VkSwapchainKHR* pSwapchains, VkHdrMetadataEXT* pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, VkSwapchainKHR* pSwapchains, ref VkHdrMetadataEXT pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, VkSwapchainKHR* pSwapchains, IntPtr pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, ref VkSwapchainKHR pSwapchains, VkHdrMetadataEXT* pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, ref VkSwapchainKHR pSwapchains, ref VkHdrMetadataEXT pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, ref VkSwapchainKHR pSwapchains, IntPtr pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, IntPtr pSwapchains, VkHdrMetadataEXT* pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, IntPtr pSwapchains, ref VkHdrMetadataEXT pMetadata) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkSetHdrMetadataEXT(VkDevice device, uint swapchainCount, IntPtr pSwapchains, IntPtr pMetadata) - { - throw new NotImplementedException(); - } - - private static IntPtr vkTrimCommandPoolKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkTrimCommandPoolKHR(VkDevice device, VkCommandPool commandPool, uint flags) - { - throw new NotImplementedException(); - } - - private static IntPtr vkUnmapMemory_ptr; - [Generator.CalliRewrite] - public static unsafe void vkUnmapMemory(VkDevice device, VkDeviceMemory memory) - { - throw new NotImplementedException(); - } - - private static IntPtr vkUnregisterObjectsNVX_ptr; - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectEntryTypeNVX* pObjectEntryTypes, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectEntryTypeNVX* pObjectEntryTypes, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, VkObjectEntryTypeNVX* pObjectEntryTypes, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectEntryTypeNVX pObjectEntryTypes, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectEntryTypeNVX pObjectEntryTypes, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, ref VkObjectEntryTypeNVX pObjectEntryTypes, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr pObjectEntryTypes, uint* pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr pObjectEntryTypes, ref uint pObjectIndices) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY - [Generator.CalliRewrite] - public static unsafe VkResult vkUnregisterObjectsNVX(VkDevice device, VkObjectTableNVX objectTable, uint objectCount, IntPtr pObjectEntryTypes, IntPtr pObjectIndices) - { - throw new NotImplementedException(); - } - - private static IntPtr vkUpdateDescriptorSets_ptr; - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, VkWriteDescriptorSet* pDescriptorWrites, uint descriptorCopyCount, VkCopyDescriptorSet* pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, VkWriteDescriptorSet* pDescriptorWrites, uint descriptorCopyCount, ref VkCopyDescriptorSet pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, VkWriteDescriptorSet* pDescriptorWrites, uint descriptorCopyCount, IntPtr pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, ref VkWriteDescriptorSet pDescriptorWrites, uint descriptorCopyCount, VkCopyDescriptorSet* pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, ref VkWriteDescriptorSet pDescriptorWrites, uint descriptorCopyCount, ref VkCopyDescriptorSet pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, ref VkWriteDescriptorSet pDescriptorWrites, uint descriptorCopyCount, IntPtr pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, IntPtr pDescriptorWrites, uint descriptorCopyCount, VkCopyDescriptorSet* pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, IntPtr pDescriptorWrites, uint descriptorCopyCount, ref VkCopyDescriptorSet pDescriptorCopies) - { - throw new NotImplementedException(); - } - - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSets(VkDevice device, uint descriptorWriteCount, IntPtr pDescriptorWrites, uint descriptorCopyCount, IntPtr pDescriptorCopies) - { - throw new NotImplementedException(); - } - - private static IntPtr vkUpdateDescriptorSetWithTemplateKHR_ptr; - [Generator.CalliRewrite] - public static unsafe void vkUpdateDescriptorSetWithTemplateKHR(VkDevice device, VkDescriptorSet descriptorSet, VkDescriptorUpdateTemplateKHR descriptorUpdateTemplate, void* pData) - { - throw new NotImplementedException(); - } - - private static IntPtr vkWaitForFences_ptr; - ///Success codes:VK_SUCCESS, VK_TIMEOUT. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkWaitForFences(VkDevice device, uint fenceCount, VkFence* pFences, VkBool32 waitAll, ulong timeout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkWaitForFences(VkDevice device, uint fenceCount, ref VkFence pFences, VkBool32 waitAll, ulong timeout) - { - throw new NotImplementedException(); - } - - ///Success codes:VK_SUCCESS, VK_TIMEOUT. Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_DEVICE_LOST - [Generator.CalliRewrite] - public static unsafe VkResult vkWaitForFences(VkDevice device, uint fenceCount, IntPtr pFences, VkBool32 waitAll, ulong timeout) - { - throw new NotImplementedException(); - } - - private static void LoadFunctionPointers() - { - vkCreateInstance_ptr = s_nativeLib.LoadFunctionPointer("vkCreateInstance"); - vkDestroyInstance_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyInstance"); - vkEnumeratePhysicalDevices_ptr = s_nativeLib.LoadFunctionPointer("vkEnumeratePhysicalDevices"); - vkGetDeviceProcAddr_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceProcAddr"); - vkGetInstanceProcAddr_ptr = s_nativeLib.LoadFunctionPointer("vkGetInstanceProcAddr"); - vkGetPhysicalDeviceProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceProperties"); - vkGetPhysicalDeviceQueueFamilyProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceQueueFamilyProperties"); - vkGetPhysicalDeviceMemoryProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceMemoryProperties"); - vkGetPhysicalDeviceFeatures_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceFeatures"); - vkGetPhysicalDeviceFormatProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceFormatProperties"); - vkGetPhysicalDeviceImageFormatProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceImageFormatProperties"); - vkCreateDevice_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDevice"); - vkDestroyDevice_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyDevice"); - vkEnumerateInstanceLayerProperties_ptr = s_nativeLib.LoadFunctionPointer("vkEnumerateInstanceLayerProperties"); - vkEnumerateInstanceExtensionProperties_ptr = s_nativeLib.LoadFunctionPointer("vkEnumerateInstanceExtensionProperties"); - vkEnumerateDeviceLayerProperties_ptr = s_nativeLib.LoadFunctionPointer("vkEnumerateDeviceLayerProperties"); - vkEnumerateDeviceExtensionProperties_ptr = s_nativeLib.LoadFunctionPointer("vkEnumerateDeviceExtensionProperties"); - vkGetDeviceQueue_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceQueue"); - vkQueueSubmit_ptr = s_nativeLib.LoadFunctionPointer("vkQueueSubmit"); - vkQueueWaitIdle_ptr = s_nativeLib.LoadFunctionPointer("vkQueueWaitIdle"); - vkDeviceWaitIdle_ptr = s_nativeLib.LoadFunctionPointer("vkDeviceWaitIdle"); - vkAllocateMemory_ptr = s_nativeLib.LoadFunctionPointer("vkAllocateMemory"); - vkFreeMemory_ptr = s_nativeLib.LoadFunctionPointer("vkFreeMemory"); - vkMapMemory_ptr = s_nativeLib.LoadFunctionPointer("vkMapMemory"); - vkUnmapMemory_ptr = s_nativeLib.LoadFunctionPointer("vkUnmapMemory"); - vkFlushMappedMemoryRanges_ptr = s_nativeLib.LoadFunctionPointer("vkFlushMappedMemoryRanges"); - vkInvalidateMappedMemoryRanges_ptr = s_nativeLib.LoadFunctionPointer("vkInvalidateMappedMemoryRanges"); - vkGetDeviceMemoryCommitment_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceMemoryCommitment"); - vkGetBufferMemoryRequirements_ptr = s_nativeLib.LoadFunctionPointer("vkGetBufferMemoryRequirements"); - vkBindBufferMemory_ptr = s_nativeLib.LoadFunctionPointer("vkBindBufferMemory"); - vkGetImageMemoryRequirements_ptr = s_nativeLib.LoadFunctionPointer("vkGetImageMemoryRequirements"); - vkBindImageMemory_ptr = s_nativeLib.LoadFunctionPointer("vkBindImageMemory"); - vkGetImageSparseMemoryRequirements_ptr = s_nativeLib.LoadFunctionPointer("vkGetImageSparseMemoryRequirements"); - vkGetPhysicalDeviceSparseImageFormatProperties_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSparseImageFormatProperties"); - vkQueueBindSparse_ptr = s_nativeLib.LoadFunctionPointer("vkQueueBindSparse"); - vkCreateFence_ptr = s_nativeLib.LoadFunctionPointer("vkCreateFence"); - vkDestroyFence_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyFence"); - vkResetFences_ptr = s_nativeLib.LoadFunctionPointer("vkResetFences"); - vkGetFenceStatus_ptr = s_nativeLib.LoadFunctionPointer("vkGetFenceStatus"); - vkWaitForFences_ptr = s_nativeLib.LoadFunctionPointer("vkWaitForFences"); - vkCreateSemaphore_ptr = s_nativeLib.LoadFunctionPointer("vkCreateSemaphore"); - vkDestroySemaphore_ptr = s_nativeLib.LoadFunctionPointer("vkDestroySemaphore"); - vkCreateEvent_ptr = s_nativeLib.LoadFunctionPointer("vkCreateEvent"); - vkDestroyEvent_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyEvent"); - vkGetEventStatus_ptr = s_nativeLib.LoadFunctionPointer("vkGetEventStatus"); - vkSetEvent_ptr = s_nativeLib.LoadFunctionPointer("vkSetEvent"); - vkResetEvent_ptr = s_nativeLib.LoadFunctionPointer("vkResetEvent"); - vkCreateQueryPool_ptr = s_nativeLib.LoadFunctionPointer("vkCreateQueryPool"); - vkDestroyQueryPool_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyQueryPool"); - vkGetQueryPoolResults_ptr = s_nativeLib.LoadFunctionPointer("vkGetQueryPoolResults"); - vkCreateBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCreateBuffer"); - vkDestroyBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyBuffer"); - vkCreateBufferView_ptr = s_nativeLib.LoadFunctionPointer("vkCreateBufferView"); - vkDestroyBufferView_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyBufferView"); - vkCreateImage_ptr = s_nativeLib.LoadFunctionPointer("vkCreateImage"); - vkDestroyImage_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyImage"); - vkGetImageSubresourceLayout_ptr = s_nativeLib.LoadFunctionPointer("vkGetImageSubresourceLayout"); - vkCreateImageView_ptr = s_nativeLib.LoadFunctionPointer("vkCreateImageView"); - vkDestroyImageView_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyImageView"); - vkCreateShaderModule_ptr = s_nativeLib.LoadFunctionPointer("vkCreateShaderModule"); - vkDestroyShaderModule_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyShaderModule"); - vkCreatePipelineCache_ptr = s_nativeLib.LoadFunctionPointer("vkCreatePipelineCache"); - vkDestroyPipelineCache_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyPipelineCache"); - vkGetPipelineCacheData_ptr = s_nativeLib.LoadFunctionPointer("vkGetPipelineCacheData"); - vkMergePipelineCaches_ptr = s_nativeLib.LoadFunctionPointer("vkMergePipelineCaches"); - vkCreateGraphicsPipelines_ptr = s_nativeLib.LoadFunctionPointer("vkCreateGraphicsPipelines"); - vkCreateComputePipelines_ptr = s_nativeLib.LoadFunctionPointer("vkCreateComputePipelines"); - vkDestroyPipeline_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyPipeline"); - vkCreatePipelineLayout_ptr = s_nativeLib.LoadFunctionPointer("vkCreatePipelineLayout"); - vkDestroyPipelineLayout_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyPipelineLayout"); - vkCreateSampler_ptr = s_nativeLib.LoadFunctionPointer("vkCreateSampler"); - vkDestroySampler_ptr = s_nativeLib.LoadFunctionPointer("vkDestroySampler"); - vkCreateDescriptorSetLayout_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDescriptorSetLayout"); - vkDestroyDescriptorSetLayout_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyDescriptorSetLayout"); - vkCreateDescriptorPool_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDescriptorPool"); - vkDestroyDescriptorPool_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyDescriptorPool"); - vkResetDescriptorPool_ptr = s_nativeLib.LoadFunctionPointer("vkResetDescriptorPool"); - vkAllocateDescriptorSets_ptr = s_nativeLib.LoadFunctionPointer("vkAllocateDescriptorSets"); - vkFreeDescriptorSets_ptr = s_nativeLib.LoadFunctionPointer("vkFreeDescriptorSets"); - vkUpdateDescriptorSets_ptr = s_nativeLib.LoadFunctionPointer("vkUpdateDescriptorSets"); - vkCreateFramebuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCreateFramebuffer"); - vkDestroyFramebuffer_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyFramebuffer"); - vkCreateRenderPass_ptr = s_nativeLib.LoadFunctionPointer("vkCreateRenderPass"); - vkDestroyRenderPass_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyRenderPass"); - vkGetRenderAreaGranularity_ptr = s_nativeLib.LoadFunctionPointer("vkGetRenderAreaGranularity"); - vkCreateCommandPool_ptr = s_nativeLib.LoadFunctionPointer("vkCreateCommandPool"); - vkDestroyCommandPool_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyCommandPool"); - vkResetCommandPool_ptr = s_nativeLib.LoadFunctionPointer("vkResetCommandPool"); - vkAllocateCommandBuffers_ptr = s_nativeLib.LoadFunctionPointer("vkAllocateCommandBuffers"); - vkFreeCommandBuffers_ptr = s_nativeLib.LoadFunctionPointer("vkFreeCommandBuffers"); - vkBeginCommandBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkBeginCommandBuffer"); - vkEndCommandBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkEndCommandBuffer"); - vkResetCommandBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkResetCommandBuffer"); - vkCmdBindPipeline_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBindPipeline"); - vkCmdSetViewport_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetViewport"); - vkCmdSetScissor_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetScissor"); - vkCmdSetLineWidth_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetLineWidth"); - vkCmdSetDepthBias_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetDepthBias"); - vkCmdSetBlendConstants_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetBlendConstants"); - vkCmdSetDepthBounds_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetDepthBounds"); - vkCmdSetStencilCompareMask_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetStencilCompareMask"); - vkCmdSetStencilWriteMask_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetStencilWriteMask"); - vkCmdSetStencilReference_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetStencilReference"); - vkCmdBindDescriptorSets_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBindDescriptorSets"); - vkCmdBindIndexBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBindIndexBuffer"); - vkCmdBindVertexBuffers_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBindVertexBuffers"); - vkCmdDraw_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDraw"); - vkCmdDrawIndexed_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDrawIndexed"); - vkCmdDrawIndirect_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDrawIndirect"); - vkCmdDrawIndexedIndirect_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDrawIndexedIndirect"); - vkCmdDispatch_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDispatch"); - vkCmdDispatchIndirect_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDispatchIndirect"); - vkCmdCopyBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCmdCopyBuffer"); - vkCmdCopyImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdCopyImage"); - vkCmdBlitImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBlitImage"); - vkCmdCopyBufferToImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdCopyBufferToImage"); - vkCmdCopyImageToBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCmdCopyImageToBuffer"); - vkCmdUpdateBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCmdUpdateBuffer"); - vkCmdFillBuffer_ptr = s_nativeLib.LoadFunctionPointer("vkCmdFillBuffer"); - vkCmdClearColorImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdClearColorImage"); - vkCmdClearDepthStencilImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdClearDepthStencilImage"); - vkCmdClearAttachments_ptr = s_nativeLib.LoadFunctionPointer("vkCmdClearAttachments"); - vkCmdResolveImage_ptr = s_nativeLib.LoadFunctionPointer("vkCmdResolveImage"); - vkCmdSetEvent_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetEvent"); - vkCmdResetEvent_ptr = s_nativeLib.LoadFunctionPointer("vkCmdResetEvent"); - vkCmdWaitEvents_ptr = s_nativeLib.LoadFunctionPointer("vkCmdWaitEvents"); - vkCmdPipelineBarrier_ptr = s_nativeLib.LoadFunctionPointer("vkCmdPipelineBarrier"); - vkCmdBeginQuery_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBeginQuery"); - vkCmdEndQuery_ptr = s_nativeLib.LoadFunctionPointer("vkCmdEndQuery"); - vkCmdResetQueryPool_ptr = s_nativeLib.LoadFunctionPointer("vkCmdResetQueryPool"); - vkCmdWriteTimestamp_ptr = s_nativeLib.LoadFunctionPointer("vkCmdWriteTimestamp"); - vkCmdCopyQueryPoolResults_ptr = s_nativeLib.LoadFunctionPointer("vkCmdCopyQueryPoolResults"); - vkCmdPushConstants_ptr = s_nativeLib.LoadFunctionPointer("vkCmdPushConstants"); - vkCmdBeginRenderPass_ptr = s_nativeLib.LoadFunctionPointer("vkCmdBeginRenderPass"); - vkCmdNextSubpass_ptr = s_nativeLib.LoadFunctionPointer("vkCmdNextSubpass"); - vkCmdEndRenderPass_ptr = s_nativeLib.LoadFunctionPointer("vkCmdEndRenderPass"); - vkCmdExecuteCommands_ptr = s_nativeLib.LoadFunctionPointer("vkCmdExecuteCommands"); - vkCreateAndroidSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateAndroidSurfaceKHR"); - vkGetPhysicalDeviceDisplayPropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceDisplayPropertiesKHR"); - vkGetPhysicalDeviceDisplayPlanePropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceDisplayPlanePropertiesKHR"); - vkGetDisplayPlaneSupportedDisplaysKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetDisplayPlaneSupportedDisplaysKHR"); - vkGetDisplayModePropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetDisplayModePropertiesKHR"); - vkCreateDisplayModeKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDisplayModeKHR"); - vkGetDisplayPlaneCapabilitiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetDisplayPlaneCapabilitiesKHR"); - vkCreateDisplayPlaneSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDisplayPlaneSurfaceKHR"); - vkCreateSharedSwapchainsKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateSharedSwapchainsKHR"); - vkCreateMirSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateMirSurfaceKHR"); - vkGetPhysicalDeviceMirPresentationSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceMirPresentationSupportKHR"); - vkDestroySurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkDestroySurfaceKHR"); - vkGetPhysicalDeviceSurfaceSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceSupportKHR"); - vkGetPhysicalDeviceSurfaceCapabilitiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceCapabilitiesKHR"); - vkGetPhysicalDeviceSurfaceFormatsKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceFormatsKHR"); - vkGetPhysicalDeviceSurfacePresentModesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfacePresentModesKHR"); - vkCreateSwapchainKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateSwapchainKHR"); - vkDestroySwapchainKHR_ptr = s_nativeLib.LoadFunctionPointer("vkDestroySwapchainKHR"); - vkGetSwapchainImagesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetSwapchainImagesKHR"); - vkAcquireNextImageKHR_ptr = s_nativeLib.LoadFunctionPointer("vkAcquireNextImageKHR"); - vkQueuePresentKHR_ptr = s_nativeLib.LoadFunctionPointer("vkQueuePresentKHR"); - vkCreateViSurfaceNN_ptr = s_nativeLib.LoadFunctionPointer("vkCreateViSurfaceNN"); - vkCreateWaylandSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateWaylandSurfaceKHR"); - vkGetPhysicalDeviceWaylandPresentationSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceWaylandPresentationSupportKHR"); - vkCreateWin32SurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateWin32SurfaceKHR"); - vkGetPhysicalDeviceWin32PresentationSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceWin32PresentationSupportKHR"); - vkCreateXlibSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateXlibSurfaceKHR"); - vkGetPhysicalDeviceXlibPresentationSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceXlibPresentationSupportKHR"); - vkCreateXcbSurfaceKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateXcbSurfaceKHR"); - vkGetPhysicalDeviceXcbPresentationSupportKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceXcbPresentationSupportKHR"); - vkCreateDebugReportCallbackEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDebugReportCallbackEXT"); - vkDestroyDebugReportCallbackEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyDebugReportCallbackEXT"); - vkDebugReportMessageEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDebugReportMessageEXT"); - vkDebugMarkerSetObjectNameEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDebugMarkerSetObjectNameEXT"); - vkDebugMarkerSetObjectTagEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDebugMarkerSetObjectTagEXT"); - vkCmdDebugMarkerBeginEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDebugMarkerBeginEXT"); - vkCmdDebugMarkerEndEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDebugMarkerEndEXT"); - vkCmdDebugMarkerInsertEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDebugMarkerInsertEXT"); - vkGetPhysicalDeviceExternalImageFormatPropertiesNV_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceExternalImageFormatPropertiesNV"); - vkGetMemoryWin32HandleNV_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryWin32HandleNV"); - vkCmdDrawIndirectCountAMD_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDrawIndirectCountAMD"); - vkCmdDrawIndexedIndirectCountAMD_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDrawIndexedIndirectCountAMD"); - vkCmdProcessCommandsNVX_ptr = s_nativeLib.LoadFunctionPointer("vkCmdProcessCommandsNVX"); - vkCmdReserveSpaceForCommandsNVX_ptr = s_nativeLib.LoadFunctionPointer("vkCmdReserveSpaceForCommandsNVX"); - vkCreateIndirectCommandsLayoutNVX_ptr = s_nativeLib.LoadFunctionPointer("vkCreateIndirectCommandsLayoutNVX"); - vkDestroyIndirectCommandsLayoutNVX_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyIndirectCommandsLayoutNVX"); - vkCreateObjectTableNVX_ptr = s_nativeLib.LoadFunctionPointer("vkCreateObjectTableNVX"); - vkDestroyObjectTableNVX_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyObjectTableNVX"); - vkRegisterObjectsNVX_ptr = s_nativeLib.LoadFunctionPointer("vkRegisterObjectsNVX"); - vkUnregisterObjectsNVX_ptr = s_nativeLib.LoadFunctionPointer("vkUnregisterObjectsNVX"); - vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX"); - vkGetPhysicalDeviceFeatures2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceFeatures2KHR"); - vkGetPhysicalDeviceProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceProperties2KHR"); - vkGetPhysicalDeviceFormatProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceFormatProperties2KHR"); - vkGetPhysicalDeviceImageFormatProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceImageFormatProperties2KHR"); - vkGetPhysicalDeviceQueueFamilyProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceQueueFamilyProperties2KHR"); - vkGetPhysicalDeviceMemoryProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceMemoryProperties2KHR"); - vkGetPhysicalDeviceSparseImageFormatProperties2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSparseImageFormatProperties2KHR"); - vkCmdPushDescriptorSetKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCmdPushDescriptorSetKHR"); - vkTrimCommandPoolKHR_ptr = s_nativeLib.LoadFunctionPointer("vkTrimCommandPoolKHR"); - vkGetPhysicalDeviceExternalBufferPropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceExternalBufferPropertiesKHR"); - vkGetMemoryWin32HandleKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryWin32HandleKHR"); - vkGetMemoryWin32HandlePropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryWin32HandlePropertiesKHR"); - vkGetMemoryFdKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryFdKHR"); - vkGetMemoryFdPropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryFdPropertiesKHR"); - vkGetPhysicalDeviceExternalSemaphorePropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceExternalSemaphorePropertiesKHR"); - vkGetSemaphoreWin32HandleKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetSemaphoreWin32HandleKHR"); - vkImportSemaphoreWin32HandleKHR_ptr = s_nativeLib.LoadFunctionPointer("vkImportSemaphoreWin32HandleKHR"); - vkGetSemaphoreFdKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetSemaphoreFdKHR"); - vkImportSemaphoreFdKHR_ptr = s_nativeLib.LoadFunctionPointer("vkImportSemaphoreFdKHR"); - vkGetPhysicalDeviceExternalFencePropertiesKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceExternalFencePropertiesKHR"); - vkGetFenceWin32HandleKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetFenceWin32HandleKHR"); - vkImportFenceWin32HandleKHR_ptr = s_nativeLib.LoadFunctionPointer("vkImportFenceWin32HandleKHR"); - vkGetFenceFdKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetFenceFdKHR"); - vkImportFenceFdKHR_ptr = s_nativeLib.LoadFunctionPointer("vkImportFenceFdKHR"); - vkReleaseDisplayEXT_ptr = s_nativeLib.LoadFunctionPointer("vkReleaseDisplayEXT"); - vkAcquireXlibDisplayEXT_ptr = s_nativeLib.LoadFunctionPointer("vkAcquireXlibDisplayEXT"); - vkGetRandROutputDisplayEXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetRandROutputDisplayEXT"); - vkDisplayPowerControlEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDisplayPowerControlEXT"); - vkRegisterDeviceEventEXT_ptr = s_nativeLib.LoadFunctionPointer("vkRegisterDeviceEventEXT"); - vkRegisterDisplayEventEXT_ptr = s_nativeLib.LoadFunctionPointer("vkRegisterDisplayEventEXT"); - vkGetSwapchainCounterEXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetSwapchainCounterEXT"); - vkGetPhysicalDeviceSurfaceCapabilities2EXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceCapabilities2EXT"); - vkEnumeratePhysicalDeviceGroupsKHX_ptr = s_nativeLib.LoadFunctionPointer("vkEnumeratePhysicalDeviceGroupsKHX"); - vkGetDeviceGroupPeerMemoryFeaturesKHX_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceGroupPeerMemoryFeaturesKHX"); - vkBindBufferMemory2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkBindBufferMemory2KHR"); - vkBindImageMemory2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkBindImageMemory2KHR"); - vkCmdSetDeviceMaskKHX_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetDeviceMaskKHX"); - vkGetDeviceGroupPresentCapabilitiesKHX_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceGroupPresentCapabilitiesKHX"); - vkGetDeviceGroupSurfacePresentModesKHX_ptr = s_nativeLib.LoadFunctionPointer("vkGetDeviceGroupSurfacePresentModesKHX"); - vkAcquireNextImage2KHX_ptr = s_nativeLib.LoadFunctionPointer("vkAcquireNextImage2KHX"); - vkCmdDispatchBaseKHX_ptr = s_nativeLib.LoadFunctionPointer("vkCmdDispatchBaseKHX"); - vkGetPhysicalDevicePresentRectanglesKHX_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDevicePresentRectanglesKHX"); - vkCreateDescriptorUpdateTemplateKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateDescriptorUpdateTemplateKHR"); - vkDestroyDescriptorUpdateTemplateKHR_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyDescriptorUpdateTemplateKHR"); - vkUpdateDescriptorSetWithTemplateKHR_ptr = s_nativeLib.LoadFunctionPointer("vkUpdateDescriptorSetWithTemplateKHR"); - vkCmdPushDescriptorSetWithTemplateKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCmdPushDescriptorSetWithTemplateKHR"); - vkSetHdrMetadataEXT_ptr = s_nativeLib.LoadFunctionPointer("vkSetHdrMetadataEXT"); - vkGetSwapchainStatusKHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetSwapchainStatusKHR"); - vkGetRefreshCycleDurationGOOGLE_ptr = s_nativeLib.LoadFunctionPointer("vkGetRefreshCycleDurationGOOGLE"); - vkGetPastPresentationTimingGOOGLE_ptr = s_nativeLib.LoadFunctionPointer("vkGetPastPresentationTimingGOOGLE"); - vkCreateIOSSurfaceMVK_ptr = s_nativeLib.LoadFunctionPointer("vkCreateIOSSurfaceMVK"); - vkCreateMacOSSurfaceMVK_ptr = s_nativeLib.LoadFunctionPointer("vkCreateMacOSSurfaceMVK"); - vkCmdSetViewportWScalingNV_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetViewportWScalingNV"); - vkCmdSetDiscardRectangleEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetDiscardRectangleEXT"); - vkCmdSetSampleLocationsEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCmdSetSampleLocationsEXT"); - vkGetPhysicalDeviceMultisamplePropertiesEXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceMultisamplePropertiesEXT"); - vkGetPhysicalDeviceSurfaceCapabilities2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceCapabilities2KHR"); - vkGetPhysicalDeviceSurfaceFormats2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetPhysicalDeviceSurfaceFormats2KHR"); - vkGetBufferMemoryRequirements2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetBufferMemoryRequirements2KHR"); - vkGetImageMemoryRequirements2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetImageMemoryRequirements2KHR"); - vkGetImageSparseMemoryRequirements2KHR_ptr = s_nativeLib.LoadFunctionPointer("vkGetImageSparseMemoryRequirements2KHR"); - vkCreateSamplerYcbcrConversionKHR_ptr = s_nativeLib.LoadFunctionPointer("vkCreateSamplerYcbcrConversionKHR"); - vkDestroySamplerYcbcrConversionKHR_ptr = s_nativeLib.LoadFunctionPointer("vkDestroySamplerYcbcrConversionKHR"); - vkCreateValidationCacheEXT_ptr = s_nativeLib.LoadFunctionPointer("vkCreateValidationCacheEXT"); - vkDestroyValidationCacheEXT_ptr = s_nativeLib.LoadFunctionPointer("vkDestroyValidationCacheEXT"); - vkGetValidationCacheDataEXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetValidationCacheDataEXT"); - vkMergeValidationCachesEXT_ptr = s_nativeLib.LoadFunctionPointer("vkMergeValidationCachesEXT"); - vkGetSwapchainGrallocUsageANDROID_ptr = s_nativeLib.LoadFunctionPointer("vkGetSwapchainGrallocUsageANDROID"); - vkAcquireImageANDROID_ptr = s_nativeLib.LoadFunctionPointer("vkAcquireImageANDROID"); - vkQueueSignalReleaseImageANDROID_ptr = s_nativeLib.LoadFunctionPointer("vkQueueSignalReleaseImageANDROID"); - vkGetShaderInfoAMD_ptr = s_nativeLib.LoadFunctionPointer("vkGetShaderInfoAMD"); - vkGetMemoryHostPointerPropertiesEXT_ptr = s_nativeLib.LoadFunctionPointer("vkGetMemoryHostPointerPropertiesEXT"); - } - } -} diff --git a/vk/src/vk/Generated/Constants.gen.cs b/vk/src/vk/Generated/Constants.gen.cs deleted file mode 100644 index 3dbd2f873..000000000 --- a/vk/src/vk/Generated/Constants.gen.cs +++ /dev/null @@ -1,54 +0,0 @@ -// This file is generated. - -using System.Runtime.InteropServices; - -namespace Vulkan -{ - public static partial class VulkanNative - { - public const uint MaxPhysicalDeviceNameSize = 256; - public const uint UuidSize = 16; - public const uint LuidSizeKHR = 8; - public const uint MaxExtensionNameSize = 256; - public const uint MaxDescriptionSize = 256; - public const uint MaxMemoryTypes = 32; - ///The maximum number of unique memory heaps, each of which supporting 1 or more memory types - public const uint MaxMemoryHeaps = 16; - public const float LodClampNone = 1000.0f; - public const uint RemainingMipLevels = (~0U); - public const uint RemainingArrayLayers = (~0U); - public const ulong WholeSize = (~0UL); - public const uint AttachmentUnused = (~0U); - public const uint True = 1; - public const uint False = 0; - public const uint QueueFamilyIgnored = (~0U); - public const uint QueueFamilyExternalKHR = (~0U-1); - public const uint QueueFamilyForeignEXT = (~0U-2); - public const uint SubpassExternal = (~0U); - public const uint MaxDeviceGroupSizeKHX = 32; - } - - public static partial class RawConstants - { - public const uint VK_MAX_PHYSICAL_DEVICE_NAME_SIZE = VulkanNative.MaxPhysicalDeviceNameSize; - public const uint VK_UUID_SIZE = VulkanNative.UuidSize; - public const uint VK_LUID_SIZE_KHR = VulkanNative.LuidSizeKHR; - public const uint VK_MAX_EXTENSION_NAME_SIZE = VulkanNative.MaxExtensionNameSize; - public const uint VK_MAX_DESCRIPTION_SIZE = VulkanNative.MaxDescriptionSize; - public const uint VK_MAX_MEMORY_TYPES = VulkanNative.MaxMemoryTypes; - ///The maximum number of unique memory heaps, each of which supporting 1 or more memory types - public const uint VK_MAX_MEMORY_HEAPS = VulkanNative.MaxMemoryHeaps; - public const float VK_LOD_CLAMP_NONE = VulkanNative.LodClampNone; - public const uint VK_REMAINING_MIP_LEVELS = VulkanNative.RemainingMipLevels; - public const uint VK_REMAINING_ARRAY_LAYERS = VulkanNative.RemainingArrayLayers; - public const ulong VK_WHOLE_SIZE = VulkanNative.WholeSize; - public const uint VK_ATTACHMENT_UNUSED = VulkanNative.AttachmentUnused; - public const uint VK_TRUE = VulkanNative.True; - public const uint VK_FALSE = VulkanNative.False; - public const uint VK_QUEUE_FAMILY_IGNORED = VulkanNative.QueueFamilyIgnored; - public const uint VK_QUEUE_FAMILY_EXTERNAL_KHR = VulkanNative.QueueFamilyExternalKHR; - public const uint VK_QUEUE_FAMILY_FOREIGN_EXT = VulkanNative.QueueFamilyForeignEXT; - public const uint VK_SUBPASS_EXTERNAL = VulkanNative.SubpassExternal; - public const uint VK_MAX_DEVICE_GROUP_SIZE_KHX = VulkanNative.MaxDeviceGroupSizeKHX; - } -} diff --git a/vk/src/vk/Generated/Enums.gen.cs b/vk/src/vk/Generated/Enums.gen.cs deleted file mode 100644 index 05444cc3d..000000000 --- a/vk/src/vk/Generated/Enums.gen.cs +++ /dev/null @@ -1,3496 +0,0 @@ -// This file is generated. - -using System; - -namespace Vulkan -{ - public enum VkImageLayout - { - ///Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation) - Undefined = 0, - ///General layout when image can be used for any kind of access - General = 1, - ///Optimal layout when image is only used for color attachment read/write - ColorAttachmentOptimal = 2, - ///Optimal layout when image is only used for depth/stencil attachment read/write - DepthStencilAttachmentOptimal = 3, - ///Optimal layout when image is used for read only depth/stencil attachment and shader access - DepthStencilReadOnlyOptimal = 4, - ///Optimal layout when image is used for read only shader access - ShaderReadOnlyOptimal = 5, - ///Optimal layout when image is used only as source of transfer operations - TransferSrcOptimal = 6, - ///Optimal layout when image is used only as destination of transfer operations - TransferDstOptimal = 7, - ///Initial layout used when the data is populated by the CPU - Preinitialized = 8, - PresentSrcKHR = 1000001002, - SharedPresentKHR = 1000111000, - DepthReadOnlyStencilAttachmentOptimalKHR = 1000117000, - DepthAttachmentStencilReadOnlyOptimalKHR = 1000117001, - } - public static partial class RawConstants - { - ///Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation) - public const VkImageLayout VK_IMAGE_LAYOUT_UNDEFINED = VkImageLayout.Undefined; - ///General layout when image can be used for any kind of access - public const VkImageLayout VK_IMAGE_LAYOUT_GENERAL = VkImageLayout.General; - ///Optimal layout when image is only used for color attachment read/write - public const VkImageLayout VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL = VkImageLayout.ColorAttachmentOptimal; - ///Optimal layout when image is only used for depth/stencil attachment read/write - public const VkImageLayout VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL = VkImageLayout.DepthStencilAttachmentOptimal; - ///Optimal layout when image is used for read only depth/stencil attachment and shader access - public const VkImageLayout VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL = VkImageLayout.DepthStencilReadOnlyOptimal; - ///Optimal layout when image is used for read only shader access - public const VkImageLayout VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL = VkImageLayout.ShaderReadOnlyOptimal; - ///Optimal layout when image is used only as source of transfer operations - public const VkImageLayout VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL = VkImageLayout.TransferSrcOptimal; - ///Optimal layout when image is used only as destination of transfer operations - public const VkImageLayout VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL = VkImageLayout.TransferDstOptimal; - ///Initial layout used when the data is populated by the CPU - public const VkImageLayout VK_IMAGE_LAYOUT_PREINITIALIZED = VkImageLayout.Preinitialized; - public const VkImageLayout VK_IMAGE_LAYOUT_PRESENT_SRC_KHR = VkImageLayout.PresentSrcKHR; - public const VkImageLayout VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR = VkImageLayout.SharedPresentKHR; - public const VkImageLayout VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR = VkImageLayout.DepthReadOnlyStencilAttachmentOptimalKHR; - public const VkImageLayout VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR = VkImageLayout.DepthAttachmentStencilReadOnlyOptimalKHR; - } - - public enum VkAttachmentLoadOp - { - Load = 0, - Clear = 1, - DontCare = 2, - } - public static partial class RawConstants - { - public const VkAttachmentLoadOp VK_ATTACHMENT_LOAD_OP_LOAD = VkAttachmentLoadOp.Load; - public const VkAttachmentLoadOp VK_ATTACHMENT_LOAD_OP_CLEAR = VkAttachmentLoadOp.Clear; - public const VkAttachmentLoadOp VK_ATTACHMENT_LOAD_OP_DONT_CARE = VkAttachmentLoadOp.DontCare; - } - - public enum VkAttachmentStoreOp - { - Store = 0, - DontCare = 1, - } - public static partial class RawConstants - { - public const VkAttachmentStoreOp VK_ATTACHMENT_STORE_OP_STORE = VkAttachmentStoreOp.Store; - public const VkAttachmentStoreOp VK_ATTACHMENT_STORE_OP_DONT_CARE = VkAttachmentStoreOp.DontCare; - } - - public enum VkImageType - { - Image1D = 0, - Image2D = 1, - Image3D = 2, - } - public static partial class RawConstants - { - public const VkImageType VK_IMAGE_TYPE_1D = VkImageType.Image1D; - public const VkImageType VK_IMAGE_TYPE_2D = VkImageType.Image2D; - public const VkImageType VK_IMAGE_TYPE_3D = VkImageType.Image3D; - } - - public enum VkImageTiling - { - Optimal = 0, - Linear = 1, - } - public static partial class RawConstants - { - public const VkImageTiling VK_IMAGE_TILING_OPTIMAL = VkImageTiling.Optimal; - public const VkImageTiling VK_IMAGE_TILING_LINEAR = VkImageTiling.Linear; - } - - public enum VkImageViewType - { - Image1D = 0, - Image2D = 1, - Image3D = 2, - ImageCube = 3, - Image1DArray = 4, - Image2DArray = 5, - ImageCubeArray = 6, - } - public static partial class RawConstants - { - public const VkImageViewType VK_IMAGE_VIEW_TYPE_1D = VkImageViewType.Image1D; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_2D = VkImageViewType.Image2D; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_3D = VkImageViewType.Image3D; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_CUBE = VkImageViewType.ImageCube; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_1D_ARRAY = VkImageViewType.Image1DArray; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_2D_ARRAY = VkImageViewType.Image2DArray; - public const VkImageViewType VK_IMAGE_VIEW_TYPE_CUBE_ARRAY = VkImageViewType.ImageCubeArray; - } - - public enum VkCommandBufferLevel - { - Primary = 0, - Secondary = 1, - } - public static partial class RawConstants - { - public const VkCommandBufferLevel VK_COMMAND_BUFFER_LEVEL_PRIMARY = VkCommandBufferLevel.Primary; - public const VkCommandBufferLevel VK_COMMAND_BUFFER_LEVEL_SECONDARY = VkCommandBufferLevel.Secondary; - } - - public enum VkComponentSwizzle - { - Identity = 0, - Zero = 1, - One = 2, - R = 3, - G = 4, - B = 5, - A = 6, - } - public static partial class RawConstants - { - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_IDENTITY = VkComponentSwizzle.Identity; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_ZERO = VkComponentSwizzle.Zero; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_ONE = VkComponentSwizzle.One; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_R = VkComponentSwizzle.R; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_G = VkComponentSwizzle.G; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_B = VkComponentSwizzle.B; - public const VkComponentSwizzle VK_COMPONENT_SWIZZLE_A = VkComponentSwizzle.A; - } - - public enum VkDescriptorType - { - Sampler = 0, - CombinedImageSampler = 1, - SampledImage = 2, - StorageImage = 3, - UniformTexelBuffer = 4, - StorageTexelBuffer = 5, - UniformBuffer = 6, - StorageBuffer = 7, - UniformBufferDynamic = 8, - StorageBufferDynamic = 9, - InputAttachment = 10, - } - public static partial class RawConstants - { - public const VkDescriptorType VK_DESCRIPTOR_TYPE_SAMPLER = VkDescriptorType.Sampler; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER = VkDescriptorType.CombinedImageSampler; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE = VkDescriptorType.SampledImage; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_IMAGE = VkDescriptorType.StorageImage; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER = VkDescriptorType.UniformTexelBuffer; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER = VkDescriptorType.StorageTexelBuffer; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER = VkDescriptorType.UniformBuffer; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_BUFFER = VkDescriptorType.StorageBuffer; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC = VkDescriptorType.UniformBufferDynamic; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC = VkDescriptorType.StorageBufferDynamic; - public const VkDescriptorType VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT = VkDescriptorType.InputAttachment; - } - - public enum VkQueryType - { - Occlusion = 0, - ///Optional - PipelineStatistics = 1, - Timestamp = 2, - } - public static partial class RawConstants - { - public const VkQueryType VK_QUERY_TYPE_OCCLUSION = VkQueryType.Occlusion; - ///Optional - public const VkQueryType VK_QUERY_TYPE_PIPELINE_STATISTICS = VkQueryType.PipelineStatistics; - public const VkQueryType VK_QUERY_TYPE_TIMESTAMP = VkQueryType.Timestamp; - } - - public enum VkBorderColor - { - FloatTransparentBlack = 0, - IntTransparentBlack = 1, - FloatOpaqueBlack = 2, - IntOpaqueBlack = 3, - FloatOpaqueWhite = 4, - IntOpaqueWhite = 5, - } - public static partial class RawConstants - { - public const VkBorderColor VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = VkBorderColor.FloatTransparentBlack; - public const VkBorderColor VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = VkBorderColor.IntTransparentBlack; - public const VkBorderColor VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = VkBorderColor.FloatOpaqueBlack; - public const VkBorderColor VK_BORDER_COLOR_INT_OPAQUE_BLACK = VkBorderColor.IntOpaqueBlack; - public const VkBorderColor VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = VkBorderColor.FloatOpaqueWhite; - public const VkBorderColor VK_BORDER_COLOR_INT_OPAQUE_WHITE = VkBorderColor.IntOpaqueWhite; - } - - public enum VkPipelineBindPoint - { - Graphics = 0, - Compute = 1, - } - public static partial class RawConstants - { - public const VkPipelineBindPoint VK_PIPELINE_BIND_POINT_GRAPHICS = VkPipelineBindPoint.Graphics; - public const VkPipelineBindPoint VK_PIPELINE_BIND_POINT_COMPUTE = VkPipelineBindPoint.Compute; - } - - public enum VkPipelineCacheHeaderVersion - { - One = 1, - } - public static partial class RawConstants - { - public const VkPipelineCacheHeaderVersion VK_PIPELINE_CACHE_HEADER_VERSION_ONE = VkPipelineCacheHeaderVersion.One; - } - - public enum VkPrimitiveTopology - { - PointList = 0, - LineList = 1, - LineStrip = 2, - TriangleList = 3, - TriangleStrip = 4, - TriangleFan = 5, - LineListWithAdjacency = 6, - LineStripWithAdjacency = 7, - TriangleListWithAdjacency = 8, - TriangleStripWithAdjacency = 9, - PatchList = 10, - } - public static partial class RawConstants - { - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_POINT_LIST = VkPrimitiveTopology.PointList; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_LIST = VkPrimitiveTopology.LineList; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = VkPrimitiveTopology.LineStrip; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = VkPrimitiveTopology.TriangleList; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = VkPrimitiveTopology.TriangleStrip; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = VkPrimitiveTopology.TriangleFan; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = VkPrimitiveTopology.LineListWithAdjacency; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = VkPrimitiveTopology.LineStripWithAdjacency; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = VkPrimitiveTopology.TriangleListWithAdjacency; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = VkPrimitiveTopology.TriangleStripWithAdjacency; - public const VkPrimitiveTopology VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = VkPrimitiveTopology.PatchList; - } - - public enum VkSharingMode - { - Exclusive = 0, - Concurrent = 1, - } - public static partial class RawConstants - { - public const VkSharingMode VK_SHARING_MODE_EXCLUSIVE = VkSharingMode.Exclusive; - public const VkSharingMode VK_SHARING_MODE_CONCURRENT = VkSharingMode.Concurrent; - } - - public enum VkIndexType - { - Uint16 = 0, - Uint32 = 1, - } - public static partial class RawConstants - { - public const VkIndexType VK_INDEX_TYPE_UINT16 = VkIndexType.Uint16; - public const VkIndexType VK_INDEX_TYPE_UINT32 = VkIndexType.Uint32; - } - - public enum VkFilter - { - Nearest = 0, - Linear = 1, - CubicImg = 1000015000, - } - public static partial class RawConstants - { - public const VkFilter VK_FILTER_NEAREST = VkFilter.Nearest; - public const VkFilter VK_FILTER_LINEAR = VkFilter.Linear; - public const VkFilter VK_FILTER_CUBIC_IMG = VkFilter.CubicImg; - } - - public enum VkSamplerMipmapMode - { - ///Choose nearest mip level - Nearest = 0, - ///Linear filter between mip levels - Linear = 1, - } - public static partial class RawConstants - { - ///Choose nearest mip level - public const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODE_NEAREST = VkSamplerMipmapMode.Nearest; - ///Linear filter between mip levels - public const VkSamplerMipmapMode VK_SAMPLER_MIPMAP_MODE_LINEAR = VkSamplerMipmapMode.Linear; - } - - public enum VkSamplerAddressMode - { - Repeat = 0, - MirroredRepeat = 1, - ClampToEdge = 2, - ClampToBorder = 3, - MirrorClampToEdge = 4, - } - public static partial class RawConstants - { - public const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODE_REPEAT = VkSamplerAddressMode.Repeat; - public const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT = VkSamplerAddressMode.MirroredRepeat; - public const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE = VkSamplerAddressMode.ClampToEdge; - public const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER = VkSamplerAddressMode.ClampToBorder; - public const VkSamplerAddressMode VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE = VkSamplerAddressMode.MirrorClampToEdge; - } - - public enum VkCompareOp - { - Never = 0, - Less = 1, - Equal = 2, - LessOrEqual = 3, - Greater = 4, - NotEqual = 5, - GreaterOrEqual = 6, - Always = 7, - } - public static partial class RawConstants - { - public const VkCompareOp VK_COMPARE_OP_NEVER = VkCompareOp.Never; - public const VkCompareOp VK_COMPARE_OP_LESS = VkCompareOp.Less; - public const VkCompareOp VK_COMPARE_OP_EQUAL = VkCompareOp.Equal; - public const VkCompareOp VK_COMPARE_OP_LESS_OR_EQUAL = VkCompareOp.LessOrEqual; - public const VkCompareOp VK_COMPARE_OP_GREATER = VkCompareOp.Greater; - public const VkCompareOp VK_COMPARE_OP_NOT_EQUAL = VkCompareOp.NotEqual; - public const VkCompareOp VK_COMPARE_OP_GREATER_OR_EQUAL = VkCompareOp.GreaterOrEqual; - public const VkCompareOp VK_COMPARE_OP_ALWAYS = VkCompareOp.Always; - } - - public enum VkPolygonMode - { - Fill = 0, - Line = 1, - Point = 2, - FillRectangleNV = 1000153000, - } - public static partial class RawConstants - { - public const VkPolygonMode VK_POLYGON_MODE_FILL = VkPolygonMode.Fill; - public const VkPolygonMode VK_POLYGON_MODE_LINE = VkPolygonMode.Line; - public const VkPolygonMode VK_POLYGON_MODE_POINT = VkPolygonMode.Point; - public const VkPolygonMode VK_POLYGON_MODE_FILL_RECTANGLE_NV = VkPolygonMode.FillRectangleNV; - } - - [Flags] - public enum VkCullModeFlags - { - None = 0, - Front = 1, - Back = 2, - FrontAndBack = 3, - } - public static partial class RawConstants - { - public const VkCullModeFlags VK_CULL_MODE_NONE = VkCullModeFlags.None; - public const VkCullModeFlags VK_CULL_MODE_FRONT_BIT = VkCullModeFlags.Front; - public const VkCullModeFlags VK_CULL_MODE_BACK_BIT = VkCullModeFlags.Back; - public const VkCullModeFlags VK_CULL_MODE_FRONT_AND_BACK = VkCullModeFlags.FrontAndBack; - } - - public enum VkFrontFace - { - CounterClockwise = 0, - Clockwise = 1, - } - public static partial class RawConstants - { - public const VkFrontFace VK_FRONT_FACE_COUNTER_CLOCKWISE = VkFrontFace.CounterClockwise; - public const VkFrontFace VK_FRONT_FACE_CLOCKWISE = VkFrontFace.Clockwise; - } - - public enum VkBlendFactor - { - Zero = 0, - One = 1, - SrcColor = 2, - OneMinusSrcColor = 3, - DstColor = 4, - OneMinusDstColor = 5, - SrcAlpha = 6, - OneMinusSrcAlpha = 7, - DstAlpha = 8, - OneMinusDstAlpha = 9, - ConstantColor = 10, - OneMinusConstantColor = 11, - ConstantAlpha = 12, - OneMinusConstantAlpha = 13, - SrcAlphaSaturate = 14, - Src1Color = 15, - OneMinusSrc1Color = 16, - Src1Alpha = 17, - OneMinusSrc1Alpha = 18, - } - public static partial class RawConstants - { - public const VkBlendFactor VK_BLEND_FACTOR_ZERO = VkBlendFactor.Zero; - public const VkBlendFactor VK_BLEND_FACTOR_ONE = VkBlendFactor.One; - public const VkBlendFactor VK_BLEND_FACTOR_SRC_COLOR = VkBlendFactor.SrcColor; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR = VkBlendFactor.OneMinusSrcColor; - public const VkBlendFactor VK_BLEND_FACTOR_DST_COLOR = VkBlendFactor.DstColor; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR = VkBlendFactor.OneMinusDstColor; - public const VkBlendFactor VK_BLEND_FACTOR_SRC_ALPHA = VkBlendFactor.SrcAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA = VkBlendFactor.OneMinusSrcAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_DST_ALPHA = VkBlendFactor.DstAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA = VkBlendFactor.OneMinusDstAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_CONSTANT_COLOR = VkBlendFactor.ConstantColor; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR = VkBlendFactor.OneMinusConstantColor; - public const VkBlendFactor VK_BLEND_FACTOR_CONSTANT_ALPHA = VkBlendFactor.ConstantAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA = VkBlendFactor.OneMinusConstantAlpha; - public const VkBlendFactor VK_BLEND_FACTOR_SRC_ALPHA_SATURATE = VkBlendFactor.SrcAlphaSaturate; - public const VkBlendFactor VK_BLEND_FACTOR_SRC1_COLOR = VkBlendFactor.Src1Color; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR = VkBlendFactor.OneMinusSrc1Color; - public const VkBlendFactor VK_BLEND_FACTOR_SRC1_ALPHA = VkBlendFactor.Src1Alpha; - public const VkBlendFactor VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA = VkBlendFactor.OneMinusSrc1Alpha; - } - - public enum VkBlendOp - { - Add = 0, - Subtract = 1, - ReverseSubtract = 2, - Min = 3, - Max = 4, - ZeroEXT = 1000148000, - SrcEXT = 1000148001, - DstEXT = 1000148002, - SrcOverEXT = 1000148003, - DstOverEXT = 1000148004, - SrcInEXT = 1000148005, - DstInEXT = 1000148006, - SrcOutEXT = 1000148007, - DstOutEXT = 1000148008, - SrcAtopEXT = 1000148009, - DstAtopEXT = 1000148010, - XorEXT = 1000148011, - MultiplyEXT = 1000148012, - ScreenEXT = 1000148013, - OverlayEXT = 1000148014, - DarkenEXT = 1000148015, - LightenEXT = 1000148016, - ColordodgeEXT = 1000148017, - ColorburnEXT = 1000148018, - HardlightEXT = 1000148019, - SoftlightEXT = 1000148020, - DifferenceEXT = 1000148021, - ExclusionEXT = 1000148022, - InvertEXT = 1000148023, - InvertRgbEXT = 1000148024, - LineardodgeEXT = 1000148025, - LinearburnEXT = 1000148026, - VividlightEXT = 1000148027, - LinearlightEXT = 1000148028, - PinlightEXT = 1000148029, - HardmixEXT = 1000148030, - HslHueEXT = 1000148031, - HslSaturationEXT = 1000148032, - HslColorEXT = 1000148033, - HslLuminosityEXT = 1000148034, - PlusEXT = 1000148035, - PlusClampedEXT = 1000148036, - PlusClampedAlphaEXT = 1000148037, - PlusDarkerEXT = 1000148038, - MinusEXT = 1000148039, - MinusClampedEXT = 1000148040, - ContrastEXT = 1000148041, - InvertOvgEXT = 1000148042, - RedEXT = 1000148043, - GreenEXT = 1000148044, - BlueEXT = 1000148045, - } - public static partial class RawConstants - { - public const VkBlendOp VK_BLEND_OP_ADD = VkBlendOp.Add; - public const VkBlendOp VK_BLEND_OP_SUBTRACT = VkBlendOp.Subtract; - public const VkBlendOp VK_BLEND_OP_REVERSE_SUBTRACT = VkBlendOp.ReverseSubtract; - public const VkBlendOp VK_BLEND_OP_MIN = VkBlendOp.Min; - public const VkBlendOp VK_BLEND_OP_MAX = VkBlendOp.Max; - public const VkBlendOp VK_BLEND_OP_ZERO_EXT = VkBlendOp.ZeroEXT; - public const VkBlendOp VK_BLEND_OP_SRC_EXT = VkBlendOp.SrcEXT; - public const VkBlendOp VK_BLEND_OP_DST_EXT = VkBlendOp.DstEXT; - public const VkBlendOp VK_BLEND_OP_SRC_OVER_EXT = VkBlendOp.SrcOverEXT; - public const VkBlendOp VK_BLEND_OP_DST_OVER_EXT = VkBlendOp.DstOverEXT; - public const VkBlendOp VK_BLEND_OP_SRC_IN_EXT = VkBlendOp.SrcInEXT; - public const VkBlendOp VK_BLEND_OP_DST_IN_EXT = VkBlendOp.DstInEXT; - public const VkBlendOp VK_BLEND_OP_SRC_OUT_EXT = VkBlendOp.SrcOutEXT; - public const VkBlendOp VK_BLEND_OP_DST_OUT_EXT = VkBlendOp.DstOutEXT; - public const VkBlendOp VK_BLEND_OP_SRC_ATOP_EXT = VkBlendOp.SrcAtopEXT; - public const VkBlendOp VK_BLEND_OP_DST_ATOP_EXT = VkBlendOp.DstAtopEXT; - public const VkBlendOp VK_BLEND_OP_XOR_EXT = VkBlendOp.XorEXT; - public const VkBlendOp VK_BLEND_OP_MULTIPLY_EXT = VkBlendOp.MultiplyEXT; - public const VkBlendOp VK_BLEND_OP_SCREEN_EXT = VkBlendOp.ScreenEXT; - public const VkBlendOp VK_BLEND_OP_OVERLAY_EXT = VkBlendOp.OverlayEXT; - public const VkBlendOp VK_BLEND_OP_DARKEN_EXT = VkBlendOp.DarkenEXT; - public const VkBlendOp VK_BLEND_OP_LIGHTEN_EXT = VkBlendOp.LightenEXT; - public const VkBlendOp VK_BLEND_OP_COLORDODGE_EXT = VkBlendOp.ColordodgeEXT; - public const VkBlendOp VK_BLEND_OP_COLORBURN_EXT = VkBlendOp.ColorburnEXT; - public const VkBlendOp VK_BLEND_OP_HARDLIGHT_EXT = VkBlendOp.HardlightEXT; - public const VkBlendOp VK_BLEND_OP_SOFTLIGHT_EXT = VkBlendOp.SoftlightEXT; - public const VkBlendOp VK_BLEND_OP_DIFFERENCE_EXT = VkBlendOp.DifferenceEXT; - public const VkBlendOp VK_BLEND_OP_EXCLUSION_EXT = VkBlendOp.ExclusionEXT; - public const VkBlendOp VK_BLEND_OP_INVERT_EXT = VkBlendOp.InvertEXT; - public const VkBlendOp VK_BLEND_OP_INVERT_RGB_EXT = VkBlendOp.InvertRgbEXT; - public const VkBlendOp VK_BLEND_OP_LINEARDODGE_EXT = VkBlendOp.LineardodgeEXT; - public const VkBlendOp VK_BLEND_OP_LINEARBURN_EXT = VkBlendOp.LinearburnEXT; - public const VkBlendOp VK_BLEND_OP_VIVIDLIGHT_EXT = VkBlendOp.VividlightEXT; - public const VkBlendOp VK_BLEND_OP_LINEARLIGHT_EXT = VkBlendOp.LinearlightEXT; - public const VkBlendOp VK_BLEND_OP_PINLIGHT_EXT = VkBlendOp.PinlightEXT; - public const VkBlendOp VK_BLEND_OP_HARDMIX_EXT = VkBlendOp.HardmixEXT; - public const VkBlendOp VK_BLEND_OP_HSL_HUE_EXT = VkBlendOp.HslHueEXT; - public const VkBlendOp VK_BLEND_OP_HSL_SATURATION_EXT = VkBlendOp.HslSaturationEXT; - public const VkBlendOp VK_BLEND_OP_HSL_COLOR_EXT = VkBlendOp.HslColorEXT; - public const VkBlendOp VK_BLEND_OP_HSL_LUMINOSITY_EXT = VkBlendOp.HslLuminosityEXT; - public const VkBlendOp VK_BLEND_OP_PLUS_EXT = VkBlendOp.PlusEXT; - public const VkBlendOp VK_BLEND_OP_PLUS_CLAMPED_EXT = VkBlendOp.PlusClampedEXT; - public const VkBlendOp VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT = VkBlendOp.PlusClampedAlphaEXT; - public const VkBlendOp VK_BLEND_OP_PLUS_DARKER_EXT = VkBlendOp.PlusDarkerEXT; - public const VkBlendOp VK_BLEND_OP_MINUS_EXT = VkBlendOp.MinusEXT; - public const VkBlendOp VK_BLEND_OP_MINUS_CLAMPED_EXT = VkBlendOp.MinusClampedEXT; - public const VkBlendOp VK_BLEND_OP_CONTRAST_EXT = VkBlendOp.ContrastEXT; - public const VkBlendOp VK_BLEND_OP_INVERT_OVG_EXT = VkBlendOp.InvertOvgEXT; - public const VkBlendOp VK_BLEND_OP_RED_EXT = VkBlendOp.RedEXT; - public const VkBlendOp VK_BLEND_OP_GREEN_EXT = VkBlendOp.GreenEXT; - public const VkBlendOp VK_BLEND_OP_BLUE_EXT = VkBlendOp.BlueEXT; - } - - public enum VkStencilOp - { - Keep = 0, - Zero = 1, - Replace = 2, - IncrementAndClamp = 3, - DecrementAndClamp = 4, - Invert = 5, - IncrementAndWrap = 6, - DecrementAndWrap = 7, - } - public static partial class RawConstants - { - public const VkStencilOp VK_STENCIL_OP_KEEP = VkStencilOp.Keep; - public const VkStencilOp VK_STENCIL_OP_ZERO = VkStencilOp.Zero; - public const VkStencilOp VK_STENCIL_OP_REPLACE = VkStencilOp.Replace; - public const VkStencilOp VK_STENCIL_OP_INCREMENT_AND_CLAMP = VkStencilOp.IncrementAndClamp; - public const VkStencilOp VK_STENCIL_OP_DECREMENT_AND_CLAMP = VkStencilOp.DecrementAndClamp; - public const VkStencilOp VK_STENCIL_OP_INVERT = VkStencilOp.Invert; - public const VkStencilOp VK_STENCIL_OP_INCREMENT_AND_WRAP = VkStencilOp.IncrementAndWrap; - public const VkStencilOp VK_STENCIL_OP_DECREMENT_AND_WRAP = VkStencilOp.DecrementAndWrap; - } - - public enum VkLogicOp - { - Clear = 0, - And = 1, - AndReverse = 2, - Copy = 3, - AndInverted = 4, - NoOp = 5, - Xor = 6, - Or = 7, - Nor = 8, - Equivalent = 9, - Invert = 10, - OrReverse = 11, - CopyInverted = 12, - OrInverted = 13, - Nand = 14, - Set = 15, - } - public static partial class RawConstants - { - public const VkLogicOp VK_LOGIC_OP_CLEAR = VkLogicOp.Clear; - public const VkLogicOp VK_LOGIC_OP_AND = VkLogicOp.And; - public const VkLogicOp VK_LOGIC_OP_AND_REVERSE = VkLogicOp.AndReverse; - public const VkLogicOp VK_LOGIC_OP_COPY = VkLogicOp.Copy; - public const VkLogicOp VK_LOGIC_OP_AND_INVERTED = VkLogicOp.AndInverted; - public const VkLogicOp VK_LOGIC_OP_NO_OP = VkLogicOp.NoOp; - public const VkLogicOp VK_LOGIC_OP_XOR = VkLogicOp.Xor; - public const VkLogicOp VK_LOGIC_OP_OR = VkLogicOp.Or; - public const VkLogicOp VK_LOGIC_OP_NOR = VkLogicOp.Nor; - public const VkLogicOp VK_LOGIC_OP_EQUIVALENT = VkLogicOp.Equivalent; - public const VkLogicOp VK_LOGIC_OP_INVERT = VkLogicOp.Invert; - public const VkLogicOp VK_LOGIC_OP_OR_REVERSE = VkLogicOp.OrReverse; - public const VkLogicOp VK_LOGIC_OP_COPY_INVERTED = VkLogicOp.CopyInverted; - public const VkLogicOp VK_LOGIC_OP_OR_INVERTED = VkLogicOp.OrInverted; - public const VkLogicOp VK_LOGIC_OP_NAND = VkLogicOp.Nand; - public const VkLogicOp VK_LOGIC_OP_SET = VkLogicOp.Set; - } - - public enum VkInternalAllocationType - { - Executable = 0, - } - public static partial class RawConstants - { - public const VkInternalAllocationType VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE = VkInternalAllocationType.Executable; - } - - public enum VkSystemAllocationScope - { - Command = 0, - Object = 1, - Cache = 2, - Device = 3, - Instance = 4, - } - public static partial class RawConstants - { - public const VkSystemAllocationScope VK_SYSTEM_ALLOCATION_SCOPE_COMMAND = VkSystemAllocationScope.Command; - public const VkSystemAllocationScope VK_SYSTEM_ALLOCATION_SCOPE_OBJECT = VkSystemAllocationScope.Object; - public const VkSystemAllocationScope VK_SYSTEM_ALLOCATION_SCOPE_CACHE = VkSystemAllocationScope.Cache; - public const VkSystemAllocationScope VK_SYSTEM_ALLOCATION_SCOPE_DEVICE = VkSystemAllocationScope.Device; - public const VkSystemAllocationScope VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE = VkSystemAllocationScope.Instance; - } - - public enum VkPhysicalDeviceType - { - Other = 0, - IntegratedGpu = 1, - DiscreteGpu = 2, - VirtualGpu = 3, - Cpu = 4, - } - public static partial class RawConstants - { - public const VkPhysicalDeviceType VK_PHYSICAL_DEVICE_TYPE_OTHER = VkPhysicalDeviceType.Other; - public const VkPhysicalDeviceType VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = VkPhysicalDeviceType.IntegratedGpu; - public const VkPhysicalDeviceType VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = VkPhysicalDeviceType.DiscreteGpu; - public const VkPhysicalDeviceType VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = VkPhysicalDeviceType.VirtualGpu; - public const VkPhysicalDeviceType VK_PHYSICAL_DEVICE_TYPE_CPU = VkPhysicalDeviceType.Cpu; - } - - public enum VkVertexInputRate - { - Vertex = 0, - Instance = 1, - } - public static partial class RawConstants - { - public const VkVertexInputRate VK_VERTEX_INPUT_RATE_VERTEX = VkVertexInputRate.Vertex; - public const VkVertexInputRate VK_VERTEX_INPUT_RATE_INSTANCE = VkVertexInputRate.Instance; - } - - public enum VkFormat - { - Undefined = 0, - R4g4UnormPack8 = 1, - R4g4b4a4UnormPack16 = 2, - B4g4r4a4UnormPack16 = 3, - R5g6b5UnormPack16 = 4, - B5g6r5UnormPack16 = 5, - R5g5b5a1UnormPack16 = 6, - B5g5r5a1UnormPack16 = 7, - A1r5g5b5UnormPack16 = 8, - R8Unorm = 9, - R8Snorm = 10, - R8Uscaled = 11, - R8Sscaled = 12, - R8Uint = 13, - R8Sint = 14, - R8Srgb = 15, - R8g8Unorm = 16, - R8g8Snorm = 17, - R8g8Uscaled = 18, - R8g8Sscaled = 19, - R8g8Uint = 20, - R8g8Sint = 21, - R8g8Srgb = 22, - R8g8b8Unorm = 23, - R8g8b8Snorm = 24, - R8g8b8Uscaled = 25, - R8g8b8Sscaled = 26, - R8g8b8Uint = 27, - R8g8b8Sint = 28, - R8g8b8Srgb = 29, - B8g8r8Unorm = 30, - B8g8r8Snorm = 31, - B8g8r8Uscaled = 32, - B8g8r8Sscaled = 33, - B8g8r8Uint = 34, - B8g8r8Sint = 35, - B8g8r8Srgb = 36, - R8g8b8a8Unorm = 37, - R8g8b8a8Snorm = 38, - R8g8b8a8Uscaled = 39, - R8g8b8a8Sscaled = 40, - R8g8b8a8Uint = 41, - R8g8b8a8Sint = 42, - R8g8b8a8Srgb = 43, - B8g8r8a8Unorm = 44, - B8g8r8a8Snorm = 45, - B8g8r8a8Uscaled = 46, - B8g8r8a8Sscaled = 47, - B8g8r8a8Uint = 48, - B8g8r8a8Sint = 49, - B8g8r8a8Srgb = 50, - A8b8g8r8UnormPack32 = 51, - A8b8g8r8SnormPack32 = 52, - A8b8g8r8UscaledPack32 = 53, - A8b8g8r8SscaledPack32 = 54, - A8b8g8r8UintPack32 = 55, - A8b8g8r8SintPack32 = 56, - A8b8g8r8SrgbPack32 = 57, - A2r10g10b10UnormPack32 = 58, - A2r10g10b10SnormPack32 = 59, - A2r10g10b10UscaledPack32 = 60, - A2r10g10b10SscaledPack32 = 61, - A2r10g10b10UintPack32 = 62, - A2r10g10b10SintPack32 = 63, - A2b10g10r10UnormPack32 = 64, - A2b10g10r10SnormPack32 = 65, - A2b10g10r10UscaledPack32 = 66, - A2b10g10r10SscaledPack32 = 67, - A2b10g10r10UintPack32 = 68, - A2b10g10r10SintPack32 = 69, - R16Unorm = 70, - R16Snorm = 71, - R16Uscaled = 72, - R16Sscaled = 73, - R16Uint = 74, - R16Sint = 75, - R16Sfloat = 76, - R16g16Unorm = 77, - R16g16Snorm = 78, - R16g16Uscaled = 79, - R16g16Sscaled = 80, - R16g16Uint = 81, - R16g16Sint = 82, - R16g16Sfloat = 83, - R16g16b16Unorm = 84, - R16g16b16Snorm = 85, - R16g16b16Uscaled = 86, - R16g16b16Sscaled = 87, - R16g16b16Uint = 88, - R16g16b16Sint = 89, - R16g16b16Sfloat = 90, - R16g16b16a16Unorm = 91, - R16g16b16a16Snorm = 92, - R16g16b16a16Uscaled = 93, - R16g16b16a16Sscaled = 94, - R16g16b16a16Uint = 95, - R16g16b16a16Sint = 96, - R16g16b16a16Sfloat = 97, - R32Uint = 98, - R32Sint = 99, - R32Sfloat = 100, - R32g32Uint = 101, - R32g32Sint = 102, - R32g32Sfloat = 103, - R32g32b32Uint = 104, - R32g32b32Sint = 105, - R32g32b32Sfloat = 106, - R32g32b32a32Uint = 107, - R32g32b32a32Sint = 108, - R32g32b32a32Sfloat = 109, - R64Uint = 110, - R64Sint = 111, - R64Sfloat = 112, - R64g64Uint = 113, - R64g64Sint = 114, - R64g64Sfloat = 115, - R64g64b64Uint = 116, - R64g64b64Sint = 117, - R64g64b64Sfloat = 118, - R64g64b64a64Uint = 119, - R64g64b64a64Sint = 120, - R64g64b64a64Sfloat = 121, - B10g11r11UfloatPack32 = 122, - E5b9g9r9UfloatPack32 = 123, - D16Unorm = 124, - X8D24UnormPack32 = 125, - D32Sfloat = 126, - S8Uint = 127, - D16UnormS8Uint = 128, - D24UnormS8Uint = 129, - D32SfloatS8Uint = 130, - Bc1RgbUnormBlock = 131, - Bc1RgbSrgbBlock = 132, - Bc1RgbaUnormBlock = 133, - Bc1RgbaSrgbBlock = 134, - Bc2UnormBlock = 135, - Bc2SrgbBlock = 136, - Bc3UnormBlock = 137, - Bc3SrgbBlock = 138, - Bc4UnormBlock = 139, - Bc4SnormBlock = 140, - Bc5UnormBlock = 141, - Bc5SnormBlock = 142, - Bc6hUfloatBlock = 143, - Bc6hSfloatBlock = 144, - Bc7UnormBlock = 145, - Bc7SrgbBlock = 146, - Etc2R8g8b8UnormBlock = 147, - Etc2R8g8b8SrgbBlock = 148, - Etc2R8g8b8a1UnormBlock = 149, - Etc2R8g8b8a1SrgbBlock = 150, - Etc2R8g8b8a8UnormBlock = 151, - Etc2R8g8b8a8SrgbBlock = 152, - EacR11UnormBlock = 153, - EacR11SnormBlock = 154, - EacR11g11UnormBlock = 155, - EacR11g11SnormBlock = 156, - Astc4x4UnormBlock = 157, - Astc4x4SrgbBlock = 158, - Astc5x4UnormBlock = 159, - Astc5x4SrgbBlock = 160, - Astc5x5UnormBlock = 161, - Astc5x5SrgbBlock = 162, - Astc6x5UnormBlock = 163, - Astc6x5SrgbBlock = 164, - Astc6x6UnormBlock = 165, - Astc6x6SrgbBlock = 166, - Astc8x5UnormBlock = 167, - Astc8x5SrgbBlock = 168, - Astc8x6UnormBlock = 169, - Astc8x6SrgbBlock = 170, - Astc8x8UnormBlock = 171, - Astc8x8SrgbBlock = 172, - Astc10x5UnormBlock = 173, - Astc10x5SrgbBlock = 174, - Astc10x6UnormBlock = 175, - Astc10x6SrgbBlock = 176, - Astc10x8UnormBlock = 177, - Astc10x8SrgbBlock = 178, - Astc10x10UnormBlock = 179, - Astc10x10SrgbBlock = 180, - Astc12x10UnormBlock = 181, - Astc12x10SrgbBlock = 182, - Astc12x12UnormBlock = 183, - Astc12x12SrgbBlock = 184, - Pvrtc12bppUnormBlockImg = 1000054000, - Pvrtc14bppUnormBlockImg = 1000054001, - Pvrtc22bppUnormBlockImg = 1000054002, - Pvrtc24bppUnormBlockImg = 1000054003, - Pvrtc12bppSrgbBlockImg = 1000054004, - Pvrtc14bppSrgbBlockImg = 1000054005, - Pvrtc22bppSrgbBlockImg = 1000054006, - Pvrtc24bppSrgbBlockImg = 1000054007, - G8b8g8r8422UnormKHR = 1000156000, - B8g8r8g8422UnormKHR = 1000156001, - G8B8R83plane420UnormKHR = 1000156002, - G8B8r82plane420UnormKHR = 1000156003, - G8B8R83plane422UnormKHR = 1000156004, - G8B8r82plane422UnormKHR = 1000156005, - G8B8R83plane444UnormKHR = 1000156006, - R10x6UnormPack16KHR = 1000156007, - R10x6g10x6Unorm2pack16KHR = 1000156008, - R10x6g10x6b10x6a10x6Unorm4pack16KHR = 1000156009, - G10x6b10x6g10x6r10x6422Unorm4pack16KHR = 1000156010, - B10x6g10x6r10x6g10x6422Unorm4pack16KHR = 1000156011, - G10x6B10x6R10x63plane420Unorm3pack16KHR = 1000156012, - G10x6B10x6r10x62plane420Unorm3pack16KHR = 1000156013, - G10x6B10x6R10x63plane422Unorm3pack16KHR = 1000156014, - G10x6B10x6r10x62plane422Unorm3pack16KHR = 1000156015, - G10x6B10x6R10x63plane444Unorm3pack16KHR = 1000156016, - R12x4UnormPack16KHR = 1000156017, - R12x4g12x4Unorm2pack16KHR = 1000156018, - R12x4g12x4b12x4a12x4Unorm4pack16KHR = 1000156019, - G12x4b12x4g12x4r12x4422Unorm4pack16KHR = 1000156020, - B12x4g12x4r12x4g12x4422Unorm4pack16KHR = 1000156021, - G12x4B12x4R12x43plane420Unorm3pack16KHR = 1000156022, - G12x4B12x4r12x42plane420Unorm3pack16KHR = 1000156023, - G12x4B12x4R12x43plane422Unorm3pack16KHR = 1000156024, - G12x4B12x4r12x42plane422Unorm3pack16KHR = 1000156025, - G12x4B12x4R12x43plane444Unorm3pack16KHR = 1000156026, - G16b16g16r16422UnormKHR = 1000156027, - B16g16r16g16422UnormKHR = 1000156028, - G16B16R163plane420UnormKHR = 1000156029, - G16B16r162plane420UnormKHR = 1000156030, - G16B16R163plane422UnormKHR = 1000156031, - G16B16r162plane422UnormKHR = 1000156032, - G16B16R163plane444UnormKHR = 1000156033, - } - public static partial class RawConstants - { - public const VkFormat VK_FORMAT_UNDEFINED = VkFormat.Undefined; - public const VkFormat VK_FORMAT_R4G4_UNORM_PACK8 = VkFormat.R4g4UnormPack8; - public const VkFormat VK_FORMAT_R4G4B4A4_UNORM_PACK16 = VkFormat.R4g4b4a4UnormPack16; - public const VkFormat VK_FORMAT_B4G4R4A4_UNORM_PACK16 = VkFormat.B4g4r4a4UnormPack16; - public const VkFormat VK_FORMAT_R5G6B5_UNORM_PACK16 = VkFormat.R5g6b5UnormPack16; - public const VkFormat VK_FORMAT_B5G6R5_UNORM_PACK16 = VkFormat.B5g6r5UnormPack16; - public const VkFormat VK_FORMAT_R5G5B5A1_UNORM_PACK16 = VkFormat.R5g5b5a1UnormPack16; - public const VkFormat VK_FORMAT_B5G5R5A1_UNORM_PACK16 = VkFormat.B5g5r5a1UnormPack16; - public const VkFormat VK_FORMAT_A1R5G5B5_UNORM_PACK16 = VkFormat.A1r5g5b5UnormPack16; - public const VkFormat VK_FORMAT_R8_UNORM = VkFormat.R8Unorm; - public const VkFormat VK_FORMAT_R8_SNORM = VkFormat.R8Snorm; - public const VkFormat VK_FORMAT_R8_USCALED = VkFormat.R8Uscaled; - public const VkFormat VK_FORMAT_R8_SSCALED = VkFormat.R8Sscaled; - public const VkFormat VK_FORMAT_R8_UINT = VkFormat.R8Uint; - public const VkFormat VK_FORMAT_R8_SINT = VkFormat.R8Sint; - public const VkFormat VK_FORMAT_R8_SRGB = VkFormat.R8Srgb; - public const VkFormat VK_FORMAT_R8G8_UNORM = VkFormat.R8g8Unorm; - public const VkFormat VK_FORMAT_R8G8_SNORM = VkFormat.R8g8Snorm; - public const VkFormat VK_FORMAT_R8G8_USCALED = VkFormat.R8g8Uscaled; - public const VkFormat VK_FORMAT_R8G8_SSCALED = VkFormat.R8g8Sscaled; - public const VkFormat VK_FORMAT_R8G8_UINT = VkFormat.R8g8Uint; - public const VkFormat VK_FORMAT_R8G8_SINT = VkFormat.R8g8Sint; - public const VkFormat VK_FORMAT_R8G8_SRGB = VkFormat.R8g8Srgb; - public const VkFormat VK_FORMAT_R8G8B8_UNORM = VkFormat.R8g8b8Unorm; - public const VkFormat VK_FORMAT_R8G8B8_SNORM = VkFormat.R8g8b8Snorm; - public const VkFormat VK_FORMAT_R8G8B8_USCALED = VkFormat.R8g8b8Uscaled; - public const VkFormat VK_FORMAT_R8G8B8_SSCALED = VkFormat.R8g8b8Sscaled; - public const VkFormat VK_FORMAT_R8G8B8_UINT = VkFormat.R8g8b8Uint; - public const VkFormat VK_FORMAT_R8G8B8_SINT = VkFormat.R8g8b8Sint; - public const VkFormat VK_FORMAT_R8G8B8_SRGB = VkFormat.R8g8b8Srgb; - public const VkFormat VK_FORMAT_B8G8R8_UNORM = VkFormat.B8g8r8Unorm; - public const VkFormat VK_FORMAT_B8G8R8_SNORM = VkFormat.B8g8r8Snorm; - public const VkFormat VK_FORMAT_B8G8R8_USCALED = VkFormat.B8g8r8Uscaled; - public const VkFormat VK_FORMAT_B8G8R8_SSCALED = VkFormat.B8g8r8Sscaled; - public const VkFormat VK_FORMAT_B8G8R8_UINT = VkFormat.B8g8r8Uint; - public const VkFormat VK_FORMAT_B8G8R8_SINT = VkFormat.B8g8r8Sint; - public const VkFormat VK_FORMAT_B8G8R8_SRGB = VkFormat.B8g8r8Srgb; - public const VkFormat VK_FORMAT_R8G8B8A8_UNORM = VkFormat.R8g8b8a8Unorm; - public const VkFormat VK_FORMAT_R8G8B8A8_SNORM = VkFormat.R8g8b8a8Snorm; - public const VkFormat VK_FORMAT_R8G8B8A8_USCALED = VkFormat.R8g8b8a8Uscaled; - public const VkFormat VK_FORMAT_R8G8B8A8_SSCALED = VkFormat.R8g8b8a8Sscaled; - public const VkFormat VK_FORMAT_R8G8B8A8_UINT = VkFormat.R8g8b8a8Uint; - public const VkFormat VK_FORMAT_R8G8B8A8_SINT = VkFormat.R8g8b8a8Sint; - public const VkFormat VK_FORMAT_R8G8B8A8_SRGB = VkFormat.R8g8b8a8Srgb; - public const VkFormat VK_FORMAT_B8G8R8A8_UNORM = VkFormat.B8g8r8a8Unorm; - public const VkFormat VK_FORMAT_B8G8R8A8_SNORM = VkFormat.B8g8r8a8Snorm; - public const VkFormat VK_FORMAT_B8G8R8A8_USCALED = VkFormat.B8g8r8a8Uscaled; - public const VkFormat VK_FORMAT_B8G8R8A8_SSCALED = VkFormat.B8g8r8a8Sscaled; - public const VkFormat VK_FORMAT_B8G8R8A8_UINT = VkFormat.B8g8r8a8Uint; - public const VkFormat VK_FORMAT_B8G8R8A8_SINT = VkFormat.B8g8r8a8Sint; - public const VkFormat VK_FORMAT_B8G8R8A8_SRGB = VkFormat.B8g8r8a8Srgb; - public const VkFormat VK_FORMAT_A8B8G8R8_UNORM_PACK32 = VkFormat.A8b8g8r8UnormPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_SNORM_PACK32 = VkFormat.A8b8g8r8SnormPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_USCALED_PACK32 = VkFormat.A8b8g8r8UscaledPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_SSCALED_PACK32 = VkFormat.A8b8g8r8SscaledPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_UINT_PACK32 = VkFormat.A8b8g8r8UintPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_SINT_PACK32 = VkFormat.A8b8g8r8SintPack32; - public const VkFormat VK_FORMAT_A8B8G8R8_SRGB_PACK32 = VkFormat.A8b8g8r8SrgbPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_UNORM_PACK32 = VkFormat.A2r10g10b10UnormPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_SNORM_PACK32 = VkFormat.A2r10g10b10SnormPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_USCALED_PACK32 = VkFormat.A2r10g10b10UscaledPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_SSCALED_PACK32 = VkFormat.A2r10g10b10SscaledPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_UINT_PACK32 = VkFormat.A2r10g10b10UintPack32; - public const VkFormat VK_FORMAT_A2R10G10B10_SINT_PACK32 = VkFormat.A2r10g10b10SintPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_UNORM_PACK32 = VkFormat.A2b10g10r10UnormPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_SNORM_PACK32 = VkFormat.A2b10g10r10SnormPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_USCALED_PACK32 = VkFormat.A2b10g10r10UscaledPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_SSCALED_PACK32 = VkFormat.A2b10g10r10SscaledPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_UINT_PACK32 = VkFormat.A2b10g10r10UintPack32; - public const VkFormat VK_FORMAT_A2B10G10R10_SINT_PACK32 = VkFormat.A2b10g10r10SintPack32; - public const VkFormat VK_FORMAT_R16_UNORM = VkFormat.R16Unorm; - public const VkFormat VK_FORMAT_R16_SNORM = VkFormat.R16Snorm; - public const VkFormat VK_FORMAT_R16_USCALED = VkFormat.R16Uscaled; - public const VkFormat VK_FORMAT_R16_SSCALED = VkFormat.R16Sscaled; - public const VkFormat VK_FORMAT_R16_UINT = VkFormat.R16Uint; - public const VkFormat VK_FORMAT_R16_SINT = VkFormat.R16Sint; - public const VkFormat VK_FORMAT_R16_SFLOAT = VkFormat.R16Sfloat; - public const VkFormat VK_FORMAT_R16G16_UNORM = VkFormat.R16g16Unorm; - public const VkFormat VK_FORMAT_R16G16_SNORM = VkFormat.R16g16Snorm; - public const VkFormat VK_FORMAT_R16G16_USCALED = VkFormat.R16g16Uscaled; - public const VkFormat VK_FORMAT_R16G16_SSCALED = VkFormat.R16g16Sscaled; - public const VkFormat VK_FORMAT_R16G16_UINT = VkFormat.R16g16Uint; - public const VkFormat VK_FORMAT_R16G16_SINT = VkFormat.R16g16Sint; - public const VkFormat VK_FORMAT_R16G16_SFLOAT = VkFormat.R16g16Sfloat; - public const VkFormat VK_FORMAT_R16G16B16_UNORM = VkFormat.R16g16b16Unorm; - public const VkFormat VK_FORMAT_R16G16B16_SNORM = VkFormat.R16g16b16Snorm; - public const VkFormat VK_FORMAT_R16G16B16_USCALED = VkFormat.R16g16b16Uscaled; - public const VkFormat VK_FORMAT_R16G16B16_SSCALED = VkFormat.R16g16b16Sscaled; - public const VkFormat VK_FORMAT_R16G16B16_UINT = VkFormat.R16g16b16Uint; - public const VkFormat VK_FORMAT_R16G16B16_SINT = VkFormat.R16g16b16Sint; - public const VkFormat VK_FORMAT_R16G16B16_SFLOAT = VkFormat.R16g16b16Sfloat; - public const VkFormat VK_FORMAT_R16G16B16A16_UNORM = VkFormat.R16g16b16a16Unorm; - public const VkFormat VK_FORMAT_R16G16B16A16_SNORM = VkFormat.R16g16b16a16Snorm; - public const VkFormat VK_FORMAT_R16G16B16A16_USCALED = VkFormat.R16g16b16a16Uscaled; - public const VkFormat VK_FORMAT_R16G16B16A16_SSCALED = VkFormat.R16g16b16a16Sscaled; - public const VkFormat VK_FORMAT_R16G16B16A16_UINT = VkFormat.R16g16b16a16Uint; - public const VkFormat VK_FORMAT_R16G16B16A16_SINT = VkFormat.R16g16b16a16Sint; - public const VkFormat VK_FORMAT_R16G16B16A16_SFLOAT = VkFormat.R16g16b16a16Sfloat; - public const VkFormat VK_FORMAT_R32_UINT = VkFormat.R32Uint; - public const VkFormat VK_FORMAT_R32_SINT = VkFormat.R32Sint; - public const VkFormat VK_FORMAT_R32_SFLOAT = VkFormat.R32Sfloat; - public const VkFormat VK_FORMAT_R32G32_UINT = VkFormat.R32g32Uint; - public const VkFormat VK_FORMAT_R32G32_SINT = VkFormat.R32g32Sint; - public const VkFormat VK_FORMAT_R32G32_SFLOAT = VkFormat.R32g32Sfloat; - public const VkFormat VK_FORMAT_R32G32B32_UINT = VkFormat.R32g32b32Uint; - public const VkFormat VK_FORMAT_R32G32B32_SINT = VkFormat.R32g32b32Sint; - public const VkFormat VK_FORMAT_R32G32B32_SFLOAT = VkFormat.R32g32b32Sfloat; - public const VkFormat VK_FORMAT_R32G32B32A32_UINT = VkFormat.R32g32b32a32Uint; - public const VkFormat VK_FORMAT_R32G32B32A32_SINT = VkFormat.R32g32b32a32Sint; - public const VkFormat VK_FORMAT_R32G32B32A32_SFLOAT = VkFormat.R32g32b32a32Sfloat; - public const VkFormat VK_FORMAT_R64_UINT = VkFormat.R64Uint; - public const VkFormat VK_FORMAT_R64_SINT = VkFormat.R64Sint; - public const VkFormat VK_FORMAT_R64_SFLOAT = VkFormat.R64Sfloat; - public const VkFormat VK_FORMAT_R64G64_UINT = VkFormat.R64g64Uint; - public const VkFormat VK_FORMAT_R64G64_SINT = VkFormat.R64g64Sint; - public const VkFormat VK_FORMAT_R64G64_SFLOAT = VkFormat.R64g64Sfloat; - public const VkFormat VK_FORMAT_R64G64B64_UINT = VkFormat.R64g64b64Uint; - public const VkFormat VK_FORMAT_R64G64B64_SINT = VkFormat.R64g64b64Sint; - public const VkFormat VK_FORMAT_R64G64B64_SFLOAT = VkFormat.R64g64b64Sfloat; - public const VkFormat VK_FORMAT_R64G64B64A64_UINT = VkFormat.R64g64b64a64Uint; - public const VkFormat VK_FORMAT_R64G64B64A64_SINT = VkFormat.R64g64b64a64Sint; - public const VkFormat VK_FORMAT_R64G64B64A64_SFLOAT = VkFormat.R64g64b64a64Sfloat; - public const VkFormat VK_FORMAT_B10G11R11_UFLOAT_PACK32 = VkFormat.B10g11r11UfloatPack32; - public const VkFormat VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 = VkFormat.E5b9g9r9UfloatPack32; - public const VkFormat VK_FORMAT_D16_UNORM = VkFormat.D16Unorm; - public const VkFormat VK_FORMAT_X8_D24_UNORM_PACK32 = VkFormat.X8D24UnormPack32; - public const VkFormat VK_FORMAT_D32_SFLOAT = VkFormat.D32Sfloat; - public const VkFormat VK_FORMAT_S8_UINT = VkFormat.S8Uint; - public const VkFormat VK_FORMAT_D16_UNORM_S8_UINT = VkFormat.D16UnormS8Uint; - public const VkFormat VK_FORMAT_D24_UNORM_S8_UINT = VkFormat.D24UnormS8Uint; - public const VkFormat VK_FORMAT_D32_SFLOAT_S8_UINT = VkFormat.D32SfloatS8Uint; - public const VkFormat VK_FORMAT_BC1_RGB_UNORM_BLOCK = VkFormat.Bc1RgbUnormBlock; - public const VkFormat VK_FORMAT_BC1_RGB_SRGB_BLOCK = VkFormat.Bc1RgbSrgbBlock; - public const VkFormat VK_FORMAT_BC1_RGBA_UNORM_BLOCK = VkFormat.Bc1RgbaUnormBlock; - public const VkFormat VK_FORMAT_BC1_RGBA_SRGB_BLOCK = VkFormat.Bc1RgbaSrgbBlock; - public const VkFormat VK_FORMAT_BC2_UNORM_BLOCK = VkFormat.Bc2UnormBlock; - public const VkFormat VK_FORMAT_BC2_SRGB_BLOCK = VkFormat.Bc2SrgbBlock; - public const VkFormat VK_FORMAT_BC3_UNORM_BLOCK = VkFormat.Bc3UnormBlock; - public const VkFormat VK_FORMAT_BC3_SRGB_BLOCK = VkFormat.Bc3SrgbBlock; - public const VkFormat VK_FORMAT_BC4_UNORM_BLOCK = VkFormat.Bc4UnormBlock; - public const VkFormat VK_FORMAT_BC4_SNORM_BLOCK = VkFormat.Bc4SnormBlock; - public const VkFormat VK_FORMAT_BC5_UNORM_BLOCK = VkFormat.Bc5UnormBlock; - public const VkFormat VK_FORMAT_BC5_SNORM_BLOCK = VkFormat.Bc5SnormBlock; - public const VkFormat VK_FORMAT_BC6H_UFLOAT_BLOCK = VkFormat.Bc6hUfloatBlock; - public const VkFormat VK_FORMAT_BC6H_SFLOAT_BLOCK = VkFormat.Bc6hSfloatBlock; - public const VkFormat VK_FORMAT_BC7_UNORM_BLOCK = VkFormat.Bc7UnormBlock; - public const VkFormat VK_FORMAT_BC7_SRGB_BLOCK = VkFormat.Bc7SrgbBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK = VkFormat.Etc2R8g8b8UnormBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK = VkFormat.Etc2R8g8b8SrgbBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK = VkFormat.Etc2R8g8b8a1UnormBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK = VkFormat.Etc2R8g8b8a1SrgbBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK = VkFormat.Etc2R8g8b8a8UnormBlock; - public const VkFormat VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK = VkFormat.Etc2R8g8b8a8SrgbBlock; - public const VkFormat VK_FORMAT_EAC_R11_UNORM_BLOCK = VkFormat.EacR11UnormBlock; - public const VkFormat VK_FORMAT_EAC_R11_SNORM_BLOCK = VkFormat.EacR11SnormBlock; - public const VkFormat VK_FORMAT_EAC_R11G11_UNORM_BLOCK = VkFormat.EacR11g11UnormBlock; - public const VkFormat VK_FORMAT_EAC_R11G11_SNORM_BLOCK = VkFormat.EacR11g11SnormBlock; - public const VkFormat VK_FORMAT_ASTC_4x4_UNORM_BLOCK = VkFormat.Astc4x4UnormBlock; - public const VkFormat VK_FORMAT_ASTC_4x4_SRGB_BLOCK = VkFormat.Astc4x4SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_5x4_UNORM_BLOCK = VkFormat.Astc5x4UnormBlock; - public const VkFormat VK_FORMAT_ASTC_5x4_SRGB_BLOCK = VkFormat.Astc5x4SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_5x5_UNORM_BLOCK = VkFormat.Astc5x5UnormBlock; - public const VkFormat VK_FORMAT_ASTC_5x5_SRGB_BLOCK = VkFormat.Astc5x5SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_6x5_UNORM_BLOCK = VkFormat.Astc6x5UnormBlock; - public const VkFormat VK_FORMAT_ASTC_6x5_SRGB_BLOCK = VkFormat.Astc6x5SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_6x6_UNORM_BLOCK = VkFormat.Astc6x6UnormBlock; - public const VkFormat VK_FORMAT_ASTC_6x6_SRGB_BLOCK = VkFormat.Astc6x6SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_8x5_UNORM_BLOCK = VkFormat.Astc8x5UnormBlock; - public const VkFormat VK_FORMAT_ASTC_8x5_SRGB_BLOCK = VkFormat.Astc8x5SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_8x6_UNORM_BLOCK = VkFormat.Astc8x6UnormBlock; - public const VkFormat VK_FORMAT_ASTC_8x6_SRGB_BLOCK = VkFormat.Astc8x6SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_8x8_UNORM_BLOCK = VkFormat.Astc8x8UnormBlock; - public const VkFormat VK_FORMAT_ASTC_8x8_SRGB_BLOCK = VkFormat.Astc8x8SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_10x5_UNORM_BLOCK = VkFormat.Astc10x5UnormBlock; - public const VkFormat VK_FORMAT_ASTC_10x5_SRGB_BLOCK = VkFormat.Astc10x5SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_10x6_UNORM_BLOCK = VkFormat.Astc10x6UnormBlock; - public const VkFormat VK_FORMAT_ASTC_10x6_SRGB_BLOCK = VkFormat.Astc10x6SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_10x8_UNORM_BLOCK = VkFormat.Astc10x8UnormBlock; - public const VkFormat VK_FORMAT_ASTC_10x8_SRGB_BLOCK = VkFormat.Astc10x8SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_10x10_UNORM_BLOCK = VkFormat.Astc10x10UnormBlock; - public const VkFormat VK_FORMAT_ASTC_10x10_SRGB_BLOCK = VkFormat.Astc10x10SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_12x10_UNORM_BLOCK = VkFormat.Astc12x10UnormBlock; - public const VkFormat VK_FORMAT_ASTC_12x10_SRGB_BLOCK = VkFormat.Astc12x10SrgbBlock; - public const VkFormat VK_FORMAT_ASTC_12x12_UNORM_BLOCK = VkFormat.Astc12x12UnormBlock; - public const VkFormat VK_FORMAT_ASTC_12x12_SRGB_BLOCK = VkFormat.Astc12x12SrgbBlock; - public const VkFormat VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG = VkFormat.Pvrtc12bppUnormBlockImg; - public const VkFormat VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG = VkFormat.Pvrtc14bppUnormBlockImg; - public const VkFormat VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG = VkFormat.Pvrtc22bppUnormBlockImg; - public const VkFormat VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG = VkFormat.Pvrtc24bppUnormBlockImg; - public const VkFormat VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG = VkFormat.Pvrtc12bppSrgbBlockImg; - public const VkFormat VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG = VkFormat.Pvrtc14bppSrgbBlockImg; - public const VkFormat VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG = VkFormat.Pvrtc22bppSrgbBlockImg; - public const VkFormat VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG = VkFormat.Pvrtc24bppSrgbBlockImg; - public const VkFormat VK_FORMAT_G8B8G8R8_422_UNORM_KHR = VkFormat.G8b8g8r8422UnormKHR; - public const VkFormat VK_FORMAT_B8G8R8G8_422_UNORM_KHR = VkFormat.B8g8r8g8422UnormKHR; - public const VkFormat VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR = VkFormat.G8B8R83plane420UnormKHR; - public const VkFormat VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR = VkFormat.G8B8r82plane420UnormKHR; - public const VkFormat VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR = VkFormat.G8B8R83plane422UnormKHR; - public const VkFormat VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR = VkFormat.G8B8r82plane422UnormKHR; - public const VkFormat VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR = VkFormat.G8B8R83plane444UnormKHR; - public const VkFormat VK_FORMAT_R10X6_UNORM_PACK16_KHR = VkFormat.R10x6UnormPack16KHR; - public const VkFormat VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR = VkFormat.R10x6g10x6Unorm2pack16KHR; - public const VkFormat VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR = VkFormat.R10x6g10x6b10x6a10x6Unorm4pack16KHR; - public const VkFormat VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR = VkFormat.G10x6b10x6g10x6r10x6422Unorm4pack16KHR; - public const VkFormat VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR = VkFormat.B10x6g10x6r10x6g10x6422Unorm4pack16KHR; - public const VkFormat VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR = VkFormat.G10x6B10x6R10x63plane420Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR = VkFormat.G10x6B10x6r10x62plane420Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR = VkFormat.G10x6B10x6R10x63plane422Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR = VkFormat.G10x6B10x6r10x62plane422Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR = VkFormat.G10x6B10x6R10x63plane444Unorm3pack16KHR; - public const VkFormat VK_FORMAT_R12X4_UNORM_PACK16_KHR = VkFormat.R12x4UnormPack16KHR; - public const VkFormat VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR = VkFormat.R12x4g12x4Unorm2pack16KHR; - public const VkFormat VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR = VkFormat.R12x4g12x4b12x4a12x4Unorm4pack16KHR; - public const VkFormat VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR = VkFormat.G12x4b12x4g12x4r12x4422Unorm4pack16KHR; - public const VkFormat VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR = VkFormat.B12x4g12x4r12x4g12x4422Unorm4pack16KHR; - public const VkFormat VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR = VkFormat.G12x4B12x4R12x43plane420Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR = VkFormat.G12x4B12x4r12x42plane420Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR = VkFormat.G12x4B12x4R12x43plane422Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR = VkFormat.G12x4B12x4r12x42plane422Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR = VkFormat.G12x4B12x4R12x43plane444Unorm3pack16KHR; - public const VkFormat VK_FORMAT_G16B16G16R16_422_UNORM_KHR = VkFormat.G16b16g16r16422UnormKHR; - public const VkFormat VK_FORMAT_B16G16R16G16_422_UNORM_KHR = VkFormat.B16g16r16g16422UnormKHR; - public const VkFormat VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR = VkFormat.G16B16R163plane420UnormKHR; - public const VkFormat VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR = VkFormat.G16B16r162plane420UnormKHR; - public const VkFormat VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR = VkFormat.G16B16R163plane422UnormKHR; - public const VkFormat VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR = VkFormat.G16B16r162plane422UnormKHR; - public const VkFormat VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR = VkFormat.G16B16R163plane444UnormKHR; - } - - public enum VkStructureType - { - ApplicationInfo = 0, - InstanceCreateInfo = 1, - DeviceQueueCreateInfo = 2, - DeviceCreateInfo = 3, - SubmitInfo = 4, - MemoryAllocateInfo = 5, - MappedMemoryRange = 6, - BindSparseInfo = 7, - FenceCreateInfo = 8, - SemaphoreCreateInfo = 9, - EventCreateInfo = 10, - QueryPoolCreateInfo = 11, - BufferCreateInfo = 12, - BufferViewCreateInfo = 13, - ImageCreateInfo = 14, - ImageViewCreateInfo = 15, - ShaderModuleCreateInfo = 16, - PipelineCacheCreateInfo = 17, - PipelineShaderStageCreateInfo = 18, - PipelineVertexInputStateCreateInfo = 19, - PipelineInputAssemblyStateCreateInfo = 20, - PipelineTessellationStateCreateInfo = 21, - PipelineViewportStateCreateInfo = 22, - PipelineRasterizationStateCreateInfo = 23, - PipelineMultisampleStateCreateInfo = 24, - PipelineDepthStencilStateCreateInfo = 25, - PipelineColorBlendStateCreateInfo = 26, - PipelineDynamicStateCreateInfo = 27, - GraphicsPipelineCreateInfo = 28, - ComputePipelineCreateInfo = 29, - PipelineLayoutCreateInfo = 30, - SamplerCreateInfo = 31, - DescriptorSetLayoutCreateInfo = 32, - DescriptorPoolCreateInfo = 33, - DescriptorSetAllocateInfo = 34, - WriteDescriptorSet = 35, - CopyDescriptorSet = 36, - FramebufferCreateInfo = 37, - RenderPassCreateInfo = 38, - CommandPoolCreateInfo = 39, - CommandBufferAllocateInfo = 40, - CommandBufferInheritanceInfo = 41, - CommandBufferBeginInfo = 42, - RenderPassBeginInfo = 43, - BufferMemoryBarrier = 44, - ImageMemoryBarrier = 45, - MemoryBarrier = 46, - ///Reserved for internal use by the loader, layers, and ICDs - LoaderInstanceCreateInfo = 47, - ///Reserved for internal use by the loader, layers, and ICDs - LoaderDeviceCreateInfo = 48, - SwapchainCreateInfoKHR = 1000001000, - PresentInfoKHR = 1000001001, - DisplayModeCreateInfoKHR = 1000002000, - DisplaySurfaceCreateInfoKHR = 1000002001, - DisplayPresentInfoKHR = 1000003000, - XlibSurfaceCreateInfoKHR = 1000004000, - XcbSurfaceCreateInfoKHR = 1000005000, - WaylandSurfaceCreateInfoKHR = 1000006000, - MirSurfaceCreateInfoKHR = 1000007000, - AndroidSurfaceCreateInfoKHR = 1000008000, - Win32SurfaceCreateInfoKHR = 1000009000, - NativeBufferAndroid = 1000010000, - DebugReportCallbackCreateInfoEXT = 1000011000, - PipelineRasterizationStateRasterizationOrderAMD = 1000018000, - DebugMarkerObjectNameInfoEXT = 1000022000, - DebugMarkerObjectTagInfoEXT = 1000022001, - DebugMarkerMarkerInfoEXT = 1000022002, - DedicatedAllocationImageCreateInfoNV = 1000026000, - DedicatedAllocationBufferCreateInfoNV = 1000026001, - DedicatedAllocationMemoryAllocateInfoNV = 1000026002, - TextureLodGatherFormatPropertiesAMD = 1000041000, - RenderPassMultiviewCreateInfoKHX = 1000053000, - PhysicalDeviceMultiviewFeaturesKHX = 1000053001, - PhysicalDeviceMultiviewPropertiesKHX = 1000053002, - ExternalMemoryImageCreateInfoNV = 1000056000, - ExportMemoryAllocateInfoNV = 1000056001, - ImportMemoryWin32HandleInfoNV = 1000057000, - ExportMemoryWin32HandleInfoNV = 1000057001, - Win32KeyedMutexAcquireReleaseInfoNV = 1000058000, - PhysicalDeviceFeatures2KHR = 1000059000, - PhysicalDeviceProperties2KHR = 1000059001, - FormatProperties2KHR = 1000059002, - ImageFormatProperties2KHR = 1000059003, - PhysicalDeviceImageFormatInfo2KHR = 1000059004, - QueueFamilyProperties2KHR = 1000059005, - PhysicalDeviceMemoryProperties2KHR = 1000059006, - SparseImageFormatProperties2KHR = 1000059007, - PhysicalDeviceSparseImageFormatInfo2KHR = 1000059008, - MemoryAllocateInfoKHX = 1000060000, - DeviceGroupRenderPassBeginInfoKHX = 1000060003, - DeviceGroupCommandBufferBeginInfoKHX = 1000060004, - DeviceGroupSubmitInfoKHX = 1000060005, - DeviceGroupBindSparseInfoKHX = 1000060006, - AcquireNextImageInfoKHX = 1000060010, - BindBufferMemoryDeviceGroupInfoKHX = 1000060013, - BindImageMemoryDeviceGroupInfoKHX = 1000060014, - DeviceGroupPresentCapabilitiesKHX = 1000060007, - ImageSwapchainCreateInfoKHX = 1000060008, - BindImageMemorySwapchainInfoKHX = 1000060009, - DeviceGroupPresentInfoKHX = 1000060011, - DeviceGroupSwapchainCreateInfoKHX = 1000060012, - ValidationEXT = 1000061000, - ViSurfaceCreateInfoNn = 1000062000, - PhysicalDeviceGroupPropertiesKHX = 1000070000, - DeviceGroupDeviceCreateInfoKHX = 1000070001, - PhysicalDeviceExternalImageFormatInfoKHR = 1000071000, - ExternalImageFormatPropertiesKHR = 1000071001, - PhysicalDeviceExternalBufferInfoKHR = 1000071002, - ExternalBufferPropertiesKHR = 1000071003, - PhysicalDeviceIdPropertiesKHR = 1000071004, - ExternalMemoryBufferCreateInfoKHR = 1000072000, - ExternalMemoryImageCreateInfoKHR = 1000072001, - ExportMemoryAllocateInfoKHR = 1000072002, - ImportMemoryWin32HandleInfoKHR = 1000073000, - ExportMemoryWin32HandleInfoKHR = 1000073001, - MemoryWin32HandlePropertiesKHR = 1000073002, - MemoryGetWin32HandleInfoKHR = 1000073003, - ImportMemoryFdInfoKHR = 1000074000, - MemoryFdPropertiesKHR = 1000074001, - MemoryGetFdInfoKHR = 1000074002, - Win32KeyedMutexAcquireReleaseInfoKHR = 1000075000, - PhysicalDeviceExternalSemaphoreInfoKHR = 1000076000, - ExternalSemaphorePropertiesKHR = 1000076001, - ExportSemaphoreCreateInfoKHR = 1000077000, - ImportSemaphoreWin32HandleInfoKHR = 1000078000, - ExportSemaphoreWin32HandleInfoKHR = 1000078001, - D3d12FenceSubmitInfoKHR = 1000078002, - SemaphoreGetWin32HandleInfoKHR = 1000078003, - ImportSemaphoreFdInfoKHR = 1000079000, - SemaphoreGetFdInfoKHR = 1000079001, - PhysicalDevicePushDescriptorPropertiesKHR = 1000080000, - PhysicalDevice16bitStorageFeaturesKHR = 1000083000, - PresentRegionsKHR = 1000084000, - DescriptorUpdateTemplateCreateInfoKHR = 1000085000, - ObjectTableCreateInfoNVX = 1000086000, - IndirectCommandsLayoutCreateInfoNVX = 1000086001, - CmdProcessCommandsInfoNVX = 1000086002, - CmdReserveSpaceForCommandsInfoNVX = 1000086003, - DeviceGeneratedCommandsLimitsNVX = 1000086004, - DeviceGeneratedCommandsFeaturesNVX = 1000086005, - PipelineViewportWScalingStateCreateInfoNV = 1000087000, - SurfaceCapabilities2EXT = 1000090000, - DisplayPowerInfoEXT = 1000091000, - DeviceEventInfoEXT = 1000091001, - DisplayEventInfoEXT = 1000091002, - SwapchainCounterCreateInfoEXT = 1000091003, - PresentTimesInfoGoogle = 1000092000, - PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX = 1000097000, - PipelineViewportSwizzleStateCreateInfoNV = 1000098000, - PhysicalDeviceDiscardRectanglePropertiesEXT = 1000099000, - PipelineDiscardRectangleStateCreateInfoEXT = 1000099001, - PhysicalDeviceConservativeRasterizationPropertiesEXT = 1000101000, - PipelineRasterizationConservativeStateCreateInfoEXT = 1000101001, - HdrMetadataEXT = 1000105000, - SharedPresentSurfaceCapabilitiesKHR = 1000111000, - PhysicalDeviceExternalFenceInfoKHR = 1000112000, - ExternalFencePropertiesKHR = 1000112001, - ExportFenceCreateInfoKHR = 1000113000, - ImportFenceWin32HandleInfoKHR = 1000114000, - ExportFenceWin32HandleInfoKHR = 1000114001, - FenceGetWin32HandleInfoKHR = 1000114002, - ImportFenceFdInfoKHR = 1000115000, - FenceGetFdInfoKHR = 1000115001, - PhysicalDevicePointClippingPropertiesKHR = 1000117000, - RenderPassInputAttachmentAspectCreateInfoKHR = 1000117001, - ImageViewUsageCreateInfoKHR = 1000117002, - PipelineTessellationDomainOriginStateCreateInfoKHR = 1000117003, - PhysicalDeviceSurfaceInfo2KHR = 1000119000, - SurfaceCapabilities2KHR = 1000119001, - SurfaceFormat2KHR = 1000119002, - PhysicalDeviceVariablePointerFeaturesKHR = 1000120000, - IosSurfaceCreateInfoMvk = 1000122000, - MacosSurfaceCreateInfoMvk = 1000123000, - MemoryDedicatedRequirementsKHR = 1000127000, - MemoryDedicatedAllocateInfoKHR = 1000127001, - PhysicalDeviceSamplerFilterMinmaxPropertiesEXT = 1000130000, - SamplerReductionModeCreateInfoEXT = 1000130001, - SampleLocationsInfoEXT = 1000143000, - RenderPassSampleLocationsBeginInfoEXT = 1000143001, - PipelineSampleLocationsStateCreateInfoEXT = 1000143002, - PhysicalDeviceSampleLocationsPropertiesEXT = 1000143003, - MultisamplePropertiesEXT = 1000143004, - BufferMemoryRequirementsInfo2KHR = 1000146000, - ImageMemoryRequirementsInfo2KHR = 1000146001, - ImageSparseMemoryRequirementsInfo2KHR = 1000146002, - MemoryRequirements2KHR = 1000146003, - SparseImageMemoryRequirements2KHR = 1000146004, - ImageFormatListCreateInfoKHR = 1000147000, - PhysicalDeviceBlendOperationAdvancedFeaturesEXT = 1000148000, - PhysicalDeviceBlendOperationAdvancedPropertiesEXT = 1000148001, - PipelineColorBlendAdvancedStateCreateInfoEXT = 1000148002, - PipelineCoverageToColorStateCreateInfoNV = 1000149000, - PipelineCoverageModulationStateCreateInfoNV = 1000152000, - SamplerYcbcrConversionCreateInfoKHR = 1000156000, - SamplerYcbcrConversionInfoKHR = 1000156001, - BindImagePlaneMemoryInfoKHR = 1000156002, - ImagePlaneMemoryRequirementsInfoKHR = 1000156003, - PhysicalDeviceSamplerYcbcrConversionFeaturesKHR = 1000156004, - SamplerYcbcrConversionImageFormatPropertiesKHR = 1000156005, - BindBufferMemoryInfoKHR = 1000157000, - BindImageMemoryInfoKHR = 1000157001, - ValidationCacheCreateInfoEXT = 1000160000, - ShaderModuleValidationCacheCreateInfoEXT = 1000160001, - DescriptorSetLayoutBindingFlagsCreateInfoEXT = 1000161000, - PhysicalDeviceDescriptorIndexingFeaturesEXT = 1000161001, - PhysicalDeviceDescriptorIndexingPropertiesEXT = 1000161002, - DescriptorSetVariableDescriptorCountAllocateInfoEXT = 1000161003, - DescriptorSetVariableDescriptorCountLayoutSupportEXT = 1000161004, - DeviceQueueGlobalPriorityCreateInfoEXT = 1000174000, - ImportMemoryHostPointerInfoEXT = 1000178000, - MemoryHostPointerPropertiesEXT = 1000178001, - PhysicalDeviceExternalMemoryHostPropertiesEXT = 1000178002, - } - public static partial class RawConstants - { - public const VkStructureType VK_STRUCTURE_TYPE_APPLICATION_INFO = VkStructureType.ApplicationInfo; - public const VkStructureType VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = VkStructureType.InstanceCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO = VkStructureType.DeviceQueueCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO = VkStructureType.DeviceCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_SUBMIT_INFO = VkStructureType.SubmitInfo; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO = VkStructureType.MemoryAllocateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = VkStructureType.MappedMemoryRange; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_SPARSE_INFO = VkStructureType.BindSparseInfo; - public const VkStructureType VK_STRUCTURE_TYPE_FENCE_CREATE_INFO = VkStructureType.FenceCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO = VkStructureType.SemaphoreCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_EVENT_CREATE_INFO = VkStructureType.EventCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO = VkStructureType.QueryPoolCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO = VkStructureType.BufferCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO = VkStructureType.BufferViewCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO = VkStructureType.ImageCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO = VkStructureType.ImageViewCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO = VkStructureType.ShaderModuleCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = VkStructureType.PipelineCacheCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO = VkStructureType.PipelineShaderStageCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO = VkStructureType.PipelineVertexInputStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO = VkStructureType.PipelineInputAssemblyStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO = VkStructureType.PipelineTessellationStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO = VkStructureType.PipelineViewportStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO = VkStructureType.PipelineRasterizationStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO = VkStructureType.PipelineMultisampleStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO = VkStructureType.PipelineDepthStencilStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO = VkStructureType.PipelineColorBlendStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO = VkStructureType.PipelineDynamicStateCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO = VkStructureType.GraphicsPipelineCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO = VkStructureType.ComputePipelineCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = VkStructureType.PipelineLayoutCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO = VkStructureType.SamplerCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO = VkStructureType.DescriptorSetLayoutCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = VkStructureType.DescriptorPoolCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO = VkStructureType.DescriptorSetAllocateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = VkStructureType.WriteDescriptorSet; - public const VkStructureType VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = VkStructureType.CopyDescriptorSet; - public const VkStructureType VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = VkStructureType.FramebufferCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = VkStructureType.RenderPassCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO = VkStructureType.CommandPoolCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO = VkStructureType.CommandBufferAllocateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO = VkStructureType.CommandBufferInheritanceInfo; - public const VkStructureType VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO = VkStructureType.CommandBufferBeginInfo; - public const VkStructureType VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = VkStructureType.RenderPassBeginInfo; - public const VkStructureType VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = VkStructureType.BufferMemoryBarrier; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = VkStructureType.ImageMemoryBarrier; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_BARRIER = VkStructureType.MemoryBarrier; - ///Reserved for internal use by the loader, layers, and ICDs - public const VkStructureType VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO = VkStructureType.LoaderInstanceCreateInfo; - ///Reserved for internal use by the loader, layers, and ICDs - public const VkStructureType VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO = VkStructureType.LoaderDeviceCreateInfo; - public const VkStructureType VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR = VkStructureType.SwapchainCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PRESENT_INFO_KHR = VkStructureType.PresentInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR = VkStructureType.DisplayModeCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR = VkStructureType.DisplaySurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR = VkStructureType.DisplayPresentInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR = VkStructureType.XlibSurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR = VkStructureType.XcbSurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR = VkStructureType.WaylandSurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MIR_SURFACE_CREATE_INFO_KHR = VkStructureType.MirSurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR = VkStructureType.AndroidSurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR = VkStructureType.Win32SurfaceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_NATIVE_BUFFER_ANDROID = VkStructureType.NativeBufferAndroid; - public const VkStructureType VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT = VkStructureType.DebugReportCallbackCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD = VkStructureType.PipelineRasterizationStateRasterizationOrderAMD; - public const VkStructureType VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT = VkStructureType.DebugMarkerObjectNameInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT = VkStructureType.DebugMarkerObjectTagInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT = VkStructureType.DebugMarkerMarkerInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV = VkStructureType.DedicatedAllocationImageCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV = VkStructureType.DedicatedAllocationBufferCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV = VkStructureType.DedicatedAllocationMemoryAllocateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD = VkStructureType.TextureLodGatherFormatPropertiesAMD; - public const VkStructureType VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHX = VkStructureType.RenderPassMultiviewCreateInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHX = VkStructureType.PhysicalDeviceMultiviewFeaturesKHX; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHX = VkStructureType.PhysicalDeviceMultiviewPropertiesKHX; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV = VkStructureType.ExternalMemoryImageCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV = VkStructureType.ExportMemoryAllocateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV = VkStructureType.ImportMemoryWin32HandleInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV = VkStructureType.ExportMemoryWin32HandleInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV = VkStructureType.Win32KeyedMutexAcquireReleaseInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR = VkStructureType.PhysicalDeviceFeatures2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR = VkStructureType.PhysicalDeviceProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR = VkStructureType.FormatProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR = VkStructureType.ImageFormatProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR = VkStructureType.PhysicalDeviceImageFormatInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR = VkStructureType.QueueFamilyProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR = VkStructureType.PhysicalDeviceMemoryProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR = VkStructureType.SparseImageFormatProperties2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR = VkStructureType.PhysicalDeviceSparseImageFormatInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHX = VkStructureType.MemoryAllocateInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHX = VkStructureType.DeviceGroupRenderPassBeginInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHX = VkStructureType.DeviceGroupCommandBufferBeginInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHX = VkStructureType.DeviceGroupSubmitInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHX = VkStructureType.DeviceGroupBindSparseInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHX = VkStructureType.AcquireNextImageInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHX = VkStructureType.BindBufferMemoryDeviceGroupInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHX = VkStructureType.BindImageMemoryDeviceGroupInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHX = VkStructureType.DeviceGroupPresentCapabilitiesKHX; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHX = VkStructureType.ImageSwapchainCreateInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHX = VkStructureType.BindImageMemorySwapchainInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHX = VkStructureType.DeviceGroupPresentInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHX = VkStructureType.DeviceGroupSwapchainCreateInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT = VkStructureType.ValidationEXT; - public const VkStructureType VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN = VkStructureType.ViSurfaceCreateInfoNn; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHX = VkStructureType.PhysicalDeviceGroupPropertiesKHX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHX = VkStructureType.DeviceGroupDeviceCreateInfoKHX; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR = VkStructureType.PhysicalDeviceExternalImageFormatInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR = VkStructureType.ExternalImageFormatPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR = VkStructureType.PhysicalDeviceExternalBufferInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR = VkStructureType.ExternalBufferPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR = VkStructureType.PhysicalDeviceIdPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR = VkStructureType.ExternalMemoryBufferCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR = VkStructureType.ExternalMemoryImageCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR = VkStructureType.ExportMemoryAllocateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR = VkStructureType.ImportMemoryWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR = VkStructureType.ExportMemoryWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR = VkStructureType.MemoryWin32HandlePropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR = VkStructureType.MemoryGetWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR = VkStructureType.ImportMemoryFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR = VkStructureType.MemoryFdPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR = VkStructureType.MemoryGetFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR = VkStructureType.Win32KeyedMutexAcquireReleaseInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR = VkStructureType.PhysicalDeviceExternalSemaphoreInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR = VkStructureType.ExternalSemaphorePropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR = VkStructureType.ExportSemaphoreCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = VkStructureType.ImportSemaphoreWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR = VkStructureType.ExportSemaphoreWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR = VkStructureType.D3d12FenceSubmitInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR = VkStructureType.SemaphoreGetWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR = VkStructureType.ImportSemaphoreFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR = VkStructureType.SemaphoreGetFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR = VkStructureType.PhysicalDevicePushDescriptorPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR = VkStructureType.PhysicalDevice16bitStorageFeaturesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR = VkStructureType.PresentRegionsKHR; - public const VkStructureType VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR = VkStructureType.DescriptorUpdateTemplateCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX = VkStructureType.ObjectTableCreateInfoNVX; - public const VkStructureType VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX = VkStructureType.IndirectCommandsLayoutCreateInfoNVX; - public const VkStructureType VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX = VkStructureType.CmdProcessCommandsInfoNVX; - public const VkStructureType VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX = VkStructureType.CmdReserveSpaceForCommandsInfoNVX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX = VkStructureType.DeviceGeneratedCommandsLimitsNVX; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX = VkStructureType.DeviceGeneratedCommandsFeaturesNVX; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV = VkStructureType.PipelineViewportWScalingStateCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT = VkStructureType.SurfaceCapabilities2EXT; - public const VkStructureType VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT = VkStructureType.DisplayPowerInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT = VkStructureType.DeviceEventInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT = VkStructureType.DisplayEventInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT = VkStructureType.SwapchainCounterCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE = VkStructureType.PresentTimesInfoGoogle; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX = VkStructureType.PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV = VkStructureType.PipelineViewportSwizzleStateCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT = VkStructureType.PhysicalDeviceDiscardRectanglePropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT = VkStructureType.PipelineDiscardRectangleStateCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT = VkStructureType.PhysicalDeviceConservativeRasterizationPropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT = VkStructureType.PipelineRasterizationConservativeStateCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_HDR_METADATA_EXT = VkStructureType.HdrMetadataEXT; - public const VkStructureType VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR = VkStructureType.SharedPresentSurfaceCapabilitiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR = VkStructureType.PhysicalDeviceExternalFenceInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR = VkStructureType.ExternalFencePropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR = VkStructureType.ExportFenceCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR = VkStructureType.ImportFenceWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR = VkStructureType.ExportFenceWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR = VkStructureType.FenceGetWin32HandleInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR = VkStructureType.ImportFenceFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR = VkStructureType.FenceGetFdInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR = VkStructureType.PhysicalDevicePointClippingPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR = VkStructureType.RenderPassInputAttachmentAspectCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR = VkStructureType.ImageViewUsageCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR = VkStructureType.PipelineTessellationDomainOriginStateCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR = VkStructureType.PhysicalDeviceSurfaceInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR = VkStructureType.SurfaceCapabilities2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR = VkStructureType.SurfaceFormat2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR = VkStructureType.PhysicalDeviceVariablePointerFeaturesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK = VkStructureType.IosSurfaceCreateInfoMvk; - public const VkStructureType VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK = VkStructureType.MacosSurfaceCreateInfoMvk; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR = VkStructureType.MemoryDedicatedRequirementsKHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR = VkStructureType.MemoryDedicatedAllocateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT = VkStructureType.PhysicalDeviceSamplerFilterMinmaxPropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT = VkStructureType.SamplerReductionModeCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT = VkStructureType.SampleLocationsInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT = VkStructureType.RenderPassSampleLocationsBeginInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT = VkStructureType.PipelineSampleLocationsStateCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT = VkStructureType.PhysicalDeviceSampleLocationsPropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT = VkStructureType.MultisamplePropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR = VkStructureType.BufferMemoryRequirementsInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR = VkStructureType.ImageMemoryRequirementsInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR = VkStructureType.ImageSparseMemoryRequirementsInfo2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR = VkStructureType.MemoryRequirements2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR = VkStructureType.SparseImageMemoryRequirements2KHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR = VkStructureType.ImageFormatListCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT = VkStructureType.PhysicalDeviceBlendOperationAdvancedFeaturesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT = VkStructureType.PhysicalDeviceBlendOperationAdvancedPropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT = VkStructureType.PipelineColorBlendAdvancedStateCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV = VkStructureType.PipelineCoverageToColorStateCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV = VkStructureType.PipelineCoverageModulationStateCreateInfoNV; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR = VkStructureType.SamplerYcbcrConversionCreateInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR = VkStructureType.SamplerYcbcrConversionInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR = VkStructureType.BindImagePlaneMemoryInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR = VkStructureType.ImagePlaneMemoryRequirementsInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR = VkStructureType.PhysicalDeviceSamplerYcbcrConversionFeaturesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR = VkStructureType.SamplerYcbcrConversionImageFormatPropertiesKHR; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR = VkStructureType.BindBufferMemoryInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR = VkStructureType.BindImageMemoryInfoKHR; - public const VkStructureType VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT = VkStructureType.ValidationCacheCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT = VkStructureType.ShaderModuleValidationCacheCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT = VkStructureType.DeviceQueueGlobalPriorityCreateInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT = VkStructureType.ImportMemoryHostPointerInfoEXT; - public const VkStructureType VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT = VkStructureType.MemoryHostPointerPropertiesEXT; - public const VkStructureType VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT = VkStructureType.PhysicalDeviceExternalMemoryHostPropertiesEXT; - } - - public enum VkSubpassContents - { - Inline = 0, - SecondaryCommandBuffers = 1, - } - public static partial class RawConstants - { - public const VkSubpassContents VK_SUBPASS_CONTENTS_INLINE = VkSubpassContents.Inline; - public const VkSubpassContents VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = VkSubpassContents.SecondaryCommandBuffers; - } - - public enum VkResult - { - ///Command completed successfully - Success = 0, - ///A fence or query has not yet completed - NotReady = 1, - ///A wait operation has not completed in the specified time - Timeout = 2, - ///An event is signaled - EventSet = 3, - ///An event is unsignaled - EventReset = 4, - ///A return array was too small for the result - Incomplete = 5, - ///A host memory allocation has failed - ErrorOutOfHostMemory = -1, - ///A device memory allocation has failed - ErrorOutOfDeviceMemory = -2, - ///Initialization of a object has failed - ErrorInitializationFailed = -3, - ///The logical device has been lost. See <> - ErrorDeviceLost = -4, - ///Mapping of a memory object has failed - ErrorMemoryMapFailed = -5, - ///Layer specified does not exist - ErrorLayerNotPresent = -6, - ///Extension specified does not exist - ErrorExtensionNotPresent = -7, - ///Requested feature is not available on this device - ErrorFeatureNotPresent = -8, - ///Unable to find a Vulkan driver - ErrorIncompatibleDriver = -9, - ///Too many objects of the type have already been created - ErrorTooManyObjects = -10, - ///Requested format is not supported on this device - ErrorFormatNotSupported = -11, - ///A requested pool allocation has failed due to fragmentation of the pool's memory - ErrorFragmentedPool = -12, - ErrorSurfaceLostKHR = -1000000000, - ErrorNativeWindowInUseKHR = -1000000001, - SuboptimalKHR = 1000001003, - ErrorOutOfDateKHR = -1000001004, - ErrorIncompatibleDisplayKHR = -1000003001, - ErrorValidationFailedEXT = -1000011001, - ErrorInvalidShaderNV = -1000012000, - ErrorOutOfPoolMemoryKHR = -1000069000, - ErrorInvalidExternalHandleKHR = -1000072003, - ErrorNotPermittedEXT = -1000174001, - } - public static partial class RawConstants - { - ///Command completed successfully - public const VkResult VK_SUCCESS = VkResult.Success; - ///A fence or query has not yet completed - public const VkResult VK_NOT_READY = VkResult.NotReady; - ///A wait operation has not completed in the specified time - public const VkResult VK_TIMEOUT = VkResult.Timeout; - ///An event is signaled - public const VkResult VK_EVENT_SET = VkResult.EventSet; - ///An event is unsignaled - public const VkResult VK_EVENT_RESET = VkResult.EventReset; - ///A return array was too small for the result - public const VkResult VK_INCOMPLETE = VkResult.Incomplete; - ///A host memory allocation has failed - public const VkResult VK_ERROR_OUT_OF_HOST_MEMORY = VkResult.ErrorOutOfHostMemory; - ///A device memory allocation has failed - public const VkResult VK_ERROR_OUT_OF_DEVICE_MEMORY = VkResult.ErrorOutOfDeviceMemory; - ///Initialization of a object has failed - public const VkResult VK_ERROR_INITIALIZATION_FAILED = VkResult.ErrorInitializationFailed; - ///The logical device has been lost. See <> - public const VkResult VK_ERROR_DEVICE_LOST = VkResult.ErrorDeviceLost; - ///Mapping of a memory object has failed - public const VkResult VK_ERROR_MEMORY_MAP_FAILED = VkResult.ErrorMemoryMapFailed; - ///Layer specified does not exist - public const VkResult VK_ERROR_LAYER_NOT_PRESENT = VkResult.ErrorLayerNotPresent; - ///Extension specified does not exist - public const VkResult VK_ERROR_EXTENSION_NOT_PRESENT = VkResult.ErrorExtensionNotPresent; - ///Requested feature is not available on this device - public const VkResult VK_ERROR_FEATURE_NOT_PRESENT = VkResult.ErrorFeatureNotPresent; - ///Unable to find a Vulkan driver - public const VkResult VK_ERROR_INCOMPATIBLE_DRIVER = VkResult.ErrorIncompatibleDriver; - ///Too many objects of the type have already been created - public const VkResult VK_ERROR_TOO_MANY_OBJECTS = VkResult.ErrorTooManyObjects; - ///Requested format is not supported on this device - public const VkResult VK_ERROR_FORMAT_NOT_SUPPORTED = VkResult.ErrorFormatNotSupported; - ///A requested pool allocation has failed due to fragmentation of the pool's memory - public const VkResult VK_ERROR_FRAGMENTED_POOL = VkResult.ErrorFragmentedPool; - public const VkResult VK_ERROR_SURFACE_LOST_KHR = VkResult.ErrorSurfaceLostKHR; - public const VkResult VK_ERROR_NATIVE_WINDOW_IN_USE_KHR = VkResult.ErrorNativeWindowInUseKHR; - public const VkResult VK_SUBOPTIMAL_KHR = VkResult.SuboptimalKHR; - public const VkResult VK_ERROR_OUT_OF_DATE_KHR = VkResult.ErrorOutOfDateKHR; - public const VkResult VK_ERROR_INCOMPATIBLE_DISPLAY_KHR = VkResult.ErrorIncompatibleDisplayKHR; - public const VkResult VK_ERROR_VALIDATION_FAILED_EXT = VkResult.ErrorValidationFailedEXT; - public const VkResult VK_ERROR_INVALID_SHADER_NV = VkResult.ErrorInvalidShaderNV; - public const VkResult VK_ERROR_OUT_OF_POOL_MEMORY_KHR = VkResult.ErrorOutOfPoolMemoryKHR; - public const VkResult VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR = VkResult.ErrorInvalidExternalHandleKHR; - public const VkResult VK_ERROR_NOT_PERMITTED_EXT = VkResult.ErrorNotPermittedEXT; - } - - public enum VkDynamicState - { - Viewport = 0, - Scissor = 1, - LineWidth = 2, - DepthBias = 3, - BlendConstants = 4, - DepthBounds = 5, - StencilCompareMask = 6, - StencilWriteMask = 7, - StencilReference = 8, - ViewportWScalingNV = 1000087000, - DiscardRectangleEXT = 1000099000, - SampleLocationsEXT = 1000143000, - } - public static partial class RawConstants - { - public const VkDynamicState VK_DYNAMIC_STATE_VIEWPORT = VkDynamicState.Viewport; - public const VkDynamicState VK_DYNAMIC_STATE_SCISSOR = VkDynamicState.Scissor; - public const VkDynamicState VK_DYNAMIC_STATE_LINE_WIDTH = VkDynamicState.LineWidth; - public const VkDynamicState VK_DYNAMIC_STATE_DEPTH_BIAS = VkDynamicState.DepthBias; - public const VkDynamicState VK_DYNAMIC_STATE_BLEND_CONSTANTS = VkDynamicState.BlendConstants; - public const VkDynamicState VK_DYNAMIC_STATE_DEPTH_BOUNDS = VkDynamicState.DepthBounds; - public const VkDynamicState VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK = VkDynamicState.StencilCompareMask; - public const VkDynamicState VK_DYNAMIC_STATE_STENCIL_WRITE_MASK = VkDynamicState.StencilWriteMask; - public const VkDynamicState VK_DYNAMIC_STATE_STENCIL_REFERENCE = VkDynamicState.StencilReference; - public const VkDynamicState VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV = VkDynamicState.ViewportWScalingNV; - public const VkDynamicState VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT = VkDynamicState.DiscardRectangleEXT; - public const VkDynamicState VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT = VkDynamicState.SampleLocationsEXT; - } - - public enum VkDescriptorUpdateTemplateTypeKHR - { - ///Create descriptor update template for descriptor set updates - DescriptorSetKHR = 0, - ///Create descriptor update template for pushed descriptor updates - PushDescriptorsKHR = 1, - } - public static partial class RawConstants - { - ///Create descriptor update template for descriptor set updates - public const VkDescriptorUpdateTemplateTypeKHR VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR = VkDescriptorUpdateTemplateTypeKHR.DescriptorSetKHR; - ///Create descriptor update template for pushed descriptor updates - public const VkDescriptorUpdateTemplateTypeKHR VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR = VkDescriptorUpdateTemplateTypeKHR.PushDescriptorsKHR; - } - - public enum VkObjectType - { - Unknown = 0, - ///VkInstance - Instance = 1, - ///VkPhysicalDevice - PhysicalDevice = 2, - ///VkDevice - Device = 3, - ///VkQueue - Queue = 4, - ///VkSemaphore - Semaphore = 5, - ///VkCommandBuffer - CommandBuffer = 6, - ///VkFence - Fence = 7, - ///VkDeviceMemory - DeviceMemory = 8, - ///VkBuffer - Buffer = 9, - ///VkImage - Image = 10, - ///VkEvent - Event = 11, - ///VkQueryPool - QueryPool = 12, - ///VkBufferView - BufferView = 13, - ///VkImageView - ImageView = 14, - ///VkShaderModule - ShaderModule = 15, - ///VkPipelineCache - PipelineCache = 16, - ///VkPipelineLayout - PipelineLayout = 17, - ///VkRenderPass - RenderPass = 18, - ///VkPipeline - Pipeline = 19, - ///VkDescriptorSetLayout - DescriptorSetLayout = 20, - ///VkSampler - Sampler = 21, - ///VkDescriptorPool - DescriptorPool = 22, - ///VkDescriptorSet - DescriptorSet = 23, - ///VkFramebuffer - Framebuffer = 24, - ///VkCommandPool - CommandPool = 25, - SurfaceKHR = 1000000000, - SwapchainKHR = 1000001000, - DisplayKHR = 1000002000, - DisplayModeKHR = 1000002001, - DebugReportCallbackEXT = 1000011000, - DescriptorUpdateTemplateKHR = 1000085000, - ObjectTableNVX = 1000086000, - IndirectCommandsLayoutNVX = 1000086001, - SamplerYcbcrConversionKHR = 1000156000, - ValidationCacheEXT = 1000160000, - } - public static partial class RawConstants - { - public const VkObjectType VK_OBJECT_TYPE_UNKNOWN = VkObjectType.Unknown; - ///VkInstance - public const VkObjectType VK_OBJECT_TYPE_INSTANCE = VkObjectType.Instance; - ///VkPhysicalDevice - public const VkObjectType VK_OBJECT_TYPE_PHYSICAL_DEVICE = VkObjectType.PhysicalDevice; - ///VkDevice - public const VkObjectType VK_OBJECT_TYPE_DEVICE = VkObjectType.Device; - ///VkQueue - public const VkObjectType VK_OBJECT_TYPE_QUEUE = VkObjectType.Queue; - ///VkSemaphore - public const VkObjectType VK_OBJECT_TYPE_SEMAPHORE = VkObjectType.Semaphore; - ///VkCommandBuffer - public const VkObjectType VK_OBJECT_TYPE_COMMAND_BUFFER = VkObjectType.CommandBuffer; - ///VkFence - public const VkObjectType VK_OBJECT_TYPE_FENCE = VkObjectType.Fence; - ///VkDeviceMemory - public const VkObjectType VK_OBJECT_TYPE_DEVICE_MEMORY = VkObjectType.DeviceMemory; - ///VkBuffer - public const VkObjectType VK_OBJECT_TYPE_BUFFER = VkObjectType.Buffer; - ///VkImage - public const VkObjectType VK_OBJECT_TYPE_IMAGE = VkObjectType.Image; - ///VkEvent - public const VkObjectType VK_OBJECT_TYPE_EVENT = VkObjectType.Event; - ///VkQueryPool - public const VkObjectType VK_OBJECT_TYPE_QUERY_POOL = VkObjectType.QueryPool; - ///VkBufferView - public const VkObjectType VK_OBJECT_TYPE_BUFFER_VIEW = VkObjectType.BufferView; - ///VkImageView - public const VkObjectType VK_OBJECT_TYPE_IMAGE_VIEW = VkObjectType.ImageView; - ///VkShaderModule - public const VkObjectType VK_OBJECT_TYPE_SHADER_MODULE = VkObjectType.ShaderModule; - ///VkPipelineCache - public const VkObjectType VK_OBJECT_TYPE_PIPELINE_CACHE = VkObjectType.PipelineCache; - ///VkPipelineLayout - public const VkObjectType VK_OBJECT_TYPE_PIPELINE_LAYOUT = VkObjectType.PipelineLayout; - ///VkRenderPass - public const VkObjectType VK_OBJECT_TYPE_RENDER_PASS = VkObjectType.RenderPass; - ///VkPipeline - public const VkObjectType VK_OBJECT_TYPE_PIPELINE = VkObjectType.Pipeline; - ///VkDescriptorSetLayout - public const VkObjectType VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT = VkObjectType.DescriptorSetLayout; - ///VkSampler - public const VkObjectType VK_OBJECT_TYPE_SAMPLER = VkObjectType.Sampler; - ///VkDescriptorPool - public const VkObjectType VK_OBJECT_TYPE_DESCRIPTOR_POOL = VkObjectType.DescriptorPool; - ///VkDescriptorSet - public const VkObjectType VK_OBJECT_TYPE_DESCRIPTOR_SET = VkObjectType.DescriptorSet; - ///VkFramebuffer - public const VkObjectType VK_OBJECT_TYPE_FRAMEBUFFER = VkObjectType.Framebuffer; - ///VkCommandPool - public const VkObjectType VK_OBJECT_TYPE_COMMAND_POOL = VkObjectType.CommandPool; - public const VkObjectType VK_OBJECT_TYPE_SURFACE_KHR = VkObjectType.SurfaceKHR; - public const VkObjectType VK_OBJECT_TYPE_SWAPCHAIN_KHR = VkObjectType.SwapchainKHR; - public const VkObjectType VK_OBJECT_TYPE_DISPLAY_KHR = VkObjectType.DisplayKHR; - public const VkObjectType VK_OBJECT_TYPE_DISPLAY_MODE_KHR = VkObjectType.DisplayModeKHR; - public const VkObjectType VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT = VkObjectType.DebugReportCallbackEXT; - public const VkObjectType VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR = VkObjectType.DescriptorUpdateTemplateKHR; - public const VkObjectType VK_OBJECT_TYPE_OBJECT_TABLE_NVX = VkObjectType.ObjectTableNVX; - public const VkObjectType VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX = VkObjectType.IndirectCommandsLayoutNVX; - public const VkObjectType VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR = VkObjectType.SamplerYcbcrConversionKHR; - public const VkObjectType VK_OBJECT_TYPE_VALIDATION_CACHE_EXT = VkObjectType.ValidationCacheEXT; - } - - [Flags] - public enum VkQueueFlags - { - None = 0, - ///Queue supports graphics operations - Graphics = 1, - ///Queue supports compute operations - Compute = 2, - ///Queue supports transfer operations - Transfer = 4, - ///Queue supports sparse resource memory management operations - SparseBinding = 8, - } - public static partial class RawConstants - { - ///Queue supports graphics operations - public const VkQueueFlags VK_QUEUE_GRAPHICS_BIT = VkQueueFlags.Graphics; - ///Queue supports compute operations - public const VkQueueFlags VK_QUEUE_COMPUTE_BIT = VkQueueFlags.Compute; - ///Queue supports transfer operations - public const VkQueueFlags VK_QUEUE_TRANSFER_BIT = VkQueueFlags.Transfer; - ///Queue supports sparse resource memory management operations - public const VkQueueFlags VK_QUEUE_SPARSE_BINDING_BIT = VkQueueFlags.SparseBinding; - } - - [Flags] - public enum VkMemoryPropertyFlags - { - None = 0, - ///If otherwise stated, then allocate memory on device - DeviceLocal = 1, - ///Memory is mappable by host - HostVisible = 2, - ///Memory will have i/o coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flush/invalidate host cache - HostCoherent = 4, - ///Memory will be cached by the host - HostCached = 8, - ///Memory may be allocated by the driver when it is required - LazilyAllocated = 16, - } - public static partial class RawConstants - { - ///If otherwise stated, then allocate memory on device - public const VkMemoryPropertyFlags VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT = VkMemoryPropertyFlags.DeviceLocal; - ///Memory is mappable by host - public const VkMemoryPropertyFlags VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT = VkMemoryPropertyFlags.HostVisible; - ///Memory will have i/o coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flush/invalidate host cache - public const VkMemoryPropertyFlags VK_MEMORY_PROPERTY_HOST_COHERENT_BIT = VkMemoryPropertyFlags.HostCoherent; - ///Memory will be cached by the host - public const VkMemoryPropertyFlags VK_MEMORY_PROPERTY_HOST_CACHED_BIT = VkMemoryPropertyFlags.HostCached; - ///Memory may be allocated by the driver when it is required - public const VkMemoryPropertyFlags VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT = VkMemoryPropertyFlags.LazilyAllocated; - } - - [Flags] - public enum VkMemoryHeapFlags - { - None = 0, - ///If set, heap represents device memory - DeviceLocal = 1, - MultiInstanceKHX = 2, - } - public static partial class RawConstants - { - ///If set, heap represents device memory - public const VkMemoryHeapFlags VK_MEMORY_HEAP_DEVICE_LOCAL_BIT = VkMemoryHeapFlags.DeviceLocal; - public const VkMemoryHeapFlags VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHX = VkMemoryHeapFlags.MultiInstanceKHX; - } - - [Flags] - public enum VkAccessFlags - { - None = 0, - ///Controls coherency of indirect command reads - IndirectCommandRead = 1, - ///Controls coherency of index reads - IndexRead = 2, - ///Controls coherency of vertex attribute reads - VertexAttributeRead = 4, - ///Controls coherency of uniform buffer reads - UniformRead = 8, - ///Controls coherency of input attachment reads - InputAttachmentRead = 16, - ///Controls coherency of shader reads - ShaderRead = 32, - ///Controls coherency of shader writes - ShaderWrite = 64, - ///Controls coherency of color attachment reads - ColorAttachmentRead = 128, - ///Controls coherency of color attachment writes - ColorAttachmentWrite = 256, - ///Controls coherency of depth/stencil attachment reads - DepthStencilAttachmentRead = 512, - ///Controls coherency of depth/stencil attachment writes - DepthStencilAttachmentWrite = 1024, - ///Controls coherency of transfer reads - TransferRead = 2048, - ///Controls coherency of transfer writes - TransferWrite = 4096, - ///Controls coherency of host reads - HostRead = 8192, - ///Controls coherency of host writes - HostWrite = 16384, - ///Controls coherency of memory reads - MemoryRead = 32768, - ///Controls coherency of memory writes - MemoryWrite = 65536, - CommandProcessReadNVX = 131072, - CommandProcessWriteNVX = 262144, - ColorAttachmentReadNoncoherentEXT = 524288, - } - public static partial class RawConstants - { - ///Controls coherency of indirect command reads - public const VkAccessFlags VK_ACCESS_INDIRECT_COMMAND_READ_BIT = VkAccessFlags.IndirectCommandRead; - ///Controls coherency of index reads - public const VkAccessFlags VK_ACCESS_INDEX_READ_BIT = VkAccessFlags.IndexRead; - ///Controls coherency of vertex attribute reads - public const VkAccessFlags VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT = VkAccessFlags.VertexAttributeRead; - ///Controls coherency of uniform buffer reads - public const VkAccessFlags VK_ACCESS_UNIFORM_READ_BIT = VkAccessFlags.UniformRead; - ///Controls coherency of input attachment reads - public const VkAccessFlags VK_ACCESS_INPUT_ATTACHMENT_READ_BIT = VkAccessFlags.InputAttachmentRead; - ///Controls coherency of shader reads - public const VkAccessFlags VK_ACCESS_SHADER_READ_BIT = VkAccessFlags.ShaderRead; - ///Controls coherency of shader writes - public const VkAccessFlags VK_ACCESS_SHADER_WRITE_BIT = VkAccessFlags.ShaderWrite; - ///Controls coherency of color attachment reads - public const VkAccessFlags VK_ACCESS_COLOR_ATTACHMENT_READ_BIT = VkAccessFlags.ColorAttachmentRead; - ///Controls coherency of color attachment writes - public const VkAccessFlags VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT = VkAccessFlags.ColorAttachmentWrite; - ///Controls coherency of depth/stencil attachment reads - public const VkAccessFlags VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT = VkAccessFlags.DepthStencilAttachmentRead; - ///Controls coherency of depth/stencil attachment writes - public const VkAccessFlags VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT = VkAccessFlags.DepthStencilAttachmentWrite; - ///Controls coherency of transfer reads - public const VkAccessFlags VK_ACCESS_TRANSFER_READ_BIT = VkAccessFlags.TransferRead; - ///Controls coherency of transfer writes - public const VkAccessFlags VK_ACCESS_TRANSFER_WRITE_BIT = VkAccessFlags.TransferWrite; - ///Controls coherency of host reads - public const VkAccessFlags VK_ACCESS_HOST_READ_BIT = VkAccessFlags.HostRead; - ///Controls coherency of host writes - public const VkAccessFlags VK_ACCESS_HOST_WRITE_BIT = VkAccessFlags.HostWrite; - ///Controls coherency of memory reads - public const VkAccessFlags VK_ACCESS_MEMORY_READ_BIT = VkAccessFlags.MemoryRead; - ///Controls coherency of memory writes - public const VkAccessFlags VK_ACCESS_MEMORY_WRITE_BIT = VkAccessFlags.MemoryWrite; - public const VkAccessFlags VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX = VkAccessFlags.CommandProcessReadNVX; - public const VkAccessFlags VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX = VkAccessFlags.CommandProcessWriteNVX; - public const VkAccessFlags VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT = VkAccessFlags.ColorAttachmentReadNoncoherentEXT; - } - - [Flags] - public enum VkBufferUsageFlags - { - None = 0, - ///Can be used as a source of transfer operations - TransferSrc = 1, - ///Can be used as a destination of transfer operations - TransferDst = 2, - ///Can be used as TBO - UniformTexelBuffer = 4, - ///Can be used as IBO - StorageTexelBuffer = 8, - ///Can be used as UBO - UniformBuffer = 16, - ///Can be used as SSBO - StorageBuffer = 32, - ///Can be used as source of fixed-function index fetch (index buffer) - IndexBuffer = 64, - ///Can be used as source of fixed-function vertex fetch (VBO) - VertexBuffer = 128, - ///Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer) - IndirectBuffer = 256, - } - public static partial class RawConstants - { - ///Can be used as a source of transfer operations - public const VkBufferUsageFlags VK_BUFFER_USAGE_TRANSFER_SRC_BIT = VkBufferUsageFlags.TransferSrc; - ///Can be used as a destination of transfer operations - public const VkBufferUsageFlags VK_BUFFER_USAGE_TRANSFER_DST_BIT = VkBufferUsageFlags.TransferDst; - ///Can be used as TBO - public const VkBufferUsageFlags VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = VkBufferUsageFlags.UniformTexelBuffer; - ///Can be used as IBO - public const VkBufferUsageFlags VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = VkBufferUsageFlags.StorageTexelBuffer; - ///Can be used as UBO - public const VkBufferUsageFlags VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT = VkBufferUsageFlags.UniformBuffer; - ///Can be used as SSBO - public const VkBufferUsageFlags VK_BUFFER_USAGE_STORAGE_BUFFER_BIT = VkBufferUsageFlags.StorageBuffer; - ///Can be used as source of fixed-function index fetch (index buffer) - public const VkBufferUsageFlags VK_BUFFER_USAGE_INDEX_BUFFER_BIT = VkBufferUsageFlags.IndexBuffer; - ///Can be used as source of fixed-function vertex fetch (VBO) - public const VkBufferUsageFlags VK_BUFFER_USAGE_VERTEX_BUFFER_BIT = VkBufferUsageFlags.VertexBuffer; - ///Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer) - public const VkBufferUsageFlags VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT = VkBufferUsageFlags.IndirectBuffer; - } - - [Flags] - public enum VkBufferCreateFlags - { - None = 0, - ///Buffer should support sparse backing - SparseBinding = 1, - ///Buffer should support sparse backing with partial residency - SparseResidency = 2, - ///Buffer should support constent data access to physical memory ranges mapped into multiple locations of sparse buffers - SparseAliased = 4, - } - public static partial class RawConstants - { - ///Buffer should support sparse backing - public const VkBufferCreateFlags VK_BUFFER_CREATE_SPARSE_BINDING_BIT = VkBufferCreateFlags.SparseBinding; - ///Buffer should support sparse backing with partial residency - public const VkBufferCreateFlags VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT = VkBufferCreateFlags.SparseResidency; - ///Buffer should support constent data access to physical memory ranges mapped into multiple locations of sparse buffers - public const VkBufferCreateFlags VK_BUFFER_CREATE_SPARSE_ALIASED_BIT = VkBufferCreateFlags.SparseAliased; - } - - [Flags] - public enum VkShaderStageFlags - { - None = 0, - Vertex = 1, - TessellationControl = 2, - TessellationEvaluation = 4, - Geometry = 8, - Fragment = 16, - Compute = 32, - AllGraphics = 31, - All = 2147483647, - } - public static partial class RawConstants - { - public const VkShaderStageFlags VK_SHADER_STAGE_VERTEX_BIT = VkShaderStageFlags.Vertex; - public const VkShaderStageFlags VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT = VkShaderStageFlags.TessellationControl; - public const VkShaderStageFlags VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT = VkShaderStageFlags.TessellationEvaluation; - public const VkShaderStageFlags VK_SHADER_STAGE_GEOMETRY_BIT = VkShaderStageFlags.Geometry; - public const VkShaderStageFlags VK_SHADER_STAGE_FRAGMENT_BIT = VkShaderStageFlags.Fragment; - public const VkShaderStageFlags VK_SHADER_STAGE_COMPUTE_BIT = VkShaderStageFlags.Compute; - public const VkShaderStageFlags VK_SHADER_STAGE_ALL_GRAPHICS = VkShaderStageFlags.AllGraphics; - public const VkShaderStageFlags VK_SHADER_STAGE_ALL = VkShaderStageFlags.All; - } - - [Flags] - public enum VkImageUsageFlags - { - None = 0, - ///Can be used as a source of transfer operations - TransferSrc = 1, - ///Can be used as a destination of transfer operations - TransferDst = 2, - ///Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types) - Sampled = 4, - ///Can be used as storage image (STORAGE_IMAGE descriptor type) - Storage = 8, - ///Can be used as framebuffer color attachment - ColorAttachment = 16, - ///Can be used as framebuffer depth/stencil attachment - DepthStencilAttachment = 32, - ///Image data not needed outside of rendering - TransientAttachment = 64, - ///Can be used as framebuffer input attachment - InputAttachment = 128, - } - public static partial class RawConstants - { - ///Can be used as a source of transfer operations - public const VkImageUsageFlags VK_IMAGE_USAGE_TRANSFER_SRC_BIT = VkImageUsageFlags.TransferSrc; - ///Can be used as a destination of transfer operations - public const VkImageUsageFlags VK_IMAGE_USAGE_TRANSFER_DST_BIT = VkImageUsageFlags.TransferDst; - ///Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types) - public const VkImageUsageFlags VK_IMAGE_USAGE_SAMPLED_BIT = VkImageUsageFlags.Sampled; - ///Can be used as storage image (STORAGE_IMAGE descriptor type) - public const VkImageUsageFlags VK_IMAGE_USAGE_STORAGE_BIT = VkImageUsageFlags.Storage; - ///Can be used as framebuffer color attachment - public const VkImageUsageFlags VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = VkImageUsageFlags.ColorAttachment; - ///Can be used as framebuffer depth/stencil attachment - public const VkImageUsageFlags VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = VkImageUsageFlags.DepthStencilAttachment; - ///Image data not needed outside of rendering - public const VkImageUsageFlags VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = VkImageUsageFlags.TransientAttachment; - ///Can be used as framebuffer input attachment - public const VkImageUsageFlags VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT = VkImageUsageFlags.InputAttachment; - } - - [Flags] - public enum VkImageCreateFlags - { - None = 0, - ///Image should support sparse backing - SparseBinding = 1, - ///Image should support sparse backing with partial residency - SparseResidency = 2, - ///Image should support constent data access to physical memory ranges mapped into multiple locations of sparse images - SparseAliased = 4, - ///Allows image views to have different format than the base image - MutableFormat = 8, - ///Allows creating image views with cube type from the created image - CubeCompatible = 16, - BindSfrKHX = 64, - _2dArrayCompatibleKHR = 32, - BlockTexelViewCompatibleKHR = 128, - ExtendedUsageKHR = 256, - SampleLocationsCompatibleDepthEXT = 4096, - DisjointKHR = 512, - AliasKHR = 1024, - } - public static partial class RawConstants - { - ///Image should support sparse backing - public const VkImageCreateFlags VK_IMAGE_CREATE_SPARSE_BINDING_BIT = VkImageCreateFlags.SparseBinding; - ///Image should support sparse backing with partial residency - public const VkImageCreateFlags VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT = VkImageCreateFlags.SparseResidency; - ///Image should support constent data access to physical memory ranges mapped into multiple locations of sparse images - public const VkImageCreateFlags VK_IMAGE_CREATE_SPARSE_ALIASED_BIT = VkImageCreateFlags.SparseAliased; - ///Allows image views to have different format than the base image - public const VkImageCreateFlags VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = VkImageCreateFlags.MutableFormat; - ///Allows creating image views with cube type from the created image - public const VkImageCreateFlags VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = VkImageCreateFlags.CubeCompatible; - public const VkImageCreateFlags VK_IMAGE_CREATE_BIND_SFR_BIT_KHX = VkImageCreateFlags.BindSfrKHX; - public const VkImageCreateFlags VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR = VkImageCreateFlags._2dArrayCompatibleKHR; - public const VkImageCreateFlags VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR = VkImageCreateFlags.BlockTexelViewCompatibleKHR; - public const VkImageCreateFlags VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR = VkImageCreateFlags.ExtendedUsageKHR; - public const VkImageCreateFlags VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT = VkImageCreateFlags.SampleLocationsCompatibleDepthEXT; - public const VkImageCreateFlags VK_IMAGE_CREATE_DISJOINT_BIT_KHR = VkImageCreateFlags.DisjointKHR; - public const VkImageCreateFlags VK_IMAGE_CREATE_ALIAS_BIT_KHR = VkImageCreateFlags.AliasKHR; - } - - [Flags] - public enum VkPipelineCreateFlags - { - None = 0, - DisableOptimization = 1, - AllowDerivatives = 2, - Derivative = 4, - ViewIndexFromDeviceIndexKHX = 8, - DispatchBaseKHX = 16, - } - public static partial class RawConstants - { - public const VkPipelineCreateFlags VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT = VkPipelineCreateFlags.DisableOptimization; - public const VkPipelineCreateFlags VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT = VkPipelineCreateFlags.AllowDerivatives; - public const VkPipelineCreateFlags VK_PIPELINE_CREATE_DERIVATIVE_BIT = VkPipelineCreateFlags.Derivative; - public const VkPipelineCreateFlags VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHX = VkPipelineCreateFlags.ViewIndexFromDeviceIndexKHX; - public const VkPipelineCreateFlags VK_PIPELINE_CREATE_DISPATCH_BASE_KHX = VkPipelineCreateFlags.DispatchBaseKHX; - } - - [Flags] - public enum VkColorComponentFlags - { - None = 0, - R = 1, - G = 2, - B = 4, - A = 8, - } - public static partial class RawConstants - { - public const VkColorComponentFlags VK_COLOR_COMPONENT_R_BIT = VkColorComponentFlags.R; - public const VkColorComponentFlags VK_COLOR_COMPONENT_G_BIT = VkColorComponentFlags.G; - public const VkColorComponentFlags VK_COLOR_COMPONENT_B_BIT = VkColorComponentFlags.B; - public const VkColorComponentFlags VK_COLOR_COMPONENT_A_BIT = VkColorComponentFlags.A; - } - - [Flags] - public enum VkFenceCreateFlags - { - None = 0, - Signaled = 1, - } - public static partial class RawConstants - { - public const VkFenceCreateFlags VK_FENCE_CREATE_SIGNALED_BIT = VkFenceCreateFlags.Signaled; - } - - [Flags] - public enum VkFormatFeatureFlags - { - None = 0, - ///Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types) - SampledImage = 1, - ///Format can be used for storage images (STORAGE_IMAGE descriptor type) - StorageImage = 2, - ///Format supports atomic operations in case it is used for storage images - StorageImageAtomic = 4, - ///Format can be used for uniform texel buffers (TBOs) - UniformTexelBuffer = 8, - ///Format can be used for storage texel buffers (IBOs) - StorageTexelBuffer = 16, - ///Format supports atomic operations in case it is used for storage texel buffers - StorageTexelBufferAtomic = 32, - ///Format can be used for vertex buffers (VBOs) - VertexBuffer = 64, - ///Format can be used for color attachment images - ColorAttachment = 128, - ///Format supports blending in case it is used for color attachment images - ColorAttachmentBlend = 256, - ///Format can be used for depth/stencil attachment images - DepthStencilAttachment = 512, - ///Format can be used as the source image of blits with vkCmdBlitImage - BlitSrc = 1024, - ///Format can be used as the destination image of blits with vkCmdBlitImage - BlitDst = 2048, - ///Format can be filtered with VK_FILTER_LINEAR when being sampled - SampledImageFilterLinear = 4096, - SampledImageFilterCubicImg = 8192, - TransferSrcKHR = 16384, - TransferDstKHR = 32768, - SampledImageFilterMinmaxEXT = 65536, - MidpointChromaSamplesKHR = 131072, - SampledImageYcbcrConversionLinearFilterKHR = 262144, - SampledImageYcbcrConversionSeparateReconstructionFilterKHR = 524288, - SampledImageYcbcrConversionChromaReconstructionExplicitKHR = 1048576, - SampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR = 2097152, - DisjointKHR = 4194304, - CositedChromaSamplesKHR = 8388608, - } - public static partial class RawConstants - { - ///Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types) - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT = VkFormatFeatureFlags.SampledImage; - ///Format can be used for storage images (STORAGE_IMAGE descriptor type) - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT = VkFormatFeatureFlags.StorageImage; - ///Format supports atomic operations in case it is used for storage images - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT = VkFormatFeatureFlags.StorageImageAtomic; - ///Format can be used for uniform texel buffers (TBOs) - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT = VkFormatFeatureFlags.UniformTexelBuffer; - ///Format can be used for storage texel buffers (IBOs) - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT = VkFormatFeatureFlags.StorageTexelBuffer; - ///Format supports atomic operations in case it is used for storage texel buffers - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT = VkFormatFeatureFlags.StorageTexelBufferAtomic; - ///Format can be used for vertex buffers (VBOs) - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT = VkFormatFeatureFlags.VertexBuffer; - ///Format can be used for color attachment images - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT = VkFormatFeatureFlags.ColorAttachment; - ///Format supports blending in case it is used for color attachment images - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT = VkFormatFeatureFlags.ColorAttachmentBlend; - ///Format can be used for depth/stencil attachment images - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT = VkFormatFeatureFlags.DepthStencilAttachment; - ///Format can be used as the source image of blits with vkCmdBlitImage - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_BLIT_SRC_BIT = VkFormatFeatureFlags.BlitSrc; - ///Format can be used as the destination image of blits with vkCmdBlitImage - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_BLIT_DST_BIT = VkFormatFeatureFlags.BlitDst; - ///Format can be filtered with VK_FILTER_LINEAR when being sampled - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT = VkFormatFeatureFlags.SampledImageFilterLinear; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG = VkFormatFeatureFlags.SampledImageFilterCubicImg; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR = VkFormatFeatureFlags.TransferSrcKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR = VkFormatFeatureFlags.TransferDstKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT = VkFormatFeatureFlags.SampledImageFilterMinmaxEXT; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR = VkFormatFeatureFlags.MidpointChromaSamplesKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR = VkFormatFeatureFlags.SampledImageYcbcrConversionLinearFilterKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR = VkFormatFeatureFlags.SampledImageYcbcrConversionSeparateReconstructionFilterKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR = VkFormatFeatureFlags.SampledImageYcbcrConversionChromaReconstructionExplicitKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR = VkFormatFeatureFlags.SampledImageYcbcrConversionChromaReconstructionExplicitForceableKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_DISJOINT_BIT_KHR = VkFormatFeatureFlags.DisjointKHR; - public const VkFormatFeatureFlags VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR = VkFormatFeatureFlags.CositedChromaSamplesKHR; - } - - [Flags] - public enum VkQueryControlFlags - { - None = 0, - ///Require precise results to be collected by the query - Precise = 1, - } - public static partial class RawConstants - { - ///Require precise results to be collected by the query - public const VkQueryControlFlags VK_QUERY_CONTROL_PRECISE_BIT = VkQueryControlFlags.Precise; - } - - [Flags] - public enum VkQueryResultFlags - { - None = 0, - ///Results of the queries are written to the destination buffer as 64-bit values - _64 = 1, - ///Results of the queries are waited on before proceeding with the result copy - Wait = 2, - ///Besides the results of the query, the availability of the results is also written - WithAvailability = 4, - ///Copy the partial results of the query even if the final results are not available - Partial = 8, - } - public static partial class RawConstants - { - ///Results of the queries are written to the destination buffer as 64-bit values - public const VkQueryResultFlags VK_QUERY_RESULT_64_BIT = VkQueryResultFlags._64; - ///Results of the queries are waited on before proceeding with the result copy - public const VkQueryResultFlags VK_QUERY_RESULT_WAIT_BIT = VkQueryResultFlags.Wait; - ///Besides the results of the query, the availability of the results is also written - public const VkQueryResultFlags VK_QUERY_RESULT_WITH_AVAILABILITY_BIT = VkQueryResultFlags.WithAvailability; - ///Copy the partial results of the query even if the final results are not available - public const VkQueryResultFlags VK_QUERY_RESULT_PARTIAL_BIT = VkQueryResultFlags.Partial; - } - - [Flags] - public enum VkCommandBufferUsageFlags - { - None = 0, - OneTimeSubmit = 1, - RenderPassContinue = 2, - ///Command buffer may be submitted/executed more than once simultaneously - SimultaneousUse = 4, - } - public static partial class RawConstants - { - public const VkCommandBufferUsageFlags VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT = VkCommandBufferUsageFlags.OneTimeSubmit; - public const VkCommandBufferUsageFlags VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT = VkCommandBufferUsageFlags.RenderPassContinue; - ///Command buffer may be submitted/executed more than once simultaneously - public const VkCommandBufferUsageFlags VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT = VkCommandBufferUsageFlags.SimultaneousUse; - } - - [Flags] - public enum VkQueryPipelineStatisticFlags - { - None = 0, - ///Optional - InputAssemblyVertices = 1, - ///Optional - InputAssemblyPrimitives = 2, - ///Optional - VertexShaderInvocations = 4, - ///Optional - GeometryShaderInvocations = 8, - ///Optional - GeometryShaderPrimitives = 16, - ///Optional - ClippingInvocations = 32, - ///Optional - ClippingPrimitives = 64, - ///Optional - FragmentShaderInvocations = 128, - ///Optional - TessellationControlShaderPatches = 256, - ///Optional - TessellationEvaluationShaderInvocations = 512, - ///Optional - ComputeShaderInvocations = 1024, - } - public static partial class RawConstants - { - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT = VkQueryPipelineStatisticFlags.InputAssemblyVertices; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT = VkQueryPipelineStatisticFlags.InputAssemblyPrimitives; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.VertexShaderInvocations; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.GeometryShaderInvocations; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT = VkQueryPipelineStatisticFlags.GeometryShaderPrimitives; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.ClippingInvocations; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT = VkQueryPipelineStatisticFlags.ClippingPrimitives; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.FragmentShaderInvocations; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT = VkQueryPipelineStatisticFlags.TessellationControlShaderPatches; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.TessellationEvaluationShaderInvocations; - ///Optional - public const VkQueryPipelineStatisticFlags VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT = VkQueryPipelineStatisticFlags.ComputeShaderInvocations; - } - - [Flags] - public enum VkImageAspectFlags - { - None = 0, - Color = 1, - Depth = 2, - Stencil = 4, - Metadata = 8, - Plane0KHR = 16, - Plane1KHR = 32, - Plane2KHR = 64, - } - public static partial class RawConstants - { - public const VkImageAspectFlags VK_IMAGE_ASPECT_COLOR_BIT = VkImageAspectFlags.Color; - public const VkImageAspectFlags VK_IMAGE_ASPECT_DEPTH_BIT = VkImageAspectFlags.Depth; - public const VkImageAspectFlags VK_IMAGE_ASPECT_STENCIL_BIT = VkImageAspectFlags.Stencil; - public const VkImageAspectFlags VK_IMAGE_ASPECT_METADATA_BIT = VkImageAspectFlags.Metadata; - public const VkImageAspectFlags VK_IMAGE_ASPECT_PLANE_0_BIT_KHR = VkImageAspectFlags.Plane0KHR; - public const VkImageAspectFlags VK_IMAGE_ASPECT_PLANE_1_BIT_KHR = VkImageAspectFlags.Plane1KHR; - public const VkImageAspectFlags VK_IMAGE_ASPECT_PLANE_2_BIT_KHR = VkImageAspectFlags.Plane2KHR; - } - - [Flags] - public enum VkSparseImageFormatFlags - { - None = 0, - ///Image uses a single mip tail region for all array layers - SingleMiptail = 1, - ///Image requires mip level dimensions to be an integer multiple of the sparse image block dimensions for non-tail mip levels. - AlignedMipSize = 2, - ///Image uses a non-standard sparse image block dimensions - NonstandardBlockSize = 4, - } - public static partial class RawConstants - { - ///Image uses a single mip tail region for all array layers - public const VkSparseImageFormatFlags VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = VkSparseImageFormatFlags.SingleMiptail; - ///Image requires mip level dimensions to be an integer multiple of the sparse image block dimensions for non-tail mip levels. - public const VkSparseImageFormatFlags VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = VkSparseImageFormatFlags.AlignedMipSize; - ///Image uses a non-standard sparse image block dimensions - public const VkSparseImageFormatFlags VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = VkSparseImageFormatFlags.NonstandardBlockSize; - } - - [Flags] - public enum VkSparseMemoryBindFlags - { - None = 0, - ///Operation binds resource metadata to memory - Metadata = 1, - } - public static partial class RawConstants - { - ///Operation binds resource metadata to memory - public const VkSparseMemoryBindFlags VK_SPARSE_MEMORY_BIND_METADATA_BIT = VkSparseMemoryBindFlags.Metadata; - } - - [Flags] - public enum VkPipelineStageFlags - { - None = 0, - ///Before subsequent commands are processed - TopOfPipe = 1, - ///Draw/DispatchIndirect command fetch - DrawIndirect = 2, - ///Vertex/index fetch - VertexInput = 4, - ///Vertex shading - VertexShader = 8, - ///Tessellation control shading - TessellationControlShader = 16, - ///Tessellation evaluation shading - TessellationEvaluationShader = 32, - ///Geometry shading - GeometryShader = 64, - ///Fragment shading - FragmentShader = 128, - ///Early fragment (depth and stencil) tests - EarlyFragmentTests = 256, - ///Late fragment (depth and stencil) tests - LateFragmentTests = 512, - ///Color attachment writes - ColorAttachmentOutput = 1024, - ///Compute shading - ComputeShader = 2048, - ///Transfer/copy operations - Transfer = 4096, - ///After previous commands have completed - BottomOfPipe = 8192, - ///Indicates host (CPU) is a source/sink of the dependency - Host = 16384, - ///All stages of the graphics pipeline - AllGraphics = 32768, - ///All stages supported on the queue - AllCommands = 65536, - CommandProcessNVX = 131072, - } - public static partial class RawConstants - { - ///Before subsequent commands are processed - public const VkPipelineStageFlags VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT = VkPipelineStageFlags.TopOfPipe; - ///Draw/DispatchIndirect command fetch - public const VkPipelineStageFlags VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT = VkPipelineStageFlags.DrawIndirect; - ///Vertex/index fetch - public const VkPipelineStageFlags VK_PIPELINE_STAGE_VERTEX_INPUT_BIT = VkPipelineStageFlags.VertexInput; - ///Vertex shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_VERTEX_SHADER_BIT = VkPipelineStageFlags.VertexShader; - ///Tessellation control shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT = VkPipelineStageFlags.TessellationControlShader; - ///Tessellation evaluation shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT = VkPipelineStageFlags.TessellationEvaluationShader; - ///Geometry shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT = VkPipelineStageFlags.GeometryShader; - ///Fragment shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT = VkPipelineStageFlags.FragmentShader; - ///Early fragment (depth and stencil) tests - public const VkPipelineStageFlags VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT = VkPipelineStageFlags.EarlyFragmentTests; - ///Late fragment (depth and stencil) tests - public const VkPipelineStageFlags VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT = VkPipelineStageFlags.LateFragmentTests; - ///Color attachment writes - public const VkPipelineStageFlags VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT = VkPipelineStageFlags.ColorAttachmentOutput; - ///Compute shading - public const VkPipelineStageFlags VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT = VkPipelineStageFlags.ComputeShader; - ///Transfer/copy operations - public const VkPipelineStageFlags VK_PIPELINE_STAGE_TRANSFER_BIT = VkPipelineStageFlags.Transfer; - ///After previous commands have completed - public const VkPipelineStageFlags VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT = VkPipelineStageFlags.BottomOfPipe; - ///Indicates host (CPU) is a source/sink of the dependency - public const VkPipelineStageFlags VK_PIPELINE_STAGE_HOST_BIT = VkPipelineStageFlags.Host; - ///All stages of the graphics pipeline - public const VkPipelineStageFlags VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT = VkPipelineStageFlags.AllGraphics; - ///All stages supported on the queue - public const VkPipelineStageFlags VK_PIPELINE_STAGE_ALL_COMMANDS_BIT = VkPipelineStageFlags.AllCommands; - public const VkPipelineStageFlags VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX = VkPipelineStageFlags.CommandProcessNVX; - } - - [Flags] - public enum VkCommandPoolCreateFlags - { - None = 0, - ///Command buffers have a short lifetime - Transient = 1, - ///Command buffers may release their memory individually - ResetCommandBuffer = 2, - } - public static partial class RawConstants - { - ///Command buffers have a short lifetime - public const VkCommandPoolCreateFlags VK_COMMAND_POOL_CREATE_TRANSIENT_BIT = VkCommandPoolCreateFlags.Transient; - ///Command buffers may release their memory individually - public const VkCommandPoolCreateFlags VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT = VkCommandPoolCreateFlags.ResetCommandBuffer; - } - - [Flags] - public enum VkCommandPoolResetFlags - { - None = 0, - ///Release resources owned by the pool - ReleaseResources = 1, - } - public static partial class RawConstants - { - ///Release resources owned by the pool - public const VkCommandPoolResetFlags VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT = VkCommandPoolResetFlags.ReleaseResources; - } - - [Flags] - public enum VkCommandBufferResetFlags - { - None = 0, - ///Release resources owned by the buffer - ReleaseResources = 1, - } - public static partial class RawConstants - { - ///Release resources owned by the buffer - public const VkCommandBufferResetFlags VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT = VkCommandBufferResetFlags.ReleaseResources; - } - - [Flags] - public enum VkSampleCountFlags - { - None = 0, - ///Sample count 1 supported - Count1 = 1, - ///Sample count 2 supported - Count2 = 2, - ///Sample count 4 supported - Count4 = 4, - ///Sample count 8 supported - Count8 = 8, - ///Sample count 16 supported - Count16 = 16, - ///Sample count 32 supported - Count32 = 32, - ///Sample count 64 supported - Count64 = 64, - } - public static partial class RawConstants - { - ///Sample count 1 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_1_BIT = VkSampleCountFlags.Count1; - ///Sample count 2 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_2_BIT = VkSampleCountFlags.Count2; - ///Sample count 4 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_4_BIT = VkSampleCountFlags.Count4; - ///Sample count 8 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_8_BIT = VkSampleCountFlags.Count8; - ///Sample count 16 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_16_BIT = VkSampleCountFlags.Count16; - ///Sample count 32 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_32_BIT = VkSampleCountFlags.Count32; - ///Sample count 64 supported - public const VkSampleCountFlags VK_SAMPLE_COUNT_64_BIT = VkSampleCountFlags.Count64; - } - - [Flags] - public enum VkAttachmentDescriptionFlags - { - None = 0, - ///The attachment may alias physical memory of another attachment in the same render pass - MayAlias = 1, - } - public static partial class RawConstants - { - ///The attachment may alias physical memory of another attachment in the same render pass - public const VkAttachmentDescriptionFlags VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = VkAttachmentDescriptionFlags.MayAlias; - } - - [Flags] - public enum VkStencilFaceFlags - { - None = 0, - ///Front face - Front = 1, - ///Back face - Back = 2, - ///Front and back faces - FrontAndBack = 3, - } - public static partial class RawConstants - { - ///Front face - public const VkStencilFaceFlags VK_STENCIL_FACE_FRONT_BIT = VkStencilFaceFlags.Front; - ///Back face - public const VkStencilFaceFlags VK_STENCIL_FACE_BACK_BIT = VkStencilFaceFlags.Back; - ///Front and back faces - public const VkStencilFaceFlags VK_STENCIL_FRONT_AND_BACK = VkStencilFaceFlags.FrontAndBack; - } - - [Flags] - public enum VkDescriptorPoolCreateFlags - { - None = 0, - ///Descriptor sets may be freed individually - FreeDescriptorSet = 1, - } - public static partial class RawConstants - { - ///Descriptor sets may be freed individually - public const VkDescriptorPoolCreateFlags VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT = VkDescriptorPoolCreateFlags.FreeDescriptorSet; - } - - [Flags] - public enum VkDependencyFlags - { - None = 0, - ///Dependency is per pixel region - ByRegion = 1, - ViewLocalKHX = 2, - DeviceGroupKHX = 4, - } - public static partial class RawConstants - { - ///Dependency is per pixel region - public const VkDependencyFlags VK_DEPENDENCY_BY_REGION_BIT = VkDependencyFlags.ByRegion; - public const VkDependencyFlags VK_DEPENDENCY_VIEW_LOCAL_BIT_KHX = VkDependencyFlags.ViewLocalKHX; - public const VkDependencyFlags VK_DEPENDENCY_DEVICE_GROUP_BIT_KHX = VkDependencyFlags.DeviceGroupKHX; - } - - public enum VkPresentModeKHR - { - ImmediateKHR = 0, - MailboxKHR = 1, - FifoKHR = 2, - FifoRelaxedKHR = 3, - SharedDemandRefreshKHR = 1000111000, - SharedContinuousRefreshKHR = 1000111001, - } - public static partial class RawConstants - { - public const VkPresentModeKHR VK_PRESENT_MODE_IMMEDIATE_KHR = VkPresentModeKHR.ImmediateKHR; - public const VkPresentModeKHR VK_PRESENT_MODE_MAILBOX_KHR = VkPresentModeKHR.MailboxKHR; - public const VkPresentModeKHR VK_PRESENT_MODE_FIFO_KHR = VkPresentModeKHR.FifoKHR; - public const VkPresentModeKHR VK_PRESENT_MODE_FIFO_RELAXED_KHR = VkPresentModeKHR.FifoRelaxedKHR; - public const VkPresentModeKHR VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = VkPresentModeKHR.SharedDemandRefreshKHR; - public const VkPresentModeKHR VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = VkPresentModeKHR.SharedContinuousRefreshKHR; - } - - public enum VkColorSpaceKHR - { - SrgbNonlinearKHR = 0, - DisplayP3NonlinearEXT = 1000104001, - ExtendedSrgbLinearEXT = 1000104002, - DciP3LinearEXT = 1000104003, - DciP3NonlinearEXT = 1000104004, - Bt709LinearEXT = 1000104005, - Bt709NonlinearEXT = 1000104006, - Bt2020LinearEXT = 1000104007, - Hdr10St2084EXT = 1000104008, - DolbyvisionEXT = 1000104009, - Hdr10HlgEXT = 1000104010, - AdobergbLinearEXT = 1000104011, - AdobergbNonlinearEXT = 1000104012, - PassThroughEXT = 1000104013, - ExtendedSrgbNonlinearEXT = 1000104014, - } - public static partial class RawConstants - { - public const VkColorSpaceKHR VK_COLOR_SPACE_SRGB_NONLINEAR_KHR = VkColorSpaceKHR.SrgbNonlinearKHR; - public const VkColorSpaceKHR VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT = VkColorSpaceKHR.DisplayP3NonlinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT = VkColorSpaceKHR.ExtendedSrgbLinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_DCI_P3_LINEAR_EXT = VkColorSpaceKHR.DciP3LinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT = VkColorSpaceKHR.DciP3NonlinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_BT709_LINEAR_EXT = VkColorSpaceKHR.Bt709LinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_BT709_NONLINEAR_EXT = VkColorSpaceKHR.Bt709NonlinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_BT2020_LINEAR_EXT = VkColorSpaceKHR.Bt2020LinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_HDR10_ST2084_EXT = VkColorSpaceKHR.Hdr10St2084EXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_DOLBYVISION_EXT = VkColorSpaceKHR.DolbyvisionEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_HDR10_HLG_EXT = VkColorSpaceKHR.Hdr10HlgEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT = VkColorSpaceKHR.AdobergbLinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT = VkColorSpaceKHR.AdobergbNonlinearEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_PASS_THROUGH_EXT = VkColorSpaceKHR.PassThroughEXT; - public const VkColorSpaceKHR VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT = VkColorSpaceKHR.ExtendedSrgbNonlinearEXT; - } - - [Flags] - public enum VkDisplayPlaneAlphaFlagsKHR - { - None = 0, - OpaqueKHR = 1, - GlobalKHR = 2, - PerPixelKHR = 4, - PerPixelPremultipliedKHR = 8, - } - public static partial class RawConstants - { - public const VkDisplayPlaneAlphaFlagsKHR VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR = VkDisplayPlaneAlphaFlagsKHR.OpaqueKHR; - public const VkDisplayPlaneAlphaFlagsKHR VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR = VkDisplayPlaneAlphaFlagsKHR.GlobalKHR; - public const VkDisplayPlaneAlphaFlagsKHR VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = VkDisplayPlaneAlphaFlagsKHR.PerPixelKHR; - public const VkDisplayPlaneAlphaFlagsKHR VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = VkDisplayPlaneAlphaFlagsKHR.PerPixelPremultipliedKHR; - } - - [Flags] - public enum VkCompositeAlphaFlagsKHR - { - None = 0, - OpaqueKHR = 1, - PreMultipliedKHR = 2, - PostMultipliedKHR = 4, - InheritKHR = 8, - } - public static partial class RawConstants - { - public const VkCompositeAlphaFlagsKHR VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR = VkCompositeAlphaFlagsKHR.OpaqueKHR; - public const VkCompositeAlphaFlagsKHR VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR = VkCompositeAlphaFlagsKHR.PreMultipliedKHR; - public const VkCompositeAlphaFlagsKHR VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR = VkCompositeAlphaFlagsKHR.PostMultipliedKHR; - public const VkCompositeAlphaFlagsKHR VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR = VkCompositeAlphaFlagsKHR.InheritKHR; - } - - [Flags] - public enum VkSurfaceTransformFlagsKHR - { - None = 0, - IdentityKHR = 1, - Rotate90KHR = 2, - Rotate180KHR = 4, - Rotate270KHR = 8, - HorizontalMirrorKHR = 16, - HorizontalMirrorRotate90KHR = 32, - HorizontalMirrorRotate180KHR = 64, - HorizontalMirrorRotate270KHR = 128, - InheritKHR = 256, - } - public static partial class RawConstants - { - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR = VkSurfaceTransformFlagsKHR.IdentityKHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR = VkSurfaceTransformFlagsKHR.Rotate90KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR = VkSurfaceTransformFlagsKHR.Rotate180KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR = VkSurfaceTransformFlagsKHR.Rotate270KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR = VkSurfaceTransformFlagsKHR.HorizontalMirrorKHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR = VkSurfaceTransformFlagsKHR.HorizontalMirrorRotate90KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR = VkSurfaceTransformFlagsKHR.HorizontalMirrorRotate180KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR = VkSurfaceTransformFlagsKHR.HorizontalMirrorRotate270KHR; - public const VkSurfaceTransformFlagsKHR VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR = VkSurfaceTransformFlagsKHR.InheritKHR; - } - - [Flags] - public enum VkDebugReportFlagsEXT - { - None = 0, - InformationEXT = 1, - WarningEXT = 2, - PerformanceWarningEXT = 4, - ErrorEXT = 8, - DebugEXT = 16, - } - public static partial class RawConstants - { - public const VkDebugReportFlagsEXT VK_DEBUG_REPORT_INFORMATION_BIT_EXT = VkDebugReportFlagsEXT.InformationEXT; - public const VkDebugReportFlagsEXT VK_DEBUG_REPORT_WARNING_BIT_EXT = VkDebugReportFlagsEXT.WarningEXT; - public const VkDebugReportFlagsEXT VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT = VkDebugReportFlagsEXT.PerformanceWarningEXT; - public const VkDebugReportFlagsEXT VK_DEBUG_REPORT_ERROR_BIT_EXT = VkDebugReportFlagsEXT.ErrorEXT; - public const VkDebugReportFlagsEXT VK_DEBUG_REPORT_DEBUG_BIT_EXT = VkDebugReportFlagsEXT.DebugEXT; - } - - public enum VkDebugReportObjectTypeEXT - { - UnknownEXT = 0, - InstanceEXT = 1, - PhysicalDeviceEXT = 2, - DeviceEXT = 3, - QueueEXT = 4, - SemaphoreEXT = 5, - CommandBufferEXT = 6, - FenceEXT = 7, - DeviceMemoryEXT = 8, - BufferEXT = 9, - ImageEXT = 10, - EventEXT = 11, - QueryPoolEXT = 12, - BufferViewEXT = 13, - ImageViewEXT = 14, - ShaderModuleEXT = 15, - PipelineCacheEXT = 16, - PipelineLayoutEXT = 17, - RenderPassEXT = 18, - PipelineEXT = 19, - DescriptorSetLayoutEXT = 20, - SamplerEXT = 21, - DescriptorPoolEXT = 22, - DescriptorSetEXT = 23, - FramebufferEXT = 24, - CommandPoolEXT = 25, - SurfaceKHREXT = 26, - SwapchainKHREXT = 27, - DebugReportCallbackEXTEXT = 28, - DisplayKHREXT = 29, - DisplayModeKHREXT = 30, - ObjectTableNVXEXT = 31, - IndirectCommandsLayoutNVXEXT = 32, - ValidationCacheEXTEXT = 33, - DescriptorUpdateTemplateKHREXT = 1000085000, - SamplerYcbcrConversionKHREXT = 1000156000, - } - public static partial class RawConstants - { - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT = VkDebugReportObjectTypeEXT.UnknownEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT = VkDebugReportObjectTypeEXT.InstanceEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT = VkDebugReportObjectTypeEXT.PhysicalDeviceEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT = VkDebugReportObjectTypeEXT.DeviceEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT = VkDebugReportObjectTypeEXT.QueueEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT = VkDebugReportObjectTypeEXT.SemaphoreEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT = VkDebugReportObjectTypeEXT.CommandBufferEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT = VkDebugReportObjectTypeEXT.FenceEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT = VkDebugReportObjectTypeEXT.DeviceMemoryEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT = VkDebugReportObjectTypeEXT.BufferEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT = VkDebugReportObjectTypeEXT.ImageEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT = VkDebugReportObjectTypeEXT.EventEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT = VkDebugReportObjectTypeEXT.QueryPoolEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT = VkDebugReportObjectTypeEXT.BufferViewEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT = VkDebugReportObjectTypeEXT.ImageViewEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT = VkDebugReportObjectTypeEXT.ShaderModuleEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT = VkDebugReportObjectTypeEXT.PipelineCacheEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT = VkDebugReportObjectTypeEXT.PipelineLayoutEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT = VkDebugReportObjectTypeEXT.RenderPassEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT = VkDebugReportObjectTypeEXT.PipelineEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT = VkDebugReportObjectTypeEXT.DescriptorSetLayoutEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT = VkDebugReportObjectTypeEXT.SamplerEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT = VkDebugReportObjectTypeEXT.DescriptorPoolEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT = VkDebugReportObjectTypeEXT.DescriptorSetEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT = VkDebugReportObjectTypeEXT.FramebufferEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT = VkDebugReportObjectTypeEXT.CommandPoolEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT = VkDebugReportObjectTypeEXT.SurfaceKHREXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT = VkDebugReportObjectTypeEXT.SwapchainKHREXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT = VkDebugReportObjectTypeEXT.DebugReportCallbackEXTEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT = VkDebugReportObjectTypeEXT.DisplayKHREXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT = VkDebugReportObjectTypeEXT.DisplayModeKHREXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT = VkDebugReportObjectTypeEXT.ObjectTableNVXEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT = VkDebugReportObjectTypeEXT.IndirectCommandsLayoutNVXEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT = VkDebugReportObjectTypeEXT.ValidationCacheEXTEXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT = VkDebugReportObjectTypeEXT.DescriptorUpdateTemplateKHREXT; - public const VkDebugReportObjectTypeEXT VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT = VkDebugReportObjectTypeEXT.SamplerYcbcrConversionKHREXT; - } - - public enum VkRasterizationOrderAMD - { - StrictAMD = 0, - RelaxedAMD = 1, - } - public static partial class RawConstants - { - public const VkRasterizationOrderAMD VK_RASTERIZATION_ORDER_STRICT_AMD = VkRasterizationOrderAMD.StrictAMD; - public const VkRasterizationOrderAMD VK_RASTERIZATION_ORDER_RELAXED_AMD = VkRasterizationOrderAMD.RelaxedAMD; - } - - [Flags] - public enum VkExternalMemoryHandleTypeFlagsNV - { - None = 0, - OpaqueWin32NV = 1, - OpaqueWin32KmtNV = 2, - D3d11ImageNV = 4, - D3d11ImageKmtNV = 8, - } - public static partial class RawConstants - { - public const VkExternalMemoryHandleTypeFlagsNV VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV = VkExternalMemoryHandleTypeFlagsNV.OpaqueWin32NV; - public const VkExternalMemoryHandleTypeFlagsNV VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV = VkExternalMemoryHandleTypeFlagsNV.OpaqueWin32KmtNV; - public const VkExternalMemoryHandleTypeFlagsNV VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV = VkExternalMemoryHandleTypeFlagsNV.D3d11ImageNV; - public const VkExternalMemoryHandleTypeFlagsNV VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV = VkExternalMemoryHandleTypeFlagsNV.D3d11ImageKmtNV; - } - - [Flags] - public enum VkExternalMemoryFeatureFlagsNV - { - None = 0, - DedicatedOnlyNV = 1, - ExportableNV = 2, - ImportableNV = 4, - } - public static partial class RawConstants - { - public const VkExternalMemoryFeatureFlagsNV VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV = VkExternalMemoryFeatureFlagsNV.DedicatedOnlyNV; - public const VkExternalMemoryFeatureFlagsNV VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV = VkExternalMemoryFeatureFlagsNV.ExportableNV; - public const VkExternalMemoryFeatureFlagsNV VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV = VkExternalMemoryFeatureFlagsNV.ImportableNV; - } - - public enum VkValidationCheckEXT - { - AllEXT = 0, - ShadersEXT = 1, - } - public static partial class RawConstants - { - public const VkValidationCheckEXT VK_VALIDATION_CHECK_ALL_EXT = VkValidationCheckEXT.AllEXT; - public const VkValidationCheckEXT VK_VALIDATION_CHECK_SHADERS_EXT = VkValidationCheckEXT.ShadersEXT; - } - - [Flags] - public enum VkIndirectCommandsLayoutUsageFlagsNVX - { - None = 0, - UnorderedSequencesNVX = 1, - SparseSequencesNVX = 2, - EmptyExecutionsNVX = 4, - IndexedSequencesNVX = 8, - } - public static partial class RawConstants - { - public const VkIndirectCommandsLayoutUsageFlagsNVX VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX = VkIndirectCommandsLayoutUsageFlagsNVX.UnorderedSequencesNVX; - public const VkIndirectCommandsLayoutUsageFlagsNVX VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX = VkIndirectCommandsLayoutUsageFlagsNVX.SparseSequencesNVX; - public const VkIndirectCommandsLayoutUsageFlagsNVX VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX = VkIndirectCommandsLayoutUsageFlagsNVX.EmptyExecutionsNVX; - public const VkIndirectCommandsLayoutUsageFlagsNVX VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX = VkIndirectCommandsLayoutUsageFlagsNVX.IndexedSequencesNVX; - } - - [Flags] - public enum VkObjectEntryUsageFlagsNVX - { - None = 0, - GraphicsNVX = 1, - ComputeNVX = 2, - } - public static partial class RawConstants - { - public const VkObjectEntryUsageFlagsNVX VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX = VkObjectEntryUsageFlagsNVX.GraphicsNVX; - public const VkObjectEntryUsageFlagsNVX VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX = VkObjectEntryUsageFlagsNVX.ComputeNVX; - } - - public enum VkIndirectCommandsTokenTypeNVX - { - TypePipelineNVX = 0, - TypeDescriptorSetNVX = 1, - TypeIndexBufferNVX = 2, - TypeVertexBufferNVX = 3, - TypePushConstantNVX = 4, - TypeDrawIndexedNVX = 5, - TypeDrawNVX = 6, - TypeDispatchNVX = 7, - } - public static partial class RawConstants - { - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX = VkIndirectCommandsTokenTypeNVX.TypePipelineNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX = VkIndirectCommandsTokenTypeNVX.TypeDescriptorSetNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX = VkIndirectCommandsTokenTypeNVX.TypeIndexBufferNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX = VkIndirectCommandsTokenTypeNVX.TypeVertexBufferNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX = VkIndirectCommandsTokenTypeNVX.TypePushConstantNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX = VkIndirectCommandsTokenTypeNVX.TypeDrawIndexedNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX = VkIndirectCommandsTokenTypeNVX.TypeDrawNVX; - public const VkIndirectCommandsTokenTypeNVX VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX = VkIndirectCommandsTokenTypeNVX.TypeDispatchNVX; - } - - public enum VkObjectEntryTypeNVX - { - TypeDescriptorSetNVX = 0, - TypePipelineNVX = 1, - TypeIndexBufferNVX = 2, - TypeVertexBufferNVX = 3, - TypePushConstantNVX = 4, - } - public static partial class RawConstants - { - public const VkObjectEntryTypeNVX VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX = VkObjectEntryTypeNVX.TypeDescriptorSetNVX; - public const VkObjectEntryTypeNVX VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX = VkObjectEntryTypeNVX.TypePipelineNVX; - public const VkObjectEntryTypeNVX VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX = VkObjectEntryTypeNVX.TypeIndexBufferNVX; - public const VkObjectEntryTypeNVX VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX = VkObjectEntryTypeNVX.TypeVertexBufferNVX; - public const VkObjectEntryTypeNVX VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX = VkObjectEntryTypeNVX.TypePushConstantNVX; - } - - [Flags] - public enum VkDescriptorSetLayoutCreateFlags - { - None = 0, - PushDescriptorKHR = 1, - } - public static partial class RawConstants - { - public const VkDescriptorSetLayoutCreateFlags VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR = VkDescriptorSetLayoutCreateFlags.PushDescriptorKHR; - } - - [Flags] - public enum VkExternalMemoryHandleTypeFlagsKHR - { - None = 0, - OpaqueFdKHR = 1, - OpaqueWin32KHR = 2, - OpaqueWin32KmtKHR = 4, - D3d11TextureKHR = 8, - D3d11TextureKmtKHR = 16, - D3d12HeapKHR = 32, - D3d12ResourceKHR = 64, - DmaBufEXT = 512, - HostAllocationEXT = 128, - HostMappedForeignMemoryEXT = 256, - } - public static partial class RawConstants - { - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.OpaqueFdKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.OpaqueWin32KHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.OpaqueWin32KmtKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.D3d11TextureKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.D3d11TextureKmtKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.D3d12HeapKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT_KHR = VkExternalMemoryHandleTypeFlagsKHR.D3d12ResourceKHR; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT = VkExternalMemoryHandleTypeFlagsKHR.DmaBufEXT; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT = VkExternalMemoryHandleTypeFlagsKHR.HostAllocationEXT; - public const VkExternalMemoryHandleTypeFlagsKHR VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT = VkExternalMemoryHandleTypeFlagsKHR.HostMappedForeignMemoryEXT; - } - - [Flags] - public enum VkExternalMemoryFeatureFlagsKHR - { - None = 0, - DedicatedOnlyKHR = 1, - ExportableKHR = 2, - ImportableKHR = 4, - } - public static partial class RawConstants - { - public const VkExternalMemoryFeatureFlagsKHR VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_KHR = VkExternalMemoryFeatureFlagsKHR.DedicatedOnlyKHR; - public const VkExternalMemoryFeatureFlagsKHR VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR = VkExternalMemoryFeatureFlagsKHR.ExportableKHR; - public const VkExternalMemoryFeatureFlagsKHR VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR = VkExternalMemoryFeatureFlagsKHR.ImportableKHR; - } - - [Flags] - public enum VkExternalSemaphoreHandleTypeFlagsKHR - { - None = 0, - OpaqueFdKHR = 1, - OpaqueWin32KHR = 2, - OpaqueWin32KmtKHR = 4, - D3d12FenceKHR = 8, - SyncFdKHR = 16, - } - public static partial class RawConstants - { - public const VkExternalSemaphoreHandleTypeFlagsKHR VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = VkExternalSemaphoreHandleTypeFlagsKHR.OpaqueFdKHR; - public const VkExternalSemaphoreHandleTypeFlagsKHR VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = VkExternalSemaphoreHandleTypeFlagsKHR.OpaqueWin32KHR; - public const VkExternalSemaphoreHandleTypeFlagsKHR VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = VkExternalSemaphoreHandleTypeFlagsKHR.OpaqueWin32KmtKHR; - public const VkExternalSemaphoreHandleTypeFlagsKHR VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR = VkExternalSemaphoreHandleTypeFlagsKHR.D3d12FenceKHR; - public const VkExternalSemaphoreHandleTypeFlagsKHR VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR = VkExternalSemaphoreHandleTypeFlagsKHR.SyncFdKHR; - } - - [Flags] - public enum VkExternalSemaphoreFeatureFlagsKHR - { - None = 0, - ExportableKHR = 1, - ImportableKHR = 2, - } - public static partial class RawConstants - { - public const VkExternalSemaphoreFeatureFlagsKHR VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT_KHR = VkExternalSemaphoreFeatureFlagsKHR.ExportableKHR; - public const VkExternalSemaphoreFeatureFlagsKHR VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT_KHR = VkExternalSemaphoreFeatureFlagsKHR.ImportableKHR; - } - - [Flags] - public enum VkSemaphoreImportFlagsKHR - { - None = 0, - TemporaryKHR = 1, - } - public static partial class RawConstants - { - public const VkSemaphoreImportFlagsKHR VK_SEMAPHORE_IMPORT_TEMPORARY_BIT_KHR = VkSemaphoreImportFlagsKHR.TemporaryKHR; - } - - [Flags] - public enum VkExternalFenceHandleTypeFlagsKHR - { - None = 0, - OpaqueFdKHR = 1, - OpaqueWin32KHR = 2, - OpaqueWin32KmtKHR = 4, - SyncFdKHR = 8, - } - public static partial class RawConstants - { - public const VkExternalFenceHandleTypeFlagsKHR VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR = VkExternalFenceHandleTypeFlagsKHR.OpaqueFdKHR; - public const VkExternalFenceHandleTypeFlagsKHR VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR = VkExternalFenceHandleTypeFlagsKHR.OpaqueWin32KHR; - public const VkExternalFenceHandleTypeFlagsKHR VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR = VkExternalFenceHandleTypeFlagsKHR.OpaqueWin32KmtKHR; - public const VkExternalFenceHandleTypeFlagsKHR VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT_KHR = VkExternalFenceHandleTypeFlagsKHR.SyncFdKHR; - } - - [Flags] - public enum VkExternalFenceFeatureFlagsKHR - { - None = 0, - ExportableKHR = 1, - ImportableKHR = 2, - } - public static partial class RawConstants - { - public const VkExternalFenceFeatureFlagsKHR VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT_KHR = VkExternalFenceFeatureFlagsKHR.ExportableKHR; - public const VkExternalFenceFeatureFlagsKHR VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT_KHR = VkExternalFenceFeatureFlagsKHR.ImportableKHR; - } - - [Flags] - public enum VkFenceImportFlagsKHR - { - None = 0, - TemporaryKHR = 1, - } - public static partial class RawConstants - { - public const VkFenceImportFlagsKHR VK_FENCE_IMPORT_TEMPORARY_BIT_KHR = VkFenceImportFlagsKHR.TemporaryKHR; - } - - [Flags] - public enum VkSurfaceCounterFlagsEXT - { - None = 0, - VblankEXT = 1, - } - public static partial class RawConstants - { - public const VkSurfaceCounterFlagsEXT VK_SURFACE_COUNTER_VBLANK_EXT = VkSurfaceCounterFlagsEXT.VblankEXT; - } - - public enum VkDisplayPowerStateEXT - { - OffEXT = 0, - SuspendEXT = 1, - OnEXT = 2, - } - public static partial class RawConstants - { - public const VkDisplayPowerStateEXT VK_DISPLAY_POWER_STATE_OFF_EXT = VkDisplayPowerStateEXT.OffEXT; - public const VkDisplayPowerStateEXT VK_DISPLAY_POWER_STATE_SUSPEND_EXT = VkDisplayPowerStateEXT.SuspendEXT; - public const VkDisplayPowerStateEXT VK_DISPLAY_POWER_STATE_ON_EXT = VkDisplayPowerStateEXT.OnEXT; - } - - public enum VkDeviceEventTypeEXT - { - DisplayHotplugEXT = 0, - } - public static partial class RawConstants - { - public const VkDeviceEventTypeEXT VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT = VkDeviceEventTypeEXT.DisplayHotplugEXT; - } - - public enum VkDisplayEventTypeEXT - { - FirstPixelOutEXT = 0, - } - public static partial class RawConstants - { - public const VkDisplayEventTypeEXT VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT = VkDisplayEventTypeEXT.FirstPixelOutEXT; - } - - [Flags] - public enum VkPeerMemoryFeatureFlagsKHX - { - None = 0, - ///Can read with vkCmdCopy commands - CopySrcKHX = 1, - ///Can write with vkCmdCopy commands - CopyDstKHX = 2, - ///Can read with any access type/command - GenericSrcKHX = 4, - ///Can write with and access type/command - GenericDstKHX = 8, - } - public static partial class RawConstants - { - ///Can read with vkCmdCopy commands - public const VkPeerMemoryFeatureFlagsKHX VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHX = VkPeerMemoryFeatureFlagsKHX.CopySrcKHX; - ///Can write with vkCmdCopy commands - public const VkPeerMemoryFeatureFlagsKHX VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHX = VkPeerMemoryFeatureFlagsKHX.CopyDstKHX; - ///Can read with any access type/command - public const VkPeerMemoryFeatureFlagsKHX VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHX = VkPeerMemoryFeatureFlagsKHX.GenericSrcKHX; - ///Can write with and access type/command - public const VkPeerMemoryFeatureFlagsKHX VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHX = VkPeerMemoryFeatureFlagsKHX.GenericDstKHX; - } - - [Flags] - public enum VkMemoryAllocateFlagsKHX - { - None = 0, - ///Force allocation on specific devices - DeviceMaskKHX = 1, - } - public static partial class RawConstants - { - ///Force allocation on specific devices - public const VkMemoryAllocateFlagsKHX VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT_KHX = VkMemoryAllocateFlagsKHX.DeviceMaskKHX; - } - - [Flags] - public enum VkDeviceGroupPresentModeFlagsKHX - { - None = 0, - ///Present from local memory - LocalKHX = 1, - ///Present from remote memory - RemoteKHX = 2, - ///Present sum of local and/or remote memory - SumKHX = 4, - ///Each physical device presents from local memory - LocalMultiDeviceKHX = 8, - } - public static partial class RawConstants - { - ///Present from local memory - public const VkDeviceGroupPresentModeFlagsKHX VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHX = VkDeviceGroupPresentModeFlagsKHX.LocalKHX; - ///Present from remote memory - public const VkDeviceGroupPresentModeFlagsKHX VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHX = VkDeviceGroupPresentModeFlagsKHX.RemoteKHX; - ///Present sum of local and/or remote memory - public const VkDeviceGroupPresentModeFlagsKHX VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHX = VkDeviceGroupPresentModeFlagsKHX.SumKHX; - ///Each physical device presents from local memory - public const VkDeviceGroupPresentModeFlagsKHX VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHX = VkDeviceGroupPresentModeFlagsKHX.LocalMultiDeviceKHX; - } - - [Flags] - public enum VkSwapchainCreateFlagsKHR - { - None = 0, - BindSfrKHX = 1, - } - public static partial class RawConstants - { - public const VkSwapchainCreateFlagsKHR VK_SWAPCHAIN_CREATE_BIND_SFR_BIT_KHX = VkSwapchainCreateFlagsKHR.BindSfrKHX; - } - - public enum VkViewportCoordinateSwizzleNV - { - VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV = 0, - VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV = 1, - VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV = 2, - VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV = 3, - VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV = 4, - VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV = 5, - VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV = 6, - VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV = 7, - } - public static partial class RawConstants - { - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV; - public const VkViewportCoordinateSwizzleNV VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV = VkViewportCoordinateSwizzleNV.VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV; - } - - public enum VkDiscardRectangleModeEXT - { - InclusiveEXT = 0, - ExclusiveEXT = 1, - } - public static partial class RawConstants - { - public const VkDiscardRectangleModeEXT VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT = VkDiscardRectangleModeEXT.InclusiveEXT; - public const VkDiscardRectangleModeEXT VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT = VkDiscardRectangleModeEXT.ExclusiveEXT; - } - - [Flags] - public enum VkSubpassDescriptionFlags - { - None = 0, - PerViewAttributesNVX = 1, - PerViewPositionXOnlyNVX = 2, - } - public static partial class RawConstants - { - public const VkSubpassDescriptionFlags VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX = VkSubpassDescriptionFlags.PerViewAttributesNVX; - public const VkSubpassDescriptionFlags VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX = VkSubpassDescriptionFlags.PerViewPositionXOnlyNVX; - } - - public enum VkPointClippingBehaviorKHR - { - AllClipPlanesKHR = 0, - UserClipPlanesOnlyKHR = 1, - } - public static partial class RawConstants - { - public const VkPointClippingBehaviorKHR VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR = VkPointClippingBehaviorKHR.AllClipPlanesKHR; - public const VkPointClippingBehaviorKHR VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR = VkPointClippingBehaviorKHR.UserClipPlanesOnlyKHR; - } - - public enum VkSamplerReductionModeEXT - { - WeightedAverageEXT = 0, - MinEXT = 1, - MaxEXT = 2, - } - public static partial class RawConstants - { - public const VkSamplerReductionModeEXT VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT = VkSamplerReductionModeEXT.WeightedAverageEXT; - public const VkSamplerReductionModeEXT VK_SAMPLER_REDUCTION_MODE_MIN_EXT = VkSamplerReductionModeEXT.MinEXT; - public const VkSamplerReductionModeEXT VK_SAMPLER_REDUCTION_MODE_MAX_EXT = VkSamplerReductionModeEXT.MaxEXT; - } - - public enum VkTessellationDomainOriginKHR - { - UpperLeftKHR = 0, - LowerLeftKHR = 1, - } - public static partial class RawConstants - { - public const VkTessellationDomainOriginKHR VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR = VkTessellationDomainOriginKHR.UpperLeftKHR; - public const VkTessellationDomainOriginKHR VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR = VkTessellationDomainOriginKHR.LowerLeftKHR; - } - - public enum VkSamplerYcbcrModelConversionKHR - { - RgbIdentityKHR = 0, - ///just range expansion - YcbcrIdentityKHR = 1, - ///aka HD YUV - Ycbcr709KHR = 2, - ///aka SD YUV - Ycbcr601KHR = 3, - ///aka UHD YUV - Ycbcr2020KHR = 4, - } - public static partial class RawConstants - { - public const VkSamplerYcbcrModelConversionKHR VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY_KHR = VkSamplerYcbcrModelConversionKHR.RgbIdentityKHR; - ///just range expansion - public const VkSamplerYcbcrModelConversionKHR VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY_KHR = VkSamplerYcbcrModelConversionKHR.YcbcrIdentityKHR; - ///aka HD YUV - public const VkSamplerYcbcrModelConversionKHR VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709_KHR = VkSamplerYcbcrModelConversionKHR.Ycbcr709KHR; - ///aka SD YUV - public const VkSamplerYcbcrModelConversionKHR VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601_KHR = VkSamplerYcbcrModelConversionKHR.Ycbcr601KHR; - ///aka UHD YUV - public const VkSamplerYcbcrModelConversionKHR VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020_KHR = VkSamplerYcbcrModelConversionKHR.Ycbcr2020KHR; - } - - public enum VkSamplerYcbcrRangeKHR - { - ///Luma 0..1 maps to 0..255, chroma -0.5..0.5 to 1..255 (clamped) - ItuFullKHR = 0, - ///Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240 - ItuNarrowKHR = 1, - } - public static partial class RawConstants - { - ///Luma 0..1 maps to 0..255, chroma -0.5..0.5 to 1..255 (clamped) - public const VkSamplerYcbcrRangeKHR VK_SAMPLER_YCBCR_RANGE_ITU_FULL_KHR = VkSamplerYcbcrRangeKHR.ItuFullKHR; - ///Luma 0..1 maps to 16..235, chroma -0.5..0.5 to 16..240 - public const VkSamplerYcbcrRangeKHR VK_SAMPLER_YCBCR_RANGE_ITU_NARROW_KHR = VkSamplerYcbcrRangeKHR.ItuNarrowKHR; - } - - public enum VkChromaLocationKHR - { - CositedEvenKHR = 0, - MidpointKHR = 1, - } - public static partial class RawConstants - { - public const VkChromaLocationKHR VK_CHROMA_LOCATION_COSITED_EVEN_KHR = VkChromaLocationKHR.CositedEvenKHR; - public const VkChromaLocationKHR VK_CHROMA_LOCATION_MIDPOINT_KHR = VkChromaLocationKHR.MidpointKHR; - } - - public enum VkBlendOverlapEXT - { - UncorrelatedEXT = 0, - DisjointEXT = 1, - ConjointEXT = 2, - } - public static partial class RawConstants - { - public const VkBlendOverlapEXT VK_BLEND_OVERLAP_UNCORRELATED_EXT = VkBlendOverlapEXT.UncorrelatedEXT; - public const VkBlendOverlapEXT VK_BLEND_OVERLAP_DISJOINT_EXT = VkBlendOverlapEXT.DisjointEXT; - public const VkBlendOverlapEXT VK_BLEND_OVERLAP_CONJOINT_EXT = VkBlendOverlapEXT.ConjointEXT; - } - - public enum VkCoverageModulationModeNV - { - VK_COVERAGE_MODULATION_MODE_NONE_NV = 0, - VK_COVERAGE_MODULATION_MODE_RGB_NV = 1, - VK_COVERAGE_MODULATION_MODE_ALPHA_NV = 2, - VK_COVERAGE_MODULATION_MODE_RGBA_NV = 3, - } - public static partial class RawConstants - { - public const VkCoverageModulationModeNV VK_COVERAGE_MODULATION_MODE_NONE_NV = VkCoverageModulationModeNV.VK_COVERAGE_MODULATION_MODE_NONE_NV; - public const VkCoverageModulationModeNV VK_COVERAGE_MODULATION_MODE_RGB_NV = VkCoverageModulationModeNV.VK_COVERAGE_MODULATION_MODE_RGB_NV; - public const VkCoverageModulationModeNV VK_COVERAGE_MODULATION_MODE_ALPHA_NV = VkCoverageModulationModeNV.VK_COVERAGE_MODULATION_MODE_ALPHA_NV; - public const VkCoverageModulationModeNV VK_COVERAGE_MODULATION_MODE_RGBA_NV = VkCoverageModulationModeNV.VK_COVERAGE_MODULATION_MODE_RGBA_NV; - } - - public enum VkValidationCacheHeaderVersionEXT - { - OneEXT = 1, - } - public static partial class RawConstants - { - public const VkValidationCacheHeaderVersionEXT VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT = VkValidationCacheHeaderVersionEXT.OneEXT; - } - - public enum VkShaderInfoTypeAMD - { - StatisticsAMD = 0, - BinaryAMD = 1, - DisassemblyAMD = 2, - } - public static partial class RawConstants - { - public const VkShaderInfoTypeAMD VK_SHADER_INFO_TYPE_STATISTICS_AMD = VkShaderInfoTypeAMD.StatisticsAMD; - public const VkShaderInfoTypeAMD VK_SHADER_INFO_TYPE_BINARY_AMD = VkShaderInfoTypeAMD.BinaryAMD; - public const VkShaderInfoTypeAMD VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD = VkShaderInfoTypeAMD.DisassemblyAMD; - } - - public enum VkQueueGlobalPriorityEXT - { - LowEXT = 128, - MediumEXT = 256, - HighEXT = 512, - RealtimeEXT = 1024, - } - public static partial class RawConstants - { - public const VkQueueGlobalPriorityEXT VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT = VkQueueGlobalPriorityEXT.LowEXT; - public const VkQueueGlobalPriorityEXT VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT = VkQueueGlobalPriorityEXT.MediumEXT; - public const VkQueueGlobalPriorityEXT VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT = VkQueueGlobalPriorityEXT.HighEXT; - public const VkQueueGlobalPriorityEXT VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT = VkQueueGlobalPriorityEXT.RealtimeEXT; - } - - public enum VkConservativeRasterizationModeEXT - { - DisabledEXT = 0, - OverestimateEXT = 1, - UnderestimateEXT = 2, - } - public static partial class RawConstants - { - public const VkConservativeRasterizationModeEXT VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT = VkConservativeRasterizationModeEXT.DisabledEXT; - public const VkConservativeRasterizationModeEXT VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT = VkConservativeRasterizationModeEXT.OverestimateEXT; - public const VkConservativeRasterizationModeEXT VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT = VkConservativeRasterizationModeEXT.UnderestimateEXT; - } -} diff --git a/vk/src/vk/Generated/Handles.gen.cs b/vk/src/vk/Generated/Handles.gen.cs deleted file mode 100644 index 496bd0043..000000000 --- a/vk/src/vk/Generated/Handles.gen.cs +++ /dev/null @@ -1,635 +0,0 @@ -// This file is generated. - -using System; -using System.Diagnostics; - -namespace Vulkan -{ - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkInstance : IEquatable - { - public readonly IntPtr Handle; - public VkInstance(IntPtr existingHandle) { Handle = existingHandle; } - public static VkInstance Null => new VkInstance(IntPtr.Zero); - public static implicit operator VkInstance(IntPtr handle) => new VkInstance(handle); - public static bool operator ==(VkInstance left, VkInstance right) => left.Handle == right.Handle; - public static bool operator !=(VkInstance left, VkInstance right) => left.Handle != right.Handle; - public static bool operator ==(VkInstance left, IntPtr right) => left.Handle == right; - public static bool operator !=(VkInstance left, IntPtr right) => left.Handle != right; - public bool Equals(VkInstance h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkInstance h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkInstance [0x{0}]", Handle.ToString("X")); - } - - ///A dispatchable handle owned by a VkInstance. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkPhysicalDevice : IEquatable - { - public readonly IntPtr Handle; - public VkPhysicalDevice(IntPtr existingHandle) { Handle = existingHandle; } - public static VkPhysicalDevice Null => new VkPhysicalDevice(IntPtr.Zero); - public static implicit operator VkPhysicalDevice(IntPtr handle) => new VkPhysicalDevice(handle); - public static bool operator ==(VkPhysicalDevice left, VkPhysicalDevice right) => left.Handle == right.Handle; - public static bool operator !=(VkPhysicalDevice left, VkPhysicalDevice right) => left.Handle != right.Handle; - public static bool operator ==(VkPhysicalDevice left, IntPtr right) => left.Handle == right; - public static bool operator !=(VkPhysicalDevice left, IntPtr right) => left.Handle != right; - public bool Equals(VkPhysicalDevice h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkPhysicalDevice h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkPhysicalDevice [0x{0}]", Handle.ToString("X")); - } - - ///A dispatchable handle owned by a VkPhysicalDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDevice : IEquatable - { - public readonly IntPtr Handle; - public VkDevice(IntPtr existingHandle) { Handle = existingHandle; } - public static VkDevice Null => new VkDevice(IntPtr.Zero); - public static implicit operator VkDevice(IntPtr handle) => new VkDevice(handle); - public static bool operator ==(VkDevice left, VkDevice right) => left.Handle == right.Handle; - public static bool operator !=(VkDevice left, VkDevice right) => left.Handle != right.Handle; - public static bool operator ==(VkDevice left, IntPtr right) => left.Handle == right; - public static bool operator !=(VkDevice left, IntPtr right) => left.Handle != right; - public bool Equals(VkDevice h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDevice h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDevice [0x{0}]", Handle.ToString("X")); - } - - ///A dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkQueue : IEquatable - { - public readonly IntPtr Handle; - public VkQueue(IntPtr existingHandle) { Handle = existingHandle; } - public static VkQueue Null => new VkQueue(IntPtr.Zero); - public static implicit operator VkQueue(IntPtr handle) => new VkQueue(handle); - public static bool operator ==(VkQueue left, VkQueue right) => left.Handle == right.Handle; - public static bool operator !=(VkQueue left, VkQueue right) => left.Handle != right.Handle; - public static bool operator ==(VkQueue left, IntPtr right) => left.Handle == right; - public static bool operator !=(VkQueue left, IntPtr right) => left.Handle != right; - public bool Equals(VkQueue h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkQueue h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkQueue [0x{0}]", Handle.ToString("X")); - } - - ///A dispatchable handle owned by a VkCommandPool. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkCommandBuffer : IEquatable - { - public readonly IntPtr Handle; - public VkCommandBuffer(IntPtr existingHandle) { Handle = existingHandle; } - public static VkCommandBuffer Null => new VkCommandBuffer(IntPtr.Zero); - public static implicit operator VkCommandBuffer(IntPtr handle) => new VkCommandBuffer(handle); - public static bool operator ==(VkCommandBuffer left, VkCommandBuffer right) => left.Handle == right.Handle; - public static bool operator !=(VkCommandBuffer left, VkCommandBuffer right) => left.Handle != right.Handle; - public static bool operator ==(VkCommandBuffer left, IntPtr right) => left.Handle == right; - public static bool operator !=(VkCommandBuffer left, IntPtr right) => left.Handle != right; - public bool Equals(VkCommandBuffer h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkCommandBuffer h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkCommandBuffer [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDeviceMemory : IEquatable - { - public readonly ulong Handle; - public VkDeviceMemory(ulong existingHandle) { Handle = existingHandle; } - public static VkDeviceMemory Null => new VkDeviceMemory(0); - public static implicit operator VkDeviceMemory(ulong handle) => new VkDeviceMemory(handle); - public static bool operator ==(VkDeviceMemory left, VkDeviceMemory right) => left.Handle == right.Handle; - public static bool operator !=(VkDeviceMemory left, VkDeviceMemory right) => left.Handle != right.Handle; - public static bool operator ==(VkDeviceMemory left, ulong right) => left.Handle == right; - public static bool operator !=(VkDeviceMemory left, ulong right) => left.Handle != right; - public bool Equals(VkDeviceMemory h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDeviceMemory h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDeviceMemory [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkCommandPool : IEquatable - { - public readonly ulong Handle; - public VkCommandPool(ulong existingHandle) { Handle = existingHandle; } - public static VkCommandPool Null => new VkCommandPool(0); - public static implicit operator VkCommandPool(ulong handle) => new VkCommandPool(handle); - public static bool operator ==(VkCommandPool left, VkCommandPool right) => left.Handle == right.Handle; - public static bool operator !=(VkCommandPool left, VkCommandPool right) => left.Handle != right.Handle; - public static bool operator ==(VkCommandPool left, ulong right) => left.Handle == right; - public static bool operator !=(VkCommandPool left, ulong right) => left.Handle != right; - public bool Equals(VkCommandPool h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkCommandPool h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkCommandPool [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkBuffer : IEquatable - { - public readonly ulong Handle; - public VkBuffer(ulong existingHandle) { Handle = existingHandle; } - public static VkBuffer Null => new VkBuffer(0); - public static implicit operator VkBuffer(ulong handle) => new VkBuffer(handle); - public static bool operator ==(VkBuffer left, VkBuffer right) => left.Handle == right.Handle; - public static bool operator !=(VkBuffer left, VkBuffer right) => left.Handle != right.Handle; - public static bool operator ==(VkBuffer left, ulong right) => left.Handle == right; - public static bool operator !=(VkBuffer left, ulong right) => left.Handle != right; - public bool Equals(VkBuffer h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkBuffer h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkBuffer [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkBufferView : IEquatable - { - public readonly ulong Handle; - public VkBufferView(ulong existingHandle) { Handle = existingHandle; } - public static VkBufferView Null => new VkBufferView(0); - public static implicit operator VkBufferView(ulong handle) => new VkBufferView(handle); - public static bool operator ==(VkBufferView left, VkBufferView right) => left.Handle == right.Handle; - public static bool operator !=(VkBufferView left, VkBufferView right) => left.Handle != right.Handle; - public static bool operator ==(VkBufferView left, ulong right) => left.Handle == right; - public static bool operator !=(VkBufferView left, ulong right) => left.Handle != right; - public bool Equals(VkBufferView h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkBufferView h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkBufferView [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkImage : IEquatable - { - public readonly ulong Handle; - public VkImage(ulong existingHandle) { Handle = existingHandle; } - public static VkImage Null => new VkImage(0); - public static implicit operator VkImage(ulong handle) => new VkImage(handle); - public static bool operator ==(VkImage left, VkImage right) => left.Handle == right.Handle; - public static bool operator !=(VkImage left, VkImage right) => left.Handle != right.Handle; - public static bool operator ==(VkImage left, ulong right) => left.Handle == right; - public static bool operator !=(VkImage left, ulong right) => left.Handle != right; - public bool Equals(VkImage h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkImage h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkImage [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkImageView : IEquatable - { - public readonly ulong Handle; - public VkImageView(ulong existingHandle) { Handle = existingHandle; } - public static VkImageView Null => new VkImageView(0); - public static implicit operator VkImageView(ulong handle) => new VkImageView(handle); - public static bool operator ==(VkImageView left, VkImageView right) => left.Handle == right.Handle; - public static bool operator !=(VkImageView left, VkImageView right) => left.Handle != right.Handle; - public static bool operator ==(VkImageView left, ulong right) => left.Handle == right; - public static bool operator !=(VkImageView left, ulong right) => left.Handle != right; - public bool Equals(VkImageView h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkImageView h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkImageView [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkShaderModule : IEquatable - { - public readonly ulong Handle; - public VkShaderModule(ulong existingHandle) { Handle = existingHandle; } - public static VkShaderModule Null => new VkShaderModule(0); - public static implicit operator VkShaderModule(ulong handle) => new VkShaderModule(handle); - public static bool operator ==(VkShaderModule left, VkShaderModule right) => left.Handle == right.Handle; - public static bool operator !=(VkShaderModule left, VkShaderModule right) => left.Handle != right.Handle; - public static bool operator ==(VkShaderModule left, ulong right) => left.Handle == right; - public static bool operator !=(VkShaderModule left, ulong right) => left.Handle != right; - public bool Equals(VkShaderModule h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkShaderModule h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkShaderModule [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkPipeline : IEquatable - { - public readonly ulong Handle; - public VkPipeline(ulong existingHandle) { Handle = existingHandle; } - public static VkPipeline Null => new VkPipeline(0); - public static implicit operator VkPipeline(ulong handle) => new VkPipeline(handle); - public static bool operator ==(VkPipeline left, VkPipeline right) => left.Handle == right.Handle; - public static bool operator !=(VkPipeline left, VkPipeline right) => left.Handle != right.Handle; - public static bool operator ==(VkPipeline left, ulong right) => left.Handle == right; - public static bool operator !=(VkPipeline left, ulong right) => left.Handle != right; - public bool Equals(VkPipeline h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkPipeline h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkPipeline [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkPipelineLayout : IEquatable - { - public readonly ulong Handle; - public VkPipelineLayout(ulong existingHandle) { Handle = existingHandle; } - public static VkPipelineLayout Null => new VkPipelineLayout(0); - public static implicit operator VkPipelineLayout(ulong handle) => new VkPipelineLayout(handle); - public static bool operator ==(VkPipelineLayout left, VkPipelineLayout right) => left.Handle == right.Handle; - public static bool operator !=(VkPipelineLayout left, VkPipelineLayout right) => left.Handle != right.Handle; - public static bool operator ==(VkPipelineLayout left, ulong right) => left.Handle == right; - public static bool operator !=(VkPipelineLayout left, ulong right) => left.Handle != right; - public bool Equals(VkPipelineLayout h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkPipelineLayout h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkPipelineLayout [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkSampler : IEquatable - { - public readonly ulong Handle; - public VkSampler(ulong existingHandle) { Handle = existingHandle; } - public static VkSampler Null => new VkSampler(0); - public static implicit operator VkSampler(ulong handle) => new VkSampler(handle); - public static bool operator ==(VkSampler left, VkSampler right) => left.Handle == right.Handle; - public static bool operator !=(VkSampler left, VkSampler right) => left.Handle != right.Handle; - public static bool operator ==(VkSampler left, ulong right) => left.Handle == right; - public static bool operator !=(VkSampler left, ulong right) => left.Handle != right; - public bool Equals(VkSampler h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkSampler h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkSampler [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDescriptorPool. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDescriptorSet : IEquatable - { - public readonly ulong Handle; - public VkDescriptorSet(ulong existingHandle) { Handle = existingHandle; } - public static VkDescriptorSet Null => new VkDescriptorSet(0); - public static implicit operator VkDescriptorSet(ulong handle) => new VkDescriptorSet(handle); - public static bool operator ==(VkDescriptorSet left, VkDescriptorSet right) => left.Handle == right.Handle; - public static bool operator !=(VkDescriptorSet left, VkDescriptorSet right) => left.Handle != right.Handle; - public static bool operator ==(VkDescriptorSet left, ulong right) => left.Handle == right; - public static bool operator !=(VkDescriptorSet left, ulong right) => left.Handle != right; - public bool Equals(VkDescriptorSet h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDescriptorSet h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDescriptorSet [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDescriptorSetLayout : IEquatable - { - public readonly ulong Handle; - public VkDescriptorSetLayout(ulong existingHandle) { Handle = existingHandle; } - public static VkDescriptorSetLayout Null => new VkDescriptorSetLayout(0); - public static implicit operator VkDescriptorSetLayout(ulong handle) => new VkDescriptorSetLayout(handle); - public static bool operator ==(VkDescriptorSetLayout left, VkDescriptorSetLayout right) => left.Handle == right.Handle; - public static bool operator !=(VkDescriptorSetLayout left, VkDescriptorSetLayout right) => left.Handle != right.Handle; - public static bool operator ==(VkDescriptorSetLayout left, ulong right) => left.Handle == right; - public static bool operator !=(VkDescriptorSetLayout left, ulong right) => left.Handle != right; - public bool Equals(VkDescriptorSetLayout h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDescriptorSetLayout h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDescriptorSetLayout [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDescriptorPool : IEquatable - { - public readonly ulong Handle; - public VkDescriptorPool(ulong existingHandle) { Handle = existingHandle; } - public static VkDescriptorPool Null => new VkDescriptorPool(0); - public static implicit operator VkDescriptorPool(ulong handle) => new VkDescriptorPool(handle); - public static bool operator ==(VkDescriptorPool left, VkDescriptorPool right) => left.Handle == right.Handle; - public static bool operator !=(VkDescriptorPool left, VkDescriptorPool right) => left.Handle != right.Handle; - public static bool operator ==(VkDescriptorPool left, ulong right) => left.Handle == right; - public static bool operator !=(VkDescriptorPool left, ulong right) => left.Handle != right; - public bool Equals(VkDescriptorPool h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDescriptorPool h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDescriptorPool [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkFence : IEquatable - { - public readonly ulong Handle; - public VkFence(ulong existingHandle) { Handle = existingHandle; } - public static VkFence Null => new VkFence(0); - public static implicit operator VkFence(ulong handle) => new VkFence(handle); - public static bool operator ==(VkFence left, VkFence right) => left.Handle == right.Handle; - public static bool operator !=(VkFence left, VkFence right) => left.Handle != right.Handle; - public static bool operator ==(VkFence left, ulong right) => left.Handle == right; - public static bool operator !=(VkFence left, ulong right) => left.Handle != right; - public bool Equals(VkFence h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkFence h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkFence [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkSemaphore : IEquatable - { - public readonly ulong Handle; - public VkSemaphore(ulong existingHandle) { Handle = existingHandle; } - public static VkSemaphore Null => new VkSemaphore(0); - public static implicit operator VkSemaphore(ulong handle) => new VkSemaphore(handle); - public static bool operator ==(VkSemaphore left, VkSemaphore right) => left.Handle == right.Handle; - public static bool operator !=(VkSemaphore left, VkSemaphore right) => left.Handle != right.Handle; - public static bool operator ==(VkSemaphore left, ulong right) => left.Handle == right; - public static bool operator !=(VkSemaphore left, ulong right) => left.Handle != right; - public bool Equals(VkSemaphore h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkSemaphore h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkSemaphore [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkEvent : IEquatable - { - public readonly ulong Handle; - public VkEvent(ulong existingHandle) { Handle = existingHandle; } - public static VkEvent Null => new VkEvent(0); - public static implicit operator VkEvent(ulong handle) => new VkEvent(handle); - public static bool operator ==(VkEvent left, VkEvent right) => left.Handle == right.Handle; - public static bool operator !=(VkEvent left, VkEvent right) => left.Handle != right.Handle; - public static bool operator ==(VkEvent left, ulong right) => left.Handle == right; - public static bool operator !=(VkEvent left, ulong right) => left.Handle != right; - public bool Equals(VkEvent h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkEvent h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkEvent [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkQueryPool : IEquatable - { - public readonly ulong Handle; - public VkQueryPool(ulong existingHandle) { Handle = existingHandle; } - public static VkQueryPool Null => new VkQueryPool(0); - public static implicit operator VkQueryPool(ulong handle) => new VkQueryPool(handle); - public static bool operator ==(VkQueryPool left, VkQueryPool right) => left.Handle == right.Handle; - public static bool operator !=(VkQueryPool left, VkQueryPool right) => left.Handle != right.Handle; - public static bool operator ==(VkQueryPool left, ulong right) => left.Handle == right; - public static bool operator !=(VkQueryPool left, ulong right) => left.Handle != right; - public bool Equals(VkQueryPool h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkQueryPool h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkQueryPool [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkFramebuffer : IEquatable - { - public readonly ulong Handle; - public VkFramebuffer(ulong existingHandle) { Handle = existingHandle; } - public static VkFramebuffer Null => new VkFramebuffer(0); - public static implicit operator VkFramebuffer(ulong handle) => new VkFramebuffer(handle); - public static bool operator ==(VkFramebuffer left, VkFramebuffer right) => left.Handle == right.Handle; - public static bool operator !=(VkFramebuffer left, VkFramebuffer right) => left.Handle != right.Handle; - public static bool operator ==(VkFramebuffer left, ulong right) => left.Handle == right; - public static bool operator !=(VkFramebuffer left, ulong right) => left.Handle != right; - public bool Equals(VkFramebuffer h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkFramebuffer h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkFramebuffer [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkRenderPass : IEquatable - { - public readonly ulong Handle; - public VkRenderPass(ulong existingHandle) { Handle = existingHandle; } - public static VkRenderPass Null => new VkRenderPass(0); - public static implicit operator VkRenderPass(ulong handle) => new VkRenderPass(handle); - public static bool operator ==(VkRenderPass left, VkRenderPass right) => left.Handle == right.Handle; - public static bool operator !=(VkRenderPass left, VkRenderPass right) => left.Handle != right.Handle; - public static bool operator ==(VkRenderPass left, ulong right) => left.Handle == right; - public static bool operator !=(VkRenderPass left, ulong right) => left.Handle != right; - public bool Equals(VkRenderPass h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkRenderPass h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkRenderPass [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkPipelineCache : IEquatable - { - public readonly ulong Handle; - public VkPipelineCache(ulong existingHandle) { Handle = existingHandle; } - public static VkPipelineCache Null => new VkPipelineCache(0); - public static implicit operator VkPipelineCache(ulong handle) => new VkPipelineCache(handle); - public static bool operator ==(VkPipelineCache left, VkPipelineCache right) => left.Handle == right.Handle; - public static bool operator !=(VkPipelineCache left, VkPipelineCache right) => left.Handle != right.Handle; - public static bool operator ==(VkPipelineCache left, ulong right) => left.Handle == right; - public static bool operator !=(VkPipelineCache left, ulong right) => left.Handle != right; - public bool Equals(VkPipelineCache h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkPipelineCache h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkPipelineCache [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkObjectTableNVX : IEquatable - { - public readonly ulong Handle; - public VkObjectTableNVX(ulong existingHandle) { Handle = existingHandle; } - public static VkObjectTableNVX Null => new VkObjectTableNVX(0); - public static implicit operator VkObjectTableNVX(ulong handle) => new VkObjectTableNVX(handle); - public static bool operator ==(VkObjectTableNVX left, VkObjectTableNVX right) => left.Handle == right.Handle; - public static bool operator !=(VkObjectTableNVX left, VkObjectTableNVX right) => left.Handle != right.Handle; - public static bool operator ==(VkObjectTableNVX left, ulong right) => left.Handle == right; - public static bool operator !=(VkObjectTableNVX left, ulong right) => left.Handle != right; - public bool Equals(VkObjectTableNVX h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkObjectTableNVX h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkObjectTableNVX [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkIndirectCommandsLayoutNVX : IEquatable - { - public readonly ulong Handle; - public VkIndirectCommandsLayoutNVX(ulong existingHandle) { Handle = existingHandle; } - public static VkIndirectCommandsLayoutNVX Null => new VkIndirectCommandsLayoutNVX(0); - public static implicit operator VkIndirectCommandsLayoutNVX(ulong handle) => new VkIndirectCommandsLayoutNVX(handle); - public static bool operator ==(VkIndirectCommandsLayoutNVX left, VkIndirectCommandsLayoutNVX right) => left.Handle == right.Handle; - public static bool operator !=(VkIndirectCommandsLayoutNVX left, VkIndirectCommandsLayoutNVX right) => left.Handle != right.Handle; - public static bool operator ==(VkIndirectCommandsLayoutNVX left, ulong right) => left.Handle == right; - public static bool operator !=(VkIndirectCommandsLayoutNVX left, ulong right) => left.Handle != right; - public bool Equals(VkIndirectCommandsLayoutNVX h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkIndirectCommandsLayoutNVX h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkIndirectCommandsLayoutNVX [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDescriptorUpdateTemplateKHR : IEquatable - { - public readonly ulong Handle; - public VkDescriptorUpdateTemplateKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkDescriptorUpdateTemplateKHR Null => new VkDescriptorUpdateTemplateKHR(0); - public static implicit operator VkDescriptorUpdateTemplateKHR(ulong handle) => new VkDescriptorUpdateTemplateKHR(handle); - public static bool operator ==(VkDescriptorUpdateTemplateKHR left, VkDescriptorUpdateTemplateKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkDescriptorUpdateTemplateKHR left, VkDescriptorUpdateTemplateKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkDescriptorUpdateTemplateKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkDescriptorUpdateTemplateKHR left, ulong right) => left.Handle != right; - public bool Equals(VkDescriptorUpdateTemplateKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDescriptorUpdateTemplateKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDescriptorUpdateTemplateKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkSamplerYcbcrConversionKHR : IEquatable - { - public readonly ulong Handle; - public VkSamplerYcbcrConversionKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkSamplerYcbcrConversionKHR Null => new VkSamplerYcbcrConversionKHR(0); - public static implicit operator VkSamplerYcbcrConversionKHR(ulong handle) => new VkSamplerYcbcrConversionKHR(handle); - public static bool operator ==(VkSamplerYcbcrConversionKHR left, VkSamplerYcbcrConversionKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkSamplerYcbcrConversionKHR left, VkSamplerYcbcrConversionKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkSamplerYcbcrConversionKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkSamplerYcbcrConversionKHR left, ulong right) => left.Handle != right; - public bool Equals(VkSamplerYcbcrConversionKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkSamplerYcbcrConversionKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkSamplerYcbcrConversionKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkDevice. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkValidationCacheEXT : IEquatable - { - public readonly ulong Handle; - public VkValidationCacheEXT(ulong existingHandle) { Handle = existingHandle; } - public static VkValidationCacheEXT Null => new VkValidationCacheEXT(0); - public static implicit operator VkValidationCacheEXT(ulong handle) => new VkValidationCacheEXT(handle); - public static bool operator ==(VkValidationCacheEXT left, VkValidationCacheEXT right) => left.Handle == right.Handle; - public static bool operator !=(VkValidationCacheEXT left, VkValidationCacheEXT right) => left.Handle != right.Handle; - public static bool operator ==(VkValidationCacheEXT left, ulong right) => left.Handle == right; - public static bool operator !=(VkValidationCacheEXT left, ulong right) => left.Handle != right; - public bool Equals(VkValidationCacheEXT h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkValidationCacheEXT h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkValidationCacheEXT [0x{0}]", Handle.ToString("X")); - } - - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDisplayKHR : IEquatable - { - public readonly ulong Handle; - public VkDisplayKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkDisplayKHR Null => new VkDisplayKHR(0); - public static implicit operator VkDisplayKHR(ulong handle) => new VkDisplayKHR(handle); - public static bool operator ==(VkDisplayKHR left, VkDisplayKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkDisplayKHR left, VkDisplayKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkDisplayKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkDisplayKHR left, ulong right) => left.Handle != right; - public bool Equals(VkDisplayKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDisplayKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDisplayKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkPhysicalDevice,VkDisplayKHR. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDisplayModeKHR : IEquatable - { - public readonly ulong Handle; - public VkDisplayModeKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkDisplayModeKHR Null => new VkDisplayModeKHR(0); - public static implicit operator VkDisplayModeKHR(ulong handle) => new VkDisplayModeKHR(handle); - public static bool operator ==(VkDisplayModeKHR left, VkDisplayModeKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkDisplayModeKHR left, VkDisplayModeKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkDisplayModeKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkDisplayModeKHR left, ulong right) => left.Handle != right; - public bool Equals(VkDisplayModeKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDisplayModeKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDisplayModeKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkInstance. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkSurfaceKHR : IEquatable - { - public readonly ulong Handle; - public VkSurfaceKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkSurfaceKHR Null => new VkSurfaceKHR(0); - public static implicit operator VkSurfaceKHR(ulong handle) => new VkSurfaceKHR(handle); - public static bool operator ==(VkSurfaceKHR left, VkSurfaceKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkSurfaceKHR left, VkSurfaceKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkSurfaceKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkSurfaceKHR left, ulong right) => left.Handle != right; - public bool Equals(VkSurfaceKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkSurfaceKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkSurfaceKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkSurfaceKHR. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkSwapchainKHR : IEquatable - { - public readonly ulong Handle; - public VkSwapchainKHR(ulong existingHandle) { Handle = existingHandle; } - public static VkSwapchainKHR Null => new VkSwapchainKHR(0); - public static implicit operator VkSwapchainKHR(ulong handle) => new VkSwapchainKHR(handle); - public static bool operator ==(VkSwapchainKHR left, VkSwapchainKHR right) => left.Handle == right.Handle; - public static bool operator !=(VkSwapchainKHR left, VkSwapchainKHR right) => left.Handle != right.Handle; - public static bool operator ==(VkSwapchainKHR left, ulong right) => left.Handle == right; - public static bool operator !=(VkSwapchainKHR left, ulong right) => left.Handle != right; - public bool Equals(VkSwapchainKHR h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkSwapchainKHR h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkSwapchainKHR [0x{0}]", Handle.ToString("X")); - } - - ///A non-dispatchable handle owned by a VkInstance. - [DebuggerDisplay("{DebuggerDisplay,nq}")] - public partial struct VkDebugReportCallbackEXT : IEquatable - { - public readonly ulong Handle; - public VkDebugReportCallbackEXT(ulong existingHandle) { Handle = existingHandle; } - public static VkDebugReportCallbackEXT Null => new VkDebugReportCallbackEXT(0); - public static implicit operator VkDebugReportCallbackEXT(ulong handle) => new VkDebugReportCallbackEXT(handle); - public static bool operator ==(VkDebugReportCallbackEXT left, VkDebugReportCallbackEXT right) => left.Handle == right.Handle; - public static bool operator !=(VkDebugReportCallbackEXT left, VkDebugReportCallbackEXT right) => left.Handle != right.Handle; - public static bool operator ==(VkDebugReportCallbackEXT left, ulong right) => left.Handle == right; - public static bool operator !=(VkDebugReportCallbackEXT left, ulong right) => left.Handle != right; - public bool Equals(VkDebugReportCallbackEXT h) => Handle == h.Handle; - public override bool Equals(object o) => o is VkDebugReportCallbackEXT h && Equals(h); - public override int GetHashCode() => Handle.GetHashCode(); - private string DebuggerDisplay => string.Format("VkDebugReportCallbackEXT [0x{0}]", Handle.ToString("X")); - } -} diff --git a/vk/src/vk/Generated/Structures.gen.cs b/vk/src/vk/Generated/Structures.gen.cs deleted file mode 100644 index cebfd1487..000000000 --- a/vk/src/vk/Generated/Structures.gen.cs +++ /dev/null @@ -1,4206 +0,0 @@ -// This file is generated. - -using System; - -namespace Vulkan -{ - public unsafe partial struct VkOffset2D - { - public int x; - public int y; - } - - public unsafe partial struct VkOffset3D - { - public int x; - public int y; - public int z; - } - - public unsafe partial struct VkExtent2D - { - public uint width; - public uint height; - } - - public unsafe partial struct VkExtent3D - { - public uint width; - public uint height; - public uint depth; - } - - public unsafe partial struct VkViewport - { - public float x; - public float y; - public float width; - public float height; - public float minDepth; - public float maxDepth; - } - - public unsafe partial struct VkRect2D - { - public VkOffset2D offset; - public VkExtent2D extent; - } - - public unsafe partial struct VkClearRect - { - public VkRect2D rect; - public uint baseArrayLayer; - public uint layerCount; - } - - public unsafe partial struct VkComponentMapping - { - public VkComponentSwizzle r; - public VkComponentSwizzle g; - public VkComponentSwizzle b; - public VkComponentSwizzle a; - } - - public unsafe partial struct VkPhysicalDeviceProperties - { - public uint apiVersion; - public uint driverVersion; - public uint vendorID; - public uint deviceID; - public VkPhysicalDeviceType deviceType; - public fixed byte deviceName[(int)VulkanNative.MaxPhysicalDeviceNameSize]; - public fixed byte pipelineCacheUUID[(int)VulkanNative.UuidSize]; - public VkPhysicalDeviceLimits limits; - public VkPhysicalDeviceSparseProperties sparseProperties; - } - - public unsafe partial struct VkExtensionProperties - { - public fixed byte extensionName[(int)VulkanNative.MaxExtensionNameSize]; - public uint specVersion; - } - - public unsafe partial struct VkLayerProperties - { - public fixed byte layerName[(int)VulkanNative.MaxExtensionNameSize]; - public uint specVersion; - public uint implementationVersion; - public fixed byte description[(int)VulkanNative.MaxDescriptionSize]; - } - - public unsafe partial struct VkApplicationInfo - { - public VkStructureType sType; - public void* pNext; - public byte* pApplicationName; - public uint applicationVersion; - public byte* pEngineName; - public uint engineVersion; - public uint apiVersion; - public static VkApplicationInfo New() - { - VkApplicationInfo ret = new VkApplicationInfo(); - ret.sType = VkStructureType.ApplicationInfo; - return ret; - } - } - - public unsafe partial struct VkAllocationCallbacks - { - public void* pUserData; - public IntPtr pfnAllocation; - public IntPtr pfnReallocation; - public IntPtr pfnFree; - public IntPtr pfnInternalAllocation; - public IntPtr pfnInternalFree; - } - - public unsafe partial struct VkDeviceQueueCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint queueFamilyIndex; - public uint queueCount; - public float* pQueuePriorities; - public static VkDeviceQueueCreateInfo New() - { - VkDeviceQueueCreateInfo ret = new VkDeviceQueueCreateInfo(); - ret.sType = VkStructureType.DeviceQueueCreateInfo; - return ret; - } - } - - public unsafe partial struct VkDeviceCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint queueCreateInfoCount; - public VkDeviceQueueCreateInfo* pQueueCreateInfos; - public uint enabledLayerCount; - public byte** ppEnabledLayerNames; - public uint enabledExtensionCount; - public byte** ppEnabledExtensionNames; - public VkPhysicalDeviceFeatures* pEnabledFeatures; - public static VkDeviceCreateInfo New() - { - VkDeviceCreateInfo ret = new VkDeviceCreateInfo(); - ret.sType = VkStructureType.DeviceCreateInfo; - return ret; - } - } - - public unsafe partial struct VkInstanceCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkApplicationInfo* pApplicationInfo; - public uint enabledLayerCount; - public byte** ppEnabledLayerNames; - public uint enabledExtensionCount; - public byte** ppEnabledExtensionNames; - public static VkInstanceCreateInfo New() - { - VkInstanceCreateInfo ret = new VkInstanceCreateInfo(); - ret.sType = VkStructureType.InstanceCreateInfo; - return ret; - } - } - - public unsafe partial struct VkQueueFamilyProperties - { - public VkQueueFlags queueFlags; - public uint queueCount; - public uint timestampValidBits; - public VkExtent3D minImageTransferGranularity; - } - - public unsafe partial struct VkPhysicalDeviceMemoryProperties - { - public uint memoryTypeCount; - public VkMemoryType memoryTypes_0; - public VkMemoryType memoryTypes_1; - public VkMemoryType memoryTypes_2; - public VkMemoryType memoryTypes_3; - public VkMemoryType memoryTypes_4; - public VkMemoryType memoryTypes_5; - public VkMemoryType memoryTypes_6; - public VkMemoryType memoryTypes_7; - public VkMemoryType memoryTypes_8; - public VkMemoryType memoryTypes_9; - public VkMemoryType memoryTypes_10; - public VkMemoryType memoryTypes_11; - public VkMemoryType memoryTypes_12; - public VkMemoryType memoryTypes_13; - public VkMemoryType memoryTypes_14; - public VkMemoryType memoryTypes_15; - public VkMemoryType memoryTypes_16; - public VkMemoryType memoryTypes_17; - public VkMemoryType memoryTypes_18; - public VkMemoryType memoryTypes_19; - public VkMemoryType memoryTypes_20; - public VkMemoryType memoryTypes_21; - public VkMemoryType memoryTypes_22; - public VkMemoryType memoryTypes_23; - public VkMemoryType memoryTypes_24; - public VkMemoryType memoryTypes_25; - public VkMemoryType memoryTypes_26; - public VkMemoryType memoryTypes_27; - public VkMemoryType memoryTypes_28; - public VkMemoryType memoryTypes_29; - public VkMemoryType memoryTypes_30; - public VkMemoryType memoryTypes_31; - public uint memoryHeapCount; - public VkMemoryHeap memoryHeaps_0; - public VkMemoryHeap memoryHeaps_1; - public VkMemoryHeap memoryHeaps_2; - public VkMemoryHeap memoryHeaps_3; - public VkMemoryHeap memoryHeaps_4; - public VkMemoryHeap memoryHeaps_5; - public VkMemoryHeap memoryHeaps_6; - public VkMemoryHeap memoryHeaps_7; - public VkMemoryHeap memoryHeaps_8; - public VkMemoryHeap memoryHeaps_9; - public VkMemoryHeap memoryHeaps_10; - public VkMemoryHeap memoryHeaps_11; - public VkMemoryHeap memoryHeaps_12; - public VkMemoryHeap memoryHeaps_13; - public VkMemoryHeap memoryHeaps_14; - public VkMemoryHeap memoryHeaps_15; - } - - public unsafe partial struct VkMemoryAllocateInfo - { - public VkStructureType sType; - public void* pNext; - public ulong allocationSize; - public uint memoryTypeIndex; - public static VkMemoryAllocateInfo New() - { - VkMemoryAllocateInfo ret = new VkMemoryAllocateInfo(); - ret.sType = VkStructureType.MemoryAllocateInfo; - return ret; - } - } - - public unsafe partial struct VkMemoryRequirements - { - public ulong size; - public ulong alignment; - public uint memoryTypeBits; - } - - public unsafe partial struct VkSparseImageFormatProperties - { - public VkImageAspectFlags aspectMask; - public VkExtent3D imageGranularity; - public VkSparseImageFormatFlags flags; - } - - public unsafe partial struct VkSparseImageMemoryRequirements - { - public VkSparseImageFormatProperties formatProperties; - public uint imageMipTailFirstLod; - public ulong imageMipTailSize; - public ulong imageMipTailOffset; - public ulong imageMipTailStride; - } - - public unsafe partial struct VkMemoryType - { - public VkMemoryPropertyFlags propertyFlags; - public uint heapIndex; - } - - public unsafe partial struct VkMemoryHeap - { - public ulong size; - public VkMemoryHeapFlags flags; - } - - public unsafe partial struct VkMappedMemoryRange - { - public VkStructureType sType; - public void* pNext; - public VkDeviceMemory memory; - public ulong offset; - public ulong size; - public static VkMappedMemoryRange New() - { - VkMappedMemoryRange ret = new VkMappedMemoryRange(); - ret.sType = VkStructureType.MappedMemoryRange; - return ret; - } - } - - public unsafe partial struct VkFormatProperties - { - public VkFormatFeatureFlags linearTilingFeatures; - public VkFormatFeatureFlags optimalTilingFeatures; - public VkFormatFeatureFlags bufferFeatures; - } - - public unsafe partial struct VkImageFormatProperties - { - public VkExtent3D maxExtent; - public uint maxMipLevels; - public uint maxArrayLayers; - public VkSampleCountFlags sampleCounts; - public ulong maxResourceSize; - } - - public unsafe partial struct VkDescriptorBufferInfo - { - public VkBuffer buffer; - public ulong offset; - public ulong range; - } - - public unsafe partial struct VkDescriptorImageInfo - { - public VkSampler sampler; - public VkImageView imageView; - public VkImageLayout imageLayout; - } - - public unsafe partial struct VkWriteDescriptorSet - { - public VkStructureType sType; - public void* pNext; - public VkDescriptorSet dstSet; - public uint dstBinding; - public uint dstArrayElement; - public uint descriptorCount; - public VkDescriptorType descriptorType; - public VkDescriptorImageInfo* pImageInfo; - public VkDescriptorBufferInfo* pBufferInfo; - public VkBufferView* pTexelBufferView; - public static VkWriteDescriptorSet New() - { - VkWriteDescriptorSet ret = new VkWriteDescriptorSet(); - ret.sType = VkStructureType.WriteDescriptorSet; - return ret; - } - } - - public unsafe partial struct VkCopyDescriptorSet - { - public VkStructureType sType; - public void* pNext; - public VkDescriptorSet srcSet; - public uint srcBinding; - public uint srcArrayElement; - public VkDescriptorSet dstSet; - public uint dstBinding; - public uint dstArrayElement; - public uint descriptorCount; - public static VkCopyDescriptorSet New() - { - VkCopyDescriptorSet ret = new VkCopyDescriptorSet(); - ret.sType = VkStructureType.CopyDescriptorSet; - return ret; - } - } - - public unsafe partial struct VkBufferCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkBufferCreateFlags flags; - public ulong size; - public VkBufferUsageFlags usage; - public VkSharingMode sharingMode; - public uint queueFamilyIndexCount; - public uint* pQueueFamilyIndices; - public static VkBufferCreateInfo New() - { - VkBufferCreateInfo ret = new VkBufferCreateInfo(); - ret.sType = VkStructureType.BufferCreateInfo; - return ret; - } - } - - public unsafe partial struct VkBufferViewCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkBuffer buffer; - public VkFormat format; - public ulong offset; - public ulong range; - public static VkBufferViewCreateInfo New() - { - VkBufferViewCreateInfo ret = new VkBufferViewCreateInfo(); - ret.sType = VkStructureType.BufferViewCreateInfo; - return ret; - } - } - - public unsafe partial struct VkImageSubresource - { - public VkImageAspectFlags aspectMask; - public uint mipLevel; - public uint arrayLayer; - } - - public unsafe partial struct VkImageSubresourceLayers - { - public VkImageAspectFlags aspectMask; - public uint mipLevel; - public uint baseArrayLayer; - public uint layerCount; - } - - public unsafe partial struct VkImageSubresourceRange - { - public VkImageAspectFlags aspectMask; - public uint baseMipLevel; - public uint levelCount; - public uint baseArrayLayer; - public uint layerCount; - } - - public unsafe partial struct VkMemoryBarrier - { - public VkStructureType sType; - public void* pNext; - public VkAccessFlags srcAccessMask; - public VkAccessFlags dstAccessMask; - public static VkMemoryBarrier New() - { - VkMemoryBarrier ret = new VkMemoryBarrier(); - ret.sType = VkStructureType.MemoryBarrier; - return ret; - } - } - - public unsafe partial struct VkBufferMemoryBarrier - { - public VkStructureType sType; - public void* pNext; - public VkAccessFlags srcAccessMask; - public VkAccessFlags dstAccessMask; - public uint srcQueueFamilyIndex; - public uint dstQueueFamilyIndex; - public VkBuffer buffer; - public ulong offset; - public ulong size; - public static VkBufferMemoryBarrier New() - { - VkBufferMemoryBarrier ret = new VkBufferMemoryBarrier(); - ret.sType = VkStructureType.BufferMemoryBarrier; - return ret; - } - } - - public unsafe partial struct VkImageMemoryBarrier - { - public VkStructureType sType; - public void* pNext; - public VkAccessFlags srcAccessMask; - public VkAccessFlags dstAccessMask; - public VkImageLayout oldLayout; - public VkImageLayout newLayout; - public uint srcQueueFamilyIndex; - public uint dstQueueFamilyIndex; - public VkImage image; - public VkImageSubresourceRange subresourceRange; - public static VkImageMemoryBarrier New() - { - VkImageMemoryBarrier ret = new VkImageMemoryBarrier(); - ret.sType = VkStructureType.ImageMemoryBarrier; - return ret; - } - } - - public unsafe partial struct VkImageCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkImageCreateFlags flags; - public VkImageType imageType; - public VkFormat format; - public VkExtent3D extent; - public uint mipLevels; - public uint arrayLayers; - public VkSampleCountFlags samples; - public VkImageTiling tiling; - public VkImageUsageFlags usage; - public VkSharingMode sharingMode; - public uint queueFamilyIndexCount; - public uint* pQueueFamilyIndices; - public VkImageLayout initialLayout; - public static VkImageCreateInfo New() - { - VkImageCreateInfo ret = new VkImageCreateInfo(); - ret.sType = VkStructureType.ImageCreateInfo; - return ret; - } - } - - public unsafe partial struct VkSubresourceLayout - { - public ulong offset; - public ulong size; - public ulong rowPitch; - public ulong arrayPitch; - public ulong depthPitch; - } - - public unsafe partial struct VkImageViewCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkImage image; - public VkImageViewType viewType; - public VkFormat format; - public VkComponentMapping components; - public VkImageSubresourceRange subresourceRange; - public static VkImageViewCreateInfo New() - { - VkImageViewCreateInfo ret = new VkImageViewCreateInfo(); - ret.sType = VkStructureType.ImageViewCreateInfo; - return ret; - } - } - - public unsafe partial struct VkBufferCopy - { - public ulong srcOffset; - public ulong dstOffset; - public ulong size; - } - - public unsafe partial struct VkSparseMemoryBind - { - public ulong resourceOffset; - public ulong size; - public VkDeviceMemory memory; - public ulong memoryOffset; - public VkSparseMemoryBindFlags flags; - } - - public unsafe partial struct VkSparseImageMemoryBind - { - public VkImageSubresource subresource; - public VkOffset3D offset; - public VkExtent3D extent; - public VkDeviceMemory memory; - public ulong memoryOffset; - public VkSparseMemoryBindFlags flags; - } - - public unsafe partial struct VkSparseBufferMemoryBindInfo - { - public VkBuffer buffer; - public uint bindCount; - public VkSparseMemoryBind* pBinds; - } - - public unsafe partial struct VkSparseImageOpaqueMemoryBindInfo - { - public VkImage image; - public uint bindCount; - public VkSparseMemoryBind* pBinds; - } - - public unsafe partial struct VkSparseImageMemoryBindInfo - { - public VkImage image; - public uint bindCount; - public VkSparseImageMemoryBind* pBinds; - } - - public unsafe partial struct VkBindSparseInfo - { - public VkStructureType sType; - public void* pNext; - public uint waitSemaphoreCount; - public VkSemaphore* pWaitSemaphores; - public uint bufferBindCount; - public VkSparseBufferMemoryBindInfo* pBufferBinds; - public uint imageOpaqueBindCount; - public VkSparseImageOpaqueMemoryBindInfo* pImageOpaqueBinds; - public uint imageBindCount; - public VkSparseImageMemoryBindInfo* pImageBinds; - public uint signalSemaphoreCount; - public VkSemaphore* pSignalSemaphores; - public static VkBindSparseInfo New() - { - VkBindSparseInfo ret = new VkBindSparseInfo(); - ret.sType = VkStructureType.BindSparseInfo; - return ret; - } - } - - public unsafe partial struct VkImageCopy - { - public VkImageSubresourceLayers srcSubresource; - public VkOffset3D srcOffset; - public VkImageSubresourceLayers dstSubresource; - public VkOffset3D dstOffset; - public VkExtent3D extent; - } - - public unsafe partial struct VkImageBlit - { - public VkImageSubresourceLayers srcSubresource; - public VkOffset3D srcOffsets_0; - public VkOffset3D srcOffsets_1; - public VkImageSubresourceLayers dstSubresource; - public VkOffset3D dstOffsets_0; - public VkOffset3D dstOffsets_1; - } - - public unsafe partial struct VkBufferImageCopy - { - public ulong bufferOffset; - public uint bufferRowLength; - public uint bufferImageHeight; - public VkImageSubresourceLayers imageSubresource; - public VkOffset3D imageOffset; - public VkExtent3D imageExtent; - } - - public unsafe partial struct VkImageResolve - { - public VkImageSubresourceLayers srcSubresource; - public VkOffset3D srcOffset; - public VkImageSubresourceLayers dstSubresource; - public VkOffset3D dstOffset; - public VkExtent3D extent; - } - - public unsafe partial struct VkShaderModuleCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public UIntPtr codeSize; - public uint* pCode; - public static VkShaderModuleCreateInfo New() - { - VkShaderModuleCreateInfo ret = new VkShaderModuleCreateInfo(); - ret.sType = VkStructureType.ShaderModuleCreateInfo; - return ret; - } - } - - public unsafe partial struct VkDescriptorSetLayoutBinding - { - public uint binding; - public VkDescriptorType descriptorType; - public uint descriptorCount; - public VkShaderStageFlags stageFlags; - public VkSampler* pImmutableSamplers; - } - - public unsafe partial struct VkDescriptorSetLayoutCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkDescriptorSetLayoutCreateFlags flags; - public uint bindingCount; - public VkDescriptorSetLayoutBinding* pBindings; - public static VkDescriptorSetLayoutCreateInfo New() - { - VkDescriptorSetLayoutCreateInfo ret = new VkDescriptorSetLayoutCreateInfo(); - ret.sType = VkStructureType.DescriptorSetLayoutCreateInfo; - return ret; - } - } - - public unsafe partial struct VkDescriptorPoolSize - { - public VkDescriptorType type; - public uint descriptorCount; - } - - public unsafe partial struct VkDescriptorPoolCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkDescriptorPoolCreateFlags flags; - public uint maxSets; - public uint poolSizeCount; - public VkDescriptorPoolSize* pPoolSizes; - public static VkDescriptorPoolCreateInfo New() - { - VkDescriptorPoolCreateInfo ret = new VkDescriptorPoolCreateInfo(); - ret.sType = VkStructureType.DescriptorPoolCreateInfo; - return ret; - } - } - - public unsafe partial struct VkDescriptorSetAllocateInfo - { - public VkStructureType sType; - public void* pNext; - public VkDescriptorPool descriptorPool; - public uint descriptorSetCount; - public VkDescriptorSetLayout* pSetLayouts; - public static VkDescriptorSetAllocateInfo New() - { - VkDescriptorSetAllocateInfo ret = new VkDescriptorSetAllocateInfo(); - ret.sType = VkStructureType.DescriptorSetAllocateInfo; - return ret; - } - } - - public unsafe partial struct VkSpecializationMapEntry - { - public uint constantID; - public uint offset; - public UIntPtr size; - } - - public unsafe partial struct VkSpecializationInfo - { - public uint mapEntryCount; - public VkSpecializationMapEntry* pMapEntries; - public UIntPtr dataSize; - public void* pData; - } - - public unsafe partial struct VkPipelineShaderStageCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkShaderStageFlags stage; - public VkShaderModule module; - public byte* pName; - public VkSpecializationInfo* pSpecializationInfo; - public static VkPipelineShaderStageCreateInfo New() - { - VkPipelineShaderStageCreateInfo ret = new VkPipelineShaderStageCreateInfo(); - ret.sType = VkStructureType.PipelineShaderStageCreateInfo; - return ret; - } - } - - public unsafe partial struct VkComputePipelineCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkPipelineCreateFlags flags; - public VkPipelineShaderStageCreateInfo stage; - public VkPipelineLayout layout; - public VkPipeline basePipelineHandle; - public int basePipelineIndex; - public static VkComputePipelineCreateInfo New() - { - VkComputePipelineCreateInfo ret = new VkComputePipelineCreateInfo(); - ret.sType = VkStructureType.ComputePipelineCreateInfo; - return ret; - } - } - - public unsafe partial struct VkVertexInputBindingDescription - { - public uint binding; - public uint stride; - public VkVertexInputRate inputRate; - } - - public unsafe partial struct VkVertexInputAttributeDescription - { - public uint location; - public uint binding; - public VkFormat format; - public uint offset; - } - - public unsafe partial struct VkPipelineVertexInputStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint vertexBindingDescriptionCount; - public VkVertexInputBindingDescription* pVertexBindingDescriptions; - public uint vertexAttributeDescriptionCount; - public VkVertexInputAttributeDescription* pVertexAttributeDescriptions; - public static VkPipelineVertexInputStateCreateInfo New() - { - VkPipelineVertexInputStateCreateInfo ret = new VkPipelineVertexInputStateCreateInfo(); - ret.sType = VkStructureType.PipelineVertexInputStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineInputAssemblyStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkPrimitiveTopology topology; - public VkBool32 primitiveRestartEnable; - public static VkPipelineInputAssemblyStateCreateInfo New() - { - VkPipelineInputAssemblyStateCreateInfo ret = new VkPipelineInputAssemblyStateCreateInfo(); - ret.sType = VkStructureType.PipelineInputAssemblyStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineTessellationStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint patchControlPoints; - public static VkPipelineTessellationStateCreateInfo New() - { - VkPipelineTessellationStateCreateInfo ret = new VkPipelineTessellationStateCreateInfo(); - ret.sType = VkStructureType.PipelineTessellationStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineViewportStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint viewportCount; - public VkViewport* pViewports; - public uint scissorCount; - public VkRect2D* pScissors; - public static VkPipelineViewportStateCreateInfo New() - { - VkPipelineViewportStateCreateInfo ret = new VkPipelineViewportStateCreateInfo(); - ret.sType = VkStructureType.PipelineViewportStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineRasterizationStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkBool32 depthClampEnable; - public VkBool32 rasterizerDiscardEnable; - public VkPolygonMode polygonMode; - public VkCullModeFlags cullMode; - public VkFrontFace frontFace; - public VkBool32 depthBiasEnable; - public float depthBiasConstantFactor; - public float depthBiasClamp; - public float depthBiasSlopeFactor; - public float lineWidth; - public static VkPipelineRasterizationStateCreateInfo New() - { - VkPipelineRasterizationStateCreateInfo ret = new VkPipelineRasterizationStateCreateInfo(); - ret.sType = VkStructureType.PipelineRasterizationStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineMultisampleStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkSampleCountFlags rasterizationSamples; - public VkBool32 sampleShadingEnable; - public float minSampleShading; - public uint* pSampleMask; - public VkBool32 alphaToCoverageEnable; - public VkBool32 alphaToOneEnable; - public static VkPipelineMultisampleStateCreateInfo New() - { - VkPipelineMultisampleStateCreateInfo ret = new VkPipelineMultisampleStateCreateInfo(); - ret.sType = VkStructureType.PipelineMultisampleStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineColorBlendAttachmentState - { - public VkBool32 blendEnable; - public VkBlendFactor srcColorBlendFactor; - public VkBlendFactor dstColorBlendFactor; - public VkBlendOp colorBlendOp; - public VkBlendFactor srcAlphaBlendFactor; - public VkBlendFactor dstAlphaBlendFactor; - public VkBlendOp alphaBlendOp; - public VkColorComponentFlags colorWriteMask; - } - - public unsafe partial struct VkPipelineColorBlendStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkBool32 logicOpEnable; - public VkLogicOp logicOp; - public uint attachmentCount; - public VkPipelineColorBlendAttachmentState* pAttachments; - public float blendConstants_0; - public float blendConstants_1; - public float blendConstants_2; - public float blendConstants_3; - public static VkPipelineColorBlendStateCreateInfo New() - { - VkPipelineColorBlendStateCreateInfo ret = new VkPipelineColorBlendStateCreateInfo(); - ret.sType = VkStructureType.PipelineColorBlendStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineDynamicStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint dynamicStateCount; - public VkDynamicState* pDynamicStates; - public static VkPipelineDynamicStateCreateInfo New() - { - VkPipelineDynamicStateCreateInfo ret = new VkPipelineDynamicStateCreateInfo(); - ret.sType = VkStructureType.PipelineDynamicStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkStencilOpState - { - public VkStencilOp failOp; - public VkStencilOp passOp; - public VkStencilOp depthFailOp; - public VkCompareOp compareOp; - public uint compareMask; - public uint writeMask; - public uint reference; - } - - public unsafe partial struct VkPipelineDepthStencilStateCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkBool32 depthTestEnable; - public VkBool32 depthWriteEnable; - public VkCompareOp depthCompareOp; - public VkBool32 depthBoundsTestEnable; - public VkBool32 stencilTestEnable; - public VkStencilOpState front; - public VkStencilOpState back; - public float minDepthBounds; - public float maxDepthBounds; - public static VkPipelineDepthStencilStateCreateInfo New() - { - VkPipelineDepthStencilStateCreateInfo ret = new VkPipelineDepthStencilStateCreateInfo(); - ret.sType = VkStructureType.PipelineDepthStencilStateCreateInfo; - return ret; - } - } - - public unsafe partial struct VkGraphicsPipelineCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkPipelineCreateFlags flags; - public uint stageCount; - public VkPipelineShaderStageCreateInfo* pStages; - public VkPipelineVertexInputStateCreateInfo* pVertexInputState; - public VkPipelineInputAssemblyStateCreateInfo* pInputAssemblyState; - public VkPipelineTessellationStateCreateInfo* pTessellationState; - public VkPipelineViewportStateCreateInfo* pViewportState; - public VkPipelineRasterizationStateCreateInfo* pRasterizationState; - public VkPipelineMultisampleStateCreateInfo* pMultisampleState; - public VkPipelineDepthStencilStateCreateInfo* pDepthStencilState; - public VkPipelineColorBlendStateCreateInfo* pColorBlendState; - public VkPipelineDynamicStateCreateInfo* pDynamicState; - public VkPipelineLayout layout; - public VkRenderPass renderPass; - public uint subpass; - public VkPipeline basePipelineHandle; - public int basePipelineIndex; - public static VkGraphicsPipelineCreateInfo New() - { - VkGraphicsPipelineCreateInfo ret = new VkGraphicsPipelineCreateInfo(); - ret.sType = VkStructureType.GraphicsPipelineCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPipelineCacheCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public UIntPtr initialDataSize; - public void* pInitialData; - public static VkPipelineCacheCreateInfo New() - { - VkPipelineCacheCreateInfo ret = new VkPipelineCacheCreateInfo(); - ret.sType = VkStructureType.PipelineCacheCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPushConstantRange - { - public VkShaderStageFlags stageFlags; - public uint offset; - public uint size; - } - - public unsafe partial struct VkPipelineLayoutCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint setLayoutCount; - public VkDescriptorSetLayout* pSetLayouts; - public uint pushConstantRangeCount; - public VkPushConstantRange* pPushConstantRanges; - public static VkPipelineLayoutCreateInfo New() - { - VkPipelineLayoutCreateInfo ret = new VkPipelineLayoutCreateInfo(); - ret.sType = VkStructureType.PipelineLayoutCreateInfo; - return ret; - } - } - - public unsafe partial struct VkSamplerCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkFilter magFilter; - public VkFilter minFilter; - public VkSamplerMipmapMode mipmapMode; - public VkSamplerAddressMode addressModeU; - public VkSamplerAddressMode addressModeV; - public VkSamplerAddressMode addressModeW; - public float mipLodBias; - public VkBool32 anisotropyEnable; - public float maxAnisotropy; - public VkBool32 compareEnable; - public VkCompareOp compareOp; - public float minLod; - public float maxLod; - public VkBorderColor borderColor; - public VkBool32 unnormalizedCoordinates; - public static VkSamplerCreateInfo New() - { - VkSamplerCreateInfo ret = new VkSamplerCreateInfo(); - ret.sType = VkStructureType.SamplerCreateInfo; - return ret; - } - } - - public unsafe partial struct VkCommandPoolCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkCommandPoolCreateFlags flags; - public uint queueFamilyIndex; - public static VkCommandPoolCreateInfo New() - { - VkCommandPoolCreateInfo ret = new VkCommandPoolCreateInfo(); - ret.sType = VkStructureType.CommandPoolCreateInfo; - return ret; - } - } - - public unsafe partial struct VkCommandBufferAllocateInfo - { - public VkStructureType sType; - public void* pNext; - public VkCommandPool commandPool; - public VkCommandBufferLevel level; - public uint commandBufferCount; - public static VkCommandBufferAllocateInfo New() - { - VkCommandBufferAllocateInfo ret = new VkCommandBufferAllocateInfo(); - ret.sType = VkStructureType.CommandBufferAllocateInfo; - return ret; - } - } - - public unsafe partial struct VkCommandBufferInheritanceInfo - { - public VkStructureType sType; - public void* pNext; - public VkRenderPass renderPass; - public uint subpass; - public VkFramebuffer framebuffer; - public VkBool32 occlusionQueryEnable; - public VkQueryControlFlags queryFlags; - public VkQueryPipelineStatisticFlags pipelineStatistics; - public static VkCommandBufferInheritanceInfo New() - { - VkCommandBufferInheritanceInfo ret = new VkCommandBufferInheritanceInfo(); - ret.sType = VkStructureType.CommandBufferInheritanceInfo; - return ret; - } - } - - public unsafe partial struct VkCommandBufferBeginInfo - { - public VkStructureType sType; - public void* pNext; - public VkCommandBufferUsageFlags flags; - public VkCommandBufferInheritanceInfo* pInheritanceInfo; - public static VkCommandBufferBeginInfo New() - { - VkCommandBufferBeginInfo ret = new VkCommandBufferBeginInfo(); - ret.sType = VkStructureType.CommandBufferBeginInfo; - return ret; - } - } - - public unsafe partial struct VkRenderPassBeginInfo - { - public VkStructureType sType; - public void* pNext; - public VkRenderPass renderPass; - public VkFramebuffer framebuffer; - public VkRect2D renderArea; - public uint clearValueCount; - public VkClearValue* pClearValues; - public static VkRenderPassBeginInfo New() - { - VkRenderPassBeginInfo ret = new VkRenderPassBeginInfo(); - ret.sType = VkStructureType.RenderPassBeginInfo; - return ret; - } - } - - public unsafe partial struct VkClearDepthStencilValue - { - public float depth; - public uint stencil; - } - - public unsafe partial struct VkClearAttachment - { - public VkImageAspectFlags aspectMask; - public uint colorAttachment; - public VkClearValue clearValue; - } - - public unsafe partial struct VkAttachmentDescription - { - public VkAttachmentDescriptionFlags flags; - public VkFormat format; - public VkSampleCountFlags samples; - public VkAttachmentLoadOp loadOp; - public VkAttachmentStoreOp storeOp; - public VkAttachmentLoadOp stencilLoadOp; - public VkAttachmentStoreOp stencilStoreOp; - public VkImageLayout initialLayout; - public VkImageLayout finalLayout; - } - - public unsafe partial struct VkAttachmentReference - { - public uint attachment; - public VkImageLayout layout; - } - - public unsafe partial struct VkSubpassDescription - { - public VkSubpassDescriptionFlags flags; - public VkPipelineBindPoint pipelineBindPoint; - public uint inputAttachmentCount; - public VkAttachmentReference* pInputAttachments; - public uint colorAttachmentCount; - public VkAttachmentReference* pColorAttachments; - public VkAttachmentReference* pResolveAttachments; - public VkAttachmentReference* pDepthStencilAttachment; - public uint preserveAttachmentCount; - public uint* pPreserveAttachments; - } - - public unsafe partial struct VkSubpassDependency - { - public uint srcSubpass; - public uint dstSubpass; - public VkPipelineStageFlags srcStageMask; - public VkPipelineStageFlags dstStageMask; - public VkAccessFlags srcAccessMask; - public VkAccessFlags dstAccessMask; - public VkDependencyFlags dependencyFlags; - } - - public unsafe partial struct VkRenderPassCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint attachmentCount; - public VkAttachmentDescription* pAttachments; - public uint subpassCount; - public VkSubpassDescription* pSubpasses; - public uint dependencyCount; - public VkSubpassDependency* pDependencies; - public static VkRenderPassCreateInfo New() - { - VkRenderPassCreateInfo ret = new VkRenderPassCreateInfo(); - ret.sType = VkStructureType.RenderPassCreateInfo; - return ret; - } - } - - public unsafe partial struct VkEventCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public static VkEventCreateInfo New() - { - VkEventCreateInfo ret = new VkEventCreateInfo(); - ret.sType = VkStructureType.EventCreateInfo; - return ret; - } - } - - public unsafe partial struct VkFenceCreateInfo - { - public VkStructureType sType; - public void* pNext; - public VkFenceCreateFlags flags; - public static VkFenceCreateInfo New() - { - VkFenceCreateInfo ret = new VkFenceCreateInfo(); - ret.sType = VkStructureType.FenceCreateInfo; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceFeatures - { - public VkBool32 robustBufferAccess; - public VkBool32 fullDrawIndexUint32; - public VkBool32 imageCubeArray; - public VkBool32 independentBlend; - public VkBool32 geometryShader; - public VkBool32 tessellationShader; - public VkBool32 sampleRateShading; - public VkBool32 dualSrcBlend; - public VkBool32 logicOp; - public VkBool32 multiDrawIndirect; - public VkBool32 drawIndirectFirstInstance; - public VkBool32 depthClamp; - public VkBool32 depthBiasClamp; - public VkBool32 fillModeNonSolid; - public VkBool32 depthBounds; - public VkBool32 wideLines; - public VkBool32 largePoints; - public VkBool32 alphaToOne; - public VkBool32 multiViewport; - public VkBool32 samplerAnisotropy; - public VkBool32 textureCompressionETC2; - public VkBool32 textureCompressionASTC_LDR; - public VkBool32 textureCompressionBC; - public VkBool32 occlusionQueryPrecise; - public VkBool32 pipelineStatisticsQuery; - public VkBool32 vertexPipelineStoresAndAtomics; - public VkBool32 fragmentStoresAndAtomics; - public VkBool32 shaderTessellationAndGeometryPointSize; - public VkBool32 shaderImageGatherExtended; - public VkBool32 shaderStorageImageExtendedFormats; - public VkBool32 shaderStorageImageMultisample; - public VkBool32 shaderStorageImageReadWithoutFormat; - public VkBool32 shaderStorageImageWriteWithoutFormat; - public VkBool32 shaderUniformBufferArrayDynamicIndexing; - public VkBool32 shaderSampledImageArrayDynamicIndexing; - public VkBool32 shaderStorageBufferArrayDynamicIndexing; - public VkBool32 shaderStorageImageArrayDynamicIndexing; - public VkBool32 shaderClipDistance; - public VkBool32 shaderCullDistance; - public VkBool32 shaderFloat64; - public VkBool32 shaderInt64; - public VkBool32 shaderInt16; - public VkBool32 shaderResourceResidency; - public VkBool32 shaderResourceMinLod; - public VkBool32 sparseBinding; - public VkBool32 sparseResidencyBuffer; - public VkBool32 sparseResidencyImage2D; - public VkBool32 sparseResidencyImage3D; - public VkBool32 sparseResidency2Samples; - public VkBool32 sparseResidency4Samples; - public VkBool32 sparseResidency8Samples; - public VkBool32 sparseResidency16Samples; - public VkBool32 sparseResidencyAliased; - public VkBool32 variableMultisampleRate; - public VkBool32 inheritedQueries; - } - - public unsafe partial struct VkPhysicalDeviceSparseProperties - { - public VkBool32 residencyStandard2DBlockShape; - public VkBool32 residencyStandard2DMultisampleBlockShape; - public VkBool32 residencyStandard3DBlockShape; - public VkBool32 residencyAlignedMipSize; - public VkBool32 residencyNonResidentStrict; - } - - public unsafe partial struct VkPhysicalDeviceLimits - { - public uint maxImageDimension1D; - public uint maxImageDimension2D; - public uint maxImageDimension3D; - public uint maxImageDimensionCube; - public uint maxImageArrayLayers; - public uint maxTexelBufferElements; - public uint maxUniformBufferRange; - public uint maxStorageBufferRange; - public uint maxPushConstantsSize; - public uint maxMemoryAllocationCount; - public uint maxSamplerAllocationCount; - public ulong bufferImageGranularity; - public ulong sparseAddressSpaceSize; - public uint maxBoundDescriptorSets; - public uint maxPerStageDescriptorSamplers; - public uint maxPerStageDescriptorUniformBuffers; - public uint maxPerStageDescriptorStorageBuffers; - public uint maxPerStageDescriptorSampledImages; - public uint maxPerStageDescriptorStorageImages; - public uint maxPerStageDescriptorInputAttachments; - public uint maxPerStageResources; - public uint maxDescriptorSetSamplers; - public uint maxDescriptorSetUniformBuffers; - public uint maxDescriptorSetUniformBuffersDynamic; - public uint maxDescriptorSetStorageBuffers; - public uint maxDescriptorSetStorageBuffersDynamic; - public uint maxDescriptorSetSampledImages; - public uint maxDescriptorSetStorageImages; - public uint maxDescriptorSetInputAttachments; - public uint maxVertexInputAttributes; - public uint maxVertexInputBindings; - public uint maxVertexInputAttributeOffset; - public uint maxVertexInputBindingStride; - public uint maxVertexOutputComponents; - public uint maxTessellationGenerationLevel; - public uint maxTessellationPatchSize; - public uint maxTessellationControlPerVertexInputComponents; - public uint maxTessellationControlPerVertexOutputComponents; - public uint maxTessellationControlPerPatchOutputComponents; - public uint maxTessellationControlTotalOutputComponents; - public uint maxTessellationEvaluationInputComponents; - public uint maxTessellationEvaluationOutputComponents; - public uint maxGeometryShaderInvocations; - public uint maxGeometryInputComponents; - public uint maxGeometryOutputComponents; - public uint maxGeometryOutputVertices; - public uint maxGeometryTotalOutputComponents; - public uint maxFragmentInputComponents; - public uint maxFragmentOutputAttachments; - public uint maxFragmentDualSrcAttachments; - public uint maxFragmentCombinedOutputResources; - public uint maxComputeSharedMemorySize; - public uint maxComputeWorkGroupCount_0; - public uint maxComputeWorkGroupCount_1; - public uint maxComputeWorkGroupCount_2; - public uint maxComputeWorkGroupInvocations; - public uint maxComputeWorkGroupSize_0; - public uint maxComputeWorkGroupSize_1; - public uint maxComputeWorkGroupSize_2; - public uint subPixelPrecisionBits; - public uint subTexelPrecisionBits; - public uint mipmapPrecisionBits; - public uint maxDrawIndexedIndexValue; - public uint maxDrawIndirectCount; - public float maxSamplerLodBias; - public float maxSamplerAnisotropy; - public uint maxViewports; - public uint maxViewportDimensions_0; - public uint maxViewportDimensions_1; - public float viewportBoundsRange_0; - public float viewportBoundsRange_1; - public uint viewportSubPixelBits; - public UIntPtr minMemoryMapAlignment; - public ulong minTexelBufferOffsetAlignment; - public ulong minUniformBufferOffsetAlignment; - public ulong minStorageBufferOffsetAlignment; - public int minTexelOffset; - public uint maxTexelOffset; - public int minTexelGatherOffset; - public uint maxTexelGatherOffset; - public float minInterpolationOffset; - public float maxInterpolationOffset; - public uint subPixelInterpolationOffsetBits; - public uint maxFramebufferWidth; - public uint maxFramebufferHeight; - public uint maxFramebufferLayers; - public VkSampleCountFlags framebufferColorSampleCounts; - public VkSampleCountFlags framebufferDepthSampleCounts; - public VkSampleCountFlags framebufferStencilSampleCounts; - public VkSampleCountFlags framebufferNoAttachmentsSampleCounts; - public uint maxColorAttachments; - public VkSampleCountFlags sampledImageColorSampleCounts; - public VkSampleCountFlags sampledImageIntegerSampleCounts; - public VkSampleCountFlags sampledImageDepthSampleCounts; - public VkSampleCountFlags sampledImageStencilSampleCounts; - public VkSampleCountFlags storageImageSampleCounts; - public uint maxSampleMaskWords; - public VkBool32 timestampComputeAndGraphics; - public float timestampPeriod; - public uint maxClipDistances; - public uint maxCullDistances; - public uint maxCombinedClipAndCullDistances; - public uint discreteQueuePriorities; - public float pointSizeRange_0; - public float pointSizeRange_1; - public float lineWidthRange_0; - public float lineWidthRange_1; - public float pointSizeGranularity; - public float lineWidthGranularity; - public VkBool32 strictLines; - public VkBool32 standardSampleLocations; - public ulong optimalBufferCopyOffsetAlignment; - public ulong optimalBufferCopyRowPitchAlignment; - public ulong nonCoherentAtomSize; - } - - public unsafe partial struct VkSemaphoreCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public static VkSemaphoreCreateInfo New() - { - VkSemaphoreCreateInfo ret = new VkSemaphoreCreateInfo(); - ret.sType = VkStructureType.SemaphoreCreateInfo; - return ret; - } - } - - public unsafe partial struct VkQueryPoolCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkQueryType queryType; - public uint queryCount; - public VkQueryPipelineStatisticFlags pipelineStatistics; - public static VkQueryPoolCreateInfo New() - { - VkQueryPoolCreateInfo ret = new VkQueryPoolCreateInfo(); - ret.sType = VkStructureType.QueryPoolCreateInfo; - return ret; - } - } - - public unsafe partial struct VkFramebufferCreateInfo - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkRenderPass renderPass; - public uint attachmentCount; - public VkImageView* pAttachments; - public uint width; - public uint height; - public uint layers; - public static VkFramebufferCreateInfo New() - { - VkFramebufferCreateInfo ret = new VkFramebufferCreateInfo(); - ret.sType = VkStructureType.FramebufferCreateInfo; - return ret; - } - } - - public unsafe partial struct VkDrawIndirectCommand - { - public uint vertexCount; - public uint instanceCount; - public uint firstVertex; - public uint firstInstance; - } - - public unsafe partial struct VkDrawIndexedIndirectCommand - { - public uint indexCount; - public uint instanceCount; - public uint firstIndex; - public int vertexOffset; - public uint firstInstance; - } - - public unsafe partial struct VkDispatchIndirectCommand - { - public uint x; - public uint y; - public uint z; - } - - public unsafe partial struct VkSubmitInfo - { - public VkStructureType sType; - public void* pNext; - public uint waitSemaphoreCount; - public VkSemaphore* pWaitSemaphores; - public VkPipelineStageFlags* pWaitDstStageMask; - public uint commandBufferCount; - public VkCommandBuffer* pCommandBuffers; - public uint signalSemaphoreCount; - public VkSemaphore* pSignalSemaphores; - public static VkSubmitInfo New() - { - VkSubmitInfo ret = new VkSubmitInfo(); - ret.sType = VkStructureType.SubmitInfo; - return ret; - } - } - - public unsafe partial struct VkDisplayPropertiesKHR - { - public VkDisplayKHR display; - public byte* displayName; - public VkExtent2D physicalDimensions; - public VkExtent2D physicalResolution; - public VkSurfaceTransformFlagsKHR supportedTransforms; - public VkBool32 planeReorderPossible; - public VkBool32 persistentContent; - } - - public unsafe partial struct VkDisplayPlanePropertiesKHR - { - public VkDisplayKHR currentDisplay; - public uint currentStackIndex; - } - - public unsafe partial struct VkDisplayModeParametersKHR - { - public VkExtent2D visibleRegion; - public uint refreshRate; - } - - public unsafe partial struct VkDisplayModePropertiesKHR - { - public VkDisplayModeKHR displayMode; - public VkDisplayModeParametersKHR parameters; - } - - public unsafe partial struct VkDisplayModeCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkDisplayModeParametersKHR parameters; - public static VkDisplayModeCreateInfoKHR New() - { - VkDisplayModeCreateInfoKHR ret = new VkDisplayModeCreateInfoKHR(); - ret.sType = VkStructureType.DisplayModeCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkDisplayPlaneCapabilitiesKHR - { - public VkDisplayPlaneAlphaFlagsKHR supportedAlpha; - public VkOffset2D minSrcPosition; - public VkOffset2D maxSrcPosition; - public VkExtent2D minSrcExtent; - public VkExtent2D maxSrcExtent; - public VkOffset2D minDstPosition; - public VkOffset2D maxDstPosition; - public VkExtent2D minDstExtent; - public VkExtent2D maxDstExtent; - } - - public unsafe partial struct VkDisplaySurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkDisplayModeKHR displayMode; - public uint planeIndex; - public uint planeStackIndex; - public VkSurfaceTransformFlagsKHR transform; - public float globalAlpha; - public VkDisplayPlaneAlphaFlagsKHR alphaMode; - public VkExtent2D imageExtent; - public static VkDisplaySurfaceCreateInfoKHR New() - { - VkDisplaySurfaceCreateInfoKHR ret = new VkDisplaySurfaceCreateInfoKHR(); - ret.sType = VkStructureType.DisplaySurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkDisplayPresentInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkRect2D srcRect; - public VkRect2D dstRect; - public VkBool32 persistent; - public static VkDisplayPresentInfoKHR New() - { - VkDisplayPresentInfoKHR ret = new VkDisplayPresentInfoKHR(); - ret.sType = VkStructureType.DisplayPresentInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSurfaceCapabilitiesKHR - { - public uint minImageCount; - public uint maxImageCount; - public VkExtent2D currentExtent; - public VkExtent2D minImageExtent; - public VkExtent2D maxImageExtent; - public uint maxImageArrayLayers; - public VkSurfaceTransformFlagsKHR supportedTransforms; - public VkSurfaceTransformFlagsKHR currentTransform; - public VkCompositeAlphaFlagsKHR supportedCompositeAlpha; - public VkImageUsageFlags supportedUsageFlags; - } - - public unsafe partial struct VkAndroidSurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Android.ANativeWindow* window; - public static VkAndroidSurfaceCreateInfoKHR New() - { - VkAndroidSurfaceCreateInfoKHR ret = new VkAndroidSurfaceCreateInfoKHR(); - ret.sType = VkStructureType.AndroidSurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkMirSurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Mir.MirConnection* connection; - public Mir.MirSurface* mirSurface; - public static VkMirSurfaceCreateInfoKHR New() - { - VkMirSurfaceCreateInfoKHR ret = new VkMirSurfaceCreateInfoKHR(); - ret.sType = VkStructureType.MirSurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkViSurfaceCreateInfoNN - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public void* window; - public static VkViSurfaceCreateInfoNN New() - { - VkViSurfaceCreateInfoNN ret = new VkViSurfaceCreateInfoNN(); - ret.sType = VkStructureType.ViSurfaceCreateInfoNn; - return ret; - } - } - - public unsafe partial struct VkWaylandSurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Wayland.wl_display* display; - public Wayland.wl_surface* surface; - public static VkWaylandSurfaceCreateInfoKHR New() - { - VkWaylandSurfaceCreateInfoKHR ret = new VkWaylandSurfaceCreateInfoKHR(); - ret.sType = VkStructureType.WaylandSurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkWin32SurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Win32.HINSTANCE hinstance; - public Win32.HWND hwnd; - public static VkWin32SurfaceCreateInfoKHR New() - { - VkWin32SurfaceCreateInfoKHR ret = new VkWin32SurfaceCreateInfoKHR(); - ret.sType = VkStructureType.Win32SurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkXlibSurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Xlib.Display* dpy; - public Xlib.Window window; - public static VkXlibSurfaceCreateInfoKHR New() - { - VkXlibSurfaceCreateInfoKHR ret = new VkXlibSurfaceCreateInfoKHR(); - ret.sType = VkStructureType.XlibSurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkXcbSurfaceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public Xcb.xcb_connection_t* connection; - public Xcb.xcb_window_t window; - public static VkXcbSurfaceCreateInfoKHR New() - { - VkXcbSurfaceCreateInfoKHR ret = new VkXcbSurfaceCreateInfoKHR(); - ret.sType = VkStructureType.XcbSurfaceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSurfaceFormatKHR - { - public VkFormat format; - public VkColorSpaceKHR colorSpace; - } - - public unsafe partial struct VkSwapchainCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSwapchainCreateFlagsKHR flags; - public VkSurfaceKHR surface; - public uint minImageCount; - public VkFormat imageFormat; - public VkColorSpaceKHR imageColorSpace; - public VkExtent2D imageExtent; - public uint imageArrayLayers; - public VkImageUsageFlags imageUsage; - public VkSharingMode imageSharingMode; - public uint queueFamilyIndexCount; - public uint* pQueueFamilyIndices; - public VkSurfaceTransformFlagsKHR preTransform; - public VkCompositeAlphaFlagsKHR compositeAlpha; - public VkPresentModeKHR presentMode; - public VkBool32 clipped; - public VkSwapchainKHR oldSwapchain; - public static VkSwapchainCreateInfoKHR New() - { - VkSwapchainCreateInfoKHR ret = new VkSwapchainCreateInfoKHR(); - ret.sType = VkStructureType.SwapchainCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPresentInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint waitSemaphoreCount; - public VkSemaphore* pWaitSemaphores; - public uint swapchainCount; - public VkSwapchainKHR* pSwapchains; - public uint* pImageIndices; - public VkResult* pResults; - public static VkPresentInfoKHR New() - { - VkPresentInfoKHR ret = new VkPresentInfoKHR(); - ret.sType = VkStructureType.PresentInfoKHR; - return ret; - } - } - - public unsafe partial struct VkDebugReportCallbackCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDebugReportFlagsEXT flags; - public IntPtr pfnCallback; - public void* pUserData; - public static VkDebugReportCallbackCreateInfoEXT New() - { - VkDebugReportCallbackCreateInfoEXT ret = new VkDebugReportCallbackCreateInfoEXT(); - ret.sType = VkStructureType.DebugReportCallbackCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkValidationFlagsEXT - { - public VkStructureType sType; - public void* pNext; - public uint disabledValidationCheckCount; - public VkValidationCheckEXT* pDisabledValidationChecks; - public static VkValidationFlagsEXT New() - { - VkValidationFlagsEXT ret = new VkValidationFlagsEXT(); - ret.sType = VkStructureType.ValidationEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineRasterizationStateRasterizationOrderAMD - { - public VkStructureType sType; - public void* pNext; - public VkRasterizationOrderAMD rasterizationOrder; - public static VkPipelineRasterizationStateRasterizationOrderAMD New() - { - VkPipelineRasterizationStateRasterizationOrderAMD ret = new VkPipelineRasterizationStateRasterizationOrderAMD(); - ret.sType = VkStructureType.PipelineRasterizationStateRasterizationOrderAMD; - return ret; - } - } - - public unsafe partial struct VkDebugMarkerObjectNameInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDebugReportObjectTypeEXT objectType; - public ulong @object; - public byte* pObjectName; - public static VkDebugMarkerObjectNameInfoEXT New() - { - VkDebugMarkerObjectNameInfoEXT ret = new VkDebugMarkerObjectNameInfoEXT(); - ret.sType = VkStructureType.DebugMarkerObjectNameInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDebugMarkerObjectTagInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDebugReportObjectTypeEXT objectType; - public ulong @object; - public ulong tagName; - public UIntPtr tagSize; - public void* pTag; - public static VkDebugMarkerObjectTagInfoEXT New() - { - VkDebugMarkerObjectTagInfoEXT ret = new VkDebugMarkerObjectTagInfoEXT(); - ret.sType = VkStructureType.DebugMarkerObjectTagInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDebugMarkerMarkerInfoEXT - { - public VkStructureType sType; - public void* pNext; - public byte* pMarkerName; - public float color_0; - public float color_1; - public float color_2; - public float color_3; - public static VkDebugMarkerMarkerInfoEXT New() - { - VkDebugMarkerMarkerInfoEXT ret = new VkDebugMarkerMarkerInfoEXT(); - ret.sType = VkStructureType.DebugMarkerMarkerInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDedicatedAllocationImageCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkBool32 dedicatedAllocation; - public static VkDedicatedAllocationImageCreateInfoNV New() - { - VkDedicatedAllocationImageCreateInfoNV ret = new VkDedicatedAllocationImageCreateInfoNV(); - ret.sType = VkStructureType.DedicatedAllocationImageCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkDedicatedAllocationBufferCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkBool32 dedicatedAllocation; - public static VkDedicatedAllocationBufferCreateInfoNV New() - { - VkDedicatedAllocationBufferCreateInfoNV ret = new VkDedicatedAllocationBufferCreateInfoNV(); - ret.sType = VkStructureType.DedicatedAllocationBufferCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkDedicatedAllocationMemoryAllocateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkImage image; - public VkBuffer buffer; - public static VkDedicatedAllocationMemoryAllocateInfoNV New() - { - VkDedicatedAllocationMemoryAllocateInfoNV ret = new VkDedicatedAllocationMemoryAllocateInfoNV(); - ret.sType = VkStructureType.DedicatedAllocationMemoryAllocateInfoNV; - return ret; - } - } - - public unsafe partial struct VkExternalImageFormatPropertiesNV - { - public VkImageFormatProperties imageFormatProperties; - public VkExternalMemoryFeatureFlagsNV externalMemoryFeatures; - public VkExternalMemoryHandleTypeFlagsNV exportFromImportedHandleTypes; - public VkExternalMemoryHandleTypeFlagsNV compatibleHandleTypes; - } - - public unsafe partial struct VkExternalMemoryImageCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsNV handleTypes; - public static VkExternalMemoryImageCreateInfoNV New() - { - VkExternalMemoryImageCreateInfoNV ret = new VkExternalMemoryImageCreateInfoNV(); - ret.sType = VkStructureType.ExternalMemoryImageCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkExportMemoryAllocateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsNV handleTypes; - public static VkExportMemoryAllocateInfoNV New() - { - VkExportMemoryAllocateInfoNV ret = new VkExportMemoryAllocateInfoNV(); - ret.sType = VkStructureType.ExportMemoryAllocateInfoNV; - return ret; - } - } - - public unsafe partial struct VkImportMemoryWin32HandleInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsNV handleType; - public Win32.HANDLE handle; - public static VkImportMemoryWin32HandleInfoNV New() - { - VkImportMemoryWin32HandleInfoNV ret = new VkImportMemoryWin32HandleInfoNV(); - ret.sType = VkStructureType.ImportMemoryWin32HandleInfoNV; - return ret; - } - } - - public unsafe partial struct VkExportMemoryWin32HandleInfoNV - { - public VkStructureType sType; - public void* pNext; - public Win32.SECURITY_ATTRIBUTES* pAttributes; - public uint dwAccess; - public static VkExportMemoryWin32HandleInfoNV New() - { - VkExportMemoryWin32HandleInfoNV ret = new VkExportMemoryWin32HandleInfoNV(); - ret.sType = VkStructureType.ExportMemoryWin32HandleInfoNV; - return ret; - } - } - - public unsafe partial struct VkWin32KeyedMutexAcquireReleaseInfoNV - { - public VkStructureType sType; - public void* pNext; - public uint acquireCount; - public VkDeviceMemory* pAcquireSyncs; - public ulong* pAcquireKeys; - public uint* pAcquireTimeoutMilliseconds; - public uint releaseCount; - public VkDeviceMemory* pReleaseSyncs; - public ulong* pReleaseKeys; - public static VkWin32KeyedMutexAcquireReleaseInfoNV New() - { - VkWin32KeyedMutexAcquireReleaseInfoNV ret = new VkWin32KeyedMutexAcquireReleaseInfoNV(); - ret.sType = VkStructureType.Win32KeyedMutexAcquireReleaseInfoNV; - return ret; - } - } - - public unsafe partial struct VkDeviceGeneratedCommandsFeaturesNVX - { - public VkStructureType sType; - public void* pNext; - public VkBool32 computeBindingPointSupport; - public static VkDeviceGeneratedCommandsFeaturesNVX New() - { - VkDeviceGeneratedCommandsFeaturesNVX ret = new VkDeviceGeneratedCommandsFeaturesNVX(); - ret.sType = VkStructureType.DeviceGeneratedCommandsFeaturesNVX; - return ret; - } - } - - public unsafe partial struct VkDeviceGeneratedCommandsLimitsNVX - { - public VkStructureType sType; - public void* pNext; - public uint maxIndirectCommandsLayoutTokenCount; - public uint maxObjectEntryCounts; - public uint minSequenceCountBufferOffsetAlignment; - public uint minSequenceIndexBufferOffsetAlignment; - public uint minCommandsTokenBufferOffsetAlignment; - public static VkDeviceGeneratedCommandsLimitsNVX New() - { - VkDeviceGeneratedCommandsLimitsNVX ret = new VkDeviceGeneratedCommandsLimitsNVX(); - ret.sType = VkStructureType.DeviceGeneratedCommandsLimitsNVX; - return ret; - } - } - - public unsafe partial struct VkIndirectCommandsTokenNVX - { - public VkIndirectCommandsTokenTypeNVX tokenType; - public VkBuffer buffer; - public ulong offset; - } - - public unsafe partial struct VkIndirectCommandsLayoutTokenNVX - { - public VkIndirectCommandsTokenTypeNVX tokenType; - public uint bindingUnit; - public uint dynamicCount; - public uint divisor; - } - - public unsafe partial struct VkIndirectCommandsLayoutCreateInfoNVX - { - public VkStructureType sType; - public void* pNext; - public VkPipelineBindPoint pipelineBindPoint; - public VkIndirectCommandsLayoutUsageFlagsNVX flags; - public uint tokenCount; - public VkIndirectCommandsLayoutTokenNVX* pTokens; - public static VkIndirectCommandsLayoutCreateInfoNVX New() - { - VkIndirectCommandsLayoutCreateInfoNVX ret = new VkIndirectCommandsLayoutCreateInfoNVX(); - ret.sType = VkStructureType.IndirectCommandsLayoutCreateInfoNVX; - return ret; - } - } - - public unsafe partial struct VkCmdProcessCommandsInfoNVX - { - public VkStructureType sType; - public void* pNext; - public VkObjectTableNVX objectTable; - public VkIndirectCommandsLayoutNVX indirectCommandsLayout; - public uint indirectCommandsTokenCount; - public VkIndirectCommandsTokenNVX* pIndirectCommandsTokens; - public uint maxSequencesCount; - public VkCommandBuffer targetCommandBuffer; - public VkBuffer sequencesCountBuffer; - public ulong sequencesCountOffset; - public VkBuffer sequencesIndexBuffer; - public ulong sequencesIndexOffset; - public static VkCmdProcessCommandsInfoNVX New() - { - VkCmdProcessCommandsInfoNVX ret = new VkCmdProcessCommandsInfoNVX(); - ret.sType = VkStructureType.CmdProcessCommandsInfoNVX; - return ret; - } - } - - public unsafe partial struct VkCmdReserveSpaceForCommandsInfoNVX - { - public VkStructureType sType; - public void* pNext; - public VkObjectTableNVX objectTable; - public VkIndirectCommandsLayoutNVX indirectCommandsLayout; - public uint maxSequencesCount; - public static VkCmdReserveSpaceForCommandsInfoNVX New() - { - VkCmdReserveSpaceForCommandsInfoNVX ret = new VkCmdReserveSpaceForCommandsInfoNVX(); - ret.sType = VkStructureType.CmdReserveSpaceForCommandsInfoNVX; - return ret; - } - } - - public unsafe partial struct VkObjectTableCreateInfoNVX - { - public VkStructureType sType; - public void* pNext; - public uint objectCount; - public VkObjectEntryTypeNVX* pObjectEntryTypes; - public uint* pObjectEntryCounts; - public VkObjectEntryUsageFlagsNVX* pObjectEntryUsageFlags; - public uint maxUniformBuffersPerDescriptor; - public uint maxStorageBuffersPerDescriptor; - public uint maxStorageImagesPerDescriptor; - public uint maxSampledImagesPerDescriptor; - public uint maxPipelineLayouts; - public static VkObjectTableCreateInfoNVX New() - { - VkObjectTableCreateInfoNVX ret = new VkObjectTableCreateInfoNVX(); - ret.sType = VkStructureType.ObjectTableCreateInfoNVX; - return ret; - } - } - - public unsafe partial struct VkObjectTableEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - } - - public unsafe partial struct VkObjectTablePipelineEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - public VkPipeline pipeline; - } - - public unsafe partial struct VkObjectTableDescriptorSetEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - public VkPipelineLayout pipelineLayout; - public VkDescriptorSet descriptorSet; - } - - public unsafe partial struct VkObjectTableVertexBufferEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - public VkBuffer buffer; - } - - public unsafe partial struct VkObjectTableIndexBufferEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - public VkBuffer buffer; - public VkIndexType indexType; - } - - public unsafe partial struct VkObjectTablePushConstantEntryNVX - { - public VkObjectEntryTypeNVX type; - public VkObjectEntryUsageFlagsNVX flags; - public VkPipelineLayout pipelineLayout; - public VkShaderStageFlags stageFlags; - } - - public unsafe partial struct VkPhysicalDeviceFeatures2KHR - { - public VkStructureType sType; - public void* pNext; - public VkPhysicalDeviceFeatures features; - public static VkPhysicalDeviceFeatures2KHR New() - { - VkPhysicalDeviceFeatures2KHR ret = new VkPhysicalDeviceFeatures2KHR(); - ret.sType = VkStructureType.PhysicalDeviceFeatures2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkPhysicalDeviceProperties properties; - public static VkPhysicalDeviceProperties2KHR New() - { - VkPhysicalDeviceProperties2KHR ret = new VkPhysicalDeviceProperties2KHR(); - ret.sType = VkStructureType.PhysicalDeviceProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkFormatProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkFormatProperties formatProperties; - public static VkFormatProperties2KHR New() - { - VkFormatProperties2KHR ret = new VkFormatProperties2KHR(); - ret.sType = VkStructureType.FormatProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkImageFormatProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkImageFormatProperties imageFormatProperties; - public static VkImageFormatProperties2KHR New() - { - VkImageFormatProperties2KHR ret = new VkImageFormatProperties2KHR(); - ret.sType = VkStructureType.ImageFormatProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceImageFormatInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkFormat format; - public VkImageType type; - public VkImageTiling tiling; - public VkImageUsageFlags usage; - public VkImageCreateFlags flags; - public static VkPhysicalDeviceImageFormatInfo2KHR New() - { - VkPhysicalDeviceImageFormatInfo2KHR ret = new VkPhysicalDeviceImageFormatInfo2KHR(); - ret.sType = VkStructureType.PhysicalDeviceImageFormatInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkQueueFamilyProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkQueueFamilyProperties queueFamilyProperties; - public static VkQueueFamilyProperties2KHR New() - { - VkQueueFamilyProperties2KHR ret = new VkQueueFamilyProperties2KHR(); - ret.sType = VkStructureType.QueueFamilyProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceMemoryProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkPhysicalDeviceMemoryProperties memoryProperties; - public static VkPhysicalDeviceMemoryProperties2KHR New() - { - VkPhysicalDeviceMemoryProperties2KHR ret = new VkPhysicalDeviceMemoryProperties2KHR(); - ret.sType = VkStructureType.PhysicalDeviceMemoryProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkSparseImageFormatProperties2KHR - { - public VkStructureType sType; - public void* pNext; - public VkSparseImageFormatProperties properties; - public static VkSparseImageFormatProperties2KHR New() - { - VkSparseImageFormatProperties2KHR ret = new VkSparseImageFormatProperties2KHR(); - ret.sType = VkStructureType.SparseImageFormatProperties2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceSparseImageFormatInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkFormat format; - public VkImageType type; - public VkSampleCountFlags samples; - public VkImageUsageFlags usage; - public VkImageTiling tiling; - public static VkPhysicalDeviceSparseImageFormatInfo2KHR New() - { - VkPhysicalDeviceSparseImageFormatInfo2KHR ret = new VkPhysicalDeviceSparseImageFormatInfo2KHR(); - ret.sType = VkStructureType.PhysicalDeviceSparseImageFormatInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDevicePushDescriptorPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public uint maxPushDescriptors; - public static VkPhysicalDevicePushDescriptorPropertiesKHR New() - { - VkPhysicalDevicePushDescriptorPropertiesKHR ret = new VkPhysicalDevicePushDescriptorPropertiesKHR(); - ret.sType = VkStructureType.PhysicalDevicePushDescriptorPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkPresentRegionsKHR - { - public VkStructureType sType; - public void* pNext; - public uint swapchainCount; - public VkPresentRegionKHR* pRegions; - public static VkPresentRegionsKHR New() - { - VkPresentRegionsKHR ret = new VkPresentRegionsKHR(); - ret.sType = VkStructureType.PresentRegionsKHR; - return ret; - } - } - - public unsafe partial struct VkPresentRegionKHR - { - public uint rectangleCount; - public VkRectLayerKHR* pRectangles; - } - - public unsafe partial struct VkRectLayerKHR - { - public VkOffset2D offset; - public VkExtent2D extent; - public uint layer; - } - - public unsafe partial struct VkPhysicalDeviceVariablePointerFeaturesKHR - { - public VkStructureType sType; - public void* pNext; - public VkBool32 variablePointersStorageBuffer; - public VkBool32 variablePointers; - public static VkPhysicalDeviceVariablePointerFeaturesKHR New() - { - VkPhysicalDeviceVariablePointerFeaturesKHR ret = new VkPhysicalDeviceVariablePointerFeaturesKHR(); - ret.sType = VkStructureType.PhysicalDeviceVariablePointerFeaturesKHR; - return ret; - } - } - - public unsafe partial struct VkExternalMemoryPropertiesKHR - { - public VkExternalMemoryFeatureFlagsKHR externalMemoryFeatures; - public VkExternalMemoryHandleTypeFlagsKHR exportFromImportedHandleTypes; - public VkExternalMemoryHandleTypeFlagsKHR compatibleHandleTypes; - } - - public unsafe partial struct VkPhysicalDeviceExternalImageFormatInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public static VkPhysicalDeviceExternalImageFormatInfoKHR New() - { - VkPhysicalDeviceExternalImageFormatInfoKHR ret = new VkPhysicalDeviceExternalImageFormatInfoKHR(); - ret.sType = VkStructureType.PhysicalDeviceExternalImageFormatInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExternalImageFormatPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryPropertiesKHR externalMemoryProperties; - public static VkExternalImageFormatPropertiesKHR New() - { - VkExternalImageFormatPropertiesKHR ret = new VkExternalImageFormatPropertiesKHR(); - ret.sType = VkStructureType.ExternalImageFormatPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceExternalBufferInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkBufferCreateFlags flags; - public VkBufferUsageFlags usage; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public static VkPhysicalDeviceExternalBufferInfoKHR New() - { - VkPhysicalDeviceExternalBufferInfoKHR ret = new VkPhysicalDeviceExternalBufferInfoKHR(); - ret.sType = VkStructureType.PhysicalDeviceExternalBufferInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExternalBufferPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryPropertiesKHR externalMemoryProperties; - public static VkExternalBufferPropertiesKHR New() - { - VkExternalBufferPropertiesKHR ret = new VkExternalBufferPropertiesKHR(); - ret.sType = VkStructureType.ExternalBufferPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceIDPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public fixed byte deviceUUID[(int)VulkanNative.UuidSize]; - public fixed byte driverUUID[(int)VulkanNative.UuidSize]; - public fixed byte deviceLUID[(int)VulkanNative.LuidSizeKHR]; - public uint deviceNodeMask; - public VkBool32 deviceLUIDValid; - public static VkPhysicalDeviceIDPropertiesKHR New() - { - VkPhysicalDeviceIDPropertiesKHR ret = new VkPhysicalDeviceIDPropertiesKHR(); - ret.sType = VkStructureType.PhysicalDeviceIdPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkExternalMemoryImageCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleTypes; - public static VkExternalMemoryImageCreateInfoKHR New() - { - VkExternalMemoryImageCreateInfoKHR ret = new VkExternalMemoryImageCreateInfoKHR(); - ret.sType = VkStructureType.ExternalMemoryImageCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExternalMemoryBufferCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleTypes; - public static VkExternalMemoryBufferCreateInfoKHR New() - { - VkExternalMemoryBufferCreateInfoKHR ret = new VkExternalMemoryBufferCreateInfoKHR(); - ret.sType = VkStructureType.ExternalMemoryBufferCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExportMemoryAllocateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleTypes; - public static VkExportMemoryAllocateInfoKHR New() - { - VkExportMemoryAllocateInfoKHR ret = new VkExportMemoryAllocateInfoKHR(); - ret.sType = VkStructureType.ExportMemoryAllocateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportMemoryWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public Win32.HANDLE handle; - public IntPtr name; - public static VkImportMemoryWin32HandleInfoKHR New() - { - VkImportMemoryWin32HandleInfoKHR ret = new VkImportMemoryWin32HandleInfoKHR(); - ret.sType = VkStructureType.ImportMemoryWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExportMemoryWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public Win32.SECURITY_ATTRIBUTES* pAttributes; - public uint dwAccess; - public IntPtr name; - public static VkExportMemoryWin32HandleInfoKHR New() - { - VkExportMemoryWin32HandleInfoKHR ret = new VkExportMemoryWin32HandleInfoKHR(); - ret.sType = VkStructureType.ExportMemoryWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryWin32HandlePropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public uint memoryTypeBits; - public static VkMemoryWin32HandlePropertiesKHR New() - { - VkMemoryWin32HandlePropertiesKHR ret = new VkMemoryWin32HandlePropertiesKHR(); - ret.sType = VkStructureType.MemoryWin32HandlePropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryGetWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkDeviceMemory memory; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public static VkMemoryGetWin32HandleInfoKHR New() - { - VkMemoryGetWin32HandleInfoKHR ret = new VkMemoryGetWin32HandleInfoKHR(); - ret.sType = VkStructureType.MemoryGetWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportMemoryFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public int fd; - public static VkImportMemoryFdInfoKHR New() - { - VkImportMemoryFdInfoKHR ret = new VkImportMemoryFdInfoKHR(); - ret.sType = VkStructureType.ImportMemoryFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryFdPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public uint memoryTypeBits; - public static VkMemoryFdPropertiesKHR New() - { - VkMemoryFdPropertiesKHR ret = new VkMemoryFdPropertiesKHR(); - ret.sType = VkStructureType.MemoryFdPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryGetFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkDeviceMemory memory; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public static VkMemoryGetFdInfoKHR New() - { - VkMemoryGetFdInfoKHR ret = new VkMemoryGetFdInfoKHR(); - ret.sType = VkStructureType.MemoryGetFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkWin32KeyedMutexAcquireReleaseInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint acquireCount; - public VkDeviceMemory* pAcquireSyncs; - public ulong* pAcquireKeys; - public uint* pAcquireTimeouts; - public uint releaseCount; - public VkDeviceMemory* pReleaseSyncs; - public ulong* pReleaseKeys; - public static VkWin32KeyedMutexAcquireReleaseInfoKHR New() - { - VkWin32KeyedMutexAcquireReleaseInfoKHR ret = new VkWin32KeyedMutexAcquireReleaseInfoKHR(); - ret.sType = VkStructureType.Win32KeyedMutexAcquireReleaseInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceExternalSemaphoreInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalSemaphoreHandleTypeFlagsKHR handleType; - public static VkPhysicalDeviceExternalSemaphoreInfoKHR New() - { - VkPhysicalDeviceExternalSemaphoreInfoKHR ret = new VkPhysicalDeviceExternalSemaphoreInfoKHR(); - ret.sType = VkStructureType.PhysicalDeviceExternalSemaphoreInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExternalSemaphorePropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalSemaphoreHandleTypeFlagsKHR exportFromImportedHandleTypes; - public VkExternalSemaphoreHandleTypeFlagsKHR compatibleHandleTypes; - public VkExternalSemaphoreFeatureFlagsKHR externalSemaphoreFeatures; - public static VkExternalSemaphorePropertiesKHR New() - { - VkExternalSemaphorePropertiesKHR ret = new VkExternalSemaphorePropertiesKHR(); - ret.sType = VkStructureType.ExternalSemaphorePropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkExportSemaphoreCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalSemaphoreHandleTypeFlagsKHR handleTypes; - public static VkExportSemaphoreCreateInfoKHR New() - { - VkExportSemaphoreCreateInfoKHR ret = new VkExportSemaphoreCreateInfoKHR(); - ret.sType = VkStructureType.ExportSemaphoreCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportSemaphoreWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSemaphore semaphore; - public VkSemaphoreImportFlagsKHR flags; - public VkExternalSemaphoreHandleTypeFlagsKHR handleType; - public Win32.HANDLE handle; - public IntPtr name; - public static VkImportSemaphoreWin32HandleInfoKHR New() - { - VkImportSemaphoreWin32HandleInfoKHR ret = new VkImportSemaphoreWin32HandleInfoKHR(); - ret.sType = VkStructureType.ImportSemaphoreWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExportSemaphoreWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public Win32.SECURITY_ATTRIBUTES* pAttributes; - public uint dwAccess; - public IntPtr name; - public static VkExportSemaphoreWin32HandleInfoKHR New() - { - VkExportSemaphoreWin32HandleInfoKHR ret = new VkExportSemaphoreWin32HandleInfoKHR(); - ret.sType = VkStructureType.ExportSemaphoreWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkD3D12FenceSubmitInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint waitSemaphoreValuesCount; - public ulong* pWaitSemaphoreValues; - public uint signalSemaphoreValuesCount; - public ulong* pSignalSemaphoreValues; - public static VkD3D12FenceSubmitInfoKHR New() - { - VkD3D12FenceSubmitInfoKHR ret = new VkD3D12FenceSubmitInfoKHR(); - ret.sType = VkStructureType.D3d12FenceSubmitInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSemaphoreGetWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSemaphore semaphore; - public VkExternalSemaphoreHandleTypeFlagsKHR handleType; - public static VkSemaphoreGetWin32HandleInfoKHR New() - { - VkSemaphoreGetWin32HandleInfoKHR ret = new VkSemaphoreGetWin32HandleInfoKHR(); - ret.sType = VkStructureType.SemaphoreGetWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportSemaphoreFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSemaphore semaphore; - public VkSemaphoreImportFlagsKHR flags; - public VkExternalSemaphoreHandleTypeFlagsKHR handleType; - public int fd; - public static VkImportSemaphoreFdInfoKHR New() - { - VkImportSemaphoreFdInfoKHR ret = new VkImportSemaphoreFdInfoKHR(); - ret.sType = VkStructureType.ImportSemaphoreFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSemaphoreGetFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSemaphore semaphore; - public VkExternalSemaphoreHandleTypeFlagsKHR handleType; - public static VkSemaphoreGetFdInfoKHR New() - { - VkSemaphoreGetFdInfoKHR ret = new VkSemaphoreGetFdInfoKHR(); - ret.sType = VkStructureType.SemaphoreGetFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceExternalFenceInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalFenceHandleTypeFlagsKHR handleType; - public static VkPhysicalDeviceExternalFenceInfoKHR New() - { - VkPhysicalDeviceExternalFenceInfoKHR ret = new VkPhysicalDeviceExternalFenceInfoKHR(); - ret.sType = VkStructureType.PhysicalDeviceExternalFenceInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExternalFencePropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalFenceHandleTypeFlagsKHR exportFromImportedHandleTypes; - public VkExternalFenceHandleTypeFlagsKHR compatibleHandleTypes; - public VkExternalFenceFeatureFlagsKHR externalFenceFeatures; - public static VkExternalFencePropertiesKHR New() - { - VkExternalFencePropertiesKHR ret = new VkExternalFencePropertiesKHR(); - ret.sType = VkStructureType.ExternalFencePropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkExportFenceCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkExternalFenceHandleTypeFlagsKHR handleTypes; - public static VkExportFenceCreateInfoKHR New() - { - VkExportFenceCreateInfoKHR ret = new VkExportFenceCreateInfoKHR(); - ret.sType = VkStructureType.ExportFenceCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportFenceWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkFence fence; - public VkFenceImportFlagsKHR flags; - public VkExternalFenceHandleTypeFlagsKHR handleType; - public Win32.HANDLE handle; - public IntPtr name; - public static VkImportFenceWin32HandleInfoKHR New() - { - VkImportFenceWin32HandleInfoKHR ret = new VkImportFenceWin32HandleInfoKHR(); - ret.sType = VkStructureType.ImportFenceWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkExportFenceWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public Win32.SECURITY_ATTRIBUTES* pAttributes; - public uint dwAccess; - public IntPtr name; - public static VkExportFenceWin32HandleInfoKHR New() - { - VkExportFenceWin32HandleInfoKHR ret = new VkExportFenceWin32HandleInfoKHR(); - ret.sType = VkStructureType.ExportFenceWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkFenceGetWin32HandleInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkFence fence; - public VkExternalFenceHandleTypeFlagsKHR handleType; - public static VkFenceGetWin32HandleInfoKHR New() - { - VkFenceGetWin32HandleInfoKHR ret = new VkFenceGetWin32HandleInfoKHR(); - ret.sType = VkStructureType.FenceGetWin32HandleInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImportFenceFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkFence fence; - public VkFenceImportFlagsKHR flags; - public VkExternalFenceHandleTypeFlagsKHR handleType; - public int fd; - public static VkImportFenceFdInfoKHR New() - { - VkImportFenceFdInfoKHR ret = new VkImportFenceFdInfoKHR(); - ret.sType = VkStructureType.ImportFenceFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkFenceGetFdInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkFence fence; - public VkExternalFenceHandleTypeFlagsKHR handleType; - public static VkFenceGetFdInfoKHR New() - { - VkFenceGetFdInfoKHR ret = new VkFenceGetFdInfoKHR(); - ret.sType = VkStructureType.FenceGetFdInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceMultiviewFeaturesKHX - { - public VkStructureType sType; - public void* pNext; - public VkBool32 multiview; - public VkBool32 multiviewGeometryShader; - public VkBool32 multiviewTessellationShader; - public static VkPhysicalDeviceMultiviewFeaturesKHX New() - { - VkPhysicalDeviceMultiviewFeaturesKHX ret = new VkPhysicalDeviceMultiviewFeaturesKHX(); - ret.sType = VkStructureType.PhysicalDeviceMultiviewFeaturesKHX; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceMultiviewPropertiesKHX - { - public VkStructureType sType; - public void* pNext; - public uint maxMultiviewViewCount; - public uint maxMultiviewInstanceIndex; - public static VkPhysicalDeviceMultiviewPropertiesKHX New() - { - VkPhysicalDeviceMultiviewPropertiesKHX ret = new VkPhysicalDeviceMultiviewPropertiesKHX(); - ret.sType = VkStructureType.PhysicalDeviceMultiviewPropertiesKHX; - return ret; - } - } - - public unsafe partial struct VkRenderPassMultiviewCreateInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint subpassCount; - public uint* pViewMasks; - public uint dependencyCount; - public int* pViewOffsets; - public uint correlationMaskCount; - public uint* pCorrelationMasks; - public static VkRenderPassMultiviewCreateInfoKHX New() - { - VkRenderPassMultiviewCreateInfoKHX ret = new VkRenderPassMultiviewCreateInfoKHX(); - ret.sType = VkStructureType.RenderPassMultiviewCreateInfoKHX; - return ret; - } - } - - public unsafe partial struct VkSurfaceCapabilities2EXT - { - public VkStructureType sType; - public void* pNext; - public uint minImageCount; - public uint maxImageCount; - public VkExtent2D currentExtent; - public VkExtent2D minImageExtent; - public VkExtent2D maxImageExtent; - public uint maxImageArrayLayers; - public VkSurfaceTransformFlagsKHR supportedTransforms; - public VkSurfaceTransformFlagsKHR currentTransform; - public VkCompositeAlphaFlagsKHR supportedCompositeAlpha; - public VkImageUsageFlags supportedUsageFlags; - public VkSurfaceCounterFlagsEXT supportedSurfaceCounters; - public static VkSurfaceCapabilities2EXT New() - { - VkSurfaceCapabilities2EXT ret = new VkSurfaceCapabilities2EXT(); - ret.sType = VkStructureType.SurfaceCapabilities2EXT; - return ret; - } - } - - public unsafe partial struct VkDisplayPowerInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDisplayPowerStateEXT powerState; - public static VkDisplayPowerInfoEXT New() - { - VkDisplayPowerInfoEXT ret = new VkDisplayPowerInfoEXT(); - ret.sType = VkStructureType.DisplayPowerInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDeviceEventInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDeviceEventTypeEXT deviceEvent; - public static VkDeviceEventInfoEXT New() - { - VkDeviceEventInfoEXT ret = new VkDeviceEventInfoEXT(); - ret.sType = VkStructureType.DeviceEventInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDisplayEventInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkDisplayEventTypeEXT displayEvent; - public static VkDisplayEventInfoEXT New() - { - VkDisplayEventInfoEXT ret = new VkDisplayEventInfoEXT(); - ret.sType = VkStructureType.DisplayEventInfoEXT; - return ret; - } - } - - public unsafe partial struct VkSwapchainCounterCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkSurfaceCounterFlagsEXT surfaceCounters; - public static VkSwapchainCounterCreateInfoEXT New() - { - VkSwapchainCounterCreateInfoEXT ret = new VkSwapchainCounterCreateInfoEXT(); - ret.sType = VkStructureType.SwapchainCounterCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceGroupPropertiesKHX - { - public VkStructureType sType; - public void* pNext; - public uint physicalDeviceCount; - public VkPhysicalDevice physicalDevices_0; - public VkPhysicalDevice physicalDevices_1; - public VkPhysicalDevice physicalDevices_2; - public VkPhysicalDevice physicalDevices_3; - public VkPhysicalDevice physicalDevices_4; - public VkPhysicalDevice physicalDevices_5; - public VkPhysicalDevice physicalDevices_6; - public VkPhysicalDevice physicalDevices_7; - public VkPhysicalDevice physicalDevices_8; - public VkPhysicalDevice physicalDevices_9; - public VkPhysicalDevice physicalDevices_10; - public VkPhysicalDevice physicalDevices_11; - public VkPhysicalDevice physicalDevices_12; - public VkPhysicalDevice physicalDevices_13; - public VkPhysicalDevice physicalDevices_14; - public VkPhysicalDevice physicalDevices_15; - public VkPhysicalDevice physicalDevices_16; - public VkPhysicalDevice physicalDevices_17; - public VkPhysicalDevice physicalDevices_18; - public VkPhysicalDevice physicalDevices_19; - public VkPhysicalDevice physicalDevices_20; - public VkPhysicalDevice physicalDevices_21; - public VkPhysicalDevice physicalDevices_22; - public VkPhysicalDevice physicalDevices_23; - public VkPhysicalDevice physicalDevices_24; - public VkPhysicalDevice physicalDevices_25; - public VkPhysicalDevice physicalDevices_26; - public VkPhysicalDevice physicalDevices_27; - public VkPhysicalDevice physicalDevices_28; - public VkPhysicalDevice physicalDevices_29; - public VkPhysicalDevice physicalDevices_30; - public VkPhysicalDevice physicalDevices_31; - public VkBool32 subsetAllocation; - public static VkPhysicalDeviceGroupPropertiesKHX New() - { - VkPhysicalDeviceGroupPropertiesKHX ret = new VkPhysicalDeviceGroupPropertiesKHX(); - ret.sType = VkStructureType.PhysicalDeviceGroupPropertiesKHX; - return ret; - } - } - - public unsafe partial struct VkMemoryAllocateFlagsInfoKHX - { - public VkStructureType sType; - public void* pNext; - public VkMemoryAllocateFlagsKHX flags; - public uint deviceMask; - public static VkMemoryAllocateFlagsInfoKHX New() - { - VkMemoryAllocateFlagsInfoKHX ret = new VkMemoryAllocateFlagsInfoKHX(); - ret.sType = VkStructureType.MemoryAllocateInfoKHX; - return ret; - } - } - - public unsafe partial struct VkBindBufferMemoryInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkBuffer buffer; - public VkDeviceMemory memory; - public ulong memoryOffset; - public static VkBindBufferMemoryInfoKHR New() - { - VkBindBufferMemoryInfoKHR ret = new VkBindBufferMemoryInfoKHR(); - ret.sType = VkStructureType.BindBufferMemoryInfoKHR; - return ret; - } - } - - public unsafe partial struct VkBindBufferMemoryDeviceGroupInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint deviceIndexCount; - public uint* pDeviceIndices; - public static VkBindBufferMemoryDeviceGroupInfoKHX New() - { - VkBindBufferMemoryDeviceGroupInfoKHX ret = new VkBindBufferMemoryDeviceGroupInfoKHX(); - ret.sType = VkStructureType.BindBufferMemoryDeviceGroupInfoKHX; - return ret; - } - } - - public unsafe partial struct VkBindImageMemoryInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkImage image; - public VkDeviceMemory memory; - public ulong memoryOffset; - public static VkBindImageMemoryInfoKHR New() - { - VkBindImageMemoryInfoKHR ret = new VkBindImageMemoryInfoKHR(); - ret.sType = VkStructureType.BindImageMemoryInfoKHR; - return ret; - } - } - - public unsafe partial struct VkBindImageMemoryDeviceGroupInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint deviceIndexCount; - public uint* pDeviceIndices; - public uint SFRRectCount; - public VkRect2D* pSFRRects; - public static VkBindImageMemoryDeviceGroupInfoKHX New() - { - VkBindImageMemoryDeviceGroupInfoKHX ret = new VkBindImageMemoryDeviceGroupInfoKHX(); - ret.sType = VkStructureType.BindImageMemoryDeviceGroupInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupRenderPassBeginInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint deviceMask; - public uint deviceRenderAreaCount; - public VkRect2D* pDeviceRenderAreas; - public static VkDeviceGroupRenderPassBeginInfoKHX New() - { - VkDeviceGroupRenderPassBeginInfoKHX ret = new VkDeviceGroupRenderPassBeginInfoKHX(); - ret.sType = VkStructureType.DeviceGroupRenderPassBeginInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupCommandBufferBeginInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint deviceMask; - public static VkDeviceGroupCommandBufferBeginInfoKHX New() - { - VkDeviceGroupCommandBufferBeginInfoKHX ret = new VkDeviceGroupCommandBufferBeginInfoKHX(); - ret.sType = VkStructureType.DeviceGroupCommandBufferBeginInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupSubmitInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint waitSemaphoreCount; - public uint* pWaitSemaphoreDeviceIndices; - public uint commandBufferCount; - public uint* pCommandBufferDeviceMasks; - public uint signalSemaphoreCount; - public uint* pSignalSemaphoreDeviceIndices; - public static VkDeviceGroupSubmitInfoKHX New() - { - VkDeviceGroupSubmitInfoKHX ret = new VkDeviceGroupSubmitInfoKHX(); - ret.sType = VkStructureType.DeviceGroupSubmitInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupBindSparseInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint resourceDeviceIndex; - public uint memoryDeviceIndex; - public static VkDeviceGroupBindSparseInfoKHX New() - { - VkDeviceGroupBindSparseInfoKHX ret = new VkDeviceGroupBindSparseInfoKHX(); - ret.sType = VkStructureType.DeviceGroupBindSparseInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupPresentCapabilitiesKHX - { - public VkStructureType sType; - public void* pNext; - public fixed uint presentMask[(int)VulkanNative.MaxDeviceGroupSizeKHX]; - public VkDeviceGroupPresentModeFlagsKHX modes; - public static VkDeviceGroupPresentCapabilitiesKHX New() - { - VkDeviceGroupPresentCapabilitiesKHX ret = new VkDeviceGroupPresentCapabilitiesKHX(); - ret.sType = VkStructureType.DeviceGroupPresentCapabilitiesKHX; - return ret; - } - } - - public unsafe partial struct VkImageSwapchainCreateInfoKHX - { - public VkStructureType sType; - public void* pNext; - public VkSwapchainKHR swapchain; - public static VkImageSwapchainCreateInfoKHX New() - { - VkImageSwapchainCreateInfoKHX ret = new VkImageSwapchainCreateInfoKHX(); - ret.sType = VkStructureType.ImageSwapchainCreateInfoKHX; - return ret; - } - } - - public unsafe partial struct VkBindImageMemorySwapchainInfoKHX - { - public VkStructureType sType; - public void* pNext; - public VkSwapchainKHR swapchain; - public uint imageIndex; - public static VkBindImageMemorySwapchainInfoKHX New() - { - VkBindImageMemorySwapchainInfoKHX ret = new VkBindImageMemorySwapchainInfoKHX(); - ret.sType = VkStructureType.BindImageMemorySwapchainInfoKHX; - return ret; - } - } - - public unsafe partial struct VkAcquireNextImageInfoKHX - { - public VkStructureType sType; - public void* pNext; - public VkSwapchainKHR swapchain; - public ulong timeout; - public VkSemaphore semaphore; - public VkFence fence; - public uint deviceMask; - public static VkAcquireNextImageInfoKHX New() - { - VkAcquireNextImageInfoKHX ret = new VkAcquireNextImageInfoKHX(); - ret.sType = VkStructureType.AcquireNextImageInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupPresentInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint swapchainCount; - public uint* pDeviceMasks; - public VkDeviceGroupPresentModeFlagsKHX mode; - public static VkDeviceGroupPresentInfoKHX New() - { - VkDeviceGroupPresentInfoKHX ret = new VkDeviceGroupPresentInfoKHX(); - ret.sType = VkStructureType.DeviceGroupPresentInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupDeviceCreateInfoKHX - { - public VkStructureType sType; - public void* pNext; - public uint physicalDeviceCount; - public VkPhysicalDevice* pPhysicalDevices; - public static VkDeviceGroupDeviceCreateInfoKHX New() - { - VkDeviceGroupDeviceCreateInfoKHX ret = new VkDeviceGroupDeviceCreateInfoKHX(); - ret.sType = VkStructureType.DeviceGroupDeviceCreateInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDeviceGroupSwapchainCreateInfoKHX - { - public VkStructureType sType; - public void* pNext; - public VkDeviceGroupPresentModeFlagsKHX modes; - public static VkDeviceGroupSwapchainCreateInfoKHX New() - { - VkDeviceGroupSwapchainCreateInfoKHX ret = new VkDeviceGroupSwapchainCreateInfoKHX(); - ret.sType = VkStructureType.DeviceGroupSwapchainCreateInfoKHX; - return ret; - } - } - - public unsafe partial struct VkDescriptorUpdateTemplateEntryKHR - { - public uint dstBinding; - public uint dstArrayElement; - public uint descriptorCount; - public VkDescriptorType descriptorType; - public UIntPtr offset; - public UIntPtr stride; - } - - public unsafe partial struct VkDescriptorUpdateTemplateCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint descriptorUpdateEntryCount; - public VkDescriptorUpdateTemplateEntryKHR* pDescriptorUpdateEntries; - public VkDescriptorUpdateTemplateTypeKHR templateType; - public VkDescriptorSetLayout descriptorSetLayout; - public VkPipelineBindPoint pipelineBindPoint; - public VkPipelineLayout pipelineLayout; - public uint set; - public static VkDescriptorUpdateTemplateCreateInfoKHR New() - { - VkDescriptorUpdateTemplateCreateInfoKHR ret = new VkDescriptorUpdateTemplateCreateInfoKHR(); - ret.sType = VkStructureType.DescriptorUpdateTemplateCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkXYColorEXT - { - public float x; - public float y; - } - - public unsafe partial struct VkHdrMetadataEXT - { - public VkStructureType sType; - public void* pNext; - public VkXYColorEXT displayPrimaryRed; - public VkXYColorEXT displayPrimaryGreen; - public VkXYColorEXT displayPrimaryBlue; - public VkXYColorEXT whitePoint; - public float maxLuminance; - public float minLuminance; - public float maxContentLightLevel; - public float maxFrameAverageLightLevel; - public static VkHdrMetadataEXT New() - { - VkHdrMetadataEXT ret = new VkHdrMetadataEXT(); - ret.sType = VkStructureType.HdrMetadataEXT; - return ret; - } - } - - public unsafe partial struct VkRefreshCycleDurationGOOGLE - { - public ulong refreshDuration; - } - - public unsafe partial struct VkPastPresentationTimingGOOGLE - { - public uint presentID; - public ulong desiredPresentTime; - public ulong actualPresentTime; - public ulong earliestPresentTime; - public ulong presentMargin; - } - - public unsafe partial struct VkPresentTimesInfoGOOGLE - { - public VkStructureType sType; - public void* pNext; - public uint swapchainCount; - public VkPresentTimeGOOGLE* pTimes; - public static VkPresentTimesInfoGOOGLE New() - { - VkPresentTimesInfoGOOGLE ret = new VkPresentTimesInfoGOOGLE(); - ret.sType = VkStructureType.PresentTimesInfoGoogle; - return ret; - } - } - - public unsafe partial struct VkPresentTimeGOOGLE - { - public uint presentID; - public ulong desiredPresentTime; - } - - public unsafe partial struct VkIOSSurfaceCreateInfoMVK - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public void* pView; - public static VkIOSSurfaceCreateInfoMVK New() - { - VkIOSSurfaceCreateInfoMVK ret = new VkIOSSurfaceCreateInfoMVK(); - ret.sType = VkStructureType.IosSurfaceCreateInfoMvk; - return ret; - } - } - - public unsafe partial struct VkMacOSSurfaceCreateInfoMVK - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public void* pView; - public static VkMacOSSurfaceCreateInfoMVK New() - { - VkMacOSSurfaceCreateInfoMVK ret = new VkMacOSSurfaceCreateInfoMVK(); - ret.sType = VkStructureType.MacosSurfaceCreateInfoMvk; - return ret; - } - } - - public unsafe partial struct VkViewportWScalingNV - { - public float xcoeff; - public float ycoeff; - } - - public unsafe partial struct VkPipelineViewportWScalingStateCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public VkBool32 viewportWScalingEnable; - public uint viewportCount; - public VkViewportWScalingNV* pViewportWScalings; - public static VkPipelineViewportWScalingStateCreateInfoNV New() - { - VkPipelineViewportWScalingStateCreateInfoNV ret = new VkPipelineViewportWScalingStateCreateInfoNV(); - ret.sType = VkStructureType.PipelineViewportWScalingStateCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkViewportSwizzleNV - { - public VkViewportCoordinateSwizzleNV x; - public VkViewportCoordinateSwizzleNV y; - public VkViewportCoordinateSwizzleNV z; - public VkViewportCoordinateSwizzleNV w; - } - - public unsafe partial struct VkPipelineViewportSwizzleStateCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public uint viewportCount; - public VkViewportSwizzleNV* pViewportSwizzles; - public static VkPipelineViewportSwizzleStateCreateInfoNV New() - { - VkPipelineViewportSwizzleStateCreateInfoNV ret = new VkPipelineViewportSwizzleStateCreateInfoNV(); - ret.sType = VkStructureType.PipelineViewportSwizzleStateCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceDiscardRectanglePropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public uint maxDiscardRectangles; - public static VkPhysicalDeviceDiscardRectanglePropertiesEXT New() - { - VkPhysicalDeviceDiscardRectanglePropertiesEXT ret = new VkPhysicalDeviceDiscardRectanglePropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceDiscardRectanglePropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineDiscardRectangleStateCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkDiscardRectangleModeEXT discardRectangleMode; - public uint discardRectangleCount; - public VkRect2D* pDiscardRectangles; - public static VkPipelineDiscardRectangleStateCreateInfoEXT New() - { - VkPipelineDiscardRectangleStateCreateInfoEXT ret = new VkPipelineDiscardRectangleStateCreateInfoEXT(); - ret.sType = VkStructureType.PipelineDiscardRectangleStateCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX - { - public VkStructureType sType; - public void* pNext; - public VkBool32 perViewPositionAllComponents; - public static VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX New() - { - VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX ret = new VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX(); - ret.sType = VkStructureType.PhysicalDeviceMultiviewPerViewAttributesPropertiesNVX; - return ret; - } - } - - public unsafe partial struct VkInputAttachmentAspectReferenceKHR - { - public uint subpass; - public uint inputAttachmentIndex; - public VkImageAspectFlags aspectMask; - } - - public unsafe partial struct VkRenderPassInputAttachmentAspectCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint aspectReferenceCount; - public VkInputAttachmentAspectReferenceKHR* pAspectReferences; - public static VkRenderPassInputAttachmentAspectCreateInfoKHR New() - { - VkRenderPassInputAttachmentAspectCreateInfoKHR ret = new VkRenderPassInputAttachmentAspectCreateInfoKHR(); - ret.sType = VkStructureType.RenderPassInputAttachmentAspectCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceSurfaceInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkSurfaceKHR surface; - public static VkPhysicalDeviceSurfaceInfo2KHR New() - { - VkPhysicalDeviceSurfaceInfo2KHR ret = new VkPhysicalDeviceSurfaceInfo2KHR(); - ret.sType = VkStructureType.PhysicalDeviceSurfaceInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkSurfaceCapabilities2KHR - { - public VkStructureType sType; - public void* pNext; - public VkSurfaceCapabilitiesKHR surfaceCapabilities; - public static VkSurfaceCapabilities2KHR New() - { - VkSurfaceCapabilities2KHR ret = new VkSurfaceCapabilities2KHR(); - ret.sType = VkStructureType.SurfaceCapabilities2KHR; - return ret; - } - } - - public unsafe partial struct VkSurfaceFormat2KHR - { - public VkStructureType sType; - public void* pNext; - public VkSurfaceFormatKHR surfaceFormat; - public static VkSurfaceFormat2KHR New() - { - VkSurfaceFormat2KHR ret = new VkSurfaceFormat2KHR(); - ret.sType = VkStructureType.SurfaceFormat2KHR; - return ret; - } - } - - public unsafe partial struct VkSharedPresentSurfaceCapabilitiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkImageUsageFlags sharedPresentSupportedUsageFlags; - public static VkSharedPresentSurfaceCapabilitiesKHR New() - { - VkSharedPresentSurfaceCapabilitiesKHR ret = new VkSharedPresentSurfaceCapabilitiesKHR(); - ret.sType = VkStructureType.SharedPresentSurfaceCapabilitiesKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDevice16BitStorageFeaturesKHR - { - public VkStructureType sType; - public void* pNext; - public VkBool32 storageBuffer16BitAccess; - public VkBool32 uniformAndStorageBuffer16BitAccess; - public VkBool32 storagePushConstant16; - public VkBool32 storageInputOutput16; - public static VkPhysicalDevice16BitStorageFeaturesKHR New() - { - VkPhysicalDevice16BitStorageFeaturesKHR ret = new VkPhysicalDevice16BitStorageFeaturesKHR(); - ret.sType = VkStructureType.PhysicalDevice16bitStorageFeaturesKHR; - return ret; - } - } - - public unsafe partial struct VkBufferMemoryRequirementsInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkBuffer buffer; - public static VkBufferMemoryRequirementsInfo2KHR New() - { - VkBufferMemoryRequirementsInfo2KHR ret = new VkBufferMemoryRequirementsInfo2KHR(); - ret.sType = VkStructureType.BufferMemoryRequirementsInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkImageMemoryRequirementsInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkImage image; - public static VkImageMemoryRequirementsInfo2KHR New() - { - VkImageMemoryRequirementsInfo2KHR ret = new VkImageMemoryRequirementsInfo2KHR(); - ret.sType = VkStructureType.ImageMemoryRequirementsInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkImageSparseMemoryRequirementsInfo2KHR - { - public VkStructureType sType; - public void* pNext; - public VkImage image; - public static VkImageSparseMemoryRequirementsInfo2KHR New() - { - VkImageSparseMemoryRequirementsInfo2KHR ret = new VkImageSparseMemoryRequirementsInfo2KHR(); - ret.sType = VkStructureType.ImageSparseMemoryRequirementsInfo2KHR; - return ret; - } - } - - public unsafe partial struct VkMemoryRequirements2KHR - { - public VkStructureType sType; - public void* pNext; - public VkMemoryRequirements memoryRequirements; - public static VkMemoryRequirements2KHR New() - { - VkMemoryRequirements2KHR ret = new VkMemoryRequirements2KHR(); - ret.sType = VkStructureType.MemoryRequirements2KHR; - return ret; - } - } - - public unsafe partial struct VkSparseImageMemoryRequirements2KHR - { - public VkStructureType sType; - public void* pNext; - public VkSparseImageMemoryRequirements memoryRequirements; - public static VkSparseImageMemoryRequirements2KHR New() - { - VkSparseImageMemoryRequirements2KHR ret = new VkSparseImageMemoryRequirements2KHR(); - ret.sType = VkStructureType.SparseImageMemoryRequirements2KHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDevicePointClippingPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public VkPointClippingBehaviorKHR pointClippingBehavior; - public static VkPhysicalDevicePointClippingPropertiesKHR New() - { - VkPhysicalDevicePointClippingPropertiesKHR ret = new VkPhysicalDevicePointClippingPropertiesKHR(); - ret.sType = VkStructureType.PhysicalDevicePointClippingPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryDedicatedRequirementsKHR - { - public VkStructureType sType; - public void* pNext; - public VkBool32 prefersDedicatedAllocation; - public VkBool32 requiresDedicatedAllocation; - public static VkMemoryDedicatedRequirementsKHR New() - { - VkMemoryDedicatedRequirementsKHR ret = new VkMemoryDedicatedRequirementsKHR(); - ret.sType = VkStructureType.MemoryDedicatedRequirementsKHR; - return ret; - } - } - - public unsafe partial struct VkMemoryDedicatedAllocateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkImage image; - public VkBuffer buffer; - public static VkMemoryDedicatedAllocateInfoKHR New() - { - VkMemoryDedicatedAllocateInfoKHR ret = new VkMemoryDedicatedAllocateInfoKHR(); - ret.sType = VkStructureType.MemoryDedicatedAllocateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImageViewUsageCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkImageUsageFlags usage; - public static VkImageViewUsageCreateInfoKHR New() - { - VkImageViewUsageCreateInfoKHR ret = new VkImageViewUsageCreateInfoKHR(); - ret.sType = VkStructureType.ImageViewUsageCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPipelineTessellationDomainOriginStateCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkTessellationDomainOriginKHR domainOrigin; - public static VkPipelineTessellationDomainOriginStateCreateInfoKHR New() - { - VkPipelineTessellationDomainOriginStateCreateInfoKHR ret = new VkPipelineTessellationDomainOriginStateCreateInfoKHR(); - ret.sType = VkStructureType.PipelineTessellationDomainOriginStateCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSamplerYcbcrConversionInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkSamplerYcbcrConversionKHR conversion; - public static VkSamplerYcbcrConversionInfoKHR New() - { - VkSamplerYcbcrConversionInfoKHR ret = new VkSamplerYcbcrConversionInfoKHR(); - ret.sType = VkStructureType.SamplerYcbcrConversionInfoKHR; - return ret; - } - } - - public unsafe partial struct VkSamplerYcbcrConversionCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkFormat format; - public VkSamplerYcbcrModelConversionKHR ycbcrModel; - public VkSamplerYcbcrRangeKHR ycbcrRange; - public VkComponentMapping components; - public VkChromaLocationKHR xChromaOffset; - public VkChromaLocationKHR yChromaOffset; - public VkFilter chromaFilter; - public VkBool32 forceExplicitReconstruction; - public static VkSamplerYcbcrConversionCreateInfoKHR New() - { - VkSamplerYcbcrConversionCreateInfoKHR ret = new VkSamplerYcbcrConversionCreateInfoKHR(); - ret.sType = VkStructureType.SamplerYcbcrConversionCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkBindImagePlaneMemoryInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkImageAspectFlags planeAspect; - public static VkBindImagePlaneMemoryInfoKHR New() - { - VkBindImagePlaneMemoryInfoKHR ret = new VkBindImagePlaneMemoryInfoKHR(); - ret.sType = VkStructureType.BindImagePlaneMemoryInfoKHR; - return ret; - } - } - - public unsafe partial struct VkImagePlaneMemoryRequirementsInfoKHR - { - public VkStructureType sType; - public void* pNext; - public VkImageAspectFlags planeAspect; - public static VkImagePlaneMemoryRequirementsInfoKHR New() - { - VkImagePlaneMemoryRequirementsInfoKHR ret = new VkImagePlaneMemoryRequirementsInfoKHR(); - ret.sType = VkStructureType.ImagePlaneMemoryRequirementsInfoKHR; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR - { - public VkStructureType sType; - public void* pNext; - public VkBool32 samplerYcbcrConversion; - public static VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR New() - { - VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR ret = new VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR(); - ret.sType = VkStructureType.PhysicalDeviceSamplerYcbcrConversionFeaturesKHR; - return ret; - } - } - - public unsafe partial struct VkSamplerYcbcrConversionImageFormatPropertiesKHR - { - public VkStructureType sType; - public void* pNext; - public uint combinedImageSamplerDescriptorCount; - public static VkSamplerYcbcrConversionImageFormatPropertiesKHR New() - { - VkSamplerYcbcrConversionImageFormatPropertiesKHR ret = new VkSamplerYcbcrConversionImageFormatPropertiesKHR(); - ret.sType = VkStructureType.SamplerYcbcrConversionImageFormatPropertiesKHR; - return ret; - } - } - - public unsafe partial struct VkTextureLODGatherFormatPropertiesAMD - { - public VkStructureType sType; - public void* pNext; - public VkBool32 supportsTextureGatherLODBiasAMD; - public static VkTextureLODGatherFormatPropertiesAMD New() - { - VkTextureLODGatherFormatPropertiesAMD ret = new VkTextureLODGatherFormatPropertiesAMD(); - ret.sType = VkStructureType.TextureLodGatherFormatPropertiesAMD; - return ret; - } - } - - public unsafe partial struct VkPipelineCoverageToColorStateCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkBool32 coverageToColorEnable; - public uint coverageToColorLocation; - public static VkPipelineCoverageToColorStateCreateInfoNV New() - { - VkPipelineCoverageToColorStateCreateInfoNV ret = new VkPipelineCoverageToColorStateCreateInfoNV(); - ret.sType = VkStructureType.PipelineCoverageToColorStateCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public VkBool32 filterMinmaxSingleComponentFormats; - public VkBool32 filterMinmaxImageComponentMapping; - public static VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT New() - { - VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT ret = new VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceSamplerFilterMinmaxPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkSampleLocationEXT - { - public float x; - public float y; - } - - public unsafe partial struct VkSampleLocationsInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkSampleCountFlags sampleLocationsPerPixel; - public VkExtent2D sampleLocationGridSize; - public uint sampleLocationsCount; - public VkSampleLocationEXT* pSampleLocations; - public static VkSampleLocationsInfoEXT New() - { - VkSampleLocationsInfoEXT ret = new VkSampleLocationsInfoEXT(); - ret.sType = VkStructureType.SampleLocationsInfoEXT; - return ret; - } - } - - public unsafe partial struct VkAttachmentSampleLocationsEXT - { - public uint attachmentIndex; - public VkSampleLocationsInfoEXT sampleLocationsInfo; - } - - public unsafe partial struct VkSubpassSampleLocationsEXT - { - public uint subpassIndex; - public VkSampleLocationsInfoEXT sampleLocationsInfo; - } - - public unsafe partial struct VkRenderPassSampleLocationsBeginInfoEXT - { - public VkStructureType sType; - public void* pNext; - public uint attachmentInitialSampleLocationsCount; - public VkAttachmentSampleLocationsEXT* pAttachmentInitialSampleLocations; - public uint postSubpassSampleLocationsCount; - public VkSubpassSampleLocationsEXT* pPostSubpassSampleLocations; - public static VkRenderPassSampleLocationsBeginInfoEXT New() - { - VkRenderPassSampleLocationsBeginInfoEXT ret = new VkRenderPassSampleLocationsBeginInfoEXT(); - ret.sType = VkStructureType.RenderPassSampleLocationsBeginInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineSampleLocationsStateCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkBool32 sampleLocationsEnable; - public VkSampleLocationsInfoEXT sampleLocationsInfo; - public static VkPipelineSampleLocationsStateCreateInfoEXT New() - { - VkPipelineSampleLocationsStateCreateInfoEXT ret = new VkPipelineSampleLocationsStateCreateInfoEXT(); - ret.sType = VkStructureType.PipelineSampleLocationsStateCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceSampleLocationsPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public VkSampleCountFlags sampleLocationSampleCounts; - public VkExtent2D maxSampleLocationGridSize; - public float sampleLocationCoordinateRange_0; - public float sampleLocationCoordinateRange_1; - public uint sampleLocationSubPixelBits; - public VkBool32 variableSampleLocations; - public static VkPhysicalDeviceSampleLocationsPropertiesEXT New() - { - VkPhysicalDeviceSampleLocationsPropertiesEXT ret = new VkPhysicalDeviceSampleLocationsPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceSampleLocationsPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkMultisamplePropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public VkExtent2D maxSampleLocationGridSize; - public static VkMultisamplePropertiesEXT New() - { - VkMultisamplePropertiesEXT ret = new VkMultisamplePropertiesEXT(); - ret.sType = VkStructureType.MultisamplePropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkSamplerReductionModeCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkSamplerReductionModeEXT reductionMode; - public static VkSamplerReductionModeCreateInfoEXT New() - { - VkSamplerReductionModeCreateInfoEXT ret = new VkSamplerReductionModeCreateInfoEXT(); - ret.sType = VkStructureType.SamplerReductionModeCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT - { - public VkStructureType sType; - public void* pNext; - public VkBool32 advancedBlendCoherentOperations; - public static VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT New() - { - VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT ret = new VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT(); - ret.sType = VkStructureType.PhysicalDeviceBlendOperationAdvancedFeaturesEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public uint advancedBlendMaxColorAttachments; - public VkBool32 advancedBlendIndependentBlend; - public VkBool32 advancedBlendNonPremultipliedSrcColor; - public VkBool32 advancedBlendNonPremultipliedDstColor; - public VkBool32 advancedBlendCorrelatedOverlap; - public VkBool32 advancedBlendAllOperations; - public static VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT New() - { - VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT ret = new VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceBlendOperationAdvancedPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineColorBlendAdvancedStateCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkBool32 srcPremultiplied; - public VkBool32 dstPremultiplied; - public VkBlendOverlapEXT blendOverlap; - public static VkPipelineColorBlendAdvancedStateCreateInfoEXT New() - { - VkPipelineColorBlendAdvancedStateCreateInfoEXT ret = new VkPipelineColorBlendAdvancedStateCreateInfoEXT(); - ret.sType = VkStructureType.PipelineColorBlendAdvancedStateCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineCoverageModulationStateCreateInfoNV - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkCoverageModulationModeNV coverageModulationMode; - public VkBool32 coverageModulationTableEnable; - public uint coverageModulationTableCount; - public float* pCoverageModulationTable; - public static VkPipelineCoverageModulationStateCreateInfoNV New() - { - VkPipelineCoverageModulationStateCreateInfoNV ret = new VkPipelineCoverageModulationStateCreateInfoNV(); - ret.sType = VkStructureType.PipelineCoverageModulationStateCreateInfoNV; - return ret; - } - } - - public unsafe partial struct VkImageFormatListCreateInfoKHR - { - public VkStructureType sType; - public void* pNext; - public uint viewFormatCount; - public VkFormat* pViewFormats; - public static VkImageFormatListCreateInfoKHR New() - { - VkImageFormatListCreateInfoKHR ret = new VkImageFormatListCreateInfoKHR(); - ret.sType = VkStructureType.ImageFormatListCreateInfoKHR; - return ret; - } - } - - public unsafe partial struct VkValidationCacheCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public UIntPtr initialDataSize; - public void* pInitialData; - public static VkValidationCacheCreateInfoEXT New() - { - VkValidationCacheCreateInfoEXT ret = new VkValidationCacheCreateInfoEXT(); - ret.sType = VkStructureType.ValidationCacheCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkShaderModuleValidationCacheCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkValidationCacheEXT validationCache; - public static VkShaderModuleValidationCacheCreateInfoEXT New() - { - VkShaderModuleValidationCacheCreateInfoEXT ret = new VkShaderModuleValidationCacheCreateInfoEXT(); - ret.sType = VkStructureType.ShaderModuleValidationCacheCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceDescriptorIndexingFeaturesEXT - { - public VkStructureType sType; - public void* pNext; - public VkBool32 shaderInputAttachmentArrayDynamicIndexing; - public VkBool32 shaderUniformTexelBufferArrayDynamicIndexing; - public VkBool32 shaderStorageTexelBufferArrayDynamicIndexing; - public VkBool32 shaderUniformBufferArrayNonUniformIndexing; - public VkBool32 shaderSampledImageArrayNonUniformIndexing; - public VkBool32 shaderStorageBufferArrayNonUniformIndexing; - public VkBool32 shaderStorageImageArrayNonUniformIndexing; - public VkBool32 shaderInputAttachmentArrayNonUniformIndexing; - public VkBool32 shaderUniformTexelBufferArrayNonUniformIndexing; - public VkBool32 shaderStorageTexelBufferArrayNonUniformIndexing; - public VkBool32 descriptorBindingUniformBufferUpdateAfterBind; - public VkBool32 descriptorBindingSampledImageUpdateAfterBind; - public VkBool32 descriptorBindingStorageImageUpdateAfterBind; - public VkBool32 descriptorBindingStorageBufferUpdateAfterBind; - public VkBool32 descriptorBindingUniformTexelBufferUpdateAfterBind; - public VkBool32 descriptorBindingStorageTexelBufferUpdateAfterBind; - public VkBool32 descriptorBindingUpdateUnusedWhilePending; - public VkBool32 descriptorBindingPartiallyBound; - public VkBool32 descriptorBindingVariableDescriptorCount; - public VkBool32 runtimeDescriptorArray; - - public static VkPhysicalDeviceDescriptorIndexingFeaturesEXT New() - { - VkPhysicalDeviceDescriptorIndexingFeaturesEXT ret = new VkPhysicalDeviceDescriptorIndexingFeaturesEXT(); - ret.sType = VkStructureType.PhysicalDeviceDescriptorIndexingFeaturesEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceDescriptorIndexingPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public uint maxUpdateAfterBindDescriptorsInAllPools; - public VkBool32 shaderUniformBufferArrayNonUniformIndexingNative; - public VkBool32 shaderSampledImageArrayNonUniformIndexingNative; - public VkBool32 shaderStorageBufferArrayNonUniformIndexingNative; - public VkBool32 shaderStorageImageArrayNonUniformIndexingNative; - public VkBool32 shaderInputAttachmentArrayNonUniformIndexingNative; - public VkBool32 robustBufferAccessUpdateAfterBind; - public VkBool32 quadDivergentImplicitLod; - public uint maxPerStageDescriptorUpdateAfterBindSamplers; - public uint maxPerStageDescriptorUpdateAfterBindUniformBuffers; - public uint maxPerStageDescriptorUpdateAfterBindStorageBuffers; - public uint maxPerStageDescriptorUpdateAfterBindSampledImages; - public uint maxPerStageDescriptorUpdateAfterBindStorageImages; - public uint maxPerStageDescriptorUpdateAfterBindInputAttachments; - public uint maxPerStageUpdateAfterBindResources; - public uint maxDescriptorSetUpdateAfterBindSamplers; - public uint maxDescriptorSetUpdateAfterBindUniformBuffers; - public uint maxDescriptorSetUpdateAfterBindUniformBuffersDynamic; - public uint maxDescriptorSetUpdateAfterBindStorageBuffers; - public uint maxDescriptorSetUpdateAfterBindStorageBuffersDynamic; - public uint maxDescriptorSetUpdateAfterBindSampledImages; - public uint maxDescriptorSetUpdateAfterBindStorageImages; - public uint maxDescriptorSetUpdateAfterBindInputAttachments; - - public static VkPhysicalDeviceDescriptorIndexingPropertiesEXT New() - { - VkPhysicalDeviceDescriptorIndexingPropertiesEXT ret = new VkPhysicalDeviceDescriptorIndexingPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceDescriptorIndexingPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkDescriptorSetVariableDescriptorCountAllocateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public uint descriptorSetCount; - public uint* pDescriptorCounts; - - public static VkDescriptorSetVariableDescriptorCountAllocateInfoEXT New() - { - VkDescriptorSetVariableDescriptorCountAllocateInfoEXT ret = new VkDescriptorSetVariableDescriptorCountAllocateInfoEXT(); - ret.sType = VkStructureType.DescriptorSetVariableDescriptorCountAllocateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkDescriptorSetVariableDescriptorCountLayoutSupportEXT - { - public VkStructureType sType; - public void* pNext; - public uint maxVariableDescriptorCount; - - public static VkDescriptorSetVariableDescriptorCountLayoutSupportEXT New() - { - VkDescriptorSetVariableDescriptorCountLayoutSupportEXT ret = new VkDescriptorSetVariableDescriptorCountLayoutSupportEXT(); - ret.sType = VkStructureType.DescriptorSetVariableDescriptorCountLayoutSupportEXT; - return ret; - } - } - - public unsafe partial struct VkNativeBufferANDROID - { - public VkStructureType sType; - public void* pNext; - public void* handle; - public int stride; - public int format; - public int usage; - public static VkNativeBufferANDROID New() - { - VkNativeBufferANDROID ret = new VkNativeBufferANDROID(); - ret.sType = VkStructureType.NativeBufferAndroid; - return ret; - } - } - - public unsafe partial struct VkShaderResourceUsageAMD - { - public uint numUsedVgprs; - public uint numUsedSgprs; - public uint ldsSizePerLocalWorkGroup; - public UIntPtr ldsUsageSizeInBytes; - public UIntPtr scratchMemUsageInBytes; - } - - public unsafe partial struct VkShaderStatisticsInfoAMD - { - public VkShaderStageFlags shaderStageMask; - public VkShaderResourceUsageAMD resourceUsage; - public uint numPhysicalVgprs; - public uint numPhysicalSgprs; - public uint numAvailableVgprs; - public uint numAvailableSgprs; - public uint computeWorkGroupSize_0; - public uint computeWorkGroupSize_1; - public uint computeWorkGroupSize_2; - } - - public unsafe partial struct VkDeviceQueueGlobalPriorityCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkQueueGlobalPriorityEXT globalPriority; - public static VkDeviceQueueGlobalPriorityCreateInfoEXT New() - { - VkDeviceQueueGlobalPriorityCreateInfoEXT ret = new VkDeviceQueueGlobalPriorityCreateInfoEXT(); - ret.sType = VkStructureType.DeviceQueueGlobalPriorityCreateInfoEXT; - return ret; - } - } - - public unsafe partial struct VkImportMemoryHostPointerInfoEXT - { - public VkStructureType sType; - public void* pNext; - public VkExternalMemoryHandleTypeFlagsKHR handleType; - public void* pHostPointer; - public static VkImportMemoryHostPointerInfoEXT New() - { - VkImportMemoryHostPointerInfoEXT ret = new VkImportMemoryHostPointerInfoEXT(); - ret.sType = VkStructureType.ImportMemoryHostPointerInfoEXT; - return ret; - } - } - - public unsafe partial struct VkMemoryHostPointerPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public uint memoryTypeBits; - public static VkMemoryHostPointerPropertiesEXT New() - { - VkMemoryHostPointerPropertiesEXT ret = new VkMemoryHostPointerPropertiesEXT(); - ret.sType = VkStructureType.MemoryHostPointerPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceExternalMemoryHostPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public ulong minImportedHostPointerAlignment; - public static VkPhysicalDeviceExternalMemoryHostPropertiesEXT New() - { - VkPhysicalDeviceExternalMemoryHostPropertiesEXT ret = new VkPhysicalDeviceExternalMemoryHostPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceExternalMemoryHostPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkPhysicalDeviceConservativeRasterizationPropertiesEXT - { - public VkStructureType sType; - public void* pNext; - public float primitiveOverestimationSize; - public float maxExtraPrimitiveOverestimationSize; - public float extraPrimitiveOverestimationSizeGranularity; - public VkBool32 primitiveUnderestimation; - public VkBool32 conservativePointAndLineRasterization; - public VkBool32 degenerateTrianglesRasterized; - public VkBool32 degenerateLinesRasterized; - public VkBool32 fullyCoveredFragmentShaderInputVariable; - public VkBool32 conservativeRasterizationPostDepthCoverage; - public static VkPhysicalDeviceConservativeRasterizationPropertiesEXT New() - { - VkPhysicalDeviceConservativeRasterizationPropertiesEXT ret = new VkPhysicalDeviceConservativeRasterizationPropertiesEXT(); - ret.sType = VkStructureType.PhysicalDeviceConservativeRasterizationPropertiesEXT; - return ret; - } - } - - public unsafe partial struct VkPipelineRasterizationConservativeStateCreateInfoEXT - { - public VkStructureType sType; - public void* pNext; - public uint flags; - public VkConservativeRasterizationModeEXT conservativeRasterizationMode; - public float extraPrimitiveOverestimationSize; - public static VkPipelineRasterizationConservativeStateCreateInfoEXT New() - { - VkPipelineRasterizationConservativeStateCreateInfoEXT ret = new VkPipelineRasterizationConservativeStateCreateInfoEXT(); - ret.sType = VkStructureType.PipelineRasterizationConservativeStateCreateInfoEXT; - return ret; - } - } -} diff --git a/vk/src/vk/Generated/Unions.gen.cs b/vk/src/vk/Generated/Unions.gen.cs deleted file mode 100644 index b9c6be5da..000000000 --- a/vk/src/vk/Generated/Unions.gen.cs +++ /dev/null @@ -1,44 +0,0 @@ -// This file is generated. - -using System.Runtime.InteropServices; - -namespace Vulkan -{ - [StructLayout(LayoutKind.Explicit)] - public partial struct VkClearColorValue - { - [FieldOffset(0)] - public float float32_0; - [FieldOffset(4)] - public float float32_1; - [FieldOffset(8)] - public float float32_2; - [FieldOffset(12)] - public float float32_3; - [FieldOffset(0)] - public int int32_0; - [FieldOffset(4)] - public int int32_1; - [FieldOffset(8)] - public int int32_2; - [FieldOffset(12)] - public int int32_3; - [FieldOffset(0)] - public uint uint32_0; - [FieldOffset(4)] - public uint uint32_1; - [FieldOffset(8)] - public uint uint32_2; - [FieldOffset(12)] - public uint uint32_3; - } - - [StructLayout(LayoutKind.Explicit)] - public partial struct VkClearValue - { - [FieldOffset(0)] - public VkClearColorValue color; - [FieldOffset(0)] - public VkClearDepthStencilValue depthStencil; - } -} diff --git a/vk/src/vk/Kernel32.cs b/vk/src/vk/Kernel32.cs deleted file mode 100644 index 3da3eb941..000000000 --- a/vk/src/vk/Kernel32.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - internal static class Kernel32 - { - [DllImport("kernel32")] - public static extern IntPtr LoadLibrary(string fileName); - - [DllImport("kernel32")] - public static extern IntPtr GetProcAddress(IntPtr module, string procName); - - [DllImport("kernel32")] - public static extern int FreeLibrary(IntPtr module); - } -} diff --git a/vk/src/vk/Libdl.cs b/vk/src/vk/Libdl.cs deleted file mode 100644 index c2afc7731..000000000 --- a/vk/src/vk/Libdl.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - internal static class Libdl - { - [DllImport("libdl")] - public static extern IntPtr dlopen(string fileName, int flags); - - [DllImport("libdl")] - public static extern IntPtr dlsym(IntPtr handle, string name); - - [DllImport("libdl")] - public static extern int dlclose(IntPtr handle); - - [DllImport("libdl")] - public static extern string dlerror(); - - public const int RTLD_NOW = 0x002; - } -} diff --git a/vk/src/vk/VkBool32.cs b/vk/src/vk/VkBool32.cs deleted file mode 100644 index 01c0148e4..000000000 --- a/vk/src/vk/VkBool32.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; - -namespace Vulkan -{ - /// - /// A boolean value stored in a 4-byte unsigned integer. - /// - public struct VkBool32 : IEquatable - { - /// - /// The raw value of the . A value of 0 represents "false", all other values represent "true". - /// - public uint Value; - - /// - /// Constructs a new with the given raw value. - /// - /// - public VkBool32(uint value) - { - Value = value; - } - - /// - /// Represents the boolean "true" value. Has a raw value of 1. - /// - public static readonly VkBool32 True = new VkBool32(1); - - /// - /// Represents the boolean "true" value. Has a raw value of 0. - /// - public static readonly VkBool32 False = new VkBool32(0); - - /// - /// Returns whether another value is considered equal to this one. - /// Two s are considered equal when their raw values are equal. - /// - /// The value to compare to. - /// True if the other value's underlying raw value is equal to this instance's. False otherwise. - public bool Equals(VkBool32 other) - { - return Value.Equals(other.Value); - } - - public override bool Equals(object obj) - { - return obj is VkBool32 b && Equals(b); - } - - public override int GetHashCode() - { - return Value.GetHashCode(); - } - - public override string ToString() - { - return $"{(this ? "True" : "False")} ({Value})"; - } - - public static implicit operator bool(VkBool32 b) => b.Value != 0; - public static implicit operator uint(VkBool32 b) => b.Value; - public static implicit operator VkBool32(bool b) => b ? True : False; - public static implicit operator VkBool32(uint value) => new VkBool32(value); - - public static bool operator ==(VkBool32 left, VkBool32 right) => left.Value == right.Value; - public static bool operator !=(VkBool32 left, VkBool32 right) => left.Value != right.Value; - } -} diff --git a/vk/src/vk/VkClearColorValue.cs b/vk/src/vk/VkClearColorValue.cs deleted file mode 100644 index ba6bb93b7..000000000 --- a/vk/src/vk/VkClearColorValue.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; - -namespace Vulkan -{ - public partial struct VkClearColorValue - { - public VkClearColorValue(float r, float g, float b, float a = 1.0f) : this() - { - float32_0 = r; - float32_1 = g; - float32_2 = b; - float32_3 = a; - } - - public VkClearColorValue(int r, int g, int b, int a = 255) : this() - { - int32_0 = r; - int32_1 = g; - int32_2 = b; - int32_3 = a; - } - - public VkClearColorValue(uint r, uint g, uint b, uint a = 255) : this() - { - uint32_0 = r; - uint32_1 = g; - uint32_2 = b; - uint32_3 = a; - } - } -} diff --git a/vk/src/vk/VkClearDepthStencilValue.cs b/vk/src/vk/VkClearDepthStencilValue.cs deleted file mode 100644 index 4ffa1fbb8..000000000 --- a/vk/src/vk/VkClearDepthStencilValue.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Runtime.InteropServices; -using System.Text; - -namespace Vulkan -{ - public unsafe partial struct VkClearDepthStencilValue - { - public VkClearDepthStencilValue(float depth, uint stencil) - { - this.depth = depth; - this.stencil = stencil; - } - } -} diff --git a/vk/src/vk/VkExtent2D.cs b/vk/src/vk/VkExtent2D.cs deleted file mode 100644 index a769591fe..000000000 --- a/vk/src/vk/VkExtent2D.cs +++ /dev/null @@ -1,107 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Vulkan -{ - /// - /// Structure specifying a two-dimensional extent. - /// - public unsafe partial struct VkExtent2D : IEquatable - { - /// - /// An with all of its components set to zero. - /// - public static readonly VkExtent2D Zero = new VkExtent2D(0, 0); - - /// - /// Initializes a new instance of structure. - /// - /// The width component of the extent. - /// The height component of the extent. - public VkExtent2D(uint width, uint height) - { - this.width = width; - this.height = height; - } - - /// - /// Initializes a new instance of structure. - /// - /// The width component of the extent. - /// The height component of the extent. - public VkExtent2D(int width, int height) - { - this.width = (uint)width; - this.height = (uint)height; - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(ref VkExtent2D other) - { - return other.width == width && other.height == height; - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(VkExtent2D other) - { - return Equals(ref other); - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public override bool Equals(object obj) - { - return obj is VkExtent2D && Equals((VkExtent2D)obj); - } - - /// - /// Returns the hash code for this instance. - /// - /// The hash code. - public override int GetHashCode() - { - unchecked - { - int hashCode = width.GetHashCode(); - hashCode = (hashCode * 397) ^ height.GetHashCode(); - return hashCode; - } - } - - /// - /// Returns a boolean indicating whether the two given extents are equal. - /// - /// The first extent to compare. - /// The second extent to compare. - /// true if the extents are equal; false otherwise. - public static bool operator ==(VkExtent2D left, VkExtent2D right) => left.Equals(ref right); - - /// - /// Returns a boolean indicating whether the two given extents are not equal. - /// - /// The first extent to compare. - /// The second extent to compare. - /// - /// true if the extents are not equal; false if they are equal. - /// - public static bool operator !=(VkExtent2D left, VkExtent2D right) => !left.Equals(ref right); - } -} diff --git a/vk/src/vk/VkImageMemoryBarrier.cs b/vk/src/vk/VkImageMemoryBarrier.cs deleted file mode 100644 index 0ca91cfca..000000000 --- a/vk/src/vk/VkImageMemoryBarrier.cs +++ /dev/null @@ -1,27 +0,0 @@ -namespace Vulkan -{ - public unsafe partial struct VkImageMemoryBarrier - { - public VkImageMemoryBarrier( - VkImage image, - VkImageSubresourceRange subresourceRange, - VkAccessFlags srcAccessMask, - VkAccessFlags dstAccessMask, - VkImageLayout oldLayout, - VkImageLayout newLayout, - uint srcQueueFamilyIndex = VulkanNative.QueueFamilyIgnored, - uint dstQueueFamilyIndex = VulkanNative.QueueFamilyIgnored) - { - sType = VkStructureType.ImageMemoryBarrier; - pNext = null; - this.srcAccessMask = srcAccessMask; - this.dstAccessMask = dstAccessMask; - this.oldLayout = oldLayout; - this.newLayout = newLayout; - this.srcQueueFamilyIndex = srcQueueFamilyIndex; - this.dstQueueFamilyIndex = dstQueueFamilyIndex; - this.image = image; - this.subresourceRange = subresourceRange; - } - } -} diff --git a/vk/src/vk/VkImageSubresourceRange.cs b/vk/src/vk/VkImageSubresourceRange.cs deleted file mode 100644 index 5218cdc4c..000000000 --- a/vk/src/vk/VkImageSubresourceRange.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace Vulkan -{ - public unsafe partial struct VkImageSubresourceRange - { - public VkImageSubresourceRange( - VkImageAspectFlags aspectMask, - uint baseMipLevel = 0, uint levelCount = 1, - uint baseArrayLayer = 0, uint layerCount = 1) - { - this.aspectMask = aspectMask; - this.baseMipLevel = baseMipLevel; - this.levelCount = levelCount; - this.baseArrayLayer = baseArrayLayer; - this.layerCount = layerCount; - } - } -} diff --git a/vk/src/vk/VkOffset2D.cs b/vk/src/vk/VkOffset2D.cs deleted file mode 100644 index 4d65dd166..000000000 --- a/vk/src/vk/VkOffset2D.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Vulkan -{ - /// - /// Structure specifying a two-dimensional offset. - /// - public unsafe partial struct VkOffset2D : IEquatable - { - /// - /// An with all of its components set to zero. - /// - public static readonly VkOffset2D Zero; - - public VkOffset2D(int x, int y) - { - this.x = x; - this.y = y; - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(ref VkOffset2D other) - { - return other.x == x && other.y == y; - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(VkOffset2D other) - { - return Equals(ref other); - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public override bool Equals(object obj) - { - return obj is VkOffset2D && Equals((VkOffset2D)obj); - } - - /// - /// Returns the hash code for this instance. - /// - /// The hash code. - public override int GetHashCode() - { - unchecked - { - int hashCode = x; - hashCode = (hashCode * 397) ^ y; - return hashCode; - } - } - - /// - /// Returns a boolean indicating whether the two given offsets are equal. - /// - /// The first offset to compare. - /// The second offset to compare. - /// true if the offsets are equal; false otherwise. - public static bool operator ==(VkOffset2D left, VkOffset2D right) => left.Equals(ref right); - - /// - /// Returns a boolean indicating whether the two given offsets are not equal. - /// - /// The first offset to compare. - /// The second offset to compare. - /// - /// true if the offsets are not equal; false if they are equal. - /// - public static bool operator !=(VkOffset2D left, VkOffset2D right) => !left.Equals(ref right); - } -} diff --git a/vk/src/vk/VkRect2D.cs b/vk/src/vk/VkRect2D.cs deleted file mode 100644 index cde98d235..000000000 --- a/vk/src/vk/VkRect2D.cs +++ /dev/null @@ -1,143 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Vulkan -{ - /// - /// Structure specifying a two-dimensional subregion. - /// - public unsafe partial struct VkRect2D : IEquatable - { - /// - /// An with all of its components set to zero. - /// - public static readonly VkRect2D Zero = new VkRect2D(VkOffset2D.Zero, VkExtent2D.Zero); - - /// - /// Initializes a new instance of the structure. - /// - /// The offset component of the rectangle. - /// The extent component of the rectangle. - public VkRect2D(VkOffset2D offset, VkExtent2D extent) - { - this.offset = offset; - this.extent = extent; - } - - /// - /// Initializes a new instance of the structure. - /// - /// The extent component of the rectangle. - public VkRect2D(VkExtent2D extent) - { - this.offset = default(VkOffset2D); - this.extent = extent; - } - - /// - /// Initializes a new instance of the structure. - /// - /// The X component of the offset. - /// The Y component of the offset. - /// The width component of the extent. - /// The height component of the extent. - public VkRect2D(int x, int y, uint width, uint height) - { - this.offset = new VkOffset2D(x, y); - this.extent = new VkExtent2D(width, height); - } - - /// - /// Initializes a new instance of the structure. - /// - /// The X component of the offset. - /// The Y component of the offset. - /// The width component of the extent. - /// The height component of the extent. - public VkRect2D(int x, int y, int width, int height) - { - this.offset = new VkOffset2D(x, y); - this.extent = new VkExtent2D(width, height); - } - - /// - /// Initializes a new instance of the structure. - /// - /// The width component of the extent. - /// The height component of the extent. - public VkRect2D(uint width, uint height) - { - this.offset = default(VkOffset2D); - this.extent = new VkExtent2D(width, height); - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(ref VkRect2D other) - { - return other.offset.Equals(ref offset) && other.extent.Equals(ref extent); - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public bool Equals(VkRect2D other) - { - return Equals(ref other); - } - - /// - /// Determines whether the specified is equal to this instance. - /// - /// The to compare with this instance. - /// - /// true if the specified is equal to this instance; otherwise, false. - /// - public override bool Equals(object obj) - { - return obj is VkRect2D && Equals((VkRect2D)obj); - } - - /// - /// Returns the hash code for this instance. - /// - /// The hash code. - public override int GetHashCode() - { - unchecked - { - int hashCode = extent.GetHashCode(); - hashCode = (hashCode * 397) ^ offset.GetHashCode(); - return hashCode; - } - } - - /// - /// Returns a boolean indicating whether the two given rectangles are equal. - /// - /// The first rectangle to compare. - /// The second rectangle to compare. - /// true if the rectangles are equal; false otherwise. - public static bool operator ==(VkRect2D left, VkRect2D right) => left.Equals(right); - - /// - /// Returns a boolean indicating whether the two given rectangles are not equal. - /// - /// The first rectangle to compare. - /// The second rectangle to compare. - /// - /// true if the rectangles are not equal; false if they are equal. - /// - public static bool operator !=(VkRect2D left, VkRect2D right) => !left.Equals(right); - } -} diff --git a/vk/src/vk/vk.csproj b/vk/src/vk/vk.csproj deleted file mode 100644 index 564a78c44..000000000 --- a/vk/src/vk/vk.csproj +++ /dev/null @@ -1,31 +0,0 @@ - - - netstandard2.0 - Library - vk - 1.0.24 - Vulkan - true - $(MSBuildThisFileDirectory)Generated - false - $(DefineConstants);CALLI_STUBS - - - Vk - $(AssemblyVersion) - Low-level bindings for the Vulkan graphics and compute API. - Vulkan Graphics 3D GPU Games Khronos - false - Copyright 2017 (c) Eric Mellino. All rights reserved. - Eric Mellino - https://github.com/mellinoe/vk - https://github.com/mellinoe/vk - - - $(BinDir)/$(Configuration)/vk.rewrite/netcoreapp2.0/vk.rewrite.dll - - - - - -