Beispiel #1
0
 /// <summary>
 /// Allocate command buffers from an existing command pool.
 /// </summary>
 /// <param name="allocateInfo">The structure describing parameters of the allocation.</param>
 /// <returns>
 /// The resulting command buffer objects returned. Each allocated command buffer begins in
 /// the initial state.
 /// </returns>
 /// <exception cref="VulkanException">Vulkan returns an error code.</exception>
 public CommandBuffer[] AllocateBuffers(CommandBufferAllocateInfo allocateInfo)
 {
     return(CommandBuffer.Allocate(this, &allocateInfo));
 }