Get pointers to the render targets and the depth-stencil buffer that are available to the output-merger stage.
void OMGetRenderTargets( [in] UINT NumViews, [out] ID3D10RenderTargetView **ppRenderTargetViews, [out] ID3D10DepthStencilView **ppDepthStencilView );
- NumViews [in]
Number of render targets to retrieve.
- ppRenderTargetViews [out]
Pointer to an array of render targets views (see ID3D10RenderTargetView) to be filled with the render targets from the device. Specify NULL for this parameter when retrieval of a render target is not needed.
- ppDepthStencilView [out]
Pointer to a depth-stencil view (see ID3D10DepthStencilView) to be filled with the depth-stencil information from the device. Specify NULL for this parameter when retrieval of the depth-stencil view is not needed.
Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.