 |
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.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic (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,
Int32tuple with descriptorSets and poolIndex
See Also