GstVulkanPhysicalDevice
A GstVulkanPhysicalDevice encapsulates a VkPhysicalDevice
GstVulkanPhysicalDevice
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstVulkanPhysicalDevice
Members
instance
(GstVulkanInstance *)
–
the parent GstVulkanInstance for this physical device
device_index
(guint)
–
the index into the physical device list in instance
device
(VkPhysicalDevice)
–
the vulkan physical device handle
properties
(VkPhysicalDeviceProperties)
–
retrieved physical device properties
features
(VkPhysicalDeviceFeatures)
–
retrieved physical device features
memory_properties
(VkPhysicalDeviceMemoryProperties)
–
retrieved physical device memory properties
queue_family_props
(VkQueueFamilyProperties*)
–
vulkan family properties
n_queue_families
(guint32)
–
number of elements in queue_family_props
Class structure
GstVulkan.VulkanPhysicalDeviceClass
Attributes
parent_class
(Gst.ObjectClass)
–
the parent Gst.ObjectClass
GstVulkan.VulkanPhysicalDeviceClass
Attributes
parent_class
(Gst.ObjectClass)
–
the parent Gst.ObjectClass
GstVulkanPhysicalDevice
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstVulkanPhysicalDevice
Members
instance
(GstVulkanInstance)
–
the parent GstVulkanInstance for this physical device
device_index
(Number)
–
the index into the physical device list in instance
device
(VkPhysicalDevice)
–
the vulkan physical device handle
properties
(VkPhysicalDeviceProperties)
–
retrieved physical device properties
features
(VkPhysicalDeviceFeatures)
–
retrieved physical device features
memory_properties
(VkPhysicalDeviceMemoryProperties)
–
retrieved physical device memory properties
queue_family_props
(VkQueueFamilyProperties)
–
vulkan family properties
n_queue_families
(Number)
–
number of elements in queue_family_props
GstVulkanPhysicalDevice
GObject ╰──GInitiallyUnowned ╰──GstObject ╰──GstVulkanPhysicalDevice
Members
instance
(GstVulkanInstance)
–
the parent GstVulkanInstance for this physical device
device_index
(int)
–
the index into the physical device list in instance
device
(VkPhysicalDevice)
–
the vulkan physical device handle
properties
(VkPhysicalDeviceProperties)
–
retrieved physical device properties
features
(VkPhysicalDeviceFeatures)
–
retrieved physical device features
memory_properties
(VkPhysicalDeviceMemoryProperties)
–
retrieved physical device memory properties
queue_family_props
(VkQueueFamilyProperties)
–
vulkan family properties
n_queue_families
(int)
–
number of elements in queue_family_props
Constructors
gst_vulkan_physical_device_new
GstVulkanPhysicalDevice * gst_vulkan_physical_device_new (GstVulkanInstance * instance, guint device_index)
a new GstVulkanPhysicalDevice
Since : 1.18
GstVulkan.VulkanPhysicalDevice.prototype.new
function GstVulkan.VulkanPhysicalDevice.prototype.new(instance: GstVulkan.VulkanInstance, device_index: Number): {
// javascript wrapper for 'gst_vulkan_physical_device_new'
}
Parameters:
instance
(
GstVulkan.VulkanInstance
)
–
the parent GstVulkan.VulkanInstance
device_index
(
Number
)
–
Since : 1.18
GstVulkan.VulkanPhysicalDevice.new
def GstVulkan.VulkanPhysicalDevice.new (instance, device_index):
#python wrapper for 'gst_vulkan_physical_device_new'
Parameters:
instance
(
GstVulkan.VulkanInstance
)
–
the parent GstVulkan.VulkanInstance
device_index
(
int
)
–
Since : 1.18
Methods
gst_vulkan_physical_device_get_extension_info
gboolean gst_vulkan_physical_device_get_extension_info (GstVulkanPhysicalDevice * device, const gchar * name, guint32 * spec_version)
Retrieves information about a device extension.
Will not find any extensions before gst_vulkan_instance_fill_info has been called.
Parameters:
device
–
name
–
the extension name to look for
spec_version
(
[out]
[nullable]
)
–
return value for the exteion specification version
whether extension name is available
Since : 1.18
GstVulkan.VulkanPhysicalDevice.prototype.get_extension_info
function GstVulkan.VulkanPhysicalDevice.prototype.get_extension_info(name: String): {
// javascript wrapper for 'gst_vulkan_physical_device_get_extension_info'
}
Retrieves information about a device extension.
Will not find any extensions before GstVulkan.VulkanInstance.prototype.fill_info has been called.
Parameters:
device
(
GstVulkan.VulkanPhysicalDevice
)
–
name
(
String
)
–
the extension name to look for
Returns a tuple made of:
whether extension name is available
spec_version
(
Number
)
–
whether extension name is available
Since : 1.18
GstVulkan.VulkanPhysicalDevice.get_extension_info
def GstVulkan.VulkanPhysicalDevice.get_extension_info (self, name):
#python wrapper for 'gst_vulkan_physical_device_get_extension_info'
Retrieves information about a device extension.
Will not find any extensions before GstVulkan.VulkanInstance.fill_info has been called.
Parameters:
device
(
GstVulkan.VulkanPhysicalDevice
)
–
name
(
str
)
–
the extension name to look for
Returns a tuple made of:
whether extension name is available
spec_version
(
int
)
–
whether extension name is available
Since : 1.18
gst_vulkan_physical_device_get_handle
VkPhysicalDevice gst_vulkan_physical_device_get_handle (GstVulkanPhysicalDevice * device)
Parameters:
device
–
The associated VkPhysicalDevice
handle
Since : 1.18
gst_vulkan_physical_device_get_instance
GstVulkanInstance * gst_vulkan_physical_device_get_instance (GstVulkanPhysicalDevice * device)
Parameters:
device
–
The GstVulkanInstance associated with this physical device
Since : 1.18
GstVulkan.VulkanPhysicalDevice.prototype.get_instance
function GstVulkan.VulkanPhysicalDevice.prototype.get_instance(): {
// javascript wrapper for 'gst_vulkan_physical_device_get_instance'
}
Parameters:
device
(
GstVulkan.VulkanPhysicalDevice
)
–
The GstVulkan.VulkanInstance associated with this physical device
Since : 1.18
GstVulkan.VulkanPhysicalDevice.get_instance
def GstVulkan.VulkanPhysicalDevice.get_instance (self):
#python wrapper for 'gst_vulkan_physical_device_get_instance'
Parameters:
device
(
GstVulkan.VulkanPhysicalDevice
)
–
The GstVulkan.VulkanInstance associated with this physical device
Since : 1.18
gst_vulkan_physical_device_get_layer_info
gboolean gst_vulkan_physical_device_get_layer_info (GstVulkanPhysicalDevice * device, const gchar * name, gchar ** description, guint32 * spec_version, guint32 * implementation_version)
Retrieves information about a layer.
Will not find any layers before gst_vulkan_instance_fill_info has been called.
Parameters:
device
–
name
–
the layer name to look for
description
(
[out]
[nullable]
)
–
return value for the layer description or NULL
spec_version
(
[out]
[nullable]
)
–
return value for the layer specification version
implementation_version
(
[out]
[nullable]
)
–
return value for the layer implementation version
whether layer name is available
Since : 1.18
GstVulkan.VulkanPhysicalDevice.prototype.get_layer_info
function GstVulkan.VulkanPhysicalDevice.prototype.get_layer_info(name: String): {
// javascript wrapper for 'gst_vulkan_physical_device_get_layer_info'
}
Retrieves information about a layer.
Will not find any layers before GstVulkan.VulkanInstance.prototype.fill_info has been called.
Parameters:
device
(
GstVulkan.VulkanPhysicalDevice
)
–
name
(
String
)
–
the layer name to look for
Returns a tuple made of:
whether layer name is available
description
(
String
)
–
whether layer name is available
spec_version
(
Number
)
–
whether layer name is available
implementation_version
(
Number
)
–
whether layer name is available
Since : 1.18
GstVulkan.VulkanPhysicalDevice.get_layer_info
def GstVulkan.VulkanPhysicalDevice.get_layer_info (self, name):
#python wrapper for 'gst_vulkan_physical_device_get_layer_info'
Retrieves information about a layer.
Will not find any layers before GstVulkan.VulkanInstance.fill_info has been called.
Returns a tuple made of:
whether layer name is available
description
(
str
)
–
whether layer name is available
spec_version
(
int
)
–
whether layer name is available
implementation_version
(
int
)
–
whether layer name is available
Since : 1.18
Functions
gst_vulkan_physical_device_type_to_string
const gchar * gst_vulkan_physical_device_type_to_string (VkPhysicalDeviceType type)
Parameters:
type
–
a `VkPhysicalDeviceType
name of type
Since : 1.18
GstVulkan.VulkanPhysicalDevice.prototype.type_to_string
function GstVulkan.VulkanPhysicalDevice.prototype.type_to_string(type: Vulkan.PhysicalDeviceType): {
// javascript wrapper for 'gst_vulkan_physical_device_type_to_string'
}
Parameters:
type
(
Vulkan.PhysicalDeviceType
)
–
a `VkPhysicalDeviceType
name of type
Since : 1.18
GstVulkan.VulkanPhysicalDevice.type_to_string
def GstVulkan.VulkanPhysicalDevice.type_to_string (type):
#python wrapper for 'gst_vulkan_physical_device_type_to_string'
Parameters:
type
(
Vulkan.PhysicalDeviceType
)
–
a `VkPhysicalDeviceType
name of type
Since : 1.18
Properties
The results of the search are