SetBufferData ABI update
parent
34bf0b69ae
commit
07449cfef8
|
@ -66,6 +66,12 @@ namespace RefreshCS
|
||||||
DontCare
|
DontCare
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum SetDataOptions
|
||||||
|
{
|
||||||
|
Immediate,
|
||||||
|
Deferred
|
||||||
|
}
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum ClearOptionsFlags : uint
|
public enum ClearOptionsFlags : uint
|
||||||
{
|
{
|
||||||
|
@ -798,10 +804,12 @@ namespace RefreshCS
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_SetBufferData(
|
public static extern void Refresh_SetBufferData(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
IntPtr commandBuffer,
|
||||||
IntPtr buffer,
|
IntPtr buffer,
|
||||||
uint offsetInBytes,
|
uint offsetInBytes,
|
||||||
IntPtr data,
|
IntPtr data,
|
||||||
uint dataLengthInBytes
|
uint dataLengthInBytes,
|
||||||
|
SetDataOptions setDataOption
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in New Issue