Top | ![]() |
![]() |
![]() |
![]() |
GulkanDevice * | gulkan_device_new () |
gboolean | gulkan_device_create () |
gboolean | gulkan_device_memory_type_from_properties () |
VkDevice | gulkan_device_get_handle () |
VkPhysicalDevice | gulkan_device_get_physical_handle () |
gboolean | gulkan_device_get_memory_fd () |
void | gulkan_device_wait_idle () |
void | gulkan_device_print_memory_properties () |
void | gulkan_device_print_memory_budget () |
VkDeviceSize | gulkan_device_get_heap_budget () |
GulkanQueue * | gulkan_device_get_graphics_queue () |
GulkanQueue * | gulkan_device_get_transfer_queue () |
gboolean gulkan_device_create (GulkanDevice *self
,GulkanInstance *instance
,VkPhysicalDevice device
,GSList *extensions
);
self |
||
instance |
||
device |
a VkPhysicalDevice |
|
extensions |
A list of extensions to enable. |
[element-type utf8] |
gboolean gulkan_device_memory_type_from_properties (GulkanDevice *self
,uint32_t memory_type_bits
,VkMemoryPropertyFlags memory_property_flags
,uint32_t *type_index_out
);
VkPhysicalDevice
gulkan_device_get_physical_handle (GulkanDevice *self
);
gboolean gulkan_device_get_memory_fd (GulkanDevice *self
,VkDeviceMemory image_memory
,int *fd
);
void
gulkan_device_print_memory_properties (GulkanDevice *self
);
VkDeviceSize gulkan_device_get_heap_budget (GulkanDevice *self
,uint32_t i
);
GulkanQueue *
gulkan_device_get_graphics_queue (GulkanDevice *self
);
GulkanQueue *
gulkan_device_get_transfer_queue (GulkanDevice *self
);