8 #ifndef LLUVIA_CORE_COMMAND_BUFFER_H_
9 #define LLUVIA_CORE_COMMAND_BUFFER_H_
213 std::shared_ptr<
ll::vulkan::Device> m_device;
Objects to manage raw portions of allocated memory.
Definition: Buffer.h:57
Class for command buffer.
Definition: CommandBuffer.h:63
void copyBufferToImage(const ll::Buffer &src, const ll::Image &dst)
Copies the content of src buffer into dst image.
void run(const ll::ComputeNode &node)
Records running a ll::ComputeNode.
CommandBuffer(const std::shared_ptr< ll::vulkan::Device > &device)
void copyBuffer(const ll::Buffer &src, const ll::Buffer &dst)
Copies src buffer into dst.
CommandBuffer(const CommandBuffer &cmdBuffer)=delete
CommandBuffer(CommandBuffer &&cmdBuffer)=delete
const vk::CommandBuffer & getVkCommandBuffer() const noexcept
void changeImageLayout(ll::Image &image, const ll::ImageLayout newLayout)
Change image layout.
void copyImageToBuffer(const ll::Image &src, const ll::Buffer &dst)
Copies the content of src image into dst buffer.
CommandBuffer & operator=(CommandBuffer &&cmdBuffer)=delete
void durationEnd(ll::Duration &duration)
Stops recording the elapsed time between two points.
void copyImageToImage(const ll::Image &src, const ll::Image &dst)
Copies the content of src image into dst image.
void end()
ends recording.
void durationStart(ll::Duration &duration)
Starts recording the elapsed time between two points.
CommandBuffer & operator=(const CommandBuffer &cmdBuffer)=delete
void begin()
begins recording.
void memoryBarrier()
Adds a memory barrier.
void clearImage(ll::Image &image)
Clears the pixels of an image to zero.
Class representing compute nodes.
Definition: ComputeNode.h:38
Definition: ContainerNode.h:24
Definition: Duration.h:22
Represents portions of a ll::Image to be sent as parameter to a GLSL shader.
Definition: ImageView.h:149
Objects to manage images.
Definition: Image.h:74
Class that contains all the state required to run compute operations on a compute device.
Definition: Session.h:51
ImageLayout
Definition: ImageLayout.h:16