add empty depth stencil clear option to BeginRenderPass

main
cosmonaut 2021-01-14 19:01:39 -08:00
parent 377d53f7a9
commit 3379b95e44
1 changed files with 12 additions and 0 deletions

View File

@ -896,6 +896,18 @@ namespace RefreshCS
ref DepthStencilValue depthStencilClearValue
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
IntPtr renderPass,
IntPtr framebuffer,
ref Rect renderArea,
IntPtr pColorClearValues,
uint colorClearCount,
IntPtr depthStencilClearValue /* NULL */
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_EndRenderPass(
IntPtr device,