|
Kompute
|
#include <OpCopy.hpp>


Public Member Functions | |
| OpCopy (const std::vector< std::shared_ptr< Memory > > &memObjects) | |
| OpCopy (const OpCopy &)=delete | |
| Make OpCopy non-copyable. | |
| OpCopy (const OpCopy &&)=delete | |
| OpCopy & | operator= (const OpCopy &)=delete |
| OpCopy & | operator= (const OpCopy &&)=delete |
| ~OpCopy () noexcept override | |
| void | record (const vk::CommandBuffer &commandBuffer) override |
| virtual void | preEval (const vk::CommandBuffer &commandBuffer) override |
| virtual void | postEval (const vk::CommandBuffer &commandBuffer) override |
Public Member Functions inherited from kp::OpBase | |
| OpBase ()=default | |
| Construct a new OpBase object. | |
| OpBase (const OpBase &)=delete | |
| Make OpBase non-copyable. | |
| OpBase (const OpBase &&)=delete | |
| OpBase & | operator= (const OpBase &)=delete |
| OpBase & | operator= (const OpBase &&)=delete |
| virtual | ~OpBase () noexcept |
Operation that copies the data from the first memory object to the rest of the memory objects provided, using a record command for all the vectors. This operation does not own/manage the memory of the memory objects passed to it.
| kp::OpCopy::OpCopy | ( | const std::vector< std::shared_ptr< Memory > > & | memObjects | ) |
Default constructor with parameters that provides the core vulkan resources and the memory objects that will be used in the operation.
| memObjects | memory objects that will be used to create in operation. |
|
overridenoexcept |
Default destructor. This class does not manage memory so it won't be expecting the parent to perform a release.
|
overridevirtual |
Copies the local vectors for all the memory objects to sync the data with the gpu.
| commandBuffer | The command buffer to record the command into. |
Implements kp::OpBase.
|
overridevirtual |
Does not perform any preEval commands.
| commandBuffer | The command buffer to record the command into. |
Implements kp::OpBase.
|
overridevirtual |
Records the copy commands from the first memory object into all the other memory objects provided. Also optionally records a barrier.
| commandBuffer | The command buffer to record the command into. |
Implements kp::OpBase.