Class D3D11View
A view interface specifies the parts of a resource the pipeline can access during rendering.
Inheritance
D3D11View
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
public abstract class D3D11View : D3D11DeviceChild, IDisposable, ID3D11Releasable
Methods
| Edit this page View SourceGetResource()
Gets the resource that is accessed through this view.
Declaration
[SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Justification = "Reviewed")]
[SuppressMessage("Reliability", "CA2010:Toujours consommer la valeur retournée par les méthodes marquées avec PreserveSigAttribute", Justification = "Reviewed.")]
public D3D11Resource? GetResource()
Returns
| Type | Description |
|---|---|
| D3D11Resource | The resource that is accessed through this view. |