Added new APIs to the GPU class
このコミットが含まれているのは:
1 親
17ea1a0f71
コミット
ac5ed0ed60
2ファイル変更
+45
-14
検索条件に一致するファイルはありません
@@ -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();
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする