C Specification
The VkFaultCallbackInfo structure is defined as:
// Provided by VKSC_VERSION_1_0
typedef struct VkFaultCallbackInfo {
VkStructureType sType;
const void* pNext;
uint32_t faultCount;
VkFaultData* pFaults;
PFN_vkFaultCallbackFunction pfnFaultCallback;
} VkFaultCallbackInfo;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor pointer to a structure extending this structure. -
faultCountis the number of reported faults in the array pointed to bypFaults. -
pFaultsis eitherNULLor a pointer to an array offaultCountVkFaultData structures. -
pfnFaultCallbackis a function pointer to the fault handler function that will be called by the implementation when a fault occurs.
Description
If provided, the implementation may make use of the pFaults array to
return fault data to the application when using the fault callback.
|
Note
|
Prior to Vulkan SC 1.0.11, the application was required to provide the
|
If provided, the application memory referenced by pFaults must remain
accessible throughout the lifetime of the logical device that was created
with this structure.
|
Note
|
The memory pointed to by It is expected that implementations will maintain separate storage for fault
information and populate the array pointed to by |
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.