Flutter Engine
The Flutter Engine
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
impeller::HandleGLES Struct Reference

#include <handle_gles.h>

Classes

struct  Equal
 
struct  Hash
 

Public Member Functions

constexpr bool IsDead () const
 

Static Public Member Functions

static HandleGLES DeadHandle ()
 

Public Attributes

HandleType type = HandleType::kUnknown
 
std::optional< UniqueIDname
 

Friends

class ReactorGLES
 

Detailed Description

Definition at line 31 of file handle_gles.h.

Member Function Documentation

◆ DeadHandle()

static HandleGLES impeller::HandleGLES::DeadHandle ( )
inlinestatic

Definition at line 35 of file handle_gles.h.

35 {
36 return HandleGLES{HandleType::kUnknown, std::nullopt};
37 }

◆ IsDead()

constexpr bool impeller::HandleGLES::IsDead ( ) const
inlineconstexpr

Definition at line 39 of file handle_gles.h.

39{ return !name.has_value(); }
std::optional< UniqueID > name
Definition: handle_gles.h:33

Friends And Related Function Documentation

◆ ReactorGLES

friend class ReactorGLES
friend

Definition at line 56 of file handle_gles.h.

Member Data Documentation

◆ name

std::optional<UniqueID> impeller::HandleGLES::name

Definition at line 33 of file handle_gles.h.

◆ type

HandleType impeller::HandleGLES::type = HandleType::kUnknown

Definition at line 32 of file handle_gles.h.


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