#include <instance.hpp>
|
| void | draw_quad (const wren::math::vec2f &pos, const wren::math::vec2f &size, const wren::math::Vec4f &colour) |
| |
| auto | point_in_bounds (const wren::math::vec2f &p, const wren::math::vec2f &pos, const wren::math::vec2f &size) -> bool |
| |
◆ Instance()
| wren::gui::Instance::Instance |
( |
const std::shared_ptr< vk::Shader > & | shader, |
|
|
const ::vk::Device & | device, |
|
|
const VmaAllocator & | allocator, |
|
|
const ::vk::CommandPool & | command_pool, |
|
|
const ::vk::Queue & | graphics_queue ) |
◆ Begin()
| void wren::gui::Instance::Begin |
( |
| ) |
|
◆ BeginWindow()
| auto wren::gui::Instance::BeginWindow |
( |
const std::string & | name, |
|
|
const wren::math::vec2f & | size ) -> bool |
◆ bind()
| void wren::gui::Instance::bind |
( |
const ::vk::CommandBuffer & | cmd | ) |
|
◆ draw_quad()
| void wren::gui::Instance::draw_quad |
( |
const wren::math::vec2f & | pos, |
|
|
const wren::math::vec2f & | size, |
|
|
const wren::math::Vec4f & | colour ) |
|
private |
◆ End()
| void wren::gui::Instance::End |
( |
| ) |
|
◆ EndWindow()
| void wren::gui::Instance::EndWindow |
( |
| ) |
|
◆ flush()
| void wren::gui::Instance::flush |
( |
const ::vk::CommandBuffer & | cmd | ) |
|
◆ IO()
| auto wren::gui::Instance::IO |
( |
| ) |
-> Inputs& |
|
inline |
◆ point_in_bounds()
| auto wren::gui::Instance::point_in_bounds |
( |
const wren::math::vec2f & | p, |
|
|
const wren::math::vec2f & | pos, |
|
|
const wren::math::vec2f & | size ) -> bool |
|
private |
◆ resize_viewport()
| void wren::gui::Instance::resize_viewport |
( |
const ::vk::Extent2D & | size | ) |
|
|
inline |
◆ shader()
| auto wren::gui::Instance::shader |
( |
| ) |
const |
|
inlinenodiscard |
◆ allocator
| VmaAllocator wren::gui::Instance::allocator |
|
private |
◆ command_pool
| ::vk::CommandPool wren::gui::Instance::command_pool |
|
private |
◆ device
| ::vk::Device wren::gui::Instance::device |
|
private |
◆ graphics_queue
| ::vk::Queue wren::gui::Instance::graphics_queue |
|
private |
◆ index_buffer
◆ indices
| std::vector<uint16_t> wren::gui::Instance::indices |
|
private |
◆ io
| Inputs wren::gui::Instance::io |
|
private |
◆ output_size
| ::vk::Extent2D wren::gui::Instance::output_size |
|
private |
◆ previous_io
| Inputs wren::gui::Instance::previous_io |
|
private |
◆ shader_
| std::shared_ptr<vk::Shader> wren::gui::Instance::shader_ |
|
private |
◆ stack
| std::queue<std::string> wren::gui::Instance::stack |
|
private |
◆ uniform_buffer
| std::shared_ptr<vk::Buffer> wren::gui::Instance::uniform_buffer |
|
private |
◆ vertex_buffer
◆ vertices
| std::vector<Vertex> wren::gui::Instance::vertices |
|
private |
◆ windows_
| std::map<std::string, Window> wren::gui::Instance::windows_ |
|
private |
The documentation for this class was generated from the following files: