Class D3D11Texture1D
A 1D texture interface accesses texel data, which is structured memory.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
[SecurityCritical]
public class D3D11Texture1D : D3D11Resource, IDisposable
Constructors
| Edit this page View SourceD3D11Texture1D(nint)
Initializes a new instance of the D3D11Texture1D class.
Declaration
public D3D11Texture1D(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD3D11Texture1DGuid
The interface GUID.
Declaration
public static readonly Guid D3D11Texture1DGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets the properties of the texture resource.
Declaration
public D3D11Texture1DDesc Description { get; }
Property Value
| Type | Description |
|---|---|
| D3D11Texture1DDesc |
Methods
| Edit this page View SourceCreateTexture1DFromRessource(DXComObject)
Initializes a new instance of the D3D11Texture1D class.
Declaration
public static D3D11Texture1D CreateTexture1DFromRessource(DXComObject resource)
Parameters
| Type | Name | Description |
|---|---|---|
| DXComObject | resource | A ressource interface which implements the |
Returns
| Type | Description |
|---|---|
| D3D11Texture1D |
CreateTexture1DFromRessource(nint)
Initializes a new instance of the D3D11Texture1D class.
Declaration
public static D3D11Texture1D CreateTexture1DFromRessource(nint resource)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | resource | A ressource interface which implements the |
Returns
| Type | Description |
|---|---|
| D3D11Texture1D |
GetSharedHandle()
Gets the handle to a shared resource.
Declaration
public nint GetSharedHandle()
Returns
| Type | Description |
|---|---|
| nint | A handle. |