Esempio n. 1
0
 public void CmdClearAttachment(ClearAttachment pAttachment, ClearRect?pRect)
 {
     unsafe {
         ClearRect  valpRect = pRect ?? default(ClearRect);
         ClearRect *ptrpRect = pRect != null ? &valpRect : (ClearRect *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdClearAttachments(this.m, (UInt32)(pAttachment != null ? 1 : 0), pAttachment != null ? pAttachment.m : (Interop.ClearAttachment *) default(IntPtr), (UInt32)(pRect != null ? 1 : 0), ptrpRect);
     }
 }
Esempio n. 2
0
 public static extern unsafe void vkCmdClearAttachments(IntPtr commandBuffer, uint attachmentCount, ClearAttachment *pAttachments, uint rectCount, ClearRect *pRects);
Esempio n. 3
0
 internal static unsafe extern void vkCmdClearAttachments(CommandBuffer commandBuffer, UInt32 attachmentCount, ClearAttachment *Attachments, UInt32 rectCount, ClearRect *Rects);