API Documentation
|
Responsible for updating resources or layouts of data in-between calls to render. More...
#include <GraphicsUpdater.h>
Static Public Member Functions | |
static GraphicsUpdater * | DefaultUpdater (DesignObjectLookup *lookup, ProgressInfo *log, DynamicPointer< GraphicsDevice > device) |
Protected Attributes | |
GraphicsUpdateArguments | m_args |
std::mutex | m_critical_section |
DynamicPointer< GraphicsDevice > | m_device |
std::function< void(const Exception &)> | m_exception_callback |
bool | m_grab_setup |
Time | m_last_update_time |
Buffer< GraphicsPipeline * > | m_pipelines |
Dictionary< UUID, Renderer * > | m_renderers |
volatile uint04 | m_total_checked_out_count |
Dictionary< UUID, bool > | needs_update |
Friends | |
class | CheckoutLock |
Responsible for updating resources or layouts of data in-between calls to render.
GraphicsUpdater | ( | DesignObjectLookup * | lookup, |
const DynamicPointer< GraphicsDevice > & | device, | ||
ProgressInfo * | log = nullptr ) |
~GraphicsUpdater | ( | ) |
|
inline |
|
inline |
CheckoutLock checkout | ( | const UUID & | id, |
bool | wait_until_ready ) |
|
static |
|
inline |
bool hasManager | ( | const UUID & | id | ) |
|
inline |
void recreate | ( | ) |
void removeManager | ( | const UUID & | id | ) |
void removePipeline | ( | GraphicsPipeline * | pipline | ) |
|
inline |
void setIsGrabSetup | ( | bool | grab_setup | ) |
|
inline |
|
inline |
CheckoutLock tryCheckout | ( | const UUID & | id, |
bool | wait_until_ready ) |
void update | ( | ) |
|
overridevirtual |
Implements DesignObjectUpdateTarget.
void update | ( | GraphicsUpdateArguments & | args | ) |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |