Vulkanator
Vulkanator copied to clipboard
Refactor vulkan structures to aggregate initialization
Inline definitions of these structures do not make it easy to determine what argument is going where. With aggregate initialization, each struct member is being assigned explicitly. This also allows many structures to be const or static. This also allows many structures to document themselves now that member names are visible at the site of creation.
This uses VULKAN_HPP_NO_STRUCT_CONSTRUCTORS to disable the custom constructor from structs.