Game Development Reference
In-Depth Information
m_renderTargetSize.Height
);
m_d3dContext->RSSetViewports(1, &viewport);
Now that we have created everything, we just need to finish up by setting the render
target view and depth stencil view so that the API knows to use them. This is
done with a single call to the m_d3dContext->OMSetRenderTargets() method,
passing the number of render targets, a pointer to the first render target view pointer,
and a pointer to the depth stencil view.
Search WWH ::




Custom Search