From 06466292d5e6dae3b73324c251c9484f1edeef09 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Thu, 3 Mar 2022 17:16:00 -0800 Subject: [PATCH] destroy API update --- src/Refresh.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index 0eb7f86..324bcdf 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -25,7 +25,6 @@ */ using System; -using System.IO; using System.Runtime.InteropServices; namespace RefreshCS @@ -790,42 +789,36 @@ 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_QueueDestroyShaderModule( IntPtr device, - IntPtr commandBuffer, IntPtr shaderModule ); [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 );