MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_budget()

void MayaFlux::Buffers::TextBuffer::set_budget ( uint32_t  w,
uint32_t  h 
)
inline

Sets the budget dimensions for this buffer.

Does not allocate GPU texture or modify the buffer in any way; the budget is only used as a hint by Portal::Text::repress when deciding whether to reallocate.

Parameters
wBudget width in pixels.
hBudget height in pixels.

Definition at line 68 of file TextBuffer.hpp.

69 {
72 }
uint32_t h
Definition InkPress.cpp:25
uint32_t m_budget_height
Allocated GPU texture height when a budget was requested.
uint32_t m_budget_width
Allocated GPU texture width when a budget was requested.

References h.