Table of Contents

Class GraphicsAdapter

Namespace
Stride.Graphics
Assembly
Stride.Graphics.dll

Provides methods to retrieve and manipulate graphics adapters. This is the equivalent to SharpDX.DXGI.Adapter1.

public sealed class GraphicsAdapter : ComponentBase, IDisposable, IComponent, IReferencable, ICollectorHolder
Inheritance
GraphicsAdapter
Implements
Inherited Members
Extension Methods

Properties

AdapterUid

The unique id in the form of string of this device

public string AdapterUid { get; }

Property Value

string

Description

Gets the description of this adapter.

public string Description { get; }

Property Value

string

The description.

IsDefaultAdapter

Determines if this instance of GraphicsAdapter is the default adapter.

public bool IsDefaultAdapter { get; }

Property Value

bool

Outputs

Gets the GraphicsOutput attached to this adapter

public GraphicsOutput[] Outputs { get; }

Property Value

GraphicsOutput[]

The GraphicsOutput attached to this adapter.

VendorId

Gets or sets the vendor identifier.

public int VendorId { get; }

Property Value

int

The vendor identifier.

Methods

IsProfileSupported(GraphicsProfile)

Tests to see if the adapter supports the requested profile.

public bool IsProfileSupported(GraphicsProfile graphicsProfile)

Parameters

graphicsProfile GraphicsProfile

The graphics profile.

Returns

bool

true if the profile is supported

ToString()

Return the description of this adapter

public override string ToString()

Returns

string