Class D3D11Texture3D
A 3D 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 D3D11Texture3D : D3D11Resource, IDisposable
Constructors
| Edit this page View SourceD3D11Texture3D(nint)
Initializes a new instance of the D3D11Texture3D class.
Declaration
public D3D11Texture3D(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD3D11Texture3DGuid
The interface GUID.
Declaration
public static readonly Guid D3D11Texture3DGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets the properties of the texture resource.
Declaration
public D3D11Texture3DDesc Description { get; }
Property Value
| Type | Description |
|---|---|
| D3D11Texture3DDesc |
Methods
| Edit this page View SourceCreateTexture3DFromRessource(DXComObject)
Initializes a new instance of the D3D11Texture3D class.
Declaration
public static D3D11Texture3D CreateTexture3DFromRessource(DXComObject resource)
Parameters
| Type | Name | Description |
|---|---|---|
| DXComObject | resource | A ressource interface which implements the |
Returns
| Type | Description |
|---|---|
| D3D11Texture3D |
CreateTexture3DFromRessource(nint)
Initializes a new instance of the D3D11Texture3D class.
Declaration
public static D3D11Texture3D CreateTexture3DFromRessource(nint resource)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | resource | A ressource interface which implements the |
Returns
| Type | Description |
|---|---|
| D3D11Texture3D |
GetSharedHandle()
Gets the handle to a shared resource.
Declaration
public nint GetSharedHandle()
Returns
| Type | Description |
|---|---|
| nint | A handle. |