ID3D11View interface (d3d11.h)
A view interface specifies the parts of a resource the pipeline can access during rendering.
Inheritance
The ID3D11View interface inherits from ID3D11DeviceChild. ID3D11View also has these types of members:
Methods
The ID3D11View interface has these methods.
ID3D11View::GetResource Get the resource that is accessed through this view. (ID3D11View.GetResource) |
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.
- To bind a render-target view or a depth-stencil view, call ID3D11DeviceContext::OMSetRenderTargets.
- To bind a shader resource, call ID3D11DeviceContext::VSSetShaderResources.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |