|
Vulkan Schnee 0.0.1 (22840dc8)
High-performance rendering engine
|
Move-only ownership of a material created at runtime. More...
#include <RuntimeMaterialLease.h>
Public Member Functions | |
| RuntimeMaterialLease ()=default | |
| ~RuntimeMaterialLease () | |
| RuntimeMaterialLease (const RuntimeMaterialLease &)=delete | |
| RuntimeMaterialLease & | operator= (const RuntimeMaterialLease &)=delete |
| RuntimeMaterialLease (RuntimeMaterialLease &&other) noexcept | |
| RuntimeMaterialLease & | operator= (RuntimeMaterialLease &&other) noexcept |
| MaterialHandle | handle () const |
| bool | isValid () const |
| operator bool () const | |
| void | reset () |
Private Member Functions | |
| RuntimeMaterialLease (EngineKern *owner, MaterialHandle handle) | |
Private Attributes | |
| EngineKern * | owner_ = nullptr |
| MaterialHandle | handle_ |
Move-only ownership of a material created at runtime.
Definition at line 15 of file RuntimeMaterialLease.h.
|
default |
Referenced by operator=(), operator=(), RuntimeMaterialLease(), and RuntimeMaterialLease().
| Engine::Assets::RuntimeMaterialLease::~RuntimeMaterialLease | ( | ) |
|
delete |
|
noexcept |
|
inlineprivate |
Definition at line 36 of file RuntimeMaterialLease.h.
References ::Engine::EngineKern, handle(), handle_, and owner_.
|
inlinenodiscard |
Definition at line 27 of file RuntimeMaterialLease.h.
References handle_.
Referenced by RuntimeMaterialLease().
|
inlinenodiscard |
Definition at line 28 of file RuntimeMaterialLease.h.
References handle_, and owner_.
Referenced by operator bool().
|
inlineexplicit |
Definition at line 29 of file RuntimeMaterialLease.h.
References isValid().
|
delete |
|
noexcept |
| void Engine::Assets::RuntimeMaterialLease::reset | ( | ) |
|
private |
Definition at line 42 of file RuntimeMaterialLease.h.
Referenced by handle(), isValid(), and RuntimeMaterialLease().
|
private |
Definition at line 41 of file RuntimeMaterialLease.h.
Referenced by isValid(), and RuntimeMaterialLease().