SetBufferData ABI update

pull/1/head
cosmonaut 2022-01-13 13:59:47 -08:00
parent 34bf0b69ae
commit 07449cfef8
1 changed files with 9 additions and 1 deletions

View File

@ -66,6 +66,12 @@ namespace RefreshCS
DontCare
}
public enum SetDataOptions
{
Immediate,
Deferred
}
[Flags]
public enum ClearOptionsFlags : uint
{
@ -798,10 +804,12 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_SetBufferData(
IntPtr device,
IntPtr commandBuffer,
IntPtr buffer,
uint offsetInBytes,
IntPtr data,
uint dataLengthInBytes
uint dataLengthInBytes,
SetDataOptions setDataOption
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]