namespace Brutal.VulkanApi { /// /// VkDeviceFaultVendorBinaryHeaderVersionOneKHR - Structure describing the layout of the vendor binary crash dump header /// /// /// /// Version one of the crash dump header is defined as: /// /// /// // Provided by VK_KHR_device_fault /// typedef struct VkDeviceFaultVendorBinaryHeaderVersionOneKHR { /// uint32_t headerSize; /// VkDeviceFaultVendorBinaryHeaderVersionKHR headerVersion; /// uint32_t vendorID; /// uint32_t deviceID; /// uint32_t driverVersion; /// uint8_t pipelineCacheUUID[VK_UUID_SIZE]; /// uint32_t applicationNameOffset; /// uint32_t applicationVersion; /// uint32_t engineNameOffset; /// uint32_t engineVersion; /// uint32_t apiVersion; /// } VkDeviceFaultVendorBinaryHeaderVersionOneKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkDeviceFaultVendorBinaryHeaderVersionOneKHR() { /// /// HeaderSize is the length in bytes of the crash dump header. /// [FieldOffset(0)] public int HeaderSize; /// /// HeaderVersion is a VkDeviceFaultVendorBinaryHeaderVersionKHR enum value specifying the version of the header. A consumer of the crash dump should use the header version to interpret the remainder of the header. headerVersion must be written as exactly 4 bytes. /// [FieldOffset(4)] public VkDeviceFaultVendorBinaryHeaderVersionKHR HeaderVersion; /// /// VendorID is the VkPhysicalDeviceProperties::vendorID of the implementation. /// [FieldOffset(8)] public int VendorID; /// /// DeviceID is the VkPhysicalDeviceProperties::deviceID of the implementation. /// [FieldOffset(12)] public int DeviceID; /// /// DriverVersion is the VkPhysicalDeviceProperties::driverVersion of the implementation. /// [FieldOffset(16)] public int DriverVersion; /// [FieldOffset(20)] public fixed byte PipelineCacheUUID[16]; /// /// ApplicationNameOffset is zero, or an offset from the base address of the crash dump header to a null-terminated UTF-8 string containing the name of the application. If applicationNameOffset is non-zero, this string must match the application name specified via VkApplicationInfo::pApplicationName during instance creation. /// [FieldOffset(36)] public int ApplicationNameOffset; /// /// ApplicationVersion must be zero or the value specified by VkApplicationInfo::applicationVersion during instance creation. /// [FieldOffset(40)] public int ApplicationVersion; /// /// EngineNameOffset is zero, or an offset from the base address of the crash dump header to a null-terminated UTF-8 string containing the name of the engine (if any) used to create the application. If engineNameOffset is non-zero, this string must match the engine name specified via VkApplicationInfo::pEngineName during instance creation. /// [FieldOffset(44)] public int EngineNameOffset; /// /// EngineVersion must be zero or the value specified by VkApplicationInfo::engineVersion during instance creation. /// [FieldOffset(48)] public int EngineVersion; /// /// ApiVersion must be zero or the value specified by VkApplicationInfo::apiVersion during instance creation. /// [FieldOffset(52)] public int ApiVersion; } }