示例#1
0
        public static VkClearAttachment *MarshalIndirect(this VkClearAttachment s, ref byte *unmanaged)
        {
            var result = (VkClearAttachment *)unmanaged;

            unmanaged += sizeof(VkClearAttachment);
            *result = s;
            return(result);
        }
示例#2
0
 public static int SizeOfMarshalIndirect(this VkClearAttachment s) =>
 sizeof(VkClearAttachment);
示例#3
0
 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);
 }