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

## Member Function Documentation

## ◆ operator==()

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

Definition at line 393 of file formats.h.

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

References z_far, and z_near.

## Member Data Documentation

## ◆ z_far

Scalar impeller::DepthRange::z_far = 1.0

Definition at line 391 of file formats.h.

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

## ◆ z_near

Scalar impeller::DepthRange::z_near = 0.0

Definition at line 390 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:391
impeller::DepthRange::z_near
Scalar z_near
Definition: formats.h:390