[{"data":1,"prerenderedAt":573},["ShallowReactive",2],{"EIuJoXBYVg":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":572,"_id":4},"VkDebugReportCallbackCreateInfoEXT","Structure specifying parameters of a newly created debug report callback","VK_EXT_debug_report","structs",[],{"type":10,"children":11,"toc":570},"root",[12,28,322,406,458,477,482,564],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The definition of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkDebugReportCallbackCreateInfoEXT",[25],{"type":18,"value":4},{"type":18,"value":27}," is:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,137],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkDebugReportCallbackCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkDebugReportFlagsEXT flags;\n PFN_vkDebugReportCallbackEXT pfnCallback;\n void* pUserData;\n} VkDebugReportCallbackCreateInfoEXT;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,77,96,105,114,128],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," struct",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkDebugReportCallbackCreateInfoEXT {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VkStructureType sType;\n",{"type":13,"tag":46,"props":78,"children":80},{"class":48,"line":79},3,[81,86,91],{"type":13,"tag":46,"props":82,"children":83},{"style":53},[84],{"type":18,"value":85}," const",{"type":13,"tag":46,"props":87,"children":88},{"style":53},[89],{"type":18,"value":90}," void*",{"type":13,"tag":46,"props":92,"children":93},{"style":64},[94],{"type":18,"value":95}," pNext;\n",{"type":13,"tag":46,"props":97,"children":99},{"class":48,"line":98},4,[100],{"type":13,"tag":46,"props":101,"children":102},{"style":64},[103],{"type":18,"value":104}," VkDebugReportFlagsEXT flags;\n",{"type":13,"tag":46,"props":106,"children":108},{"class":48,"line":107},5,[109],{"type":13,"tag":46,"props":110,"children":111},{"style":64},[112],{"type":18,"value":113}," PFN_vkDebugReportCallbackEXT pfnCallback;\n",{"type":13,"tag":46,"props":115,"children":117},{"class":48,"line":116},6,[118,123],{"type":13,"tag":46,"props":119,"children":120},{"style":53},[121],{"type":18,"value":122}," void*",{"type":13,"tag":46,"props":124,"children":125},{"style":64},[126],{"type":18,"value":127}," pUserData;\n",{"type":13,"tag":46,"props":129,"children":131},{"class":48,"line":130},7,[132],{"type":13,"tag":46,"props":133,"children":134},{"style":64},[135],{"type":18,"value":136},"} VkDebugReportCallbackCreateInfoEXT;\n",{"type":13,"tag":33,"props":138,"children":143},{"className":139,"code":140,"filename":141,"language":142,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DebugReportCallbackCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::DebugReportFlagsEXT, // Indicates which events call this callback\n pfn_callback: PFN_vkDebugReportCallbackEXT, // Function pointer of a callback function\n p_user_data: *mut c_void, // Data provided to callback function\n}\n","Rust","rs",[144],{"type":13,"tag":42,"props":145,"children":146},{"__ignoreMap":39},[147,170,203,225,261,287,314],{"type":13,"tag":46,"props":148,"children":149},{"class":48,"line":49},[150,155,159,165],{"type":13,"tag":46,"props":151,"children":152},{"style":53},[153],{"type":18,"value":154},"pub",{"type":13,"tag":46,"props":156,"children":157},{"style":53},[158],{"type":18,"value":61},{"type":13,"tag":46,"props":160,"children":162},{"style":161},"--shiki-default:#953800;--shiki-dark:#FFA657",[163],{"type":18,"value":164}," DebugReportCallbackCreateInfoEXT",{"type":13,"tag":46,"props":166,"children":167},{"style":64},[168],{"type":18,"value":169}," {\n",{"type":13,"tag":46,"props":171,"children":172},{"class":48,"line":70},[173,178,183,188,193,198],{"type":13,"tag":46,"props":174,"children":175},{"style":64},[176],{"type":18,"value":177}," s_type",{"type":13,"tag":46,"props":179,"children":180},{"style":53},[181],{"type":18,"value":182},":",{"type":13,"tag":46,"props":184,"children":185},{"style":161},[186],{"type":18,"value":187}," vk",{"type":13,"tag":46,"props":189,"children":190},{"style":53},[191],{"type":18,"value":192},"::",{"type":13,"tag":46,"props":194,"children":195},{"style":161},[196],{"type":18,"value":197},"StructureType",{"type":13,"tag":46,"props":199,"children":200},{"style":64},[201],{"type":18,"value":202},",\n",{"type":13,"tag":46,"props":204,"children":205},{"class":48,"line":79},[206,211,215,220],{"type":13,"tag":46,"props":207,"children":208},{"style":64},[209],{"type":18,"value":210}," p_next",{"type":13,"tag":46,"props":212,"children":213},{"style":53},[214],{"type":18,"value":182},{"type":13,"tag":46,"props":216,"children":217},{"style":53},[218],{"type":18,"value":219}," *const",{"type":13,"tag":46,"props":221,"children":222},{"style":64},[223],{"type":18,"value":224}," c_void,\n",{"type":13,"tag":46,"props":226,"children":227},{"class":48,"line":98},[228,233,237,241,245,250,255],{"type":13,"tag":46,"props":229,"children":230},{"style":64},[231],{"type":18,"value":232}," flags",{"type":13,"tag":46,"props":234,"children":235},{"style":53},[236],{"type":18,"value":182},{"type":13,"tag":46,"props":238,"children":239},{"style":161},[240],{"type":18,"value":187},{"type":13,"tag":46,"props":242,"children":243},{"style":53},[244],{"type":18,"value":192},{"type":13,"tag":46,"props":246,"children":247},{"style":161},[248],{"type":18,"value":249},"DebugReportFlagsEXT",{"type":13,"tag":46,"props":251,"children":252},{"style":64},[253],{"type":18,"value":254},", ",{"type":13,"tag":46,"props":256,"children":258},{"style":257},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[259],{"type":18,"value":260},"// Indicates which events call this callback\n",{"type":13,"tag":46,"props":262,"children":263},{"class":48,"line":107},[264,269,273,278,282],{"type":13,"tag":46,"props":265,"children":266},{"style":64},[267],{"type":18,"value":268}," pfn_callback",{"type":13,"tag":46,"props":270,"children":271},{"style":53},[272],{"type":18,"value":182},{"type":13,"tag":46,"props":274,"children":275},{"style":161},[276],{"type":18,"value":277}," PFN_vkDebugReportCallbackEXT",{"type":13,"tag":46,"props":279,"children":280},{"style":64},[281],{"type":18,"value":254},{"type":13,"tag":46,"props":283,"children":284},{"style":257},[285],{"type":18,"value":286},"// Function pointer of a callback function\n",{"type":13,"tag":46,"props":288,"children":289},{"class":48,"line":116},[290,295,299,304,309],{"type":13,"tag":46,"props":291,"children":292},{"style":64},[293],{"type":18,"value":294}," p_user_data",{"type":13,"tag":46,"props":296,"children":297},{"style":53},[298],{"type":18,"value":182},{"type":13,"tag":46,"props":300,"children":301},{"style":53},[302],{"type":18,"value":303}," *mut",{"type":13,"tag":46,"props":305,"children":306},{"style":64},[307],{"type":18,"value":308}," c_void, ",{"type":13,"tag":46,"props":310,"children":311},{"style":257},[312],{"type":18,"value":313},"// Data provided to callback function\n",{"type":13,"tag":46,"props":315,"children":316},{"class":48,"line":130},[317],{"type":13,"tag":46,"props":318,"children":319},{"style":64},[320],{"type":18,"value":321},"}\n",{"type":13,"tag":323,"props":324,"children":325},"ul",{},[326,346,365,384,395],{"type":13,"tag":327,"props":328,"children":329},"li",{},[330,336,338,344],{"type":13,"tag":42,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":335},"sType",{"type":18,"value":337}," is a ",{"type":13,"tag":21,"props":339,"children":341},{"href":340},"/man/VkStructureType",[342],{"type":18,"value":343},"VkStructureType",{"type":18,"value":345}," value identifying this structure.",{"type":13,"tag":327,"props":347,"children":348},{},[349,355,357,363],{"type":13,"tag":42,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"pNext",{"type":18,"value":356}," is ",{"type":13,"tag":42,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":362},"NULL",{"type":18,"value":364}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":327,"props":366,"children":367},{},[368,374,376,382],{"type":13,"tag":42,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"flags",{"type":18,"value":375}," is a bitmask of ",{"type":13,"tag":21,"props":377,"children":379},{"href":378},"/man/VkDebugReportFlagBitsEXT",[380],{"type":18,"value":381},"VkDebugReportFlagBitsEXT",{"type":18,"value":383}," specifying\nwhich event(s) will cause this callback to be called.",{"type":13,"tag":327,"props":385,"children":386},{},[387,393],{"type":13,"tag":42,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"pfnCallback",{"type":18,"value":394}," is the application callback function to call.",{"type":13,"tag":327,"props":396,"children":397},{},[398,404],{"type":13,"tag":42,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"pUserData",{"type":18,"value":405}," is user data to be passed to the callback.",{"type":13,"tag":14,"props":407,"children":408},{},[409,411,417,419,424,425,430,432,437,438,443,445,449,451,456],{"type":18,"value":410},"For each ",{"type":13,"tag":42,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":416},"VkDebugReportCallbackEXT",{"type":18,"value":418}," that is created the\n",{"type":13,"tag":42,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":4},{"type":18,"value":192},{"type":13,"tag":42,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":373},{"type":18,"value":431}," determine when that\n",{"type":13,"tag":42,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":4},{"type":18,"value":192},{"type":13,"tag":42,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":392},{"type":18,"value":444}," is called.\nWhen an event happens, the implementation will do a bitwise AND of the\nevent’s ",{"type":13,"tag":21,"props":446,"children":447},{"href":378},[448],{"type":18,"value":381},{"type":18,"value":450}," flags to each\n",{"type":13,"tag":42,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":416},{"type":18,"value":457}," object’s flags.\nFor each non-zero result the corresponding callback will be called.\nThe callback will come directly from the component that detected the event,\nunless some other layer intercepts the calls for its own purposes (filter\nthem in a different way, log to a system error log, etc.).",{"type":13,"tag":14,"props":459,"children":460},{},[461,463,468,470,475],{"type":18,"value":462},"An application ",{"type":13,"tag":464,"props":465,"children":467},"normative",{"type":466},"may",[],{"type":18,"value":469}," receive multiple callbacks if multiple\n",{"type":13,"tag":42,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":416},{"type":18,"value":476}," objects were created.\nA callback will always be executed in the same thread as the originating\nVulkan call.",{"type":13,"tag":14,"props":478,"children":479},{},[480],{"type":18,"value":481},"A callback may be called from multiple threads simultaneously (if the\napplication is making Vulkan calls from multiple threads).",{"type":13,"tag":483,"props":484,"children":486},"validity-group",{"name":485},"Valid Usage (Implicit)",[487,514,538],{"type":13,"tag":488,"props":489,"children":491},"validity-field",{"name":490},"VUID-VkDebugReportCallbackCreateInfoEXT-sType-sType",[492],{"type":13,"tag":14,"props":493,"children":494},{},[495,500,502,506,508],{"type":13,"tag":42,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":335},{"type":18,"value":501}," ",{"type":13,"tag":464,"props":503,"children":505},{"type":504},"must",[],{"type":18,"value":507}," be ",{"type":13,"tag":42,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT",{"type":13,"tag":488,"props":515,"children":517},{"name":516},"VUID-VkDebugReportCallbackCreateInfoEXT-flags-parameter",[518],{"type":13,"tag":14,"props":519,"children":520},{},[521,526,527,530,532,536],{"type":13,"tag":42,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":373},{"type":18,"value":501},{"type":13,"tag":464,"props":528,"children":529},{"type":504},[],{"type":18,"value":531}," be a valid combination of ",{"type":13,"tag":21,"props":533,"children":534},{"href":378},[535],{"type":18,"value":381},{"type":18,"value":537}," values",{"type":13,"tag":488,"props":539,"children":541},{"name":540},"VUID-VkDebugReportCallbackCreateInfoEXT-pfnCallback-parameter",[542],{"type":13,"tag":14,"props":543,"children":544},{},[545,550,551,554,556,562],{"type":13,"tag":42,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":392},{"type":18,"value":501},{"type":13,"tag":464,"props":552,"children":553},{"type":504},[],{"type":18,"value":555}," be a valid ",{"type":13,"tag":21,"props":557,"children":559},{"href":558},"/man/PFN_vkDebugReportCallbackEXT",[560],{"type":18,"value":561},"PFN_vkDebugReportCallbackEXT",{"type":18,"value":563}," value",{"type":13,"tag":565,"props":566,"children":567},"style",{},[568],{"type":18,"value":569},"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":39,"searchDepth":70,"depth":70,"links":571},[],"markdown",1725732545473]