mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
611dad7f69
Not hooked up yet.
32 lines
494 B
C++
32 lines
494 B
C++
#ifndef __VK_SAMPLERS_H
|
|
#define __VK_SAMPLERS_H
|
|
|
|
#include "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
|
|
|