Skip to content

LiteFX::Rendering::Barrier::transition

transition overloads

Synopsis

Declared in <litefx/rendering.hpp>

constexpr virtual void transition(
    image_type const& image,
    UInt32 level,
    UInt32 levels,
    UInt32 layer,
    UInt32 layers,
    UInt32 plane,
    ResourceAccess accessBefore,
    ResourceAccess accessAfter,
    ImageLayout layout) = 0;

Parameters

NameDescription
accessBeforeThe access types previous commands have to finish.
accessAfterThe access types that subsequent commands continue with.
imageThe image resource to transition.
layoutThe image layout to transition into.
levelThe base mip-map level of the sub-resource range.
levelsThe number of mip-map levels of the sub-resource range.
layerThe base array layer of the sub-resource range.
layersThe number of array layer of the sub-resource range.
planeThe plane of the sub-resource.