vOOlkan
An object oriented approach to Vulkan
Vulkan::SynchronizationPrimitives::ImageMemoryBarrier Class Reference

#include <Barriers.h>

Classes

struct  TransitionInfo
 

Public Member Functions

 ImageMemoryBarrier (const Image &image, const VkImageLayout &oldLayout, const VkImageLayout &newLayout)
 
const VkImageMemoryBarrier & operator+ () const
 

Static Public Member Functions

static TransitionInfo getTransitionInfo (const VkImageLayout &oldLayout, const VkImageLayout &newLayout)
 Returns the right values for the mask and source/destination stage for a transition based on the old and new layouts. More...
 

Constructor & Destructor Documentation

◆ ImageMemoryBarrier()

Vulkan::SynchronizationPrimitives::ImageMemoryBarrier::ImageMemoryBarrier ( const Image image,
const VkImageLayout &  oldLayout,
const VkImageLayout &  newLayout 
)
inline

Member Function Documentation

◆ getTransitionInfo()

static TransitionInfo Vulkan::SynchronizationPrimitives::ImageMemoryBarrier::getTransitionInfo ( const VkImageLayout &  oldLayout,
const VkImageLayout &  newLayout 
)
inlinestatic

Returns the right values for the mask and source/destination stage for a transition based on the old and new layouts.

◆ operator+()

const VkImageMemoryBarrier & Vulkan::SynchronizationPrimitives::ImageMemoryBarrier::operator+ ( ) const
inline

The documentation for this class was generated from the following file: