◆ FVulkanDescriptorSets()
Constructor for FVulkanDescriptorSets.
Initializes the descriptor sets based on the provided Vulkan device and descriptor set layout.
The descriptor sets are allocated based on the layout information, and are stored in a vector of vectors, where each inner vector corresponds to a specific descriptor set layout, and contains the allocated descriptor sets for that layout.
- Parameters
-
| InDevice | The Vulkan device used for creating descriptor sets. |
| InLayout | The descriptor set layout defining the structure of the descriptor sets. |
- Since
- Karma 1.0.0
◆ UpdateTextureDescriptorSet()
| void Karma::FVulkanDescriptorSets::UpdateTextureDescriptorSet |
( |
class VulkanTexture * | Texture, |
|
|
uint32_t | SetLayoutIndex, |
|
|
uint32_t | DescriptorSetIndex ) |
Assigns an Engine's texture to a specific descriptor set of a specific layout.
- Parameters
-
| Texture | The texture to be assigned to the descriptor set |
| SetLayoutIndex | The index of the descriptor set layout to which the descriptor set belongs |
| DescriptorSetIndex | The index of the descriptor set within the specified layout to which the texture will be assigned |
- Since
- Karma 1.0.0
◆ UpdateUniformBufferDescriptorSet()
| void Karma::FVulkanDescriptorSets::UpdateUniformBufferDescriptorSet |
( |
class VulkanUniformBuffer * | Uniform, |
|
|
uint32_t | SetLayoutIndex, |
|
|
uint32_t | DescriptorSetIndex, |
|
|
uint32_t | FrameIndex ) |
Assigns an Engine's uniform buffer to a specific descriptor set of a specific layout.
- Parameters
-
| Uniform | The uniform buffer to be assigned to the descriptor set |
| SetLayoutIndex | The index of the descriptor set layout to which the descriptor set belongs |
| DescriptorSetIndex | The index of the descriptor set within the specified layout to which the uniform buffer will be assigned |
| FrameIndex | The index of the the frame for which the descriptor set will be updated with the uniform buffer. Uniform buffers are for each frame in flight, so the descriptor sets must be updated for each frame in flight, with the corresponding uniform buffer for that frame |
- Since
- Karma 1.0.0
The documentation for this struct was generated from the following files:
- Karma/src/Platform/Vulkan/VulkanRHI/VulkanDescriptorSets.h
- Karma/src/Platform/Vulkan/VulkanRHI/VulkanDescriptorSets.cpp