Toast Engine
Toggle main menu visibility
Loading...
Searching...
No Matches
vulkan_sampler.hpp
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include "vulkan_common.hpp"
7
8
#include <string_view>
9
10
namespace
renderer {
11
class
VulkanCore
;
12
13
class
VulkanSampler {
14
public
:
15
VulkanSampler() =
default
;
16
VulkanSampler(
const
VulkanCore
& core,
const
vk::SamplerCreateInfo& info, std::string_view debug_name = {});
17
18
[[nodiscard]]
19
auto
handle()
const
-> VkSampler {
20
return
*m_sampler;
21
}
22
23
private
:
24
vk::raii::Sampler m_sampler =
nullptr
;
25
};
26
27
}
renderer::VulkanCore
Definition
vulkan_core.hpp:48
engine
src
toast
renderer
vulkan_sampler.hpp
Generated by
1.17.0