LiteFX::Rendering::Backends::DirectX12Barrier::transition¶
transition overloads
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] virtual void transition(
IDirectX12Image const& image,
UInt32 level,
UInt32 levels,
UInt32 layer,
UInt32 layers,
UInt32 plane,
ResourceAccess accessBefore,
ResourceAccess accessAfter,
ImageLayout layout) override;
Parameters¶
| Name | Description |
|---|---|
| accessBefore | The access types previous commands have to finish. |
| accessAfter | The access types that subsequent commands continue with. |
| image | The image resource to transition. |
| layout | The image layout to transition into. |
| level | The base mip-map level of the sub-resource range. |
| levels | The number of mip-map levels of the sub-resource range. |
| layer | The base array layer of the sub-resource range. |
| layers | The number of array layer of the sub-resource range. |
| plane | The plane of the sub-resource. |