|
constexpr | ~Barrier () noexcept override=default |
|
virtual constexpr void | transition (const buffer_type &buffer, ResourceAccess accessBefore, ResourceAccess accessAfter)=0 |
|
virtual constexpr void | transition (const buffer_type &buffer, UInt32 element, ResourceAccess accessBefore, ResourceAccess accessAfter)=0 |
|
virtual constexpr void | transition (const image_type &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout)=0 |
|
virtual constexpr void | transition (const image_type &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout)=0 |
|
virtual constexpr void | transition (const image_type &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout)=0 |
|
virtual constexpr void | transition (const image_type &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout)=0 |
|
constexpr void | transition (const IBuffer &buffer, ResourceAccess accessBefore, ResourceAccess accessAfter) |
| Inserts a buffer barrier that blocks access to buffer of types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore .
|
|
constexpr void | transition (const IBuffer &buffer, UInt32 element, ResourceAccess accessBefore, ResourceAccess accessAfter) |
| Inserts a buffer barrier that blocks access to a buffer s element of types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore .
|
|
constexpr void | transition (const IImage &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout) |
| Inserts an image barrier that blocks access to all sub-resources of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions all sub-resources into layout .
|
|
constexpr void | transition (const IImage &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout) |
| Inserts an image barrier that blocks access to a sub-resource range of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions the sub-resource into layout .
|
|
constexpr void | transition (const IImage &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout) |
| Inserts an image barrier that blocks access to all sub-resources of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions all sub-resources into layout .
|
|
constexpr void | transition (const IImage &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout) |
| Inserts an image barrier that blocks access to a sub-resource range of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions the sub-resource into layout .
|
|
virtual | ~IBarrier () noexcept=default |
|
virtual constexpr PipelineStage | syncBefore () const noexcept=0 |
| Returns the stage that all previous commands need to reach before continuing execution.
|
|
virtual constexpr PipelineStage | syncAfter () const noexcept=0 |
| Returns the stage all subsequent commands need to wait for before continuing execution.
|
|
virtual constexpr void | wait (ResourceAccess accessBefore, ResourceAccess accessAfter)=0 |
| Inserts a global barrier that waits for previous commands to finish accesses described by accessBefore before subsequent commands can continue with accesses described by accessAfter .
|
|
constexpr void | transition (const IBuffer &buffer, ResourceAccess accessBefore, ResourceAccess accessAfter) |
| Inserts a buffer barrier that blocks access to buffer of types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore .
|
|
constexpr void | transition (const IBuffer &buffer, UInt32 element, ResourceAccess accessBefore, ResourceAccess accessAfter) |
| Inserts a buffer barrier that blocks access to a buffer s element of types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore .
|
|
constexpr void | transition (const IImage &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout) |
| Inserts an image barrier that blocks access to all sub-resources of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions all sub-resources into layout .
|
|
constexpr void | transition (const IImage &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout layout) |
| Inserts an image barrier that blocks access to a sub-resource range of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions the sub-resource into layout .
|
|
constexpr void | transition (const IImage &image, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout) |
| Inserts an image barrier that blocks access to all sub-resources of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions all sub-resources into layout .
|
|
constexpr void | transition (const IImage &image, UInt32 level, UInt32 levels, UInt32 layer, UInt32 layers, UInt32 plane, ResourceAccess accessBefore, ResourceAccess accessAfter, ImageLayout fromLayout, ImageLayout toLayout) |
| Inserts an image barrier that blocks access to a sub-resource range of image of the types contained in accessAfter for subsequent commands until previous commands have finished accesses contained in accessBefore and transitions the sub-resource into layout .
|
|
template<typename TBuffer, typename TImage>
requires std::derived_from<TBuffer,
IBuffer> && std::derived_from<TImage,
IImage>
class LiteFX::Rendering::Barrier< TBuffer, TImage >
A barrier used for GPU resource synchronization.
- See also
- IBarrier