Lluvia
utils.h File Reference

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>
Include dependency graph for utils.h:
This graph shows which files directly or indirectly include this file:

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::Imagell::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::ImageViewll::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...
 

Detailed Description

utility functions.