# GstVulkanDescriptorSet

vulkandescriptorset holds information about a descriptor set.

## GstVulkanDescriptorSet

### Members

`parent` (GstMiniObject) –

the parent GstMiniObject

`set` (VkDescriptorSet) –

the vulkan descriptor set handle

`pool` (GstVulkanDescriptorPool *) –

the parent GstVulkanDescriptorPool for pooling

`cache` (GstVulkanDescriptorCache *) –

the parent GstVulkanDescriptorCache for reuse

`n_layouts` (guint) –

number of layouts applied to this descriptor set

`layouts` (GstVulkanHandle **) –

layouts applied to this descriptor set

## GstVulkanDescriptorSet

### Members

`parent` (GstMiniObject) –

the parent GstMiniObject

`set` (VkDescriptorSet) –

the vulkan descriptor set handle

`pool` (GstVulkanDescriptorPool) –

the parent GstVulkanDescriptorPool for pooling

`cache` (GstVulkanDescriptorCache) –

the parent GstVulkanDescriptorCache for reuse

`n_layouts` (Number) –

number of layouts applied to this descriptor set

`layouts` (GstVulkanHandle) –

layouts applied to this descriptor set

## GstVulkanDescriptorSet

### Members

`parent` (GstMiniObject) –

the parent GstMiniObject

`set` (VkDescriptorSet) –

the vulkan descriptor set handle

`pool` (GstVulkanDescriptorPool) –

the parent GstVulkanDescriptorPool for pooling

`cache` (GstVulkanDescriptorCache) –

the parent GstVulkanDescriptorCache for reuse

`n_layouts` (int) –

number of layouts applied to this descriptor set

`layouts` (GstVulkanHandle) –

layouts applied to this descriptor set

### Constructors

#### gst_vulkan_descriptor_set_new_wrapped

    GstVulkanDescriptorSet *
    gst_vulkan_descriptor_set_new_wrapped (GstVulkanDescriptorPool * pool,
                                           VkDescriptorSet set,
                                           guint n_layouts,
                                           GstVulkanHandle ** layouts)

Parameters:

`pool` –
No description available
`set` –

a VkDescriptorSet

`n_layouts` –
No description available
`layouts` –
No description available
Returns ( [transfer: full] ) –

a new GstVulkanDescriptorSet

Since : 1.18

#### GstVulkan.VulkanDescriptorSet.prototype.new_wrapped

    function GstVulkan.VulkanDescriptorSet.prototype.new_wrapped(pool: GstVulkan.VulkanDescriptorPool, set: Vulkan.DescriptorSet, n_layouts: Number, layouts: GstVulkan.VulkanHandle): {
        // javascript wrapper for 'gst_vulkan_descriptor_set_new_wrapped'
    }

Parameters:

`pool` ( GstVulkan.VulkanDescriptorPool ) –
No description available
`set` ( Vulkan.DescriptorSet ) –

a VkDescriptorSet

`n_layouts` ( Number ) –
No description available
`layouts` ( GstVulkan.VulkanHandle ) –
No description available
Returns ( GstVulkan.VulkanDescriptorSet ) –

a new GstVulkan.VulkanDescriptorSet

Since : 1.18

#### GstVulkan.VulkanDescriptorSet.new_wrapped

    def GstVulkan.VulkanDescriptorSet.new_wrapped (pool, set, n_layouts, layouts):
        #python wrapper for 'gst_vulkan_descriptor_set_new_wrapped'

Parameters:

`pool` ( GstVulkan.VulkanDescriptorPool ) –
No description available
`set` ( Vulkan.DescriptorSet ) –

a VkDescriptorSet

`n_layouts` ( int ) –
No description available
`layouts` ( GstVulkan.VulkanHandle ) –
No description available
Returns ( GstVulkan.VulkanDescriptorSet ) –

a new GstVulkan.VulkanDescriptorSet

Since : 1.18

### Methods

#### gst_vulkan_descriptor_set_ref

    GstVulkanDescriptorSet *
    gst_vulkan_descriptor_set_ref (GstVulkanDescriptorSet * set)

Increases the refcount of the given buffer by one.

Parameters:

`set` –

a GstVulkanDescriptorSet.

Returns ( [transfer: full] ) –

set

Since : 1.18

#### gst_vulkan_descriptor_set_unref

    gst_vulkan_descriptor_set_unref (GstVulkanDescriptorSet * set)

Decreases the refcount of the buffer. If the refcount reaches 0, the buffer will be freed.

Parameters:

`set` ( [transfer: full] ) –

a GstVulkanDescriptorSet.

Since : 1.18

## Constants

### GST_TYPE_VULKAN_DESCRIPTOR_SET

    #define GST_TYPE_VULKAN_DESCRIPTOR_SET (gst_vulkan_descriptor_set_get_type ())

The results of the search are