Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Instantiates a new instance of a CD3D11_VIEWPORT structure that is initialized with D3D11_BUFFER_RTV values.
void CD3D11_VIEWPORT(
ID3D11Buffer *unnamedParam1,
ID3D11RenderTargetView *pRTView,
FLOAT topLeftX,
FLOAT minDepth,
FLOAT maxDepth
);
unnamedParam1
A pointer to a ID3D11Buffer interface for a buffer.
pRTView
A pointer to a ID3D11RenderTargetView interface for the render-target view.
topLeftX
X position of the left hand side of the viewport. Ranges between D3D11_VIEWPORT_BOUNDS_MIN and D3D11_VIEWPORT_BOUNDS_MAX.
minDepth
Minimum depth of the viewport. Ranges between 0 and 1.
maxDepth
Maximum depth of the viewport. Ranges between 0 and 1.
None
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 |
Library | D3D11.lib |
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now