Class DxgiResource1
An IDXGIResource
interface allows resource sharing and identifies the memory that a resource resides in.
Inherited Members
Namespace: JeremyAnsel.DirectX.Dxgi
Assembly: JeremyAnsel.DirectX.Dxgi.dll
Syntax
public sealed class DxgiResource1 : DxgiDeviceSubObject, IDisposable, IDxgiReleasable
Constructors
| Edit this page View SourceDxgiResource1(object)
Initializes a new instance of the DxgiResource1 class.
Declaration
public DxgiResource1(object resource)
Parameters
Type | Name | Description |
---|---|---|
object | resource | A resource interface which implements the |
Properties
| Edit this page View SourceEvictionPriority
Gets or sets the eviction priority.
Declaration
public DxgiResourceEvictionPriority EvictionPriority { get; set; }
Property Value
Type | Description |
---|---|
DxgiResourceEvictionPriority |
Handle
Gets an handle representing the DXGI object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
| Edit this page View SourceUsage
Gets the expected resource usage.
Declaration
public DxgiUsages Usage { get; }
Property Value
Type | Description |
---|---|
DxgiUsages |
Methods
| Edit this page View SourceGetSharedHandle()
Gets the handle to a shared resource.
Declaration
public nint GetSharedHandle()
Returns
Type | Description |
---|---|
nint | A handle. |