|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::TextureBuffer::resize_texture | ( | uint32_t | new_width, |
| uint32_t | new_height | ||
| ) |
Reallocate the GPU texture at new dimensions.
Resets the GPU texture handle so TextureProcessor allocates a fresh VKImage at the updated dimensions on the next processing cycle. Marks texture and geometry dirty. Invalidates the streaming staging buffer so it is reallocated at the correct size.
| new_width | New texture width in pixels. |
| new_height | New texture height in pixels. |
Definition at line 155 of file TextureBuffer.cpp.
References get_texture_processor(), m_geometry_dirty, m_gpu_texture, m_height, m_texture_dirty, and m_width.
Here is the call graph for this function: