light/modules/renderer/private/frontend/context/instance.hpp
light7734 847ad7dd74
Some checks failed
continuous-integration/drone/push Build is failing
ci(amd64/clang/lsan): fix leak sanitizer errors (#57)
Reviewed-on: #57
Co-authored-by: light7734 <light7734@tuta.io>
Co-committed-by: light7734 <light7734@tuta.io>
2025-10-09 14:08:14 +00:00

24 lines
444 B
C++

#pragma once
#include <renderer/api.hpp>
namespace lt::renderer {
class IInstance
{
public:
[[nodiscard]] static auto get(Api target_api) -> IInstance *;
IInstance() = default;
virtual ~IInstance() = default;
IInstance(IInstance &&) = default;
IInstance(const IInstance &) = delete;
auto operator=(IInstance &&) -> IInstance & = default;
auto operator=(const IInstance &) -> IInstance & = delete;
};
} // namespace lt::renderer