ID3D11View interface
A view interface specifies the parts of a resource the pipeline can access during rendering.
Members
The ID3D11View interface inherits from ID3D11DeviceChild. ID3D11View also has these types of members:
Methods
The ID3D11View interface has these methods.
| Method | Description |
|---|---|
| GetResource |
Get the resource that is accessed through this view. |
Remarks
A view interface is the base interface for all views. There are four types of views; a depth-stencil view, a render-target view, a shader-resource view, and an unordered-access view.
- To create a render-target view, call ID3D11Device::CreateRenderTargetView.
- To create a depth-stencil view, call ID3D11Device::CreateDepthStencilView.
- To create a shader-resource view, call ID3D11Device::CreateShaderResourceView.
- To create an unordered-access view, call ID3D11Device::CreateUnorderedAccessView.
All resources must be bound to the pipeline before they can be accessed.
- To bind a render-target view or a depth-stencil view, call ID3D11DeviceContext::OMSetRenderTargets.
- To bind a shader resource, call ID3D11DeviceContext::VSSetShaderResources.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
Library |
|
See also