| Flutter Impeller |

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

`#include <formats.h>`

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

## Public Attributes
Scalar | z_near = 0.0
Scalar | z_far = 1.0

## Detailed Description

Definition at line 394 of file formats.h.

## Member Function Documentation

## ◆ operator==()

constexpr bool impeller::DepthRange::operator== | ( | const DepthRange & | other | ) | const
| inlineconstexpr

Definition at line 398 of file formats.h.

398 {
399 return z_near == other.z_near && z_far == other.z_far;
400 }
impeller::DepthRange::z_far
Scalar z_far
Definition: formats.h:396
impeller::DepthRange::z_near
Scalar z_near
Definition: formats.h:395

References z_far, and z_near.

## Member Data Documentation

## ◆ z_far

Scalar impeller::DepthRange::z_far = 1.0

Definition at line 396 of file formats.h.

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

## ◆ z_near

Scalar impeller::DepthRange::z_near = 0.0

Definition at line 395 of file formats.h.

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

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

- impeller/core/formats.h