|
wren
Vulkan-based game engine
|
#include <instance.hpp>
Public Member Functions | |
| void | paint (const Element &root) |
| void | flush (const ::vk::CommandBuffer &cmd, const vulkan::Device &device, VmaAllocator allocator) |
Private Attributes | |
| std::vector< Vertex > | vertices_ {} |
| std::vector< std::int16_t > | indices_ {} |
| std::shared_ptr< vk::Buffer > | index_buffer_ |
| std::shared_ptr< vk::Buffer > | vertex_buffer_ |
| void wren::gui::Instance::flush | ( | const ::vk::CommandBuffer & | cmd, |
| const vulkan::Device & | device, | ||
| VmaAllocator | allocator ) |

| void wren::gui::Instance::paint | ( | const Element & | root | ) |
|
private |
|
private |
|
private |
|
private |