namespace Brutal.VulkanApi { /// /// VkDeviceMemoryOverallocationCreateInfoAMD - Specify memory overallocation behavior for a Vulkan device /// /// /// /// To specify whether device memory allocation is allowed beyond the size /// reported by VkPhysicalDeviceMemoryProperties, add a /// VkDeviceMemoryOverallocationCreateInfoAMD structure to the pNext /// chain of the VkDeviceCreateInfo structure. /// If this structure is not specified, it is as if the /// VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD value is used. /// /// /// // Provided by VK_AMD_memory_overallocation_behavior /// typedef struct VkDeviceMemoryOverallocationCreateInfoAMD { /// VkStructureType sType; /// const void* pNext; /// VkMemoryOverallocationBehaviorAMD overallocationBehavior; /// } VkDeviceMemoryOverallocationCreateInfoAMD; /// /// [StructLayout(LayoutKind.Explicit, Size = 24)] public unsafe partial struct VkDeviceMemoryOverallocationCreateInfoAMD() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DeviceMemoryOverallocationCreateInfoAMD; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// OverallocationBehavior is the desired overallocation behavior. /// [FieldOffset(16)] public VkMemoryOverallocationBehaviorAMD OverallocationBehavior; } }