Make Vulkan class a global instance
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include "copium/core/Vulkan.h"
|
||||
#include "copium/util/Common.h"
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
@@ -11,10 +10,9 @@ namespace Copium
|
||||
{
|
||||
CP_DELETE_COPY_AND_MOVE_CTOR(Sampler);
|
||||
protected:
|
||||
Vulkan& vulkan;
|
||||
VkSampler sampler;
|
||||
public:
|
||||
Sampler(Vulkan& vulkan);
|
||||
Sampler();
|
||||
virtual ~Sampler();
|
||||
|
||||
virtual VkDescriptorImageInfo GetDescriptorImageInfo(int index) const = 0;
|
||||
|
||||
Reference in New Issue
Block a user