Nameless Engine
|
#include <VulkanFrameResource.h>
Public Attributes | |
VkCommandBuffer | pCommandBuffer = nullptr |
VkFence | pFence = nullptr |
Public Attributes inherited from ne::FrameResource | |
std::unique_ptr< UploadBuffer > | pFrameConstantBuffer |
Private Member Functions | |
virtual std::optional< Error > | initialize (Renderer *pRenderer) override |
Private Attributes | |
Renderer * | pRenderer = nullptr |
Stores objects used by one frame.
|
overrideprivatevirtual |
Called by frame resource manager after a frame resource was constructed to initialize its fields.
pRenderer | Used renderer. |
Implements ne::FrameResource.
VkCommandBuffer ne::VulkanFrameResource::pCommandBuffer = nullptr |
Stores recorded commands.
VkFence ne::VulkanFrameResource::pFence = nullptr |
Signaled when submitted commands were finished executing.
|
private |
Renderer that was passed to initialize.