update SetTextureData

main
cosmonaut 2021-11-14 20:41:23 -08:00
parent f777e1860b
commit a44d2cbe63
1 changed files with 3 additions and 1 deletions

View File

@ -749,7 +749,8 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_SetTextureData( public static extern void Refresh_SetTextureData(
IntPtr device, IntPtr device,
in TextureSlice textureSlice, IntPtr commandBuffer,
ref TextureSlice textureSlice,
IntPtr data, IntPtr data,
uint dataLengthInBytes uint dataLengthInBytes
); );
@ -757,6 +758,7 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_SetTextureDataYUV( public static extern void Refresh_SetTextureDataYUV(
IntPtr device, IntPtr device,
IntPtr commandBuffer,
IntPtr y, IntPtr y,
IntPtr u, IntPtr u,
IntPtr v, IntPtr v,