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

## Member Function Documentation

## ◆ operator==()

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

Definition at line 347 of file formats.h.

347 {
348 return z_near == other.z_near && z_far == other.z_far;
349 }

References z_far, and z_near.

## Member Data Documentation

## ◆ z_far

Scalar impeller::DepthRange::z_far = 1.0

Definition at line 345 of file formats.h.

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

## ◆ z_near

Scalar impeller::DepthRange::z_near = 0.0

Definition at line 344 of file formats.h.

Referenced by operator==(), and impeller::PassBindingsCache::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:345
impeller::DepthRange::z_near
Scalar z_near
Definition: formats.h:344