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

#include <instance.hpp>

Public Member Functions

 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)
 
auto shader () const
 
void bind (const ::vk::CommandBuffer &cmd)
 
void flush (const ::vk::CommandBuffer &cmd)
 
void resize_viewport (const ::vk::Extent2D &size)
 
void Begin ()
 
void End ()
 
auto BeginWindow (const std::string &name, const wren::math::vec2f &size) -> bool
 
void EndWindow ()
 
auto IO () -> Inputs &
 

Constructor & Destructor Documentation

◆ 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 )
Here is the call graph for this function:

Member Function Documentation

◆ 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)

◆ End()

void wren::gui::Instance::End ( )

◆ EndWindow()

void wren::gui::Instance::EndWindow ( )

◆ flush()

void wren::gui::Instance::flush ( const ::vk::CommandBuffer & cmd)
Here is the call graph for this function:

◆ IO()

auto wren::gui::Instance::IO ( ) -> Inputs&
inline

◆ resize_viewport()

void wren::gui::Instance::resize_viewport ( const ::vk::Extent2D & size)
inline

◆ shader()

auto wren::gui::Instance::shader ( ) const
inline

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