Class D3D11Resource
A resource interface provides common actions on all resources.
Inheritance
D3D11Resource
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
[SecurityCritical]
public class D3D11Resource : D3D11DeviceChild, IDisposable
Constructors
| Edit this page View SourceD3D11Resource(nint)
Initializes a new instance of the D3D11Resource class.
Declaration
public D3D11Resource(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD3D11ResourceGuid
The interface GUID.
Declaration
public static readonly Guid D3D11ResourceGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDimension
Gets the type of the resource.
Declaration
public D3D11ResourceDimension Dimension { get; }
Property Value
| Type | Description |
|---|---|
| D3D11ResourceDimension |
EvictionPriority
Gets or sets the eviction priority of a resource.
Declaration
public DxgiResourceEvictionPriority EvictionPriority { get; set; }
Property Value
| Type | Description |
|---|---|
| DxgiResourceEvictionPriority |