| Flutter Impeller |

Public Member Functions | List of all members
impeller::egl::Config Class Reference

`#include <config.h>`

## Public Member Functions
| Config (ConfigDescriptor descriptor, EGLConfig config)
| ~Config ()
bool | IsValid () const
const ConfigDescriptor & | GetDescriptor () const
const EGLConfig & | GetHandle () const

## Detailed Description

Definition at line 55 of file config.h.

## Constructor & Destructor Documentation

## ◆ Config()

impeller::egl::Config::Config | ( | ConfigDescriptor | descriptor,
|  | EGLConfig | config
| ) |  |

Definition at line 12 of file config.cc.

13 : desc_(descriptor), config_(config) {}

## ◆ ~Config()

impeller::egl::Config::~Config | ( |  | ) |
| default

## Member Function Documentation

## ◆ GetDescriptor()

const ConfigDescriptor & impeller::egl::Config::GetDescriptor | ( |  | ) | const

Definition at line 17 of file config.cc.

17 {
18 return desc_;
19 }

Referenced by impeller::egl::Display::CreateContext().

## ◆ GetHandle()

const EGLConfig & impeller::egl::Config::GetHandle | ( |  | ) | const

Definition at line 21 of file config.cc.

21 {
22 return config_;
23 }

Referenced by impeller::egl::Display::CreateContext(), impeller::egl::Display::CreatePixelBufferSurface(), and impeller::egl::Display::CreateWindowSurface().

## ◆ IsValid()

bool impeller::egl::Config::IsValid | ( |  | ) | const

Definition at line 25 of file config.cc.

25 {
26 return config_ != nullptr;
27 }

The documentation for this class was generated from the following files:

- impeller/toolkit/egl/config.h
- impeller/toolkit/egl/config.cc