ID3D11RenderTargetView Interface

A render-target-view interface identifies the render-target subresources that can be accessed during rendering.

Syntax

interface ID3D11RenderTargetView : public ID3D11View  

Remarks

To create a render-target view, call ID3D11Device::CreateRenderTargetView. To bind a render-target view to the pipeline, call ID3D11DeviceContext::OMSetRenderTargets.

A rendertarget is a resource that can be written by the output-merger stage at the end of a render pass. Each render-target should also have a corresponding depth-stencil view.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11RenderTargetView Members