mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +09:00
[Feat] (MG_Backend/DirectVulkan): VkClearManager
This commit is contained in:
@@ -42,6 +42,8 @@ namespace MobileGL {
|
||||
using SharedPtr = std::shared_ptr<T>;
|
||||
template <typename T>
|
||||
using UniquePtr = std::unique_ptr<T>;
|
||||
template <typename T>
|
||||
using WeakPtr = std::weak_ptr<T>;
|
||||
template <typename T, typename... Args>
|
||||
inline SharedPtr<T> MakeShared(Args&&... args) {
|
||||
return std::make_shared<T>(std::forward<Args>(args)...);
|
||||
|
||||
Reference in New Issue
Block a user