operator==(D3D11_VIEWPORT, D3D11_VIEWPORT)

Determines whether two instances of D3D11_VIEWPORT have the same coordinates.

Syntax

bool operator==(
         const D3D11_VIEWPORT &l,
         const D3D11_VIEWPORT &r
)  

Parameters

l
Type: D3D11_VIEWPORT 

An instance of D3D11_VIEWPORT.

r
Type: D3D11_VIEWPORT 

An instance of D3D11_VIEWPORT.

Return value

Type: bool 

true if the two instances have the same coordinates; otherwise false.

Requirements

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