| 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 397 of file formats.h.

## Member Function Documentation

## ◆ operator==()

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

Definition at line 401 of file formats.h.

401 {
402 return rect == other.rect && depth_range == other.depth_range;
403 }

References depth_range, and rect.

## Member Data Documentation

## ◆ depth_range

DepthRange impeller::Viewport::depth_range

Definition at line 399 of file formats.h.

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

## ◆ rect

Rect impeller::Viewport::rect

Definition at line 398 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

impeller::Viewport::rect
Rect rect
Definition: formats.h:398
impeller::Viewport::depth_range
DepthRange depth_range
Definition: formats.h:399