1#ifndef LIBSBX_GRAPHICS_IMAGES_CUBE_IMAGE_HPP_
2#define LIBSBX_GRAPHICS_IMAGES_CUBE_IMAGE_HPP_
6#include <libsbx/utility/timer.hpp>
8#include <libsbx/graphics/images/image.hpp>
10#include <libsbx/graphics/buffers/buffer.hpp>
12#include <libsbx/graphics/resource_storage.hpp>
14namespace sbx::graphics {
20 cube_image(
const std::filesystem::path& path,
const std::string& suffix =
".png", VkFilter filter = VK_FILTER_LINEAR, VkSamplerAddressMode address_mode = VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE,
bool anisotropic =
true,
bool mipmap =
true);
28 inline static constexpr auto side_names = std::array<std::string_view, 6u>{
"right",
"left",
"top",
"bottom",
"front",
"back"};
32 std::uint8_t _channels;
33 std::filesystem::path _file_path;
34 std::string _file_suffix;
Definition: cube_image.hpp:16
Definition: resource_storage.hpp:17