From 1e8abe379a0ccc891ce0f4d90793feac59d30948 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Fri, 18 Feb 2022 21:01:59 -0800 Subject: [PATCH] resource destroy now requires CB --- src/Refresh.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Refresh.cs b/src/Refresh.cs index bf1cd85..312491f 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -834,54 +834,63 @@ namespace RefreshCS [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyTexture( IntPtr device, + IntPtr commandBuffer, IntPtr texture ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroySampler( IntPtr device, + IntPtr commandBuffer, IntPtr sampler ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyBuffer( IntPtr device, + IntPtr commandBuffer, IntPtr buffer ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyRenderTarget( IntPtr device, + IntPtr commandBuffer, IntPtr renderTarget ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyFramebuffer( IntPtr device, + IntPtr commandBuffer, IntPtr framebuffer ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyShaderModule( IntPtr device, + IntPtr commandBuffer, IntPtr shaderModule ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyRenderPass( IntPtr device, + IntPtr commandBuffer, IntPtr renderPass ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyComputePipeline( IntPtr device, + IntPtr commandBuffer, IntPtr computePipeline ); [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_QueueDestroyGraphicsPipeline( IntPtr device, + IntPtr commandBuffer, IntPtr graphicsPipeline );