2#ifndef LIBSBX_GRAPHICS_IMAGES_SAMPLER_STATE_HPP_
3#define LIBSBX_GRAPHICS_IMAGES_SAMPLER_STATE_HPP_
5#include <libsbx/graphics/descriptor/descriptor.hpp>
6#include <libsbx/graphics/resource_storage.hpp>
7#include <libsbx/graphics/images/image2d.hpp>
9namespace sbx::graphics {
15 sampler_state(graphics::filter mag_filter, graphics::filter min_filter, graphics::address_mode address_mode_u, graphics::address_mode address_mode_v, std::float_t anisotropy = 1.0f);
17 sampler_state(graphics::filter filter = graphics::filter::linear, graphics::address_mode address_mode = graphics::address_mode::clamp_to_edge);
21 static auto create_descriptor_set_layout_binding(std::uint32_t binding, VkDescriptorType descriptor_type, VkShaderStageFlags shader_stage_flags)
noexcept -> VkDescriptorSetLayoutBinding;
25 auto handle()
const noexcept -> VkSampler;
27 operator VkSampler()
const noexcept;
Definition: descriptor.hpp:38
Definition: resource_storage.hpp:18
Definition: sampler_state.hpp:11
Definition: descriptor.hpp:13