Skip to content

Commit

Permalink
Add XML documentation to ResourceFactory.CreateSwapchain.
Browse files Browse the repository at this point in the history
  • Loading branch information
mellinoe committed Mar 19, 2018
1 parent 6a10ba2 commit 8d08f28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Veldrid/ResourceFactory.cs
Expand Up @@ -257,7 +257,17 @@ public DeviceBuffer CreateBuffer(ref BufferDescription description)
/// <returns>A new <see cref="Fence"/>.</returns>
public abstract Fence CreateFence(bool signaled);

/// <summary>
/// Creates a new <see cref="Swapchain"/>.
/// </summary>
/// <param name="description">The desired properties of the created object.</param>
/// <returns>A new <see cref="Swapchain"/>.</returns>
public Swapchain CreateSwapchain(SwapchainDescription description) => CreateSwapchain(ref description);
/// <summary>
/// Creates a new <see cref="Swapchain"/>.
/// </summary>
/// <param name="description">The desired properties of the created object.</param>
/// <returns>A new <see cref="Swapchain"/>.</returns>
public abstract Swapchain CreateSwapchain(ref SwapchainDescription description);
}
}

0 comments on commit 8d08f28

Please sign in to comment.