# GstVulkanBufferPool

a GstVulkanBufferPool is an object that allocates buffers with GstVulkanBufferMemory

A GstVulkanBufferPool is created with gst_vulkan_buffer_pool_new

GstVulkanBufferPool implements the VideoMeta buffer pool option GST_BUFFER_POOL_OPTION_VIDEO_META

## GstVulkanBufferPool

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstBufferPool
                    ╰──GstVulkanBufferPool

Opaque GstVulkanBufferPool struct

### Members

`bufferpool` (GstBufferPool) –

the parent GstBufferPool

`device` (GstVulkanDevice *) –

the GstVulkanDevice to allocate Vulkan buffers from

### Class structure

#### GstVulkanBufferPoolClass

The GstVulkanBufferPoolClass structure contains only private data

##### Fields

`parent_class` (GstBufferPoolClass) –

the parent GstBufferPoolClass

### GstVulkan.VulkanBufferPoolClass

The GstVulkan.VulkanBufferPoolClass structure contains only private data

##### Attributes

`parent_class` (Gst.BufferPoolClass) –

the parent Gst.BufferPoolClass

### GstVulkan.VulkanBufferPoolClass

The GstVulkan.VulkanBufferPoolClass structure contains only private data

##### Attributes

`parent_class` (Gst.BufferPoolClass) –

the parent Gst.BufferPoolClass

## GstVulkan.VulkanBufferPool

    GObject.Object
        ╰──GObject.InitiallyUnowned
            ╰──Gst.Object
                ╰──Gst.BufferPool
                    ╰──GstVulkan.VulkanBufferPool

Opaque GstVulkan.VulkanBufferPool struct

### Members

`bufferpool` (Gst.BufferPool) –

the parent Gst.BufferPool

`device` (GstVulkan.VulkanDevice) –

the GstVulkan.VulkanDevice to allocate Vulkan buffers from

## GstVulkan.VulkanBufferPool

    GObject.Object
        ╰──GObject.InitiallyUnowned
            ╰──Gst.Object
                ╰──Gst.BufferPool
                    ╰──GstVulkan.VulkanBufferPool

Opaque GstVulkan.VulkanBufferPool struct

### Members

`bufferpool` (Gst.BufferPool) –

the parent Gst.BufferPool

`device` (GstVulkan.VulkanDevice) –

the GstVulkan.VulkanDevice to allocate Vulkan buffers from

### Constructors

#### gst_vulkan_buffer_pool_new

    GstBufferPool *
    gst_vulkan_buffer_pool_new (GstVulkanDevice * device)

Parameters:

`device` –

the GstVulkanDevice to use

Returns ( [transfer: full] ) –

a GstBufferPool that allocates buffers with GstGLMemory

Since : 1.18

#### GstVulkan.VulkanBufferPool.prototype.new

    function GstVulkan.VulkanBufferPool.prototype.new(device: GstVulkan.VulkanDevice): {
        // javascript wrapper for 'gst_vulkan_buffer_pool_new'
    }

Parameters:

`device` ( GstVulkan.VulkanDevice ) –

the GstVulkan.VulkanDevice to use

Returns ( Gst.BufferPool ) –

a Gst.BufferPool that allocates buffers with GstGL.GLMemory

Since : 1.18

#### GstVulkan.VulkanBufferPool.new

    def GstVulkan.VulkanBufferPool.new (device):
        #python wrapper for 'gst_vulkan_buffer_pool_new'

Parameters:

`device` ( GstVulkan.VulkanDevice ) –

the GstVulkan.VulkanDevice to use

Returns ( Gst.BufferPool ) –

a Gst.BufferPool that allocates buffers with GstGL.GLMemory

Since : 1.18

## Function Macros

### GST_VULKAN_BUFFER_POOL_CAST

    #define GST_VULKAN_BUFFER_POOL_CAST(obj) ((GstVulkanBufferPool*)(obj))

The results of the search are