[{"data":1,"prerenderedAt":394},["ShallowReactive",2],{"qbpxxFDCCp":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":393,"_id":4},"vkDebugMarkerSetObjectTagEXT","Attach arbitrary data to an object","VK_EXT_debug_marker","protos",[],{"type":10,"children":11,"toc":391},"root",[12,29,266,301,360,385],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27],{"type":18,"value":19},"text","In addition to setting a name for an object, debugging and validation layers\nmay have uses for additional binary data on a per-object basis that has no\nother place in the Vulkan API.\nFor example, a ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"VkShaderModule",{"type":18,"value":28}," could have additional debugging data\nattached to it to aid in offline shader tracing.\nTo attach data to an object, call:",{"type":13,"tag":30,"props":31,"children":32},"code-group",{},[33,117],{"type":13,"tag":34,"props":35,"children":41},"pre",{"className":36,"code":37,"filename":38,"language":39,"meta":40,"style":40},"language-c shiki shiki-themes github-light-default github-dark-default","VkResult vkDebugMarkerSetObjectTagEXT(\n VkDevice device,\n const VkDebugMarkerObjectTagInfoEXT* pTagInfo);\n","C","c","",[42],{"type":13,"tag":21,"props":43,"children":44},{"__ignoreMap":40},[45,67,87],{"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:#1F2328;--shiki-dark:#E6EDF3",[55],{"type":18,"value":56},"VkResult ",{"type":13,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":18,"value":4},{"type":13,"tag":46,"props":63,"children":64},{"style":53},[65],{"type":18,"value":66},"(\n",{"type":13,"tag":46,"props":68,"children":70},{"class":48,"line":69},2,[71,76,82],{"type":13,"tag":46,"props":72,"children":73},{"style":53},[74],{"type":18,"value":75}," VkDevice ",{"type":13,"tag":46,"props":77,"children":79},{"style":78},"--shiki-default:#953800;--shiki-dark:#FFA657",[80],{"type":18,"value":81},"device",{"type":13,"tag":46,"props":83,"children":84},{"style":53},[85],{"type":18,"value":86},",\n",{"type":13,"tag":46,"props":88,"children":90},{"class":48,"line":89},3,[91,97,102,107,112],{"type":13,"tag":46,"props":92,"children":94},{"style":93},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[95],{"type":18,"value":96}," const",{"type":13,"tag":46,"props":98,"children":99},{"style":53},[100],{"type":18,"value":101}," VkDebugMarkerObjectTagInfoEXT",{"type":13,"tag":46,"props":103,"children":104},{"style":93},[105],{"type":18,"value":106},"*",{"type":13,"tag":46,"props":108,"children":109},{"style":78},[110],{"type":18,"value":111}," pTagInfo",{"type":13,"tag":46,"props":113,"children":114},{"style":53},[115],{"type":18,"value":116},");\n",{"type":13,"tag":34,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":40,"style":40},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn debug_marker_set_object_tag_ext(\n device: crate :: vk :: vk::Device,\n p_tag_info: *const vk::DebugMarkerObjectTagInfoEXT,\n) -> vk::Result;\n","Rust","rs",[124],{"type":13,"tag":21,"props":125,"children":126},{"__ignoreMap":40},[127,149,200,234],{"type":13,"tag":46,"props":128,"children":129},{"class":48,"line":49},[130,135,140,145],{"type":13,"tag":46,"props":131,"children":132},{"style":93},[133],{"type":18,"value":134},"pub",{"type":13,"tag":46,"props":136,"children":137},{"style":93},[138],{"type":18,"value":139}," fn",{"type":13,"tag":46,"props":141,"children":142},{"style":59},[143],{"type":18,"value":144}," debug_marker_set_object_tag_ext",{"type":13,"tag":46,"props":146,"children":147},{"style":53},[148],{"type":18,"value":66},{"type":13,"tag":46,"props":150,"children":151},{"class":48,"line":69},[152,157,162,167,172,177,182,187,191,196],{"type":13,"tag":46,"props":153,"children":154},{"style":53},[155],{"type":18,"value":156}," device",{"type":13,"tag":46,"props":158,"children":159},{"style":93},[160],{"type":18,"value":161},":",{"type":13,"tag":46,"props":163,"children":164},{"style":93},[165],{"type":18,"value":166}," crate",{"type":13,"tag":46,"props":168,"children":169},{"style":93},[170],{"type":18,"value":171}," ::",{"type":13,"tag":46,"props":173,"children":174},{"style":53},[175],{"type":18,"value":176}," vk ",{"type":13,"tag":46,"props":178,"children":179},{"style":93},[180],{"type":18,"value":181},"::",{"type":13,"tag":46,"props":183,"children":184},{"style":78},[185],{"type":18,"value":186}," vk",{"type":13,"tag":46,"props":188,"children":189},{"style":93},[190],{"type":18,"value":181},{"type":13,"tag":46,"props":192,"children":193},{"style":78},[194],{"type":18,"value":195},"Device",{"type":13,"tag":46,"props":197,"children":198},{"style":53},[199],{"type":18,"value":86},{"type":13,"tag":46,"props":201,"children":202},{"class":48,"line":89},[203,208,212,217,221,225,230],{"type":13,"tag":46,"props":204,"children":205},{"style":53},[206],{"type":18,"value":207}," p_tag_info",{"type":13,"tag":46,"props":209,"children":210},{"style":93},[211],{"type":18,"value":161},{"type":13,"tag":46,"props":213,"children":214},{"style":93},[215],{"type":18,"value":216}," *const",{"type":13,"tag":46,"props":218,"children":219},{"style":78},[220],{"type":18,"value":186},{"type":13,"tag":46,"props":222,"children":223},{"style":93},[224],{"type":18,"value":181},{"type":13,"tag":46,"props":226,"children":227},{"style":78},[228],{"type":18,"value":229},"DebugMarkerObjectTagInfoEXT",{"type":13,"tag":46,"props":231,"children":232},{"style":53},[233],{"type":18,"value":86},{"type":13,"tag":46,"props":235,"children":237},{"class":48,"line":236},4,[238,243,248,252,256,261],{"type":13,"tag":46,"props":239,"children":240},{"style":53},[241],{"type":18,"value":242},") ",{"type":13,"tag":46,"props":244,"children":245},{"style":93},[246],{"type":18,"value":247},"->",{"type":13,"tag":46,"props":249,"children":250},{"style":78},[251],{"type":18,"value":186},{"type":13,"tag":46,"props":253,"children":254},{"style":93},[255],{"type":18,"value":181},{"type":13,"tag":46,"props":257,"children":258},{"style":78},[259],{"type":18,"value":260},"Result",{"type":13,"tag":46,"props":262,"children":263},{"style":53},[264],{"type":18,"value":265},";\n",{"type":13,"tag":267,"props":268,"children":269},"ul",{},[270,281],{"type":13,"tag":271,"props":272,"children":273},"li",{},[274,279],{"type":13,"tag":21,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":81},{"type":18,"value":280}," is the device that created the object.",{"type":13,"tag":271,"props":282,"children":283},{},[284,290,292,299],{"type":13,"tag":21,"props":285,"children":287},{"className":286},[],[288],{"type":18,"value":289},"pTagInfo",{"type":18,"value":291}," is a pointer to a ",{"type":13,"tag":293,"props":294,"children":296},"a",{"href":295},"/man/VkDebugMarkerObjectTagInfoEXT",[297],{"type":18,"value":298},"VkDebugMarkerObjectTagInfoEXT",{"type":18,"value":300},"\nstructure specifying the parameters of the tag to attach to the object.",{"type":13,"tag":302,"props":303,"children":305},"validity-group",{"name":304},"Valid Usage (Implicit)",[306,336],{"type":13,"tag":307,"props":308,"children":310},"validity-field",{"name":309},"VUID-vkDebugMarkerSetObjectTagEXT-device-parameter",[311],{"type":13,"tag":14,"props":312,"children":313},{},[314,319,321,326,328,334],{"type":13,"tag":21,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":81},{"type":18,"value":320}," ",{"type":13,"tag":322,"props":323,"children":325},"normative",{"type":324},"must",[],{"type":18,"value":327}," be a valid ",{"type":13,"tag":293,"props":329,"children":331},{"href":330},"/man/VkDevice",[332],{"type":18,"value":333},"VkDevice",{"type":18,"value":335}," handle",{"type":13,"tag":307,"props":337,"children":339},{"name":338},"VUID-vkDebugMarkerSetObjectTagEXT-pTagInfo-parameter",[340],{"type":13,"tag":14,"props":341,"children":342},{},[343,348,349,352,354,358],{"type":13,"tag":21,"props":344,"children":346},{"className":345},[],[347],{"type":18,"value":289},{"type":18,"value":320},{"type":13,"tag":322,"props":350,"children":351},{"type":324},[],{"type":18,"value":353}," be a valid pointer to a valid ",{"type":13,"tag":293,"props":355,"children":356},{"href":295},[357],{"type":18,"value":298},{"type":18,"value":359}," structure",{"type":13,"tag":361,"props":362,"children":364},"validity-box",{"name":363},"Host Synchronization",[365],{"type":13,"tag":267,"props":366,"children":367},{},[368],{"type":13,"tag":271,"props":369,"children":370},{},[371,373,379,380,383],{"type":18,"value":372},"Host access to ",{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":378},"pTagInfo→object",{"type":18,"value":320},{"type":13,"tag":322,"props":381,"children":382},{"type":324},[],{"type":18,"value":384}," be externally synchronized\n::",{"type":13,"tag":386,"props":387,"children":388},"style",{},[389],{"type":18,"value":390},"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":40,"searchDepth":69,"depth":69,"links":392},[],"markdown",1725732614448]