ID3D10View interface (d3d10.h)
A view interface specifies the parts of a resource the pipeline can access during rendering (see view).
Inheritance
The ID3D10View interface inherits from ID3D10DeviceChild. ID3D10View also has these types of members:
Methods
The ID3D10View interface has these methods.
ID3D10View::GetResource Get the resource that is accessed through this view. (ID3D10View.GetResource) |
Remarks
A view interface is the base interface for all views. There are three types of views; a depth-stencil view, a render-target view, and a shader-resource view.
- To create a render-target view, call ID3D10Device::CreateRenderTargetView.
- To create a depth-stencil view, call ID3D10Device::CreateDepthStencilView.
- To create a shader-resource view, call ID3D10Device::CreateShaderResourceView.
- To bind a render-target view or a depth-stencil view, call ID3D10Device::OMSetRenderTargets.
- To bind a shader-resource view, call ID3D10Device::VSSetShaderResources.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |