Added new APIs to the GPU class

このコミットが含まれているのは:
Sergio Pedri committed 2019-08-13 12:42:03 +02:00
1 親 17ea1a0f71
コミット ac5ed0ed60
2ファイル変更
+45 -14

検索条件に一致するファイルはありません

+1 -6
ファイルの表示
@@ -11,16 +11,11 @@ namespace ComputeSharp.Graphics
{
private readonly AutoResetEvent fenceEvent = new AutoResetEvent(false);
/// <summary>
/// Creates a new <see cref="GraphicsDevice"/> instance for the default GPU on the current machine
/// </summary>
public GraphicsDevice() : this(new Device(null, FeatureLevel)) { }
/// <summary>
/// Creates a new <see cref="GraphicsDevice"/> instance for the input <see cref="Device"/>
/// </summary>
/// <param name="device">The <see cref="Device"/> to use for the new <see cref="GraphicsDevice"/> instance</param>
private GraphicsDevice(Device device)
public GraphicsDevice(Device device)
{
#if DEBUG
DebugInterface.Get().EnableDebugLayer();