Some checks failed
continuous-integration/drone/push Build is failing
Reviewed-on: #57 Co-authored-by: light7734 <light7734@tuta.io> Co-committed-by: light7734 <light7734@tuta.io>
24 lines
444 B
C++
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
|