Пример #1
0
 public unsafe void ClearAttachments(uint attachmentCount, ref ClearAttachment attachments, uint rectCount, ClearRect* rects)
 {
     fixed (ClearAttachment* __attachments__ = &attachments)
     {
         vkCmdClearAttachments(this, attachmentCount, __attachments__, rectCount, rects);
     }
 }
Пример #2
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);
     }
 }
Пример #3
0
 internal static unsafe extern void vkCmdClearAttachments(CommandBuffer commandBuffer, uint attachmentCount, ClearAttachment* attachments, uint rectCount, ClearRect* rects);