|
| std::expected< void, std::string > | sd::single_time_command (const vk::Device &device, const vk::Queue &queue, const vk::CommandPool &command_pool, const std::function< void(const vk::CommandBuffer &)> &action) |
| |
| std::pair< vk::UniqueBuffer, vk::UniqueDeviceMemory > | sd::create_buffer (const vk::Device &device, const vk::PhysicalDevice &physical_device, vk::DeviceSize size, vk::BufferUsageFlags usage, vk::MemoryPropertyFlags properties) |
| |
| std::pair< vk::UniqueImage, vk::UniqueDeviceMemory > | sd::create_image (const vk::Device &device, const vk::PhysicalDevice &physical_device, uint32_t width, uint32_t height, vk::Format format, vk::ImageTiling tiling, vk::ImageUsageFlags usage, vk::MemoryPropertyFlags properties) |
| |
| void | sd::copy_buffer_to_image (const vk::CommandBuffer &cmd_buffer, const vk::Buffer &buffer, const vk::Image &image, uint32_t width, uint32_t height) |
| |
| void | sd::transition_image_layout (const vk::CommandBuffer &cmd_buffer, const vk::Image &image, vk::Format format, vk::ImageLayout old_layout, vk::ImageLayout new_layout) |
| |
| std::expected< Texture, std::string > | sd::create_texture (const vk::Device &device, const vk::PhysicalDevice &physical_device, const vk::Queue &graphics_queue, const vk::CommandPool &command_pool, const std::filesystem::path &file_path) |
| |
template<std::ranges::input_range R>
requires std::constructible_from<std::string_view, std::ranges::range_value_t<R>> |
| std::string | sd::tab_format (R &&items, USize cols=4, USize spacing=2, bool row_major=true) |
| |