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