update SetTextureData
parent
f777e1860b
commit
a44d2cbe63
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue