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

## Member Function Documentation

## ◆ operator==()

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

Definition at line 407 of file formats.h.

407 {
408 return rect == other.rect && depth_range == other.depth_range;
409 }
impeller::Viewport::rect
Rect rect
Definition: formats.h:404
impeller::Viewport::depth_range
DepthRange depth_range
Definition: formats.h:405

References depth_range, and rect.

## Member Data Documentation

## ◆ depth_range

DepthRange impeller::Viewport::depth_range

Definition at line 405 of file formats.h.

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

## ◆ rect

Rect impeller::Viewport::rect

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