22 const std::vector<API::ImageView>& imageViews) {
30 LUG_LOG.warn(
"View::init: Failed to init render technique");
39 for (uint32_t i = 0; i < imageViews.size(); ++i) {
40 VkResult result{VK_SUCCESS};
42 LUG_LOG.error(
"View::init: Can't create semaphore: {}", result);
VkSurfaceFormatKHR getFormat() const
const Target * _renderTarget
bool endFrame() override final
std::vector< API::Semaphore > _drawCompleteSemaphores
void clear() override final
const API::Queue * _presentQueue
bool render(const API::Semaphore &imageReadySemaphore, uint32_t currentImageIndex)
bool init(View::InitInfo &initInfo, const API::Queue *presentQueue, const std::vector< API::ImageView > &imageViews)
std::unique_ptr< Technique::Technique > _renderTechnique
const InitInfo & getInfo() const
void init(InitInfo &initInfo)
void destroy() override final
API::Device & getDevice()
Resource::SharedPtr< Camera::Camera > _camera
Render::Queue _renderQueue
View(Renderer &renderer, const ::lug::Graphics::Render::Target *renderTarget)