Class D3D11Texture2D
A 2D texture interface manages texel data, which is structured memory.
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public sealed class D3D11Texture2D : D3D11Resource, IDisposable, ID3D11Releasable
Constructors
| Edit this page View SourceD3D11Texture2D(object)
Initializes a new instance of the D3D11Texture2D class.
Declaration
public D3D11Texture2D(object resource)
Parameters
Type | Name | Description |
---|---|---|
object | resource | A resource interface which implements the |
Properties
| Edit this page View SourceDescription
Gets the properties of the texture resource.
Declaration
public D3D11Texture2DDesc Description { get; }
Property Value
Type | Description |
---|---|
D3D11Texture2DDesc |
Handle
Gets an handle representing the D3D11 object interface.
Declaration
public override object Handle { get; }
Property Value
Type | Description |
---|---|
object |
Overrides
Methods
| Edit this page View SourceGetSharedHandle()
Gets the handle to a shared resource.
Declaration
public nint GetSharedHandle()
Returns
Type | Description |
---|---|
nint | A handle. |