D3D11 support
parent
86cc5fa142
commit
7465d4d4de
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue