| Flutter Impeller |

Public Member Functions | Public Attributes | List of all members
impeller::Viewport Struct Reference

`#include <formats.h>`

## Public Member Functions
constexpr bool | operator== (const Viewport &other) const

## Public Attributes
Rect | rect
DepthRange | depth_range

## Detailed Description

Definition at line 406 of file formats.h.

## Member Function Documentation

## ◆ operator==()

constexpr bool impeller::Viewport::operator== | ( | const Viewport & | other | ) | const
| inline constexpr

Definition at line 410 of file formats.h.

410 {
411 return rect == other.rect && depth_range == other.depth_range;
412 }
impeller::Viewport::rect
Rect rect
Definition: formats.h:407
impeller::Viewport::depth_range
DepthRange depth_range
Definition: formats.h:408

References depth_range, and rect.

## Member Data Documentation

## ◆ depth_range

DepthRange impeller::Viewport::depth_range

Definition at line 408 of file formats.h.

Referenced by operator==(), and impeller::PassBindingsCacheMTL::SetViewport().

## ◆ rect

Rect impeller::Viewport::rect

Definition at line 407 of file formats.h.

Referenced by ImGui_ImplImpeller_RenderDrawData(), operator==(), and impeller::PassBindingsCacheMTL::SetViewport().

The documentation for this struct was generated from the following file:

- impeller/core/formats.h