Struct vkxml::Handle
[−]
[src]
pub struct Handle {
pub name: Identifier,
pub notation: Option<Notation>,
pub parent: Option<CommaSeparatedIdentifiers>,
pub ty: HandleType,
}Handle created using VK_DEFINE_HANDLE or VK_DEFINE_NON_DISPATCHABLE_HANDLE.
Handles in Vulkan are created using the C macros defined here.
The macro used to define the handle depends on Handle::ty. For example:
VK_DEFINE_NON_DISPATCHABLE_HANDLE(VkSemaphore) // HandleType::NoDispatch
VK_DEFINE_HANDLE(VkCommandBuffer) // HandleType::Dispatch
Fields
name: Identifier
notation: Option<Notation>
parent: Option<CommaSeparatedIdentifiers>
The name(s) of a handle object that is the parent of this handle.
ty: HandleType