|
Blender V5.0
|
#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 54 of file vk_descriptor_set.hh.
|
default |
|
inline |
Definition at line 75 of file vk_descriptor_set.hh.
|
inline |
Definition at line 70 of file vk_descriptor_set.hh.
|
friend |
Definition at line 55 of file vk_descriptor_set.hh.
References VKDescriptorSetTracker.
Referenced by VKDescriptorSetTracker.
|
friend |
Definition at line 57 of file vk_descriptor_set.hh.
References VKResourceBinding.
Referenced by VKResourceBinding.
|
friend |
Definition at line 56 of file vk_descriptor_set.hh.
References VKShaderInterface.
Referenced by VKShaderInterface.