[{"data":1,"prerenderedAt":846},["ShallowReactive",2],{"gpc9Wb7NxU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":845,"_id":4},"VkDebugUtilsMessengerCreateInfoEXT","Structure specifying parameters of a newly created debug messenger","VK_EXT_debug_utils","structs",[],{"type":10,"children":11,"toc":843},"root",[12,28,379,500,559,632,637,656,666,837],{"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},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," is:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,154],{"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 VkDebugUtilsMessengerCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkDebugUtilsMessengerCreateFlagsEXT flags;\n VkDebugUtilsMessageSeverityFlagsEXT messageSeverity;\n VkDebugUtilsMessageTypeFlagsEXT messageType;\n PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback;\n void* pUserData;\n} VkDebugUtilsMessengerCreateInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122,131,145],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkDebugUtilsMessengerCreateInfoEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkDebugUtilsMessengerCreateFlagsEXT flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkDebugUtilsMessageSeverityFlagsEXT messageSeverity;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkDebugUtilsMessageTypeFlagsEXT messageType;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," PFN_vkDebugUtilsMessengerCallbackEXT pfnUserCallback;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},8,[135,140],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139}," void*",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," pUserData;\n",{"type":13,"tag":45,"props":146,"children":148},{"class":47,"line":147},9,[149],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153},"} VkDebugUtilsMessengerCreateInfoEXT;\n",{"type":13,"tag":33,"props":155,"children":160},{"className":156,"code":157,"filename":158,"language":159,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DebugUtilsMessengerCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::DebugUtilsMessengerCreateFlagsEXT,\n message_severity: vk::DebugUtilsMessageSeverityFlagsEXT,\n message_type: vk::DebugUtilsMessageTypeFlagsEXT,\n pfn_user_callback: PFN_vkDebugUtilsMessengerCallbackEXT,\n p_user_data: *mut c_void,\n}\n","Rust","rs",[161],{"type":13,"tag":21,"props":162,"children":163},{"__ignoreMap":39},[164,187,220,242,271,300,329,350,371],{"type":13,"tag":45,"props":165,"children":166},{"class":47,"line":48},[167,172,176,182],{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":171},"pub",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":60},{"type":13,"tag":45,"props":177,"children":179},{"style":178},"--shiki-default:#953800;--shiki-dark:#FFA657",[180],{"type":18,"value":181}," DebugUtilsMessengerCreateInfoEXT",{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," {\n",{"type":13,"tag":45,"props":188,"children":189},{"class":47,"line":69},[190,195,200,205,210,215],{"type":13,"tag":45,"props":191,"children":192},{"style":63},[193],{"type":18,"value":194}," s_type",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},":",{"type":13,"tag":45,"props":201,"children":202},{"style":178},[203],{"type":18,"value":204}," vk",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":209},"::",{"type":13,"tag":45,"props":211,"children":212},{"style":178},[213],{"type":18,"value":214},"StructureType",{"type":13,"tag":45,"props":216,"children":217},{"style":63},[218],{"type":18,"value":219},",\n",{"type":13,"tag":45,"props":221,"children":222},{"class":47,"line":78},[223,228,232,237],{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":227}," p_next",{"type":13,"tag":45,"props":229,"children":230},{"style":52},[231],{"type":18,"value":199},{"type":13,"tag":45,"props":233,"children":234},{"style":52},[235],{"type":18,"value":236}," *const",{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241}," c_void,\n",{"type":13,"tag":45,"props":243,"children":244},{"class":47,"line":97},[245,250,254,258,262,267],{"type":13,"tag":45,"props":246,"children":247},{"style":63},[248],{"type":18,"value":249}," flags",{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":199},{"type":13,"tag":45,"props":255,"children":256},{"style":178},[257],{"type":18,"value":204},{"type":13,"tag":45,"props":259,"children":260},{"style":52},[261],{"type":18,"value":209},{"type":13,"tag":45,"props":263,"children":264},{"style":178},[265],{"type":18,"value":266},"DebugUtilsMessengerCreateFlagsEXT",{"type":13,"tag":45,"props":268,"children":269},{"style":63},[270],{"type":18,"value":219},{"type":13,"tag":45,"props":272,"children":273},{"class":47,"line":106},[274,279,283,287,291,296],{"type":13,"tag":45,"props":275,"children":276},{"style":63},[277],{"type":18,"value":278}," message_severity",{"type":13,"tag":45,"props":280,"children":281},{"style":52},[282],{"type":18,"value":199},{"type":13,"tag":45,"props":284,"children":285},{"style":178},[286],{"type":18,"value":204},{"type":13,"tag":45,"props":288,"children":289},{"style":52},[290],{"type":18,"value":209},{"type":13,"tag":45,"props":292,"children":293},{"style":178},[294],{"type":18,"value":295},"DebugUtilsMessageSeverityFlagsEXT",{"type":13,"tag":45,"props":297,"children":298},{"style":63},[299],{"type":18,"value":219},{"type":13,"tag":45,"props":301,"children":302},{"class":47,"line":115},[303,308,312,316,320,325],{"type":13,"tag":45,"props":304,"children":305},{"style":63},[306],{"type":18,"value":307}," message_type",{"type":13,"tag":45,"props":309,"children":310},{"style":52},[311],{"type":18,"value":199},{"type":13,"tag":45,"props":313,"children":314},{"style":178},[315],{"type":18,"value":204},{"type":13,"tag":45,"props":317,"children":318},{"style":52},[319],{"type":18,"value":209},{"type":13,"tag":45,"props":321,"children":322},{"style":178},[323],{"type":18,"value":324},"DebugUtilsMessageTypeFlagsEXT",{"type":13,"tag":45,"props":326,"children":327},{"style":63},[328],{"type":18,"value":219},{"type":13,"tag":45,"props":330,"children":331},{"class":47,"line":124},[332,337,341,346],{"type":13,"tag":45,"props":333,"children":334},{"style":63},[335],{"type":18,"value":336}," pfn_user_callback",{"type":13,"tag":45,"props":338,"children":339},{"style":52},[340],{"type":18,"value":199},{"type":13,"tag":45,"props":342,"children":343},{"style":178},[344],{"type":18,"value":345}," PFN_vkDebugUtilsMessengerCallbackEXT",{"type":13,"tag":45,"props":347,"children":348},{"style":63},[349],{"type":18,"value":219},{"type":13,"tag":45,"props":351,"children":352},{"class":47,"line":133},[353,358,362,367],{"type":13,"tag":45,"props":354,"children":355},{"style":63},[356],{"type":18,"value":357}," p_user_data",{"type":13,"tag":45,"props":359,"children":360},{"style":52},[361],{"type":18,"value":199},{"type":13,"tag":45,"props":363,"children":364},{"style":52},[365],{"type":18,"value":366}," *mut",{"type":13,"tag":45,"props":368,"children":369},{"style":63},[370],{"type":18,"value":241},{"type":13,"tag":45,"props":372,"children":373},{"class":47,"line":147},[374],{"type":13,"tag":45,"props":375,"children":376},{"style":63},[377],{"type":18,"value":378},"}\n",{"type":13,"tag":380,"props":381,"children":382},"ul",{},[383,404,423,441,460,478,489],{"type":13,"tag":384,"props":385,"children":386},"li",{},[387,393,395,402],{"type":13,"tag":21,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"sType",{"type":18,"value":394}," is a ",{"type":13,"tag":396,"props":397,"children":399},"a",{"href":398},"/man/VkStructureType",[400],{"type":18,"value":401},"VkStructureType",{"type":18,"value":403}," value identifying this structure.",{"type":13,"tag":384,"props":405,"children":406},{},[407,413,415,421],{"type":13,"tag":21,"props":408,"children":410},{"className":409},[],[411],{"type":18,"value":412},"pNext",{"type":18,"value":414}," is ",{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"NULL",{"type":18,"value":422}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":384,"props":424,"children":425},{},[426,432,433,439],{"type":13,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"flags",{"type":18,"value":414},{"type":13,"tag":21,"props":434,"children":436},{"className":435},[],[437],{"type":18,"value":438},"0",{"type":18,"value":440}," and is reserved for future use.",{"type":13,"tag":384,"props":442,"children":443},{},[444,450,452,458],{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"messageSeverity",{"type":18,"value":451}," is a bitmask of\n",{"type":13,"tag":396,"props":453,"children":455},{"href":454},"/man/VkDebugUtilsMessageSeverityFlagBitsEXT",[456],{"type":18,"value":457},"VkDebugUtilsMessageSeverityFlagBitsEXT",{"type":18,"value":459}," specifying which severity\nof event(s) will cause this callback to be called.",{"type":13,"tag":384,"props":461,"children":462},{},[463,469,470,476],{"type":13,"tag":21,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"messageType",{"type":18,"value":451},{"type":13,"tag":396,"props":471,"children":473},{"href":472},"/man/VkDebugUtilsMessageTypeFlagBitsEXT",[474],{"type":18,"value":475},"VkDebugUtilsMessageTypeFlagBitsEXT",{"type":18,"value":477}," specifying which type of\nevent(s) will cause this callback to be called.",{"type":13,"tag":384,"props":479,"children":480},{},[481,487],{"type":13,"tag":21,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"pfnUserCallback",{"type":18,"value":488}," is the application callback function to call.",{"type":13,"tag":384,"props":490,"children":491},{},[492,498],{"type":13,"tag":21,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":497},"pUserData",{"type":18,"value":499}," is user data to be passed to the callback.",{"type":13,"tag":14,"props":501,"children":502},{},[503,505,511,513,518,519,524,526,531,532,537,539,544,545,550,552,557],{"type":18,"value":504},"For each ",{"type":13,"tag":21,"props":506,"children":508},{"className":507},[],[509],{"type":18,"value":510},"VkDebugUtilsMessengerEXT",{"type":18,"value":512}," that is created the\n",{"type":13,"tag":21,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":4},{"type":18,"value":209},{"type":13,"tag":21,"props":520,"children":522},{"className":521},[],[523],{"type":18,"value":449},{"type":18,"value":525}," and\n",{"type":13,"tag":21,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":4},{"type":18,"value":209},{"type":13,"tag":21,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":468},{"type":18,"value":538}," determine when\nthat ",{"type":13,"tag":21,"props":540,"children":542},{"className":541},[],[543],{"type":18,"value":4},{"type":18,"value":209},{"type":13,"tag":21,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":486},{"type":18,"value":551}," is\ncalled.\nThe process to determine if the user’s ",{"type":13,"tag":21,"props":553,"children":555},{"className":554},[],[556],{"type":18,"value":486},{"type":18,"value":558}," is triggered\nwhen an event occurs is as follows:",{"type":13,"tag":560,"props":561,"children":562},"ol",{},[563,596,627],{"type":13,"tag":384,"props":564,"children":565},{},[566,568,572,574,579,581,586,588],{"type":18,"value":567},"The implementation will perform a bitwise AND of the event’s\n",{"type":13,"tag":396,"props":569,"children":570},{"href":454},[571],{"type":18,"value":457},{"type":18,"value":573}," with the\n",{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":449},{"type":18,"value":580}," provided during creation of the\n",{"type":13,"tag":396,"props":582,"children":584},{"href":583},"/man/VkDebugUtilsMessengerEXT",[585],{"type":18,"value":510},{"type":18,"value":587}," object.",{"type":13,"tag":560,"props":589,"children":590},{},[591],{"type":13,"tag":384,"props":592,"children":593},{},[594],{"type":18,"value":595},"If the value is 0, the message is skipped.",{"type":13,"tag":384,"props":597,"children":598},{},[599,601,605,607,612,614,618,620],{"type":18,"value":600},"The implementation will perform bitwise AND of the event’s\n",{"type":13,"tag":396,"props":602,"children":603},{"href":472},[604],{"type":18,"value":475},{"type":18,"value":606}," with the ",{"type":13,"tag":21,"props":608,"children":610},{"className":609},[],[611],{"type":18,"value":468},{"type":18,"value":613},"\nprovided during the creation of the ",{"type":13,"tag":396,"props":615,"children":616},{"href":583},[617],{"type":18,"value":510},{"type":18,"value":619},"\nobject.",{"type":13,"tag":560,"props":621,"children":622},{},[623],{"type":13,"tag":384,"props":624,"children":625},{},[626],{"type":18,"value":595},{"type":13,"tag":384,"props":628,"children":629},{},[630],{"type":18,"value":631},"The callback will trigger a debug message for the current event",{"type":13,"tag":14,"props":633,"children":634},{},[635],{"type":18,"value":636},"The 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":638,"children":639},{},[640,642,647,649,654],{"type":18,"value":641},"An application ",{"type":13,"tag":643,"props":644,"children":646},"normative",{"type":645},"can",[],{"type":18,"value":648}," receive multiple callbacks if multiple\n",{"type":13,"tag":21,"props":650,"children":652},{"className":651},[],[653],{"type":18,"value":510},{"type":18,"value":655}," objects are created.\nA callback will always be executed in the same thread as the originating\nVulkan call.",{"type":13,"tag":14,"props":657,"children":658},{},[659,661,664],{"type":18,"value":660},"A callback ",{"type":13,"tag":643,"props":662,"children":663},{"type":645},[],{"type":18,"value":665}," be called from multiple threads simultaneously (if the\napplication is making Vulkan calls from multiple threads).",{"type":13,"tag":667,"props":668,"children":670},"validity-group",{"name":669},"Valid Usage (Implicit)",[671,698,720,744,767,789,811],{"type":13,"tag":672,"props":673,"children":675},"validity-field",{"name":674},"VUID-VkDebugUtilsMessengerCreateInfoEXT-sType-sType",[676],{"type":13,"tag":14,"props":677,"children":678},{},[679,684,686,690,692],{"type":13,"tag":21,"props":680,"children":682},{"className":681},[],[683],{"type":18,"value":392},{"type":18,"value":685}," ",{"type":13,"tag":643,"props":687,"children":689},{"type":688},"must",[],{"type":18,"value":691}," be ",{"type":13,"tag":21,"props":693,"children":695},{"className":694},[],[696],{"type":18,"value":697},"VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT",{"type":13,"tag":672,"props":699,"children":701},{"name":700},"VUID-VkDebugUtilsMessengerCreateInfoEXT-flags-zerobitmask",[702],{"type":13,"tag":14,"props":703,"children":704},{},[705,710,711,714,715],{"type":13,"tag":21,"props":706,"children":708},{"className":707},[],[709],{"type":18,"value":431},{"type":18,"value":685},{"type":13,"tag":643,"props":712,"children":713},{"type":688},[],{"type":18,"value":691},{"type":13,"tag":21,"props":716,"children":718},{"className":717},[],[719],{"type":18,"value":438},{"type":13,"tag":672,"props":721,"children":723},{"name":722},"VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-parameter",[724],{"type":13,"tag":14,"props":725,"children":726},{},[727,732,733,736,738,742],{"type":13,"tag":21,"props":728,"children":730},{"className":729},[],[731],{"type":18,"value":449},{"type":18,"value":685},{"type":13,"tag":643,"props":734,"children":735},{"type":688},[],{"type":18,"value":737}," be a valid combination of ",{"type":13,"tag":396,"props":739,"children":740},{"href":454},[741],{"type":18,"value":457},{"type":18,"value":743}," values",{"type":13,"tag":672,"props":745,"children":747},{"name":746},"VUID-VkDebugUtilsMessengerCreateInfoEXT-messageSeverity-requiredbitmask",[748],{"type":13,"tag":14,"props":749,"children":750},{},[751,756,757,760,762],{"type":13,"tag":21,"props":752,"children":754},{"className":753},[],[755],{"type":18,"value":449},{"type":18,"value":685},{"type":13,"tag":643,"props":758,"children":759},{"type":688},[],{"type":18,"value":761}," not be ",{"type":13,"tag":21,"props":763,"children":765},{"className":764},[],[766],{"type":18,"value":438},{"type":13,"tag":672,"props":768,"children":770},{"name":769},"VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-parameter",[771],{"type":13,"tag":14,"props":772,"children":773},{},[774,779,780,783,784,788],{"type":13,"tag":21,"props":775,"children":777},{"className":776},[],[778],{"type":18,"value":468},{"type":18,"value":685},{"type":13,"tag":643,"props":781,"children":782},{"type":688},[],{"type":18,"value":737},{"type":13,"tag":396,"props":785,"children":786},{"href":472},[787],{"type":18,"value":475},{"type":18,"value":743},{"type":13,"tag":672,"props":790,"children":792},{"name":791},"VUID-VkDebugUtilsMessengerCreateInfoEXT-messageType-requiredbitmask",[793],{"type":13,"tag":14,"props":794,"children":795},{},[796,801,802,805,806],{"type":13,"tag":21,"props":797,"children":799},{"className":798},[],[800],{"type":18,"value":468},{"type":18,"value":685},{"type":13,"tag":643,"props":803,"children":804},{"type":688},[],{"type":18,"value":761},{"type":13,"tag":21,"props":807,"children":809},{"className":808},[],[810],{"type":18,"value":438},{"type":13,"tag":672,"props":812,"children":814},{"name":813},"VUID-VkDebugUtilsMessengerCreateInfoEXT-pfnUserCallback-parameter",[815],{"type":13,"tag":14,"props":816,"children":817},{},[818,823,824,827,829,835],{"type":13,"tag":21,"props":819,"children":821},{"className":820},[],[822],{"type":18,"value":486},{"type":18,"value":685},{"type":13,"tag":643,"props":825,"children":826},{"type":688},[],{"type":18,"value":828}," be a valid ",{"type":13,"tag":396,"props":830,"children":832},{"href":831},"/man/PFN_vkDebugUtilsMessengerCallbackEXT",[833],{"type":18,"value":834},"PFN_vkDebugUtilsMessengerCallbackEXT",{"type":18,"value":836}," value",{"type":13,"tag":838,"props":839,"children":840},"style",{},[841],{"type":18,"value":842},"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":69,"depth":69,"links":844},[],"markdown",1729612441148]