namespace Brutal.VulkanApi { /// /// VkDeviceFaultInfoEXT - Structure specifying device fault information /// /// /// /// The VkDeviceFaultInfoEXT structure is defined as: /// /// /// // Provided by VK_EXT_device_fault /// typedef struct VkDeviceFaultInfoEXT { /// VkStructureType sType; /// void* pNext; /// char description[VK_MAX_DESCRIPTION_SIZE]; /// VkDeviceFaultAddressInfoKHR* pAddressInfos; /// VkDeviceFaultVendorInfoKHR* pVendorInfos; /// void* pVendorBinaryData; /// } VkDeviceFaultInfoEXT; /// /// [StructLayout(LayoutKind.Explicit, Size = 296)] public unsafe partial struct VkDeviceFaultInfoEXT() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.DeviceFaultInfoEXT; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// [FieldOffset(16)] public fixed byte Description[256]; /// /// AddressInfos is `NULL` or a pointer to an array of VkDeviceFaultAddressInfoEXT structures describing either memory accesses which may: have caused a page fault, or describing active instruction pointers at the time of the fault. The length of pAddressInfos is specified by the VkDeviceFaultCountsEXT::addressInfoCount value passed to vkGetDeviceFaultInfoEXT. If not `NULL`, each element of pAddressInfos describes a bounded region of GPU virtual address space containing either the GPU virtual address accessed, or the value of an active instruction pointer. /// [FieldOffset(272)] public VkDeviceFaultAddressInfoKHR* AddressInfos; /// /// VendorInfos is `NULL` or a pointer to an array of VkDeviceFaultVendorInfoEXT structures describing vendor-specific fault information. The length of pVendorInfos is specified by the VkDeviceFaultCountsEXT::vendorInfoCount value passed to vkGetDeviceFaultInfoEXT. /// [FieldOffset(280)] public VkDeviceFaultVendorInfoKHR* VendorInfos; /// /// VendorBinaryData is `NULL` or a pointer to memory which will be populated with a vendor-specific binary crash dump, as described in Vendor Binary Crash Dumps^. The size of pVendorBinaryData is specified by the VkDeviceFaultCountsEXT::vendorBinarySize value passed to vkGetDeviceFaultInfoEXT. /// [FieldOffset(288)] public void* VendorBinaryData; } }