Clear and AcquireSwapchainTexture ABI break
parent
848db820a6
commit
237c3aebb6
|
@ -80,16 +80,6 @@ namespace RefreshCS
|
||||||
DontCare
|
DontCare
|
||||||
}
|
}
|
||||||
|
|
||||||
[Flags]
|
|
||||||
public enum ClearOptionsFlags : uint
|
|
||||||
{
|
|
||||||
Color = 1,
|
|
||||||
Depth = 2,
|
|
||||||
Stencil = 4,
|
|
||||||
DepthStencil = Depth | Stencil,
|
|
||||||
All = Color | Depth | Stencil
|
|
||||||
}
|
|
||||||
|
|
||||||
public enum IndexElementSize
|
public enum IndexElementSize
|
||||||
{
|
{
|
||||||
Sixteen,
|
Sixteen,
|
||||||
|
@ -596,17 +586,6 @@ namespace RefreshCS
|
||||||
|
|
||||||
/* Drawing */
|
/* Drawing */
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
|
||||||
public static extern void Refresh_Clear(
|
|
||||||
IntPtr device,
|
|
||||||
IntPtr commandBuffer,
|
|
||||||
in Rect clearRect,
|
|
||||||
Refresh.ClearOptionsFlags clearOptions,
|
|
||||||
IntPtr colors,
|
|
||||||
uint colorCount,
|
|
||||||
DepthStencilValue depthStencilValue
|
|
||||||
);
|
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_DrawInstancedPrimitives(
|
public static extern void Refresh_DrawInstancedPrimitives(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
@ -949,7 +928,9 @@ namespace RefreshCS
|
||||||
public static extern IntPtr Refresh_AcquireSwapchainTexture(
|
public static extern IntPtr Refresh_AcquireSwapchainTexture(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
IntPtr commandBuffer,
|
IntPtr commandBuffer,
|
||||||
IntPtr windowHandle
|
IntPtr windowHandle,
|
||||||
|
out uint width,
|
||||||
|
out uint height
|
||||||
);
|
);
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
|
Loading…
Reference in New Issue