Blender V5.0
vk_descriptor_set_layouts.hh File Reference
#include "BLI_map.hh"
#include "BLI_mutex.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 >
struct  blender::gpu::VKDescriptorBufferLayout
class  blender::gpu::VKDescriptorSetLayouts

Namespaces

namespace  blender
namespace  blender::gpu

Detailed Description

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.