From 7465d4d4de1a0f2c5de5a2d0b3240671e83776d1 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 5 Mar 2024 16:12:14 -0800 Subject: [PATCH] D3D11 support --- src/Refresh.cs | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index 967ae84..dd10e80 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -324,6 +324,7 @@ namespace RefreshCS { DontCare, Vulkan, + D3D11, PS5, Invalid } @@ -1012,26 +1013,6 @@ namespace RefreshCS WriteOptions writeOption ); - [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void Refresh_CopyTextureToBuffer( - IntPtr device, - IntPtr commandBuffer, - in TextureRegion textureSlice, - IntPtr gpuBuffer, - in BufferImageCopy copyParams, - WriteOptions writeOption - ); - - [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void Refresh_CopyBufferToTexture( - IntPtr device, - IntPtr commandBuffer, - IntPtr gpuBuffer, - in TextureRegion textureSlice, - in BufferImageCopy bufferImageCopy, - WriteOptions writeOption - ); - [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_CopyBufferToBuffer( IntPtr device,