Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::vulkan::ImageBarrierParams Struct Reference

The six values an image barrier is built from, plus whether precision was available. More...

#include "donner/gpu/vulkan/VulkanResourceState.h"

Public Member Functions

bool operator== (const ImageBarrierParams &other) const =default
 Equality operator.

Public Attributes

VkImageLayout oldLayout = VK_IMAGE_LAYOUT_UNDEFINED
 Layout the image is in.
VkImageLayout newLayout = VK_IMAGE_LAYOUT_UNDEFINED
 Layout the image moves to.
VkPipelineStageFlags srcStage = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT
 Source stage scope.
VkPipelineStageFlags dstStage = VK_PIPELINE_STAGE_ALL_COMMANDS_BIT
 Destination scope.
VkAccessFlags srcAccess = 0
 Access made available.
VkAccessFlags dstAccess = 0
 Access made visible.
bool conservative = false
 True when the usage pair fell outside the tracked set and the maximal barrier was used.

Detailed Description

The six values an image barrier is built from, plus whether precision was available.

Member Function Documentation

◆ operator==()

bool donner::gpu::vulkan::ImageBarrierParams::operator== ( const ImageBarrierParams & other) const
default

Equality operator.

Parameters
otherParameters to compare against.

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