|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Core::VKDescriptorManager::update_combined_image_sampler | ( | vk::Device | device, |
| vk::DescriptorSet | set, | ||
| uint32_t | binding, | ||
| vk::ImageView | image_view, | ||
| vk::Sampler | sampler, | ||
| vk::ImageLayout | layout = vk::ImageLayout::eShaderReadOnlyOptimal |
||
| ) |
Update descriptor set with combined image+sampler.
| device | Logical device |
| set | Descriptor set to update |
| binding | Binding index |
| image_view | Image view to bind |
| sampler | Sampler to bind |
| layout | Image layout (typically eShaderReadOnlyOptimal) |
This is the standard way to bind textures in graphics shaders.
Definition at line 435 of file VKDescriptorManager.cpp.
References MayaFlux::Journal::Core, MayaFlux::Journal::GraphicsBackend, MF_DEBUG, and MF_ERROR.