resource destroy now requires CB

main
cosmonaut 2022-02-18 21:01:59 -08:00
parent 95cd22c48a
commit 1e8abe379a
1 changed files with 9 additions and 0 deletions

View File

@ -834,54 +834,63 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyTexture( public static extern void Refresh_QueueDestroyTexture(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr texture IntPtr texture
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroySampler( public static extern void Refresh_QueueDestroySampler(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr sampler IntPtr sampler
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyBuffer( public static extern void Refresh_QueueDestroyBuffer(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr buffer IntPtr buffer
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyRenderTarget( public static extern void Refresh_QueueDestroyRenderTarget(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr renderTarget IntPtr renderTarget
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyFramebuffer( public static extern void Refresh_QueueDestroyFramebuffer(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr framebuffer IntPtr framebuffer
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyShaderModule( public static extern void Refresh_QueueDestroyShaderModule(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr shaderModule IntPtr shaderModule
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyRenderPass( public static extern void Refresh_QueueDestroyRenderPass(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr renderPass IntPtr renderPass
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyComputePipeline( public static extern void Refresh_QueueDestroyComputePipeline(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr computePipeline IntPtr computePipeline
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_QueueDestroyGraphicsPipeline( public static extern void Refresh_QueueDestroyGraphicsPipeline(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr graphicsPipeline IntPtr graphicsPipeline
); );