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

Member Function Documentation

◆ operator==()

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

Definition at line 407 of file formats.h.

407  {
408  return rect == other.rect && depth_range == other.depth_range;
409  }
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

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