TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::vulkan::DeletionQueue Struct Reference

Library internal: destroy functions that run later, newest first. More...

#include <gui_core/graphics/vulkan/vk_device_context.h>

Public Member Functions

void push_function (::std::function< void()> &&function)
 Queues a function for the next flush.
void flush ()
 Runs and clears the queued functions.

Public Attributes

::std::deque<::std::function< void()> > deletors
 The queued functions, oldest first.

Detailed Description

Library internal: destroy functions that run later, newest first.

Member Function Documentation

◆ push_function()

void tachyon::vulkan::DeletionQueue::push_function ( ::std::function< void()> && function)
inline

Queues a function for the next flush.

◆ flush()

void tachyon::vulkan::DeletionQueue::flush ( )
inline

Runs and clears the queued functions.

Member Data Documentation

◆ deletors

::std::deque<::std::function<void()> > tachyon::vulkan::DeletionQueue::deletors

The queued functions, oldest first.


The documentation for this struct was generated from the following file: