Exemplo n.º 1
0
 public unsafe Swapchain[] CreateSharedSwapchains(SwapchainCreateInfo[] createInfos, AllocationCallbacks allocator)
 {
     var swapchains = new Swapchain[createInfos.Length];
     fixed (SwapchainCreateInfo* __createInfos__ = &createInfos[0])
     fixed (Swapchain* __swapchains__ = &swapchains[0])
     {
         vkCreateSharedSwapchainsKHR(this, (uint)createInfos.Length, __createInfos__, &allocator, __swapchains__).CheckError();
     }
     return swapchains;
 }
Exemplo n.º 2
0
        public static SurfaceKhr CreateAndroidSurfaceKHR(this Instance instance, AndroidSurfaceCreateInfoKhr pCreateInfo, AllocationCallbacks pAllocator)
        {
            Result result;
            SurfaceKhr pSurface;
            unsafe {
                pSurface = new SurfaceKhr ();

                fixed (UInt64* ptrpSurface = &pSurface.m) {
                    result = Android.Interop.NativeMethods.vkCreateAndroidSurfaceKHR (instance.m, pCreateInfo.m, pAllocator != null ? pAllocator.m : null, ptrpSurface);
                }
                if (result != Result.Success)
                    throw new ResultException (result);

                return pSurface;
            }
        }
Exemplo n.º 3
0
 public abstract Result RegisterDisplayEvent([Count(Count = 0)] Device device, [Count(Count = 0)] DisplayKHR display, [Count(Count = 0), Flow(FlowDirection.In)] ref DisplayEventInfoEXT pDisplayEventInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0)] ref Fence pFence);
Exemplo n.º 4
0
        public static SurfaceKhr CreateIOSSurfaceMVK(this Instance instance, IOSSurfaceCreateInfoMvk pCreateInfo, AllocationCallbacks pAllocator = null)
        {
            Result     result;
            SurfaceKhr pSurface;

            unsafe {
                pSurface = new SurfaceKhr();

                fixed(UInt64 *ptrpSurface = &pSurface.m)
                {
                    result = iOS.Interop.NativeMethods.vkCreateIOSSurfaceMVK(instance.m, pCreateInfo != null ? pCreateInfo.m : (iOS.Interop.IOSSurfaceCreateInfoMvk *) default(IntPtr), pAllocator != null ? pAllocator.m : null, ptrpSurface);
                }

                if (result != Result.Success)
                {
                    throw new ResultException(result);
                }

                return(pSurface);
            }
        }
Exemplo n.º 5
0
 public unsafe void DestroyCommandPool(CommandPool commandPool, AllocationCallbacks* allocator = null)
 {
     vkDestroyCommandPool(this, commandPool, allocator);
 }
 public abstract void DestroyDescriptorUpdateTemplate([Count(Count = 0)] Device device, [Count(Count = 0)] DescriptorUpdateTemplate descriptorUpdateTemplate, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
 public abstract Result CreateSamplerYcbcrConversion([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref SamplerYcbcrConversionCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out SamplerYcbcrConversion pYcbcrConversion);
Exemplo n.º 8
0
 public abstract void DestroySwapchain([Count(Count = 0)] Device device, [Count(Count = 0)] SwapchainKHR swapchain, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 9
0
        public static SurfaceKhr CreateAndroidSurfaceKHR(this Instance instance, AndroidSurfaceCreateInfoKhr pCreateInfo, AllocationCallbacks pAllocator = null)
        {
            Result     result;
            SurfaceKhr pSurface;

            unsafe {
                pSurface = new SurfaceKhr();

                fixed(UInt64 *ptrpSurface = &pSurface.m)
                {
                    result = Android.Interop.NativeMethods.vkCreateAndroidSurfaceKHR(instance.m, pCreateInfo.m, pAllocator != null ? pAllocator.m : null, ptrpSurface);
                }

                if (result != Result.Success)
                {
                    throw new ResultException(result);
                }

                return(pSurface);
            }
        }
Exemplo n.º 10
0
 public unsafe void DestroyPipelineCache(PipelineCache pipelineCache, AllocationCallbacks* allocator = null)
 {
     vkDestroyPipelineCache(this, pipelineCache, allocator);
 }
Exemplo n.º 11
0
 public unsafe void DestroyPipelineLayout(PipelineLayout pipelineLayout, AllocationCallbacks* allocator = null)
 {
     vkDestroyPipelineLayout(this, pipelineLayout, allocator);
 }
Exemplo n.º 12
0
 public unsafe void DestroyImage(Image image, AllocationCallbacks* allocator = null)
 {
     vkDestroyImage(this, image, allocator);
 }
Exemplo n.º 13
0
 public unsafe void DestroyImageView(ImageView imageView, AllocationCallbacks* allocator = null)
 {
     vkDestroyImageView(this, imageView, allocator);
 }
Exemplo n.º 14
0
 public unsafe void DestroyFramebuffer(Framebuffer framebuffer, AllocationCallbacks* allocator = null)
 {
     vkDestroyFramebuffer(this, framebuffer, allocator);
 }
Exemplo n.º 15
0
 public unsafe void DestroyFence(Fence fence, AllocationCallbacks* allocator = null)
 {
     vkDestroyFence(this, fence, allocator);
 }
Exemplo n.º 16
0
 public unsafe void DestroyEvent(Event @event, AllocationCallbacks* allocator = null)
 {
     vkDestroyEvent(this, @event, allocator);
 }
Exemplo n.º 17
0
 public unsafe void DestroyDescriptorSetLayout(DescriptorSetLayout descriptorSetLayout, AllocationCallbacks* allocator = null)
 {
     vkDestroyDescriptorSetLayout(this, descriptorSetLayout, allocator);
 }
Exemplo n.º 18
0
 public unsafe void DestroyQueryPool(QueryPool queryPool, AllocationCallbacks* allocator = null)
 {
     vkDestroyQueryPool(this, queryPool, allocator);
 }
 public abstract void DestroyIndirectCommandsLayout([Count(Count = 0)] Device device, [Count(Count = 0)] IndirectCommandsLayoutNV indirectCommandsLayout, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 20
0
 public unsafe void DestroyRenderPass(RenderPass renderPass, AllocationCallbacks* allocator = null)
 {
     vkDestroyRenderPass(this, renderPass, allocator);
 }
Exemplo n.º 21
0
 public abstract Result CreateValidationCache([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref ValidationCacheCreateInfoEXT pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out ValidationCacheEXT pValidationCache);
Exemplo n.º 22
0
 public unsafe void DestroySampler(Sampler sampler, AllocationCallbacks* allocator = null)
 {
     vkDestroySampler(this, sampler, allocator);
 }
Exemplo n.º 23
0
 public abstract void DestroyDeferredOperation([Count(Count = 0)] Device device, [Count(Count = 0)] DeferredOperationKHR operation, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 24
0
 public unsafe void DestroySemaphore(Semaphore semaphore, AllocationCallbacks* allocator = null)
 {
     vkDestroySemaphore(this, semaphore, allocator);
 }
Exemplo n.º 25
0
 public abstract Result CreateRayTracingPipelines([Count(Count = 0)] Device device, [Count(Count = 0)] PipelineCache pipelineCache, [Count(Count = 0)] uint createInfoCount, [Count(Computed = "createInfoCount"), Flow(FlowDirection.In)] ref RayTracingPipelineCreateInfoNV pCreateInfos, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Computed = "createInfoCount"), Flow(FlowDirection.Out)] out Pipeline pPipelines);
Exemplo n.º 26
0
 public unsafe void DestroyShaderModule(ShaderModule shaderModule, AllocationCallbacks* allocator = null)
 {
     vkDestroyShaderModule(this, shaderModule, allocator);
 }
Exemplo n.º 27
0
 public abstract Result CreateDebugReportCallback([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ref DebugReportCallbackCreateInfoEXT pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DebugReportCallbackEXT pCallback);
Exemplo n.º 28
0
 public unsafe void DestroySwapchain(Swapchain swapchain, AllocationCallbacks* allocator = null)
 {
     vkDestroySwapchainKHR(this, swapchain, allocator);
 }
Exemplo n.º 29
0
 public abstract Result CreateWaylandSurface([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ref WaylandSurfaceCreateInfoKHR pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceKHR pSurface);
Exemplo n.º 30
0
 public abstract Result CreateDebugUtilsMessenger([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ref DebugUtilsMessengerCreateInfoEXT pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DebugUtilsMessengerEXT pMessenger);
Exemplo n.º 31
0
 public abstract void DestroyPrivateDataSlot([Count(Count = 0)] Device device, [Count(Count = 0)] PrivateDataSlotEXT privateDataSlot, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 32
0
 public abstract Result CreateImagePipeSurfaceFuchsia([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ref ImagePipeSurfaceCreateInfoFUCHSIA pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceKHR pSurface);
Exemplo n.º 33
0
 public unsafe void FreeMemory(DeviceMemory memory, AllocationCallbacks* allocator = null)
 {
     vkFreeMemory(this, memory, allocator);
 }
Exemplo n.º 34
0
 public unsafe void DestroyDescriptorPool(DescriptorPool descriptorPool, AllocationCallbacks* allocator = null)
 {
     vkDestroyDescriptorPool(this, descriptorPool, allocator);
 }
Exemplo n.º 35
0
 public abstract void DestroyDebugUtilsMessenger([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugUtilsMessengerEXT messenger, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 36
0
 internal static unsafe extern Result vkAllocateMemory(Device device, MemoryAllocateInfo* allocateInfo, AllocationCallbacks* allocator, DeviceMemory* memory);
 public abstract Result CreateIndirectCommandsLayout([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref IndirectCommandsLayoutCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out IndirectCommandsLayoutNV pIndirectCommandsLayout);
Exemplo n.º 38
0
 internal static unsafe extern Result vkCreateCommandPool(Device device, CommandPoolCreateInfo* createInfo, AllocationCallbacks* allocator, CommandPool* commandPool);
Exemplo n.º 39
0
 public abstract Result CreateSwapchain([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref SwapchainCreateInfoKHR pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out SwapchainKHR pSwapchain);
Exemplo n.º 40
0
 internal static unsafe extern Result vkCreateDescriptorPool(Device device, DescriptorPoolCreateInfo* createInfo, AllocationCallbacks* allocator, DescriptorPool* descriptorPool);
Exemplo n.º 41
0
 public abstract void DestroySurface([Count(Count = 0)] Instance instance, [Count(Count = 0)] SurfaceKHR surface, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 42
0
 internal static unsafe extern Result vkCreateDescriptorSetLayout(Device device, DescriptorSetLayoutCreateInfo* createInfo, AllocationCallbacks* allocator, DescriptorSetLayout* setLayout);
Exemplo n.º 43
0
 public abstract void DestroyValidationCache([Count(Count = 0)] Device device, [Count(Count = 0)] ValidationCacheEXT validationCache, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 44
0
 internal static unsafe extern Result vkCreateEvent(Device device, EventCreateInfo* createInfo, AllocationCallbacks* allocator, Event* @event);
Exemplo n.º 45
0
 public abstract Result CreateDeferredOperation([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DeferredOperationKHR pDeferredOperation);
Exemplo n.º 46
0
 internal static unsafe extern Result vkCreateFence(Device device, FenceCreateInfo* createInfo, AllocationCallbacks* allocator, Fence* fence);
 public abstract Result CreateDescriptorUpdateTemplate([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref DescriptorUpdateTemplateCreateInfo pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out DescriptorUpdateTemplate pDescriptorUpdateTemplate);
Exemplo n.º 48
0
 internal static unsafe extern Result vkCreateFramebuffer(Device device, FramebufferCreateInfo* createInfo, AllocationCallbacks* allocator, Framebuffer* framebuffer);
Exemplo n.º 49
0
 public abstract Result CreateAccelerationStructure([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref AccelerationStructureCreateInfoNV pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out AccelerationStructureNV pAccelerationStructure);
Exemplo n.º 50
0
 internal static unsafe extern Result vkCreateGraphicsPipelines(Device device, PipelineCache pipelineCache, uint createInfoCount, GraphicsPipelineCreateInfo* createInfos, AllocationCallbacks* allocator, Pipeline* pipelines);
Exemplo n.º 51
0
 public abstract void DestroyAccelerationStructure([Count(Count = 0)] Device device, [Count(Count = 0)] AccelerationStructureKHR accelerationStructure, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 52
0
 internal static unsafe extern Result vkCreateImage(Device device, ImageCreateInfo* createInfo, AllocationCallbacks* allocator, Image* image);
 public abstract void DestroySamplerYcbcrConversion([Count(Count = 0)] Device device, [Count(Count = 0)] SamplerYcbcrConversion ycbcrConversion, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 54
0
 internal static unsafe extern Result vkCreateImageView(Device device, ImageViewCreateInfo* createInfo, AllocationCallbacks* allocator, ImageView* view);
Exemplo n.º 55
0
 public abstract void DestroyDebugReportCallback([Count(Count = 0)] Instance instance, [Count(Count = 0)] DebugReportCallbackEXT callback, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator);
Exemplo n.º 56
0
 public abstract Result CreateStreamDescriptorSurfaceGgp([Count(Count = 0)] Instance instance, [Count(Count = 0), Flow(FlowDirection.In)] ref StreamDescriptorSurfaceCreateInfoGGP pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out SurfaceKHR pSurface);
 public unsafe DeviceMemory(MemoryAllocateInfo myAllocation, AllocationCallbacks pAllocator = null)
     : this(VulkanRenderer.SelectedLogicalDevice, myAllocation, pAllocator)
 {
 }
Exemplo n.º 58
0
 public abstract Result CreatePrivateDataSlot([Count(Count = 0)] Device device, [Count(Count = 0), Flow(FlowDirection.In)] ref PrivateDataSlotCreateInfoEXT pCreateInfo, [Count(Count = 0), Flow(FlowDirection.In)] ref AllocationCallbacks pAllocator, [Count(Count = 0), Flow(FlowDirection.Out)] out PrivateDataSlotEXT pPrivateDataSlot);
Exemplo n.º 59
0
        public unsafe Swapchain[] CreateSharedSwapchains(SwapchainCreateInfo[] createInfos, AllocationCallbacks allocator)
        {
            var swapchains = new Swapchain[createInfos.Length];

            fixed(SwapchainCreateInfo *__createInfos__ = &createInfos[0])
            fixed(Swapchain * __swapchains__ = &swapchains[0])
            {
                vkCreateSharedSwapchainsKHR(this, (uint)createInfos.Length, __createInfos__, &allocator, __swapchains__).CheckError();
            }
            return(swapchains);
        }
Exemplo n.º 60
0
 public unsafe void DestroyBufferView(BufferView bufferView, AllocationCallbacks* allocator = null)
 {
     vkDestroyBufferView(this, bufferView, allocator);
 }