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

## Member Function Documentation

## ◆ operator==()

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

Definition at line 392 of file formats.h.

392 {
393 return z_near == other.z_near && z_far == other.z_far;
394 }

References z_far, and z_near.

## Member Data Documentation

## ◆ z_far

Scalar impeller::DepthRange::z_far = 1.0

Definition at line 390 of file formats.h.

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

## ◆ z_near

Scalar impeller::DepthRange::z_near = 0.0

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

impeller::DepthRange::z_far
Scalar z_far
Definition: formats.h:390
impeller::DepthRange::z_near
Scalar z_near
Definition: formats.h:389