1#ifndef LIBSBX_GRAPHICS_IMAGES_SEPARATE_IMAGE2D_ARRAY_HPP_
2#define LIBSBX_GRAPHICS_IMAGES_SEPARATE_IMAGE2D_ARRAY_HPP_
5#include <unordered_map>
7#include <libsbx/graphics/resource_storage.hpp>
9#include <libsbx/graphics/descriptor/descriptor.hpp>
11#include <libsbx/graphics/images/image2d.hpp>
13namespace sbx::graphics {
19 inline static constexpr auto max_size = std::uint32_t{64u};
27 static auto create_descriptor_set_layout_binding(std::uint32_t binding, VkDescriptorType descriptor_type, VkShaderStageFlags shader_stage_flags)
noexcept -> VkDescriptorSetLayoutBinding;
31 auto push_back(
const handle_type& handle) -> std::uint32_t;
37 std::vector<handle_type> _image_ids;
38 std::unordered_map<handle_type, std::uint32_t> _id_to_indices;
Definition: descriptor.hpp:37
Definition: resource_storage.hpp:17
Definition: separate_image2d_array.hpp:15
Definition: descriptor.hpp:12