Lluvia
|
utility functions. More...
#include "lluvia/core/image/ImageLayout.h"
#include "lluvia/core/types.h"
#include "lluvia/core/vulkan/vulkan.hpp"
#include <array>
#include <cmath>
#include <cstdint>
#include <memory>
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Namespaces | |
ll | |
Functions | |
std::string | ll::toBase64 (const void *ptr, const size_t size) |
Converts a binary array to base-64 string. More... | |
std::vector< uint8_t > | ll::fromBase64 (const std::string &code) |
Converts a std::string with base-64 characters to binary. More... | |
std::shared_ptr< ll::Image > | ll::createAndInitImage (std::shared_ptr< ll::Session > &session, std::shared_ptr< ll::Memory > &memory, const ll::ImageDescriptor &desc, const ll::ImageLayout initialLayout=ll::ImageLayout::General) |
Creates and initialize a ll::Image object. More... | |
std::shared_ptr< ll::ImageView > | ll::createAndInitImageView (std::shared_ptr< ll::Session > &session, std::shared_ptr< ll::Memory > &memory, const ll::ImageDescriptor &imgDescriptor, const ll::ImageViewDescriptor &viewDescriptor, const ll::ImageLayout initialLayout=ll::ImageLayout::General) |
Creates and initialize a ll::ImageView object. More... | |
utility functions.