#include <ImagePoolResolver.h>
Inherits AZ::Vulkan::ResourcePoolResolver.
Public Member Functions | |
AZ_RTTI (ImagePoolResolver, "{8112B50E-E26D-4686-87A3-0757A90BE4EF}", Base) | |
AZ_CLASS_ALLOCATOR (ImagePoolResolver, AZ::SystemAllocator) | |
ImagePoolResolver (Device &device) | |
RHI::ResultCode | UpdateImage (const RHI::DeviceImageUpdateRequest &request, size_t &bytesTransferred) |
Uploads new content to an image subresource. | |
void | Compile (const RHI::HardwareQueueClass hardwareClass) override |
ResourcePoolResolver. | |
void | Resolve (CommandList &commandList) override |
Performs resolve-specific copy / streaming operations. | |
void | Deactivate () override |
Called at the end of the frame after execution. | |
void | OnResourceShutdown (const RHI::DeviceResource &resource) override |
Called when a resource from the pool is being Shutdown. | |
void | QueuePrologueTransitionBarriers (CommandList &commandList, BarrierTypeFlags mask) override |
Queues transition barriers at the beginning of a scope. | |
void | QueueEpilogueTransitionBarriers (CommandList &commandList, BarrierTypeFlags mask) override |
Queues transition barriers at the end of a scope. | |
![]() | |
AZ_RTTI (ResourcePoolResolver, "F5FDB9DF-0C3A-4AC8-9E86-9ADABCD1267F", RHI::ResourcePoolResolver) | |
ResourcePoolResolver (Device &device) | |
Device & | GetDevice () const |
![]() | |
AZ_RTTI (ResourcePoolResolver, "{2468216A-46EF-483C-9D0D-66F2EFC937BD}") | |
Additional Inherited Members | |
![]() | |
Device & | m_device |
Provides a way to update an image content using a staging buffer. This class is in charge of doing the appropiate barrier transitions before and after updating the image.
The ImagePoolResolver is part of an ImagePool and the Resolve function must be called from a scope in order to execute the image updates.
|
overridevirtual |
Reimplemented from AZ::Vulkan::ResourcePoolResolver.
|
overridevirtual |
Called at the end of the frame after execution.
Reimplemented from AZ::Vulkan::ResourcePoolResolver.
|
overridevirtual |
Called when a resource from the pool is being Shutdown.
Reimplemented from AZ::Vulkan::ResourcePoolResolver.
|
overridevirtual |
Queues transition barriers at the end of a scope.
Reimplemented from AZ::Vulkan::ResourcePoolResolver.
|
overridevirtual |
Queues transition barriers at the beginning of a scope.
Reimplemented from AZ::Vulkan::ResourcePoolResolver.
|
overridevirtual |
Performs resolve-specific copy / streaming operations.
Reimplemented from AZ::Vulkan::ResourcePoolResolver.