| Flutter Impeller |

Static Public Member Functions | List of all members
impeller::EGLImageKHRWithDisplayTraits Struct Reference

`#include <image.h>`

## Static Public Member Functions
static EGLImageKHRWithDisplay | InvalidValue ()
static bool | IsValid (const EGLImageKHRWithDisplay &value)
static void | Free (EGLImageKHRWithDisplay image)

## Detailed Description

Definition at line 58 of file image.h.

## Member Function Documentation

## ◆ Free()

static void impeller::EGLImageKHRWithDisplayTraits::Free | ( | EGLImageKHRWithDisplay | image | ) |
| inlinestatic

Definition at line 67 of file image.h.

67 {
68 eglDestroyImageKHR(image.display, image.image);
69 }

References impeller::EGLImageKHRWithDisplay::display, and impeller::EGLImageKHRWithDisplay::image.

## ◆ InvalidValue()

static EGLImageKHRWithDisplay impeller::EGLImageKHRWithDisplayTraits::InvalidValue | ( |  | ) |
| inlinestatic

Definition at line 59 of file image.h.

59 {
60 return {EGL_NO_IMAGE_KHR, EGL_NO_DISPLAY};
61 }

Referenced by IsValid().

## ◆ IsValid()

static bool impeller::EGLImageKHRWithDisplayTraits::IsValid | ( | const EGLImageKHRWithDisplay & | value | ) |
| inlinestatic

Definition at line 63 of file image.h.

63 {
64 return value != InvalidValue();
65 }
value
int32_t value
Definition: dl_golden_unittests.cc:459
impeller::EGLImageKHRWithDisplayTraits::InvalidValue
static EGLImageKHRWithDisplay InvalidValue()
Definition: image.h:59

References InvalidValue(), and value.

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

- impeller/toolkit/egl/image.h