3 #include <unordered_map> 77 uint32_t currentImageIndex
80 bool init(
const std::vector<API::ImageView>& imageViews)
override final;
81 void destroy() override final;
83 bool initDepthBuffers(const
std::vector<API::ImageView>& imageViews) override final;
84 bool initFramebuffers(const
std::vector<API::ImageView>& imageViews) override final;
87 API::DeviceMemory _depthBufferMemory;
91 const API::
Queue* _graphicsQueue{
nullptr};
std::vector< const DescriptorSetPool::DescriptorSet * > lightDescriptorSets
static std::unique_ptr< BufferPool::Material > _materialBufferPool
static uint32_t _forwardCount
API::CommandPool _graphicsCommandPool
API::Semaphore transferSemaphore
std::vector< const DescriptorSetPool::DescriptorSet * > materialTexturesDescriptorSets
std::vector< const DescriptorSetPool::DescriptorSet * > materialDescriptorSets
static std::unique_ptr< DescriptorSetPool::MaterialTextures > _materialTexturesDescriptorSetPool
std::vector< const BufferPool::SubBuffer * > lightBuffers
API::Framebuffer framebuffer
API::CommandBuffer transferCmdBuffer
static std::unique_ptr< DescriptorSetPool::Material > _materialDescriptorSetPool
static std::unique_ptr< BufferPool::Light > _lightBufferPool
static std::unique_ptr< DescriptorSetPool::SkyBox > _skyBoxDescriptorSetPool
API::CommandBuffer renderCmdBuffer
API::CommandPool _transferCommandPool
static std::unique_ptr< BufferPool::Camera > _cameraBufferPool
std::vector< const BufferPool::SubBuffer * > materialBuffers
static std::unique_ptr< DescriptorSetPool::Camera > _cameraDescriptorSetPool
static std::unique_ptr< DescriptorSetPool::Light > _lightDescriptorSetPool