wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::gui::Instance Class Reference

#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_

Member Function Documentation

◆ flush()

void wren::gui::Instance::flush ( const ::vk::CommandBuffer & cmd,
const vulkan::Device & device,
VmaAllocator allocator )
Here is the call graph for this function:

◆ paint()

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

Member Data Documentation

◆ index_buffer_

std::shared_ptr<vk::Buffer> wren::gui::Instance::index_buffer_
private

◆ indices_

std::vector<std::int16_t> wren::gui::Instance::indices_ {}
private

◆ vertex_buffer_

std::shared_ptr<vk::Buffer> wren::gui::Instance::vertex_buffer_
private

◆ vertices_

std::vector<Vertex> wren::gui::Instance::vertices_ {}
private

The documentation for this class was generated from the following files: