[{"data":1,"prerenderedAt":504},["ShallowReactive",2],{"$fetgcbtHcV3gWYqxvaiQWzt1EJqTptswzMG3j7YDtkPA":3},{"title":4,"description":5,"parent":6,"cmd_buf_level":7,"render_pass_scope":10,"supported_queue_types":11,"tasks":13,"type":15,"xrefs":16,"body":17,"_type":503,"_id":4},"vkCmdBindIndexBuffer3KHR","Bind an address range as an index buffer to a command buffer","VK_KHR_device_address_commands",[8,9],"primary","secondary","both",[12],"VK_QUEUE_GRAPHICS_BIT",[14],"state","protos",[],{"type":18,"children":19,"toc":501},"root",[20,28,224,259,280,320,450,495],{"type":21,"tag":22,"props":23,"children":24},"element","p",{},[25],{"type":26,"value":27},"text","To bind an address range as an index buffer to a command buffer, call:",{"type":21,"tag":29,"props":30,"children":31},"code-group",{},[32,118],{"type":21,"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","void vkCmdBindIndexBuffer3KHR(\n VkCommandBuffer commandBuffer,\n const VkBindIndexBuffer3InfoKHR* pInfo);\n","C","c","",[41],{"type":21,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,69,89],{"type":21,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,63],{"type":21,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":26,"value":56},"void",{"type":21,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":26,"value":62}," vkCmdBindIndexBuffer3KHR",{"type":21,"tag":46,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":26,"value":68},"(\n",{"type":21,"tag":46,"props":70,"children":72},{"class":48,"line":71},2,[73,78,84],{"type":21,"tag":46,"props":74,"children":75},{"style":65},[76],{"type":26,"value":77}," VkCommandBuffer ",{"type":21,"tag":46,"props":79,"children":81},{"style":80},"--shiki-default:#953800;--shiki-dark:#FFA657",[82],{"type":26,"value":83},"commandBuffer",{"type":21,"tag":46,"props":85,"children":86},{"style":65},[87],{"type":26,"value":88},",\n",{"type":21,"tag":46,"props":90,"children":92},{"class":48,"line":91},3,[93,98,103,108,113],{"type":21,"tag":46,"props":94,"children":95},{"style":53},[96],{"type":26,"value":97}," const",{"type":21,"tag":46,"props":99,"children":100},{"style":65},[101],{"type":26,"value":102}," VkBindIndexBuffer3InfoKHR",{"type":21,"tag":46,"props":104,"children":105},{"style":53},[106],{"type":26,"value":107},"*",{"type":21,"tag":46,"props":109,"children":110},{"style":80},[111],{"type":26,"value":112}," pInfo",{"type":21,"tag":46,"props":114,"children":115},{"style":65},[116],{"type":26,"value":117},");\n",{"type":21,"tag":33,"props":119,"children":124},{"className":120,"code":121,"filename":122,"language":123,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn cmd_bind_index_buffer3_khr(\n command_buffer: vk::CommandBuffer,\n p_info: *const vk::BindIndexBuffer3InfoKHR,\n);\n","Rust","rs",[125],{"type":21,"tag":42,"props":126,"children":127},{"__ignoreMap":39},[128,150,182,216],{"type":21,"tag":46,"props":129,"children":130},{"class":48,"line":49},[131,136,141,146],{"type":21,"tag":46,"props":132,"children":133},{"style":53},[134],{"type":26,"value":135},"pub",{"type":21,"tag":46,"props":137,"children":138},{"style":53},[139],{"type":26,"value":140}," fn",{"type":21,"tag":46,"props":142,"children":143},{"style":59},[144],{"type":26,"value":145}," cmd_bind_index_buffer3_khr",{"type":21,"tag":46,"props":147,"children":148},{"style":65},[149],{"type":26,"value":68},{"type":21,"tag":46,"props":151,"children":152},{"class":48,"line":71},[153,158,163,168,173,178],{"type":21,"tag":46,"props":154,"children":155},{"style":65},[156],{"type":26,"value":157}," command_buffer",{"type":21,"tag":46,"props":159,"children":160},{"style":53},[161],{"type":26,"value":162},":",{"type":21,"tag":46,"props":164,"children":165},{"style":80},[166],{"type":26,"value":167}," vk",{"type":21,"tag":46,"props":169,"children":170},{"style":53},[171],{"type":26,"value":172},"::",{"type":21,"tag":46,"props":174,"children":175},{"style":80},[176],{"type":26,"value":177},"CommandBuffer",{"type":21,"tag":46,"props":179,"children":180},{"style":65},[181],{"type":26,"value":88},{"type":21,"tag":46,"props":183,"children":184},{"class":48,"line":91},[185,190,194,199,203,207,212],{"type":21,"tag":46,"props":186,"children":187},{"style":65},[188],{"type":26,"value":189}," p_info",{"type":21,"tag":46,"props":191,"children":192},{"style":53},[193],{"type":26,"value":162},{"type":21,"tag":46,"props":195,"children":196},{"style":53},[197],{"type":26,"value":198}," *const",{"type":21,"tag":46,"props":200,"children":201},{"style":80},[202],{"type":26,"value":167},{"type":21,"tag":46,"props":204,"children":205},{"style":53},[206],{"type":26,"value":172},{"type":21,"tag":46,"props":208,"children":209},{"style":80},[210],{"type":26,"value":211},"BindIndexBuffer3InfoKHR",{"type":21,"tag":46,"props":213,"children":214},{"style":65},[215],{"type":26,"value":88},{"type":21,"tag":46,"props":217,"children":219},{"class":48,"line":218},4,[220],{"type":21,"tag":46,"props":221,"children":222},{"style":65},[223],{"type":26,"value":117},{"type":21,"tag":225,"props":226,"children":227},"ul",{},[228,239],{"type":21,"tag":229,"props":230,"children":231},"li",{},[232,237],{"type":21,"tag":42,"props":233,"children":235},{"className":234},[],[236],{"type":26,"value":83},{"type":26,"value":238}," is the command buffer into which the command is\nrecorded.",{"type":21,"tag":229,"props":240,"children":241},{},[242,248,250,257],{"type":21,"tag":42,"props":243,"children":245},{"className":244},[],[246],{"type":26,"value":247},"pInfo",{"type":26,"value":249}," is a pointer to a ",{"type":21,"tag":251,"props":252,"children":254},"a",{"href":253},"/man/VkBindIndexBuffer3InfoKHR",[255],{"type":26,"value":256},"VkBindIndexBuffer3InfoKHR",{"type":26,"value":258}," structure\ndefining parameters of this command.",{"type":21,"tag":22,"props":260,"children":261},{},[262,264,270,272,278],{"type":26,"value":263},"The ",{"type":21,"tag":251,"props":265,"children":267},{"href":266},"/chapters/drawing#index-buffer-range",[268],{"type":26,"value":269},"bound index buffer range",{"type":26,"value":271}," is set to the range of\nmemory indicated by ",{"type":21,"tag":42,"props":273,"children":275},{"className":274},[],[276],{"type":26,"value":277},"pInfo→addressRange",{"type":26,"value":279},".",{"type":21,"tag":22,"props":281,"children":282},{},[283,285,295,297,303,305,311,313,318],{"type":26,"value":284},"If the ",{"type":21,"tag":251,"props":286,"children":288},{"href":287},"/man/VkPhysicalDeviceRobustness2FeaturesKHR#features-nullDescriptor",[289],{"type":21,"tag":42,"props":290,"children":292},{"className":291},[],[293],{"type":26,"value":294},"nullDescriptor",{"type":26,"value":296}," feature is enabled,\n",{"type":21,"tag":42,"props":298,"children":300},{"className":299},[],[301],{"type":26,"value":302},"pInfo→addressRange.size",{"type":26,"value":304}," and ",{"type":21,"tag":42,"props":306,"children":308},{"className":307},[],[309],{"type":26,"value":310},"pInfo→addressRange.address",{"type":26,"value":312}," ",{"type":21,"tag":314,"props":315,"children":317},"normative",{"type":316},"can",[],{"type":26,"value":319}," be 0.\nWhen the size and address are 0, every index read from this binding will\nreturn a value of zero.",{"type":21,"tag":321,"props":322,"children":324},"validity-group",{"name":323},"Valid Usage (Implicit)",[325,353,377,401,436],{"type":21,"tag":326,"props":327,"children":329},"validity-field",{"name":328},"VUID-vkCmdBindIndexBuffer3KHR-commandBuffer-parameter",[330],{"type":21,"tag":22,"props":331,"children":332},{},[333,338,339,343,345,351],{"type":21,"tag":42,"props":334,"children":336},{"className":335},[],[337],{"type":26,"value":83},{"type":26,"value":312},{"type":21,"tag":314,"props":340,"children":342},{"type":341},"must",[],{"type":26,"value":344}," be a valid ",{"type":21,"tag":251,"props":346,"children":348},{"href":347},"/man/VkCommandBuffer",[349],{"type":26,"value":350},"VkCommandBuffer",{"type":26,"value":352}," handle",{"type":21,"tag":326,"props":354,"children":356},{"name":355},"VUID-vkCmdBindIndexBuffer3KHR-pInfo-parameter",[357],{"type":21,"tag":22,"props":358,"children":359},{},[360,365,366,369,371,375],{"type":21,"tag":42,"props":361,"children":363},{"className":362},[],[364],{"type":26,"value":247},{"type":26,"value":312},{"type":21,"tag":314,"props":367,"children":368},{"type":341},[],{"type":26,"value":370}," be a valid pointer to a valid ",{"type":21,"tag":251,"props":372,"children":373},{"href":253},[374],{"type":26,"value":256},{"type":26,"value":376}," structure",{"type":21,"tag":326,"props":378,"children":380},{"name":379},"VUID-vkCmdBindIndexBuffer3KHR-commandBuffer-recording",[381],{"type":21,"tag":22,"props":382,"children":383},{},[384,389,390,393,395],{"type":21,"tag":42,"props":385,"children":387},{"className":386},[],[388],{"type":26,"value":83},{"type":26,"value":312},{"type":21,"tag":314,"props":391,"children":392},{"type":341},[],{"type":26,"value":394}," be in the ",{"type":21,"tag":251,"props":396,"children":398},{"href":397},"/chapters/commandbuffers#commandbuffers-lifecycle",[399],{"type":26,"value":400},"recording state",{"type":21,"tag":326,"props":402,"children":404},{"name":403},"VUID-vkCmdBindIndexBuffer3KHR-commandBuffer-cmdpool",[405],{"type":21,"tag":22,"props":406,"children":407},{},[408,409,415,417,422,424,427,429,434],{"type":26,"value":263},{"type":21,"tag":42,"props":410,"children":412},{"className":411},[],[413],{"type":26,"value":414},"VkCommandPool",{"type":26,"value":416}," that ",{"type":21,"tag":42,"props":418,"children":420},{"className":419},[],[421],{"type":26,"value":83},{"type":26,"value":423}," was allocated from ",{"type":21,"tag":314,"props":425,"children":426},{"type":341},[],{"type":26,"value":428}," support ",{"type":21,"tag":42,"props":430,"children":432},{"className":431},[],[433],{"type":26,"value":12},{"type":26,"value":435}," operations",{"type":21,"tag":326,"props":437,"children":439},{"name":438},"VUID-vkCmdBindIndexBuffer3KHR-videocoding",[440],{"type":21,"tag":22,"props":441,"children":442},{},[443,445,448],{"type":26,"value":444},"This command ",{"type":21,"tag":314,"props":446,"children":447},{"type":341},[],{"type":26,"value":449}," only be called outside of a video coding scope",{"type":21,"tag":451,"props":452,"children":454},"validity-box",{"name":453},"Host Synchronization",[455],{"type":21,"tag":225,"props":456,"children":457},{},[458,474],{"type":21,"tag":229,"props":459,"children":460},{},[461,463,468,469,472],{"type":26,"value":462},"Host access to ",{"type":21,"tag":42,"props":464,"children":466},{"className":465},[],[467],{"type":26,"value":83},{"type":26,"value":312},{"type":21,"tag":314,"props":470,"children":471},{"type":341},[],{"type":26,"value":473}," be externally synchronized",{"type":21,"tag":229,"props":475,"children":476},{},[477,479,484,485,490,491,494],{"type":26,"value":478},"Host access to the ",{"type":21,"tag":42,"props":480,"children":482},{"className":481},[],[483],{"type":26,"value":414},{"type":26,"value":416},{"type":21,"tag":42,"props":486,"children":488},{"className":487},[],[489],{"type":26,"value":83},{"type":26,"value":423},{"type":21,"tag":314,"props":492,"children":493},{"type":341},[],{"type":26,"value":473},{"type":21,"tag":496,"props":497,"children":498},"style",{},[499],{"type":26,"value":500},"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":71,"depth":71,"links":502},[],"markdown",1773471468202]