| 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 57 of file image.h.

## Member Function Documentation

## ◆ Free()

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

Definition at line 66 of file image.h.

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

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

## ◆ InvalidValue()

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

Definition at line 58 of file image.h.

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

Referenced by IsValid().

## ◆ IsValid()

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

Definition at line 62 of file image.h.

62 {
63 return value != InvalidValue();
64 }

References InvalidValue().

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

- impeller/toolkit/egl/image.h

impeller::EGLImageKHRWithDisplayTraits::InvalidValue
static EGLImageKHRWithDisplay InvalidValue()
Definition: image.h:58