forked from MoonsideGames/RefreshCS
add IntPtr renderArea overloads
parent
5fe9dd8587
commit
848db820a6
|
@ -824,6 +824,16 @@ namespace RefreshCS
|
|||
IntPtr depthStencilAttachmentInfo /* can be NULL */
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Refresh_BeginRenderPass(
|
||||
IntPtr device,
|
||||
IntPtr commandBuffer,
|
||||
IntPtr renderArea, /* can be NULL */
|
||||
IntPtr colorAttachmentInfos,
|
||||
uint colorAttachmentCount,
|
||||
IntPtr depthStencilAttachmentInfo /* can be NULL */
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void Refresh_BeginRenderPass(
|
||||
IntPtr device,
|
||||
|
@ -834,6 +844,16 @@ namespace RefreshCS
|
|||
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static unsafe extern void Refresh_BeginRenderPass(
|
||||
IntPtr device,
|
||||
IntPtr commandBuffer,
|
||||
IntPtr renderArea, /* can be NULL */
|
||||
ColorAttachmentInfo* colorAttachmentInfos,
|
||||
uint colorAttachmentCount,
|
||||
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void Refresh_EndRenderPass(
|
||||
IntPtr device,
|
||||
|
|
Loading…
Reference in New Issue