VkCV Framework  0.0.1
CV Vulkan framework
ImageManager.cpp File Reference

class creating and managing images More...

#include "ImageManager.hpp"
#include "vkcv/Core.hpp"
#include "ImageLayoutTransitions.hpp"
#include "vkcv/Logger.hpp"
#include <algorithm>
Include dependency graph for ImageManager.cpp:

Go to the source code of this file.

Functions

uint32_t vkcv::searchImageMemoryType (const vk::PhysicalDeviceMemoryProperties &physicalMemoryProperties, uint32_t typeBits, vk::MemoryPropertyFlags requirements)
 searches memory type index for image allocation, combines requirements of image and application More...
 
bool vkcv::isDepthImageFormat (vk::Format format)
 
constexpr uint32_t vkcv::getChannelsByFormat (vk::Format format)
 

Detailed Description

class creating and managing images

Authors
Lars Hoerttrich

Definition in file ImageManager.cpp.

Function Documentation

◆ searchImageMemoryType()

uint32_t vkcv::searchImageMemoryType ( const vk::PhysicalDeviceMemoryProperties &  physicalMemoryProperties,
uint32_t  typeBits,
vk::MemoryPropertyFlags  requirements 
)

searches memory type index for image allocation, combines requirements of image and application

Parameters
physicalMemoryPropertiesMemory Properties of physical device
typeBitsBit field for suitable memory types
requirementsProperty flags that are required
Returns
memory type index for image

References vkcv::searchImageMemoryType().

Referenced by vkcv::searchImageMemoryType().

Here is the call graph for this function:
Here is the caller graph for this function: