|
Blender V4.3
|
#include <mutex>#include "BLI_map.hh"#include "BLI_utility_mixins.hh"#include "BLI_vector.hh"#include "vk_common.hh"Go to the source code of this file.
Classes | |
| struct | blender::gpu::VKDescriptorSetLayoutInfo |
| struct | blender::DefaultHash< gpu::VKDescriptorSetLayoutInfo > |
| class | blender::gpu::VKDescriptorSetLayouts |
Namespaces | |
| namespace | blender |
| namespace | blender::gpu |
Multiple shaders can use the same descriptor set layout. VKDescriptorSetLayouts has a mechanism to create and reuse existing descriptor set layouts.
This makes it easier to detect layout changes between shaders. If the same layout is used, we will be able to reuse the descriptor set if the bindings are also the same.
These resources are freed when the Vulkan backend is freed. Descriptor set layouts are Vulkan driver resources, but they are virtually unlimited.
Definition in file vk_descriptor_set_layouts.hh.