CD3D11_VIEWPORT::CD3D11_VIEWPORT(constD3D11_VIEWPORT&) function (d3d11.h)

Instantiates a new instance of a CD3D11_VIEWPORT structure that is initialized with a D3D11_VIEWPORT structure.

Syntax

void CD3D11_VIEWPORT(
  [ref] const D3D11_VIEWPORT & o
);

Parameters

[ref] o

Type: const D3D11_VIEWPORT

Address of the D3D11_VIEWPORT structure that initializes the CD3D11_VIEWPORT structure.

Return value

None

Requirements

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

See also

CD3D11_VIEWPORT