Lugdunum
0.1.0
|
#include <Gui.hpp>
Classes | |
struct | FrameData |
struct | PushConstBlock |
Public Member Functions | |
Gui (lug::Graphics::Vulkan::Renderer &renderer, lug::Graphics::Vulkan::Render::Window &window) | |
Gui (const Gui &)=delete | |
Gui (Gui &&gui)=delete | |
Gui & | operator= (const Gui &)=delete |
Gui & | operator= (Gui &&fence)=delete |
~Gui () | |
void | destroy () |
bool | init (const std::vector< API::ImageView > &imageViews) |
void | initKeyMapping () |
bool | initFontsTexture () |
bool | initPipeline () |
bool | initFramebuffers (const std::vector< API::ImageView > &) |
void | beginFrame (const lug::System::Time &elapsedTime) |
bool | endFrame (const std::vector< VkSemaphore > &waitSemaphores, uint32_t currentImageIndex) |
bool | processEvent (const lug::Window::Event event) |
const Vulkan::API::Semaphore & | getSemaphore (uint32_t currentImageIndex) const |
Private Member Functions | |
bool | updateBuffers (uint32_t currentImageIndex) |
bool | initFrameData () |
Private Attributes | |
lug::Graphics::Vulkan::Renderer & | _renderer |
lug::Graphics::Vulkan::Render::Window & | _window |
const API::Queue * | _graphicQueue {nullptr} |
const API::Queue * | _transferQueue {nullptr} |
std::unique_ptr< Render::DescriptorSetPool::GuiTexture > | _texturesDescriptorSetPool |
API::CommandPool | _graphicQueueCommandPool {} |
API::CommandPool | _transferQueueCommandPool {} |
lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture > | _fontTexture |
API::PipelineLayout | _pipelineLayout |
API::GraphicsPipeline | _pipeline |
std::vector< FrameData > | _framesData |
lug::Graphics::Vulkan::Gui::Gui | ( | lug::Graphics::Vulkan::Renderer & | renderer, |
lug::Graphics::Vulkan::Render::Window & | window | ||
) |
|
delete |
|
delete |
bool lug::Graphics::Vulkan::Gui::init | ( | const std::vector< API::ImageView > & | imageViews | ) |
bool lug::Graphics::Vulkan::Gui::initFramebuffers | ( | const std::vector< API::ImageView > & | imageViews | ) |
void lug::Graphics::Vulkan::Gui::beginFrame | ( | const lug::System::Time & | elapsedTime | ) |
bool lug::Graphics::Vulkan::Gui::endFrame | ( | const std::vector< VkSemaphore > & | waitSemaphores, |
uint32_t | currentImageIndex | ||
) |
bool lug::Graphics::Vulkan::Gui::processEvent | ( | const lug::Window::Event | event | ) |
const Vulkan::API::Semaphore & lug::Graphics::Vulkan::Gui::getSemaphore | ( | uint32_t | currentImageIndex | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |