gzdoom-gles/src/rendering/vulkan/textures/vk_samplers.h
Magnus Norddahl c6b29846d0 - add 3rd party vulkan dependencies
- add stubs for a vulkan hw renderer backend
- add RAII wrappers for vulkan object types
- add builder classes to isolate vulkan boilerplate code
- add a swap chain class
2019-02-20 21:21:57 +01:00

32 lines
504 B
C++

#ifndef __VK_SAMPLERS_H
#define __VK_SAMPLERS_H
#include "rendering/vulkan/system/vk_objects.h"
class VulkanDevice;
class VkSamplerManager
{
VulkanDevice *vDevice;
std::unique_ptr<VulkanSampler> mSamplers[7];
//void UnbindAll();
void Create();
void Destroy();
public:
VkSamplerManager(VulkanDevice *dev);
~VkSamplerManager();
//uint8_t Bind(int texunit, int num, int lastval);
void SetTextureFilterMode();
VulkanSampler *Get(int no) const { return mSamplers[no].get(); }
};
#endif