Faro Engine 0.0.0.b519570 (main)
Loading...
Searching...
No Matches
GraphicsCommandListVK.hpp
Go to the documentation of this file.
1#pragma once
3#include "Vulkan.hpp"
4
5namespace Faro
6{
8 {
9 public:
11
12 void Init() override;
13
14 void Destroy() override;
15
16 void Reset() override;
17 void Execute(Array<GraphicsSemaphore*> waitForSemaphores) override;
18
19 void SetResourceState(GraphicsBuffer* buffer, GraphicsResourceState state) override;
20
21 void CopyBuffer(GraphicsBuffer* source, GraphicsBuffer* destination) override;
22
23 void ClearRenderTarget(GraphicsBuffer* renderTarget, FloatColor color) override;
24
25 private:
26 VkCommandPool commandPool = nullptr;
27 VkCommandBuffer commandBuffer = nullptr;
28 };
29}
Definition Array.hpp:11
A buffer storing graphics related data. Created by GraphicsAdapter::CreateBuffer.
Definition GraphicsBuffer.hpp:20
Definition GraphicsCommandListVK.hpp:8
void CopyBuffer(GraphicsBuffer *source, GraphicsBuffer *destination) override
Definition GraphicsCommandListVK.cpp:93
void ClearRenderTarget(GraphicsBuffer *renderTarget, FloatColor color) override
Definition GraphicsCommandListVK.cpp:97
void Reset() override
Definition GraphicsCommandListVK.cpp:54
void Execute(Array< GraphicsSemaphore * > waitForSemaphores) override
Definition GraphicsCommandListVK.cpp:64
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsCommandListVK.cpp:11
void SetResourceState(GraphicsBuffer *buffer, GraphicsResourceState state) override
Definition GraphicsCommandListVK.cpp:85
void Destroy() override
Run the destruction logic of this class. This also frees its memory.
Definition GraphicsCommandListVK.cpp:43
Definition GraphicsCommandList.hpp:10
void Init() override
Run the initialization logic of this object. Should be overriden by deriving classes.
Definition GraphicsAdapterChild.cpp:16
Definition Array.hpp:8
GraphicsResourceState
Describes the state of a graphics buffer.
Definition GraphicsBuffer.hpp:9
Definition Color.hpp:8