DescriptorPool

Represents a descriptor pool in Vulkan, managing the allocation and deallocation of descriptor sets.

Properties

LveDevice

(Device) : Gets the Device object, representing the GPU or similar device being used.

Public Methods

AllocateDescriptorSet

public bool AllocateDescriptorSet(Silk.NET.Vulkan.DescriptorSetLayout descriptorSetLayout, DescriptorSet descriptorSet)

Allocate a descriptor set from the pool.

Parameters:

  • descriptorSetLayout (Silk.NET.Vulkan.DescriptorSetLayout): The layout of the descriptor set to allocate.
  • descriptorSet (DescriptorSet): Reference to store the allocated descriptor set.

Returns: bool

  • True if allocation was successful, false otherwise.

Dispose

public void Dispose()

Releases all resources used by the DescriptorPool object.