Click or drag to resize
Ab4d.SharpEngine logo

VulkanDynamicDescriptorSetFactoryGetDescriptorSets Method

GetDescriptorSets returns an array of DescriptorSet and an index of the used DescriptorPool. The index is needed when calling FreeDescriptorSets(DescriptorSet, Int32) method. The GetDescriptorSets method can be called only on the main thread (the same thread the VulkanDevice was created on).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public (DescriptorSet[] , int poolIndex) GetDescriptorSets(
	int setsCount,
	string? name = null
)

Parameters

setsCount  Int32
number of DescriptorSet
name  String  (Optional)
name of descriptor sets

Return Value

ValueTupleDescriptorSet, Int32
tuple with descriptorSets and poolIndex
See Also