move VK source files to up-level folder
This commit is contained in:
31
inc/hgl/graph/VKSampler.h
Normal file
31
inc/hgl/graph/VKSampler.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#ifndef HGL_GRAPH_VULKAN_SAMPLER_INCLUDE
|
||||
#define HGL_GRAPH_VULKAN_SAMPLER_INCLUDE
|
||||
|
||||
#include<hgl/graph/VK.h>
|
||||
VK_NAMESPACE_BEGIN
|
||||
class Device;
|
||||
|
||||
class Sampler
|
||||
{
|
||||
VkDevice device;
|
||||
VkSampler sampler;
|
||||
|
||||
protected:
|
||||
|
||||
friend class Device;
|
||||
|
||||
Sampler(VkDevice dev,VkSampler s)
|
||||
{
|
||||
device=dev;
|
||||
sampler=s;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
~Sampler();
|
||||
|
||||
operator VkSampler(){return sampler;}
|
||||
operator const VkSampler()const{return sampler;}
|
||||
};//class Sampler
|
||||
VK_NAMESPACE_END
|
||||
#endif//HGL_GRAPH_VULKAN_SAMPLER_INCLUDE
|
Reference in New Issue
Block a user