|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Core::VKDescriptorManager::update_image | ( | vk::Device | device, |
| vk::DescriptorSet | set, | ||
| uint32_t | binding, | ||
| vk::ImageView | image_view, | ||
| vk::Sampler | sampler = nullptr, |
||
| vk::ImageLayout | layout = vk::ImageLayout::eGeneral |
||
| ) |
Update descriptor set with image binding.
| device | Logical device |
| set | Descriptor set to update |
| binding | Binding index |
| image_view | Image view to bind |
| sampler | Sampler (for combined image samplers, null for storage images) |
| layout | Image layout (typically eGeneral or eShaderReadOnlyOptimal) |
Binds an image to the specified binding point in the descriptor set. For storage images: sampler = null, layout = eGeneral For sampled images: provide sampler, layout = eShaderReadOnlyOptimal
Definition at line 358 of file VKDescriptorManager.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, MF_DEBUG, and MF_ERROR.