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;
34 auto push_back(
const std::string&
attachment) -> std::uint32_t;
40 std::vector<VkImageView> _image_views;
41 std::unordered_map<VkImageView, std::uint32_t> _view_to_indices;
Definition: render_graph.hpp:93
Definition: descriptor.hpp:38
Definition: resource_storage.hpp:18
Definition: separate_image2d_array.hpp:16
Definition: descriptor.hpp:13