|
Blender V4.3
|
#include <vk_descriptor_set.hh>
Public Member Functions | |
| Location ()=default | |
| bool | operator== (const Location &other) const |
| operator uint32_t () const | |
Friends | |
| class | VKDescriptorSetTracker |
| class | VKShaderInterface |
| struct | VKResourceBinding |
Binding location of a resource in a descriptor set.
Locations and bindings are used for different reasons. In the Vulkan backend we use ShaderInput.location to store the descriptor set + the resource binding inside the descriptor set. To ease the development the VKDescriptorSet::Location will be used to hide this confusion.
NOTE: [future development] When supporting multiple descriptor sets the encoding/decoding can be centralized here. Location will then also contain the descriptor set index.
Definition at line 51 of file vk_descriptor_set.hh.
|
default |
|
inline |
Definition at line 72 of file vk_descriptor_set.hh.
|
inline |
Definition at line 67 of file vk_descriptor_set.hh.
|
friend |
Definition at line 52 of file vk_descriptor_set.hh.
|
friend |
Definition at line 54 of file vk_descriptor_set.hh.
|
friend |
Definition at line 53 of file vk_descriptor_set.hh.