2#ifndef LIBSBX_GRAPHICS_IMAGES_SEPARATE_IMAGE2D_ARRAY_HPP_
3#define LIBSBX_GRAPHICS_IMAGES_SEPARATE_IMAGE2D_ARRAY_HPP_
6#include <unordered_map>
8#include <libsbx/graphics/resource_storage.hpp>
10#include <libsbx/graphics/descriptor/descriptor.hpp>
12#include <libsbx/graphics/images/image2d.hpp>
14namespace sbx::graphics {
20 inline static constexpr auto max_size = std::uint32_t{256u};
28 static auto create_descriptor_set_layout_binding(std::uint32_t binding, VkDescriptorType descriptor_type, VkShaderStageFlags shader_stage_flags)
noexcept -> VkDescriptorSetLayoutBinding;
32 auto push_back(
const handle_type& handle) -> std::uint32_t;
38 std::vector<handle_type> _image_ids;
39 std::unordered_map<handle_type, std::uint32_t> _id_to_indices;
Definition: descriptor.hpp:38
Definition: resource_storage.hpp:18
Definition: separate_image2d_array.hpp:16
Definition: descriptor.hpp:13