[{"data":1,"prerenderedAt":588},["ShallowReactive",2],{"E41PePBRxH":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":587,"_id":4},"vkSubmitDebugUtilsMessageEXT","Inject a message into a debug stream","VK_EXT_debug_utils","protos",[],{"type":10,"children":11,"toc":585},"root",[12,20,321,400,413,457,579],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To intentionally submit a debug message, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,146],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkSubmitDebugUtilsMessageEXT(\n VkInstance instance,\n VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,\n VkDebugUtilsMessageTypeFlagsEXT messageTypes,\n const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99,117],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkSubmitDebugUtilsMessageEXT",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkInstance ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"instance",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkDebugUtilsMessageSeverityFlagBitsEXT ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"messageSeverity",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113],{"type":13,"tag":38,"props":104,"children":105},{"style":57},[106],{"type":18,"value":107}," VkDebugUtilsMessageTypeFlagsEXT ",{"type":13,"tag":38,"props":109,"children":110},{"style":72},[111],{"type":18,"value":112},"messageTypes",{"type":13,"tag":38,"props":114,"children":115},{"style":57},[116],{"type":18,"value":80},{"type":13,"tag":38,"props":118,"children":120},{"class":40,"line":119},5,[121,126,131,136,141],{"type":13,"tag":38,"props":122,"children":123},{"style":45},[124],{"type":18,"value":125}," const",{"type":13,"tag":38,"props":127,"children":128},{"style":57},[129],{"type":18,"value":130}," VkDebugUtilsMessengerCallbackDataEXT",{"type":13,"tag":38,"props":132,"children":133},{"style":45},[134],{"type":18,"value":135},"*",{"type":13,"tag":38,"props":137,"children":138},{"style":72},[139],{"type":18,"value":140}," pCallbackData",{"type":13,"tag":38,"props":142,"children":143},{"style":57},[144],{"type":18,"value":145},");\n",{"type":13,"tag":25,"props":147,"children":152},{"className":148,"code":149,"filename":150,"language":151,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn submit_debug_utils_message_ext(\n instance: crate :: vk :: vk::Instance,\n message_severity: DebugUtilsMessageSeverityFlagsEXT,\n message_types: vk::DebugUtilsMessageTypeFlagsEXT,\n p_callback_data: *const vk::DebugUtilsMessengerCallbackDataEXT,\n);\n","Rust","rs",[153],{"type":13,"tag":34,"props":154,"children":155},{"__ignoreMap":31},[156,178,229,250,279,313],{"type":13,"tag":38,"props":157,"children":158},{"class":40,"line":41},[159,164,169,174],{"type":13,"tag":38,"props":160,"children":161},{"style":45},[162],{"type":18,"value":163},"pub",{"type":13,"tag":38,"props":165,"children":166},{"style":45},[167],{"type":18,"value":168}," fn",{"type":13,"tag":38,"props":170,"children":171},{"style":51},[172],{"type":18,"value":173}," submit_debug_utils_message_ext",{"type":13,"tag":38,"props":175,"children":176},{"style":57},[177],{"type":18,"value":60},{"type":13,"tag":38,"props":179,"children":180},{"class":40,"line":63},[181,186,191,196,201,206,211,216,220,225],{"type":13,"tag":38,"props":182,"children":183},{"style":57},[184],{"type":18,"value":185}," instance",{"type":13,"tag":38,"props":187,"children":188},{"style":45},[189],{"type":18,"value":190},":",{"type":13,"tag":38,"props":192,"children":193},{"style":45},[194],{"type":18,"value":195}," crate",{"type":13,"tag":38,"props":197,"children":198},{"style":45},[199],{"type":18,"value":200}," ::",{"type":13,"tag":38,"props":202,"children":203},{"style":57},[204],{"type":18,"value":205}," vk ",{"type":13,"tag":38,"props":207,"children":208},{"style":45},[209],{"type":18,"value":210},"::",{"type":13,"tag":38,"props":212,"children":213},{"style":72},[214],{"type":18,"value":215}," vk",{"type":13,"tag":38,"props":217,"children":218},{"style":45},[219],{"type":18,"value":210},{"type":13,"tag":38,"props":221,"children":222},{"style":72},[223],{"type":18,"value":224},"Instance",{"type":13,"tag":38,"props":226,"children":227},{"style":57},[228],{"type":18,"value":80},{"type":13,"tag":38,"props":230,"children":231},{"class":40,"line":83},[232,237,241,246],{"type":13,"tag":38,"props":233,"children":234},{"style":57},[235],{"type":18,"value":236}," message_severity",{"type":13,"tag":38,"props":238,"children":239},{"style":45},[240],{"type":18,"value":190},{"type":13,"tag":38,"props":242,"children":243},{"style":72},[244],{"type":18,"value":245}," DebugUtilsMessageSeverityFlagsEXT",{"type":13,"tag":38,"props":247,"children":248},{"style":57},[249],{"type":18,"value":80},{"type":13,"tag":38,"props":251,"children":252},{"class":40,"line":101},[253,258,262,266,270,275],{"type":13,"tag":38,"props":254,"children":255},{"style":57},[256],{"type":18,"value":257}," message_types",{"type":13,"tag":38,"props":259,"children":260},{"style":45},[261],{"type":18,"value":190},{"type":13,"tag":38,"props":263,"children":264},{"style":72},[265],{"type":18,"value":215},{"type":13,"tag":38,"props":267,"children":268},{"style":45},[269],{"type":18,"value":210},{"type":13,"tag":38,"props":271,"children":272},{"style":72},[273],{"type":18,"value":274},"DebugUtilsMessageTypeFlagsEXT",{"type":13,"tag":38,"props":276,"children":277},{"style":57},[278],{"type":18,"value":80},{"type":13,"tag":38,"props":280,"children":281},{"class":40,"line":119},[282,287,291,296,300,304,309],{"type":13,"tag":38,"props":283,"children":284},{"style":57},[285],{"type":18,"value":286}," p_callback_data",{"type":13,"tag":38,"props":288,"children":289},{"style":45},[290],{"type":18,"value":190},{"type":13,"tag":38,"props":292,"children":293},{"style":45},[294],{"type":18,"value":295}," *const",{"type":13,"tag":38,"props":297,"children":298},{"style":72},[299],{"type":18,"value":215},{"type":13,"tag":38,"props":301,"children":302},{"style":45},[303],{"type":18,"value":210},{"type":13,"tag":38,"props":305,"children":306},{"style":72},[307],{"type":18,"value":308},"DebugUtilsMessengerCallbackDataEXT",{"type":13,"tag":38,"props":310,"children":311},{"style":57},[312],{"type":18,"value":80},{"type":13,"tag":38,"props":314,"children":316},{"class":40,"line":315},6,[317],{"type":13,"tag":38,"props":318,"children":319},{"style":57},[320],{"type":18,"value":145},{"type":13,"tag":322,"props":323,"children":324},"ul",{},[325,345,363,381],{"type":13,"tag":326,"props":327,"children":328},"li",{},[329,334,336,343],{"type":13,"tag":34,"props":330,"children":332},{"className":331},[],[333],{"type":18,"value":75},{"type":18,"value":335}," is the debug stream’s ",{"type":13,"tag":337,"props":338,"children":340},"a",{"href":339},"/man/VkInstance",[341],{"type":18,"value":342},"VkInstance",{"type":18,"value":344},".",{"type":13,"tag":326,"props":346,"children":347},{},[348,353,355,361],{"type":13,"tag":34,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":94},{"type":18,"value":354}," is a ",{"type":13,"tag":337,"props":356,"children":358},{"href":357},"/man/VkDebugUtilsMessageSeverityFlagBitsEXT",[359],{"type":18,"value":360},"VkDebugUtilsMessageSeverityFlagBitsEXT",{"type":18,"value":362},"\nvalue specifying the severity of this event/message.",{"type":13,"tag":326,"props":364,"children":365},{},[366,371,373,379],{"type":13,"tag":34,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":112},{"type":18,"value":372}," is a bitmask of\n",{"type":13,"tag":337,"props":374,"children":376},{"href":375},"/man/VkDebugUtilsMessageTypeFlagBitsEXT",[377],{"type":18,"value":378},"VkDebugUtilsMessageTypeFlagBitsEXT",{"type":18,"value":380}," specifying which type of\nevent(s) to identify with this message.",{"type":13,"tag":326,"props":382,"children":383},{},[384,390,392,398],{"type":13,"tag":34,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":389},"pCallbackData",{"type":18,"value":391}," contains all the callback related data in the\n",{"type":13,"tag":337,"props":393,"children":395},{"href":394},"/man/VkDebugUtilsMessengerCallbackDataEXT",[396],{"type":18,"value":397},"VkDebugUtilsMessengerCallbackDataEXT",{"type":18,"value":399}," structure.",{"type":13,"tag":14,"props":401,"children":402},{},[403,405,411],{"type":18,"value":404},"The call will propagate through the layers and generate callback(s) as\nindicated by the message’s flags.\nThe parameters are passed on to the callback in addition to the\n",{"type":13,"tag":34,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":410},"pUserData",{"type":18,"value":412}," value that was defined at the time the messenger was\nregistered.",{"type":13,"tag":414,"props":415,"children":417},"validity-group",{"name":416},"Valid Usage",[418],{"type":13,"tag":419,"props":420,"children":422},"validity-field",{"name":421},"VUID-vkSubmitDebugUtilsMessageEXT-objectType-02591",[423],{"type":13,"tag":14,"props":424,"children":425},{},[426,428,434,436,442,444,449,451],{"type":18,"value":427},"The ",{"type":13,"tag":34,"props":429,"children":431},{"className":430},[],[432],{"type":18,"value":433},"objectType",{"type":18,"value":435}," member of each element of\n",{"type":13,"tag":34,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"pCallbackData→pObjects",{"type":18,"value":443}," ",{"type":13,"tag":445,"props":446,"children":448},"normative",{"type":447},"must",[],{"type":18,"value":450}," not be ",{"type":13,"tag":34,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"VK_OBJECT_TYPE_UNKNOWN",{"type":13,"tag":414,"props":458,"children":460},{"name":459},"Valid Usage (Implicit)",[461,485,508,532,555],{"type":13,"tag":419,"props":462,"children":464},{"name":463},"VUID-vkSubmitDebugUtilsMessageEXT-instance-parameter",[465],{"type":13,"tag":14,"props":466,"children":467},{},[468,473,474,477,479,483],{"type":13,"tag":34,"props":469,"children":471},{"className":470},[],[472],{"type":18,"value":75},{"type":18,"value":443},{"type":13,"tag":445,"props":475,"children":476},{"type":447},[],{"type":18,"value":478}," be a valid ",{"type":13,"tag":337,"props":480,"children":481},{"href":339},[482],{"type":18,"value":342},{"type":18,"value":484}," handle",{"type":13,"tag":419,"props":486,"children":488},{"name":487},"VUID-vkSubmitDebugUtilsMessageEXT-messageSeverity-parameter",[489],{"type":13,"tag":14,"props":490,"children":491},{},[492,497,498,501,502,506],{"type":13,"tag":34,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":94},{"type":18,"value":443},{"type":13,"tag":445,"props":499,"children":500},{"type":447},[],{"type":18,"value":478},{"type":13,"tag":337,"props":503,"children":504},{"href":357},[505],{"type":18,"value":360},{"type":18,"value":507}," value",{"type":13,"tag":419,"props":509,"children":511},{"name":510},"VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-parameter",[512],{"type":13,"tag":14,"props":513,"children":514},{},[515,520,521,524,526,530],{"type":13,"tag":34,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":112},{"type":18,"value":443},{"type":13,"tag":445,"props":522,"children":523},{"type":447},[],{"type":18,"value":525}," be a valid combination of ",{"type":13,"tag":337,"props":527,"children":528},{"href":375},[529],{"type":18,"value":378},{"type":18,"value":531}," values",{"type":13,"tag":419,"props":533,"children":535},{"name":534},"VUID-vkSubmitDebugUtilsMessageEXT-messageTypes-requiredbitmask",[536],{"type":13,"tag":14,"props":537,"children":538},{},[539,544,545,548,549],{"type":13,"tag":34,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":112},{"type":18,"value":443},{"type":13,"tag":445,"props":546,"children":547},{"type":447},[],{"type":18,"value":450},{"type":13,"tag":34,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":554},"0",{"type":13,"tag":419,"props":556,"children":558},{"name":557},"VUID-vkSubmitDebugUtilsMessageEXT-pCallbackData-parameter",[559],{"type":13,"tag":14,"props":560,"children":561},{},[562,567,568,571,573,577],{"type":13,"tag":34,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":389},{"type":18,"value":443},{"type":13,"tag":445,"props":569,"children":570},{"type":447},[],{"type":18,"value":572}," be a valid pointer to a valid ",{"type":13,"tag":337,"props":574,"children":575},{"href":394},[576],{"type":18,"value":397},{"type":18,"value":578}," structure",{"type":13,"tag":580,"props":581,"children":582},"style",{},[583],{"type":18,"value":584},"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":31,"searchDepth":63,"depth":63,"links":586},[],"markdown",1729612521112]