|
virtual | ~Barrier () noexcept=default |
|
virtual void | transition (buffer_type &buffer, const ResourceState &targetState)=0 |
|
virtual void | transition (buffer_type &buffer, const UInt32 &element, const ResourceState &targetState)=0 |
|
virtual void | transition (buffer_type &buffer, const ResourceState &sourceState, const ResourceState &targetState)=0 |
|
virtual void | transition (buffer_type &buffer, const ResourceState &sourceState, const UInt32 &element, const ResourceState &targetState)=0 |
|
virtual void | transition (image_type &image, const ResourceState &targetState)=0 |
|
virtual void | transition (image_type &image, const UInt32 &level, const UInt32 &layer, const UInt32 &plane, const ResourceState &targetState)=0 |
|
virtual void | transition (image_type &image, const ResourceState &sourceState, const ResourceState &targetState)=0 |
|
virtual void | transition (image_type &image, const ResourceState &sourceState, const UInt32 &level, const UInt32 &layer, const UInt32 &plane, const ResourceState &targetState)=0 |
|
virtual void | waitFor (const buffer_type &buffer)=0 |
|
virtual void | waitFor (const image_type &image)=0 |
|
virtual | ~IBarrier () noexcept=default |
|
void | transition (IBuffer &buffer, const ResourceState &targetState) |
| Inserts a transition for all sub-resources of buffer into targetState . More...
|
|
void | transition (IBuffer &buffer, const UInt32 &element, const ResourceState &targetState) |
| Inserts a transition for the sub-resource element of buffer into targetState . More...
|
|
void | transition (IBuffer &buffer, const ResourceState &sourceState, const ResourceState &targetState) |
| Inserts a transition for all sub-resources of buffer from sourceState into targetState . More...
|
|
void | transition (IBuffer &buffer, const ResourceState &sourceState, const UInt32 &element, const ResourceState &targetState) |
| Inserts a transition for the sub-resource element of buffer from sourceState into targetState . More...
|
|
void | transition (IImage &image, const ResourceState &targetState) |
| Inserts a transition for all sub-resources of image into targetState . More...
|
|
void | transition (IImage &image, const UInt32 &level, const UInt32 &layer, const UInt32 &plane, const ResourceState &targetState) |
| Inserts a transition for a sub-resource of image into targetState . More...
|
|
void | transition (IImage &image, const ResourceState &sourceState, const ResourceState &targetState) |
| Inserts a transition for all sub-resources of image from sourceState into targetState . More...
|
|
void | transition (IImage &image, const ResourceState &sourceState, const UInt32 &level, const UInt32 &layer, const UInt32 &plane, const ResourceState &targetState) |
| Inserts a transition for a sub-resource of image from sourceState into targetState . More...
|
|
void | waitFor (const IBuffer &buffer) |
| Inserts a barrier that waits for all read/write accesses to buffer to be finished before continuing. More...
|
|
void | waitFor (const IImage &image) |
| Inserts a barrier that waits for all read/write accesses to image to be finished before continuing. More...
|
|
template<typename TBuffer, typename TImage>
requires std::derived_from<TBuffer,
IBuffer> && std::derived_from<TImage,
IImage>
class LiteFX::Rendering::Barrier< TBuffer, TImage >
A barrier that transitions a set of resources backed by IDeviceMemory into different ResourceState.
It is recommended to insert multiple transitions into one single barrier. This can be done by calling transition multiple times.