Flutter Impeller
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 398 of file formats.h.

Member Function Documentation

◆ operator==()

constexpr bool impeller::Viewport::operator== ( const Viewport other) const
inlineconstexpr

Definition at line 402 of file formats.h.

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

References depth_range, and rect.

Member Data Documentation

◆ depth_range

DepthRange impeller::Viewport::depth_range

Definition at line 400 of file formats.h.

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

◆ rect

Rect impeller::Viewport::rect

The documentation for this struct was generated from the following file:
impeller::Viewport::rect
Rect rect
Definition: formats.h:399
impeller::Viewport::depth_range
DepthRange depth_range
Definition: formats.h:400