3#include "Engine/Asset/AssetHandles.h"
29 explicit operator bool()
const {
return isValid(); }
34 friend class ::Engine::EngineKern;
RuntimeMaterialLease(const RuntimeMaterialLease &)=delete
friend class ::Engine::EngineKern
RuntimeMaterialLease()=default
RuntimeMaterialLease & operator=(RuntimeMaterialLease &&other) noexcept
RuntimeMaterialLease(RuntimeMaterialLease &&other) noexcept
MaterialHandle handle() const
RuntimeMaterialLease(EngineKern *owner, MaterialHandle handle)
RuntimeMaterialLease & operator=(const RuntimeMaterialLease &)=delete
Owns the engine runtime and provides access to engine subsystems.
AssetHandle< MaterialHandleTag > MaterialHandle
Handle to a material payload.