10#include "misc/Error.h"
11#include "math/GLMath.hpp"
12#include "shader/VulkanAlignmentConstants.hpp"
13#include "render/general/resource/frame/FrameResource.h"
22 alignas(iVkMat4Alignment) glm::mat4x4
viewMatrix = glm::identity<glm::mat4x4>();
28 alignas(iVkVec4Alignment) glm::vec4
cameraPosition = glm::vec4(0.0F, 0.0F, 0.0F, 0.0F);
Definition: FrameResourceManager.h:46
void switchToNextFrameResource()
Definition: FrameResourceManager.cpp:103
std::pair< std::recursive_mutex, CurrentFrameResource > mtxCurrentFrameResource
Definition: FrameResourceManager.h:140
std::array< std::unique_ptr< FrameResource >, iFrameResourceCount > vFrameResources
Definition: FrameResourceManager.h:143
static constexpr unsigned int getFrameResourceCount()
Definition: FrameResourceManager.h:74
std::pair< std::recursive_mutex, CurrentFrameResource > * getCurrentFrameResource()
Definition: FrameResourceManager.cpp:99
Renderer * pRenderer
Definition: FrameResourceManager.h:137
std::pair< std::recursive_mutex *, std::vector< FrameResource * > > getAllFrameResources()
Definition: FrameResourceManager.cpp:116
static std::variant< std::unique_ptr< FrameResourceManager >, Error > create(Renderer *pRenderer)
Definition: FrameResourceManager.cpp:58
static std::array< std::unique_ptr< FrameResource >, iFrameResourceCount > createRenderDependentFrameResources(Renderer *pRenderer)
Definition: FrameResourceManager.cpp:21
static constexpr unsigned int iFrameResourceCount
Definition: FrameResourceManager.h:106
Definition: Renderer.h:43
Definition: VulkanRenderer.h:26
Definition: FrameResourceManager.h:20
float timeSincePrevFrameInSec
Definition: FrameResourceManager.h:31
glm::vec4 cameraPosition
Definition: FrameResourceManager.h:28
glm::mat4x4 viewProjectionMatrix
Definition: FrameResourceManager.h:25
glm::mat4x4 viewMatrix
Definition: FrameResourceManager.h:22
float totalTimeInSec
Definition: FrameResourceManager.h:34
Definition: FrameResourceManager.h:55
size_t iIndex
Definition: FrameResourceManager.h:59
FrameResource * pResource
Definition: FrameResourceManager.h:62
Definition: FrameResource.h:15