|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Buffers::FormaBuffer::bind_texture | ( | uint32_t | array_index, |
| const std::shared_ptr< Core::VKImage > & | image | ||
| ) |
Bind a texture to a slot in the multi-texture array at runtime.
Valid only when setup_rendering was called with additional_textures. array_index is 0-based into the array declared at setup time: index 0 = weight 1, index 1 = weight 2, etc.
| array_index | Zero-based index into the textures[] array. |
| image | GPU image. Must be GPU-resident. |
Definition at line 171 of file FormaBuffer.cpp.
References image, and MayaFlux::Buffers::VKBuffer::m_render_processor.