diff options
Diffstat (limited to 'tools/gfx/vulkan/vk-sampler.h')
| -rw-r--r-- | tools/gfx/vulkan/vk-sampler.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tools/gfx/vulkan/vk-sampler.h b/tools/gfx/vulkan/vk-sampler.h new file mode 100644 index 000000000..c3ca39073 --- /dev/null +++ b/tools/gfx/vulkan/vk-sampler.h @@ -0,0 +1,26 @@ +// vk-sampler.h +#pragma once + +#include "vk-base.h" +#include "vk-device.h" + +namespace gfx +{ + +using namespace Slang; + +namespace vk +{ + +class SamplerStateImpl : public SamplerStateBase +{ +public: + VkSampler m_sampler; + RefPtr<DeviceImpl> m_device; + SamplerStateImpl(DeviceImpl* device); + ~SamplerStateImpl(); + virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle(InteropHandle* outHandle) override; +}; + +} // namespace vk +} // namespace gfx |
