2#ifndef LIBSBX_GRAPHICS_SAMPLERS_SAMPLER_STATE_ARRAY_HPP_
3#define LIBSBX_GRAPHICS_SAMPLERS_SAMPLER_STATE_ARRAY_HPP_
6#include <unordered_map>
8#include <libsbx/graphics/descriptor/descriptor.hpp>
9#include <libsbx/graphics/images/sampler_state.hpp>
11namespace sbx::graphics {
17 inline static constexpr auto max_size = std::uint32_t{16u};
25 static auto create_descriptor_set_layout_binding(std::uint32_t binding, VkDescriptorType descriptor_type, VkShaderStageFlags shader_stage_flags)
noexcept -> VkDescriptorSetLayoutBinding;
29 auto push_back(
const handle_type& handle) -> std::uint32_t;
35 std::vector<handle_type> _sampler_ids;
36 std::unordered_map<handle_type, std::uint32_t> _id_to_indices;
Definition: descriptor.hpp:38
Definition: resource_storage.hpp:18
Definition: separate_sampler_array.hpp:13
Definition: descriptor.hpp:13