Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 internal unsafe void MarshalTo(SharpVk.Interop.CommandBufferAllocateInfo *pointer)
 {
     pointer->SType              = StructureType.CommandBufferAllocateInfo;
     pointer->Next               = null;
     pointer->CommandPool        = this.CommandPool?.handle ?? default(SharpVk.Interop.CommandPool);
     pointer->Level              = this.Level;
     pointer->CommandBufferCount = this.CommandBufferCount;
 }
Beispiel #2
0
 public static extern SharpVk.Result vkAllocateCommandBuffers(SharpVk.Interop.Device device, SharpVk.Interop.CommandBufferAllocateInfo *allocateInfo, SharpVk.Interop.CommandBuffer *commandBuffers);