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

## Member Function Documentation

## ◆ operator==()

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

Definition at line 401 of file formats.h.

401 {
402 return z_near == other.z_near && z_far == other.z_far;
403 }
impeller::DepthRange::z_far
Scalar z_far
Definition: formats.h:399
impeller::DepthRange::z_near
Scalar z_near
Definition: formats.h:398

References z_far, and z_near.

## Member Data Documentation

## ◆ z_far

Scalar impeller::DepthRange::z_far = 1.0

Definition at line 399 of file formats.h.

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

## ◆ z_near

Scalar impeller::DepthRange::z_near = 0.0

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