public static VkClearAttachment *MarshalIndirect(this VkClearAttachment s, ref byte *unmanaged) { var result = (VkClearAttachment *)unmanaged; unmanaged += sizeof(VkClearAttachment); *result = s; return(result); }
public static int SizeOfMarshalIndirect(this VkClearAttachment s) => sizeof(VkClearAttachment);
public void CmdClearAttachments(int attachmentCount, VkClearAttachment attachments, int rectCount, VkClearRect rects) { var _commandBuffer = Handle; var _attachmentCount = attachmentCount; var _pAttachments = &attachments; var _rectCount = rectCount; var _pRects = &rects; Direct.CmdClearAttachments(_commandBuffer, _attachmentCount, _pAttachments, _rectCount, _pRects); }