Class D3D11ShaderResourceView
A shader-resource-view interface specifies the subresources a shader can access during rendering.
Implements
Inherited Members
Namespace: JeremyAnsel.DirectX.D3D11
Assembly: JeremyAnsel.DirectX.D3D11.dll
Syntax
[SecurityCritical]
public class D3D11ShaderResourceView : D3D11View, IDisposable
Constructors
| Edit this page View SourceD3D11ShaderResourceView(nint)
Initializes a new instance of the D3D11ShaderResourceView class.
Declaration
public D3D11ShaderResourceView(nint comPtr)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | comPtr |
Fields
| Edit this page View SourceD3D11ShaderResourceViewGuid
The interface GUID.
Declaration
public static readonly Guid D3D11ShaderResourceViewGuid
Field Value
| Type | Description |
|---|---|
| Guid |
Properties
| Edit this page View SourceDescription
Gets the shader resource view's description.
Declaration
public D3D11ShaderResourceViewDesc Description { get; }
Property Value
| Type | Description |
|---|---|
| D3D11ShaderResourceViewDesc |