61 void* vertexMemoryPtr{
nullptr};
62 void* indexMemoryPtr{
nullptr};
71 Gui& operator=(
const Gui&) =
delete;
72 Gui& operator=(
Gui&& fence) =
delete;
78 bool init(
const std::vector<API::ImageView>& imageViews);
79 void initKeyMapping();
80 bool initFontsTexture();
82 bool initFramebuffers(
const std::vector<API::ImageView>&);
85 bool endFrame(
const std::vector<VkSemaphore>& waitSemaphores, uint32_t currentImageIndex);
92 bool updateBuffers(uint32_t currentImageIndex);
lug::Graphics::Resource::SharedPtr< lug::Graphics::Render::Texture > _fontTexture
API::GraphicsPipeline _pipeline
Vulkan::API::Buffer indexBuffer
Vulkan::API::DeviceMemory indexMemory
lug::Graphics::Vulkan::Render::Window & _window
lug::Math::Vec2f translate
Vulkan::API::DeviceMemory vertexMemory
Vulkan::API::Semaphore semaphore
Vulkan::API::CommandBuffer commandBuffer
API::Framebuffer framebuffer
std::vector< FrameData > _framesData
lug::Graphics::Vulkan::Renderer & _renderer
Vulkan::API::Buffer vertexBuffer
std::vector< const Render::DescriptorSetPool::DescriptorSet * > texturesDescriptorSets
std::unique_ptr< Render::DescriptorSetPool::GuiTexture > _texturesDescriptorSetPool
API::PipelineLayout _pipelineLayout