Struct anira_vulkan_desc#
-
struct anira_vulkan_desc#
The Vulkan block of a context config; thread-agnostic, anira serializes its own submissions on the queue.
Public Members
-
uint32_t struct_size#
sizeof(anira_vulkan_desc) of the caller’s header.
-
uint32_t ownership#
anira_ownership.
-
uint32_t queue_family#
Queue family index.
-
uint32_t queue_index#
Queue index within the family.
-
void *instance#
VkInstance.
-
void *physical#
VkPhysicalDevice.
-
void *device#
VkDevice.
-
int32_t device_index#
Index of the physical device anira picks when it owns the device (ANIRA_OWNERSHIP_OWNED); the JSON key vulkan.device. A tail slot appended at ABI 0.2: a shorter record of an older caller reads as 0.
-
uint32_t reserved#
Zero. Keeps the record free of tail padding on 64-bit targets: a setter copies within struct_size, so padding a caller never wrote could not become a slot later.
-
uint32_t struct_size#