add IntPtr renderArea overloads
parent
5fe9dd8587
commit
848db820a6
|
@ -824,6 +824,16 @@ namespace RefreshCS
|
||||||
IntPtr depthStencilAttachmentInfo /* can be NULL */
|
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)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static unsafe extern void Refresh_BeginRenderPass(
|
public static unsafe extern void Refresh_BeginRenderPass(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
@ -834,6 +844,16 @@ namespace RefreshCS
|
||||||
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
|
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)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void Refresh_EndRenderPass(
|
public static extern void Refresh_EndRenderPass(
|
||||||
IntPtr device,
|
IntPtr device,
|
||||||
|
|
Loading…
Reference in New Issue