A unique handle to an OpenGL object. The collection of this handle scheduled the destruction of the associated OpenGL object in the reactor. More...
#include <unique_handle_gles.h>
Public Member Functions | |
UniqueHandleGLES (std::shared_ptr< ReactorGLES > reactor, HandleType type) | |
UniqueHandleGLES (std::shared_ptr< ReactorGLES > reactor, HandleGLES handle) | |
~UniqueHandleGLES () | |
UniqueHandleGLES (UniqueHandleGLES &&) | |
UniqueHandleGLES (const UniqueHandleGLES &)=delete | |
UniqueHandleGLES & | operator= (const UniqueHandleGLES &)=delete |
const HandleGLES & | Get () const |
bool | IsValid () const |
Static Public Member Functions | |
static UniqueHandleGLES | MakeUntracked (std::shared_ptr< ReactorGLES > reactor, HandleType type) |
A unique handle to an OpenGL object. The collection of this handle scheduled the destruction of the associated OpenGL object in the reactor.
Definition at line 18 of file unique_handle_gles.h.
impeller::UniqueHandleGLES::UniqueHandleGLES | ( | std::shared_ptr< ReactorGLES > | reactor, |
HandleType | type | ||
) |
Definition at line 11 of file unique_handle_gles.cc.
References type.
Referenced by MakeUntracked().
impeller::UniqueHandleGLES::UniqueHandleGLES | ( | std::shared_ptr< ReactorGLES > | reactor, |
HandleGLES | handle | ||
) |
Definition at line 28 of file unique_handle_gles.cc.
impeller::UniqueHandleGLES::~UniqueHandleGLES | ( | ) |
Definition at line 32 of file unique_handle_gles.cc.
References impeller::HandleGLES::IsDead().
impeller::UniqueHandleGLES::UniqueHandleGLES | ( | UniqueHandleGLES && | other | ) |
Definition at line 46 of file unique_handle_gles.cc.
|
delete |
const HandleGLES & impeller::UniqueHandleGLES::Get | ( | ) | const |
Definition at line 38 of file unique_handle_gles.cc.
Referenced by impeller::testing::TEST().
bool impeller::UniqueHandleGLES::IsValid | ( | ) | const |
Definition at line 42 of file unique_handle_gles.cc.
References impeller::HandleGLES::IsDead().
|
static |
Definition at line 20 of file unique_handle_gles.cc.
References type, and UniqueHandleGLES().
Referenced by impeller::testing::TEST().
|
delete |