[{"data":1,"prerenderedAt":851},["ShallowReactive",2],{"yBjo96nVT5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":850,"_id":4},"PFN_vkDebugReportCallbackEXT","Application-defined debug report callback function","VK_EXT_debug_report","funcpointers",[],{"type":10,"children":11,"toc":848},"root",[12,38,549,714,733,768,842],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","The prototype for the\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkDebugReportCallbackCreateInfoEXT",[25],{"type":18,"value":26},"VkDebugReportCallbackCreateInfoEXT",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"pfnCallback",{"type":18,"value":37}," function\nimplemented by the application is:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,203],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)(\n VkDebugReportFlagsEXT flags,\n VkDebugReportObjectTypeEXT objectType,\n uint64_t object,\n size_t location,\n int32_t messageCode,\n const char* pLayerPrefix,\n const char* pMessage,\n void* pUserData);\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,93,102,111,125,139,153,172,189],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,72,78,83,88],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":69},{"style":68},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[70],{"type":18,"value":71}," VkBool32",{"type":13,"tag":55,"props":73,"children":75},{"style":74},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[76],{"type":18,"value":77}," (VKAPI_PTR ",{"type":13,"tag":55,"props":79,"children":80},{"style":62},[81],{"type":18,"value":82},"*",{"type":13,"tag":55,"props":84,"children":86},{"style":85},"--shiki-default:#953800;--shiki-dark:#FFA657",[87],{"type":18,"value":4},{"type":13,"tag":55,"props":89,"children":90},{"style":74},[91],{"type":18,"value":92},")(\n",{"type":13,"tag":55,"props":94,"children":96},{"class":57,"line":95},2,[97],{"type":13,"tag":55,"props":98,"children":99},{"style":74},[100],{"type":18,"value":101}," VkDebugReportFlagsEXT flags,\n",{"type":13,"tag":55,"props":103,"children":105},{"class":57,"line":104},3,[106],{"type":13,"tag":55,"props":107,"children":108},{"style":74},[109],{"type":18,"value":110}," VkDebugReportObjectTypeEXT objectType,\n",{"type":13,"tag":55,"props":112,"children":114},{"class":57,"line":113},4,[115,120],{"type":13,"tag":55,"props":116,"children":117},{"style":62},[118],{"type":18,"value":119}," uint64_t",{"type":13,"tag":55,"props":121,"children":122},{"style":74},[123],{"type":18,"value":124}," object,\n",{"type":13,"tag":55,"props":126,"children":128},{"class":57,"line":127},5,[129,134],{"type":13,"tag":55,"props":130,"children":131},{"style":62},[132],{"type":18,"value":133}," size_t",{"type":13,"tag":55,"props":135,"children":136},{"style":74},[137],{"type":18,"value":138}," location,\n",{"type":13,"tag":55,"props":140,"children":142},{"class":57,"line":141},6,[143,148],{"type":13,"tag":55,"props":144,"children":145},{"style":62},[146],{"type":18,"value":147}," int32_t",{"type":13,"tag":55,"props":149,"children":150},{"style":74},[151],{"type":18,"value":152}," messageCode,\n",{"type":13,"tag":55,"props":154,"children":156},{"class":57,"line":155},7,[157,162,167],{"type":13,"tag":55,"props":158,"children":159},{"style":62},[160],{"type":18,"value":161}," const",{"type":13,"tag":55,"props":163,"children":164},{"style":62},[165],{"type":18,"value":166}," char*",{"type":13,"tag":55,"props":168,"children":169},{"style":74},[170],{"type":18,"value":171}," pLayerPrefix,\n",{"type":13,"tag":55,"props":173,"children":175},{"class":57,"line":174},8,[176,180,184],{"type":13,"tag":55,"props":177,"children":178},{"style":62},[179],{"type":18,"value":161},{"type":13,"tag":55,"props":181,"children":182},{"style":62},[183],{"type":18,"value":166},{"type":13,"tag":55,"props":185,"children":186},{"style":74},[187],{"type":18,"value":188}," pMessage,\n",{"type":13,"tag":55,"props":190,"children":192},{"class":57,"line":191},9,[193,198],{"type":13,"tag":55,"props":194,"children":195},{"style":62},[196],{"type":18,"value":197}," void*",{"type":13,"tag":55,"props":199,"children":200},{"style":74},[201],{"type":18,"value":202}," pUserData);\n",{"type":13,"tag":43,"props":204,"children":209},{"className":205,"code":206,"filename":207,"language":208,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub type PFN_vkDebugReportCallbackEXT = Option\u003C\n unsafe extern \"system\" fn(\n flags: vk::DebugReportFlagsEXT,\n object_type: vk::DebugReportObjectTypeEXT,\n object: u64,\n location: usize,\n message_code: i32,\n p_layer_prefix: *const std::ffi::c_char,\n p_message: *const std::ffi::c_char,\n p_user_data: *mut std::ffi::c_void,\n ) -> vk::Bool32\n>;\n","Rust","rs",[210],{"type":13,"tag":30,"props":211,"children":212},{"__ignoreMap":49},[213,246,274,306,335,356,377,398,438,474,513,540],{"type":13,"tag":55,"props":214,"children":215},{"class":57,"line":58},[216,221,226,231,236,241],{"type":13,"tag":55,"props":217,"children":218},{"style":62},[219],{"type":18,"value":220},"pub",{"type":13,"tag":55,"props":222,"children":223},{"style":62},[224],{"type":18,"value":225}," type",{"type":13,"tag":55,"props":227,"children":228},{"style":85},[229],{"type":18,"value":230}," PFN_vkDebugReportCallbackEXT",{"type":13,"tag":55,"props":232,"children":233},{"style":62},[234],{"type":18,"value":235}," =",{"type":13,"tag":55,"props":237,"children":238},{"style":85},[239],{"type":18,"value":240}," Option",{"type":13,"tag":55,"props":242,"children":243},{"style":74},[244],{"type":18,"value":245},"\u003C\n",{"type":13,"tag":55,"props":247,"children":248},{"class":57,"line":95},[249,254,259,264,269],{"type":13,"tag":55,"props":250,"children":251},{"style":62},[252],{"type":18,"value":253}," unsafe",{"type":13,"tag":55,"props":255,"children":256},{"style":62},[257],{"type":18,"value":258}," extern",{"type":13,"tag":55,"props":260,"children":261},{"style":74},[262],{"type":18,"value":263}," \"system\" ",{"type":13,"tag":55,"props":265,"children":266},{"style":62},[267],{"type":18,"value":268},"fn",{"type":13,"tag":55,"props":270,"children":271},{"style":74},[272],{"type":18,"value":273},"(\n",{"type":13,"tag":55,"props":275,"children":276},{"class":57,"line":104},[277,282,287,292,296,301],{"type":13,"tag":55,"props":278,"children":279},{"style":74},[280],{"type":18,"value":281}," flags",{"type":13,"tag":55,"props":283,"children":284},{"style":62},[285],{"type":18,"value":286},":",{"type":13,"tag":55,"props":288,"children":289},{"style":74},[290],{"type":18,"value":291}," vk",{"type":13,"tag":55,"props":293,"children":294},{"style":62},[295],{"type":18,"value":28},{"type":13,"tag":55,"props":297,"children":298},{"style":85},[299],{"type":18,"value":300},"DebugReportFlagsEXT",{"type":13,"tag":55,"props":302,"children":303},{"style":74},[304],{"type":18,"value":305},",\n",{"type":13,"tag":55,"props":307,"children":308},{"class":57,"line":113},[309,314,318,322,326,331],{"type":13,"tag":55,"props":310,"children":311},{"style":74},[312],{"type":18,"value":313}," object_type",{"type":13,"tag":55,"props":315,"children":316},{"style":62},[317],{"type":18,"value":286},{"type":13,"tag":55,"props":319,"children":320},{"style":74},[321],{"type":18,"value":291},{"type":13,"tag":55,"props":323,"children":324},{"style":62},[325],{"type":18,"value":28},{"type":13,"tag":55,"props":327,"children":328},{"style":85},[329],{"type":18,"value":330},"DebugReportObjectTypeEXT",{"type":13,"tag":55,"props":332,"children":333},{"style":74},[334],{"type":18,"value":305},{"type":13,"tag":55,"props":336,"children":337},{"class":57,"line":127},[338,343,347,352],{"type":13,"tag":55,"props":339,"children":340},{"style":74},[341],{"type":18,"value":342}," object",{"type":13,"tag":55,"props":344,"children":345},{"style":62},[346],{"type":18,"value":286},{"type":13,"tag":55,"props":348,"children":349},{"style":85},[350],{"type":18,"value":351}," u64",{"type":13,"tag":55,"props":353,"children":354},{"style":74},[355],{"type":18,"value":305},{"type":13,"tag":55,"props":357,"children":358},{"class":57,"line":141},[359,364,368,373],{"type":13,"tag":55,"props":360,"children":361},{"style":74},[362],{"type":18,"value":363}," location",{"type":13,"tag":55,"props":365,"children":366},{"style":62},[367],{"type":18,"value":286},{"type":13,"tag":55,"props":369,"children":370},{"style":85},[371],{"type":18,"value":372}," usize",{"type":13,"tag":55,"props":374,"children":375},{"style":74},[376],{"type":18,"value":305},{"type":13,"tag":55,"props":378,"children":379},{"class":57,"line":155},[380,385,389,394],{"type":13,"tag":55,"props":381,"children":382},{"style":74},[383],{"type":18,"value":384}," message_code",{"type":13,"tag":55,"props":386,"children":387},{"style":62},[388],{"type":18,"value":286},{"type":13,"tag":55,"props":390,"children":391},{"style":85},[392],{"type":18,"value":393}," i32",{"type":13,"tag":55,"props":395,"children":396},{"style":74},[397],{"type":18,"value":305},{"type":13,"tag":55,"props":399,"children":400},{"class":57,"line":174},[401,406,410,415,420,424,429,433],{"type":13,"tag":55,"props":402,"children":403},{"style":74},[404],{"type":18,"value":405}," p_layer_prefix",{"type":13,"tag":55,"props":407,"children":408},{"style":62},[409],{"type":18,"value":286},{"type":13,"tag":55,"props":411,"children":412},{"style":62},[413],{"type":18,"value":414}," *const",{"type":13,"tag":55,"props":416,"children":417},{"style":74},[418],{"type":18,"value":419}," std",{"type":13,"tag":55,"props":421,"children":422},{"style":62},[423],{"type":18,"value":28},{"type":13,"tag":55,"props":425,"children":426},{"style":74},[427],{"type":18,"value":428},"ffi",{"type":13,"tag":55,"props":430,"children":431},{"style":62},[432],{"type":18,"value":28},{"type":13,"tag":55,"props":434,"children":435},{"style":74},[436],{"type":18,"value":437},"c_char,\n",{"type":13,"tag":55,"props":439,"children":440},{"class":57,"line":191},[441,446,450,454,458,462,466,470],{"type":13,"tag":55,"props":442,"children":443},{"style":74},[444],{"type":18,"value":445}," p_message",{"type":13,"tag":55,"props":447,"children":448},{"style":62},[449],{"type":18,"value":286},{"type":13,"tag":55,"props":451,"children":452},{"style":62},[453],{"type":18,"value":414},{"type":13,"tag":55,"props":455,"children":456},{"style":74},[457],{"type":18,"value":419},{"type":13,"tag":55,"props":459,"children":460},{"style":62},[461],{"type":18,"value":28},{"type":13,"tag":55,"props":463,"children":464},{"style":74},[465],{"type":18,"value":428},{"type":13,"tag":55,"props":467,"children":468},{"style":62},[469],{"type":18,"value":28},{"type":13,"tag":55,"props":471,"children":472},{"style":74},[473],{"type":18,"value":437},{"type":13,"tag":55,"props":475,"children":477},{"class":57,"line":476},10,[478,483,487,492,496,500,504,508],{"type":13,"tag":55,"props":479,"children":480},{"style":74},[481],{"type":18,"value":482}," p_user_data",{"type":13,"tag":55,"props":484,"children":485},{"style":62},[486],{"type":18,"value":286},{"type":13,"tag":55,"props":488,"children":489},{"style":62},[490],{"type":18,"value":491}," *mut",{"type":13,"tag":55,"props":493,"children":494},{"style":74},[495],{"type":18,"value":419},{"type":13,"tag":55,"props":497,"children":498},{"style":62},[499],{"type":18,"value":28},{"type":13,"tag":55,"props":501,"children":502},{"style":74},[503],{"type":18,"value":428},{"type":13,"tag":55,"props":505,"children":506},{"style":62},[507],{"type":18,"value":28},{"type":13,"tag":55,"props":509,"children":510},{"style":74},[511],{"type":18,"value":512},"c_void,\n",{"type":13,"tag":55,"props":514,"children":516},{"class":57,"line":515},11,[517,522,527,531,535],{"type":13,"tag":55,"props":518,"children":519},{"style":74},[520],{"type":18,"value":521}," ) ",{"type":13,"tag":55,"props":523,"children":524},{"style":62},[525],{"type":18,"value":526},"->",{"type":13,"tag":55,"props":528,"children":529},{"style":74},[530],{"type":18,"value":291},{"type":13,"tag":55,"props":532,"children":533},{"style":62},[534],{"type":18,"value":28},{"type":13,"tag":55,"props":536,"children":537},{"style":85},[538],{"type":18,"value":539},"Bool32\n",{"type":13,"tag":55,"props":541,"children":543},{"class":57,"line":542},12,[544],{"type":13,"tag":55,"props":545,"children":546},{"style":74},[547],{"type":18,"value":548},">;\n",{"type":13,"tag":550,"props":551,"children":552},"ul",{},[553,573,592,624,649,660,678,695],{"type":13,"tag":554,"props":555,"children":556},"li",{},[557,563,565,571],{"type":13,"tag":30,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":562},"flags",{"type":18,"value":564}," specifies the ",{"type":13,"tag":21,"props":566,"children":568},{"href":567},"/man/VkDebugReportFlagBitsEXT",[569],{"type":18,"value":570},"VkDebugReportFlagBitsEXT",{"type":18,"value":572}," that triggered\nthis callback.",{"type":13,"tag":554,"props":574,"children":575},{},[576,582,584,590],{"type":13,"tag":30,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":581},"objectType",{"type":18,"value":583}," is a ",{"type":13,"tag":21,"props":585,"children":587},{"href":586},"/man/VkDebugReportObjectTypeEXT",[588],{"type":18,"value":589},"VkDebugReportObjectTypeEXT",{"type":18,"value":591}," value specifying\nthe type of object being used or created at the time the event was\ntriggered.",{"type":13,"tag":554,"props":593,"children":594},{},[595,601,603,608,610,616,617,622],{"type":13,"tag":30,"props":596,"children":598},{"className":597},[],[599],{"type":18,"value":600},"object",{"type":18,"value":602}," is the object where the issue was detected.\nIf ",{"type":13,"tag":30,"props":604,"children":606},{"className":605},[],[607],{"type":18,"value":581},{"type":18,"value":609}," is ",{"type":13,"tag":30,"props":611,"children":613},{"className":612},[],[614],{"type":18,"value":615},"VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT",{"type":18,"value":305},{"type":13,"tag":30,"props":618,"children":620},{"className":619},[],[621],{"type":18,"value":600},{"type":18,"value":623}," is undefined:.",{"type":13,"tag":554,"props":625,"children":626},{},[627,633,635,640,642,647],{"type":13,"tag":30,"props":628,"children":630},{"className":629},[],[631],{"type":18,"value":632},"location",{"type":18,"value":634}," is a component (layer, driver, loader) defined value\nspecifying the ",{"type":13,"tag":636,"props":637,"children":638},"em",{},[639],{"type":18,"value":632},{"type":18,"value":641}," of the trigger.\nThis is an ",{"type":13,"tag":643,"props":644,"children":646},"normative",{"type":645},"optional",[],{"type":18,"value":648}," value.",{"type":13,"tag":554,"props":650,"children":651},{},[652,658],{"type":13,"tag":30,"props":653,"children":655},{"className":654},[],[656],{"type":18,"value":657},"messageCode",{"type":18,"value":659}," is a layer-defined value indicating what test\ntriggered this callback.",{"type":13,"tag":554,"props":661,"children":662},{},[663,669,671,676],{"type":13,"tag":30,"props":664,"children":666},{"className":665},[],[667],{"type":18,"value":668},"pLayerPrefix",{"type":18,"value":670}," is a null-terminated UTF-8 string that is an\nabbreviation of the name of the component making the callback.\n",{"type":13,"tag":30,"props":672,"children":674},{"className":673},[],[675],{"type":18,"value":668},{"type":18,"value":677}," is only valid for the duration of the callback.",{"type":13,"tag":554,"props":679,"children":680},{},[681,687,689,694],{"type":13,"tag":30,"props":682,"children":684},{"className":683},[],[685],{"type":18,"value":686},"pMessage",{"type":18,"value":688}," is a null-terminated UTF-8 string detailing the trigger\nconditions.\n",{"type":13,"tag":30,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":686},{"type":18,"value":677},{"type":13,"tag":554,"props":696,"children":697},{},[698,704,706,712],{"type":13,"tag":30,"props":699,"children":701},{"className":700},[],[702],{"type":18,"value":703},"pUserData",{"type":18,"value":705}," is the user data given when the\n",{"type":13,"tag":21,"props":707,"children":709},{"href":708},"/man/VkDebugReportCallbackEXT",[710],{"type":18,"value":711},"VkDebugReportCallbackEXT",{"type":18,"value":713}," was created.",{"type":13,"tag":14,"props":715,"children":716},{},[717,719,723,725,731],{"type":18,"value":718},"The callback ",{"type":13,"tag":643,"props":720,"children":722},{"type":721},"must",[],{"type":18,"value":724}," not call ",{"type":13,"tag":30,"props":726,"children":728},{"className":727},[],[729],{"type":18,"value":730},"vkDestroyDebugReportCallbackEXT",{"type":18,"value":732},".",{"type":13,"tag":14,"props":734,"children":735},{},[736,738,744,746,750,752,758,760,766],{"type":18,"value":737},"The callback returns a ",{"type":13,"tag":21,"props":739,"children":741},{"href":740},"/man/VkBool32",[742],{"type":18,"value":743},"VkBool32",{"type":18,"value":745},", which is interpreted in a\nlayer-specified manner.\nThe application ",{"type":13,"tag":643,"props":747,"children":749},{"type":748},"should",[],{"type":18,"value":751}," always return ",{"type":13,"tag":30,"props":753,"children":755},{"className":754},[],[756],{"type":18,"value":757},"VK_FALSE",{"type":18,"value":759},".\nThe ",{"type":13,"tag":30,"props":761,"children":763},{"className":762},[],[764],{"type":18,"value":765},"VK_TRUE",{"type":18,"value":767}," value is reserved for use in layer development.",{"type":13,"tag":14,"props":769,"children":770},{},[771,776,778,781,783,789,791,796,798,803,805,810,811,815,817,822,823,826,828,833,835,841],{"type":13,"tag":30,"props":772,"children":774},{"className":773},[],[775],{"type":18,"value":600},{"type":18,"value":777}," ",{"type":13,"tag":643,"props":779,"children":780},{"type":721},[],{"type":18,"value":782}," be a Vulkan object or ",{"type":13,"tag":21,"props":784,"children":786},{"href":785},"/man/VK_NULL_HANDLE",[787],{"type":18,"value":788},"VK_NULL_HANDLE",{"type":18,"value":790},".\nIf ",{"type":13,"tag":30,"props":792,"children":794},{"className":793},[],[795],{"type":18,"value":581},{"type":18,"value":797}," is not ",{"type":13,"tag":30,"props":799,"children":801},{"className":800},[],[802],{"type":18,"value":615},{"type":18,"value":804}," and\n",{"type":13,"tag":30,"props":806,"children":808},{"className":807},[],[809],{"type":18,"value":600},{"type":18,"value":797},{"type":13,"tag":21,"props":812,"children":813},{"href":785},[814],{"type":18,"value":788},{"type":18,"value":816},", ",{"type":13,"tag":30,"props":818,"children":820},{"className":819},[],[821],{"type":18,"value":600},{"type":18,"value":777},{"type":13,"tag":643,"props":824,"children":825},{"type":721},[],{"type":18,"value":827}," be a Vulkan\nobject of the corresponding type associated with ",{"type":13,"tag":30,"props":829,"children":831},{"className":830},[],[832],{"type":18,"value":581},{"type":18,"value":834}," as defined\nin ",{"type":13,"tag":21,"props":836,"children":838},{"href":837},"/man/VkDebugReportObjectTypeEXT#debug-report-object-types",[839],{"type":18,"value":840},"Table 1. VkDebugReportObjectTypeEXT and Vulkan Handle Relationship",{"type":18,"value":732},{"type":13,"tag":843,"props":844,"children":845},"style",{},[846],{"type":18,"value":847},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":49,"searchDepth":95,"depth":95,"links":849},[],"markdown",1725732532683]