D3D11 support

refresh2
cosmonaut 2024-03-05 16:12:14 -08:00
parent 86cc5fa142
commit 7465d4d4de
1 changed files with 1 additions and 20 deletions

View File

@ -324,6 +324,7 @@ namespace RefreshCS
{ {
DontCare, DontCare,
Vulkan, Vulkan,
D3D11,
PS5, PS5,
Invalid Invalid
} }
@ -1012,26 +1013,6 @@ namespace RefreshCS
WriteOptions writeOption 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)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_CopyBufferToBuffer( public static extern void Refresh_CopyBufferToBuffer(
IntPtr device, IntPtr device,