Struct DxgiAdapterDesc
Describes an adapter (or video card) by using DXGI 1.0.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public struct DxgiAdapterDesc : IEquatable<DxgiAdapterDesc>
Properties
| Edit this page View SourceAdapterDescription
Gets a string that contains the adapter description. On feature level 9 graphics hardware, “Software Adapter”.
Declaration
public string AdapterDescription { get; }
Property Value
Type | Description |
---|---|
string |
AdapterLuid
Gets a unique value that identifies the adapter.
Declaration
public ulong AdapterLuid { get; }
Property Value
Type | Description |
---|---|
ulong |
DedicatedSystemMemory
Gets the number of bytes of dedicated system memory that are not shared with the CPU. This memory is allocated from available system memory at boot time.
Declaration
public ulong DedicatedSystemMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
DedicatedVideoMemory
Gets the number of bytes of dedicated video memory that are not shared with the CPU.
Declaration
public ulong DedicatedVideoMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
DeviceId
Gets the PCI ID of the hardware device. On feature level 9 graphics hardware, 0.
Declaration
public uint DeviceId { get; }
Property Value
Type | Description |
---|---|
uint |
Revision
Gets the PCI ID of the revision number of the adapter. On feature level 9 graphics hardware, 0.
Declaration
public uint Revision { get; }
Property Value
Type | Description |
---|---|
uint |
SharedSystemMemory
Gets the number of bytes of shared system memory. This is the maximum value of system memory that may be consumed by the adapter during operation. Any incidental memory consumed by the driver as it manages and uses video memory is additional.
Declaration
public ulong SharedSystemMemory { get; }
Property Value
Type | Description |
---|---|
ulong |
SubSysId
Gets the PCI ID of the sub system. On feature level 9 graphics hardware, 0.
Declaration
public uint SubSysId { get; }
Property Value
Type | Description |
---|---|
uint |
VendorId
Gets the PCI ID of the hardware vendor. On feature level 9 graphics hardware, 0.
Declaration
public uint VendorId { get; }
Property Value
Type | Description |
---|---|
uint |
Methods
| Edit this page View SourceEquals(DxgiAdapterDesc)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(DxgiAdapterDesc other)
Parameters
Type | Name | Description |
---|---|---|
DxgiAdapterDesc | other | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceGetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A 32-bit signed integer that is the hash code for this instance. |
Overrides
| Edit this page View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |
Overrides
Operators
| Edit this page View Sourceoperator ==(DxgiAdapterDesc, DxgiAdapterDesc)
Compares two DxgiAdapterDesc objects. The result specifies whether the values of the two objects are equal.
Declaration
public static bool operator ==(DxgiAdapterDesc left, DxgiAdapterDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiAdapterDesc | left | The left DxgiAdapterDesc to compare. |
DxgiAdapterDesc | right | The right DxgiAdapterDesc to compare. |
Returns
Type | Description |
---|---|
bool |
operator !=(DxgiAdapterDesc, DxgiAdapterDesc)
Compares two DxgiAdapterDesc objects. The result specifies whether the values of the two objects are unequal.
Declaration
public static bool operator !=(DxgiAdapterDesc left, DxgiAdapterDesc right)
Parameters
Type | Name | Description |
---|---|---|
DxgiAdapterDesc | left | The left DxgiAdapterDesc to compare. |
DxgiAdapterDesc | right | The right DxgiAdapterDesc to compare. |
Returns
Type | Description |
---|---|
bool |