[{"data":1,"prerenderedAt":460},["ShallowReactive",2],{"5tooMcycfa":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":459,"_id":4},"VkBindIndexBufferIndirectCommandNV","Structure specifying input data for a single index buffer command token","VK_NV_device_generated_commands","structs",[],{"type":10,"children":11,"toc":457},"root",[12,36,240,345,423,451],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,34],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure specifies the input\ndata for the ",{"type":13,"tag":21,"props":29,"children":31},{"className":30},[],[32],{"type":18,"value":33},"VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NV",{"type":18,"value":35}," token.",{"type":13,"tag":37,"props":38,"children":39},"code-group",{},[40,116],{"type":13,"tag":41,"props":42,"children":48},"pre",{"className":43,"code":44,"filename":45,"language":46,"meta":47,"style":47},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkBindIndexBufferIndirectCommandNV {\n VkDeviceAddress bufferAddress;\n uint32_t size;\n VkIndexType indexType;\n} VkBindIndexBufferIndirectCommandNV;\n","C","c","",[49],{"type":13,"tag":21,"props":50,"children":51},{"__ignoreMap":47},[52,75,84,98,107],{"type":13,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,69],{"type":13,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[62],{"type":18,"value":63},"typedef",{"type":13,"tag":53,"props":65,"children":66},{"style":60},[67],{"type":18,"value":68}," struct",{"type":13,"tag":53,"props":70,"children":72},{"style":71},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[73],{"type":18,"value":74}," VkBindIndexBufferIndirectCommandNV {\n",{"type":13,"tag":53,"props":76,"children":78},{"class":55,"line":77},2,[79],{"type":13,"tag":53,"props":80,"children":81},{"style":71},[82],{"type":18,"value":83}," VkDeviceAddress bufferAddress;\n",{"type":13,"tag":53,"props":85,"children":87},{"class":55,"line":86},3,[88,93],{"type":13,"tag":53,"props":89,"children":90},{"style":60},[91],{"type":18,"value":92}," uint32_t",{"type":13,"tag":53,"props":94,"children":95},{"style":71},[96],{"type":18,"value":97}," size;\n",{"type":13,"tag":53,"props":99,"children":101},{"class":55,"line":100},4,[102],{"type":13,"tag":53,"props":103,"children":104},{"style":71},[105],{"type":18,"value":106}," VkIndexType indexType;\n",{"type":13,"tag":53,"props":108,"children":110},{"class":55,"line":109},5,[111],{"type":13,"tag":53,"props":112,"children":113},{"style":71},[114],{"type":18,"value":115},"} VkBindIndexBufferIndirectCommandNV;\n",{"type":13,"tag":41,"props":117,"children":122},{"className":118,"code":119,"filename":120,"language":121,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BindIndexBufferIndirectCommandNV {\n buffer_address: vk::DeviceAddress,\n size: u32,\n index_type: vk::IndexType,\n}\n","Rust","rs",[123],{"type":13,"tag":21,"props":124,"children":125},{"__ignoreMap":47},[126,149,182,203,232],{"type":13,"tag":53,"props":127,"children":128},{"class":55,"line":56},[129,134,138,144],{"type":13,"tag":53,"props":130,"children":131},{"style":60},[132],{"type":18,"value":133},"pub",{"type":13,"tag":53,"props":135,"children":136},{"style":60},[137],{"type":18,"value":68},{"type":13,"tag":53,"props":139,"children":141},{"style":140},"--shiki-default:#953800;--shiki-dark:#FFA657",[142],{"type":18,"value":143}," BindIndexBufferIndirectCommandNV",{"type":13,"tag":53,"props":145,"children":146},{"style":71},[147],{"type":18,"value":148}," {\n",{"type":13,"tag":53,"props":150,"children":151},{"class":55,"line":77},[152,157,162,167,172,177],{"type":13,"tag":53,"props":153,"children":154},{"style":71},[155],{"type":18,"value":156}," buffer_address",{"type":13,"tag":53,"props":158,"children":159},{"style":60},[160],{"type":18,"value":161},":",{"type":13,"tag":53,"props":163,"children":164},{"style":140},[165],{"type":18,"value":166}," vk",{"type":13,"tag":53,"props":168,"children":169},{"style":60},[170],{"type":18,"value":171},"::",{"type":13,"tag":53,"props":173,"children":174},{"style":140},[175],{"type":18,"value":176},"DeviceAddress",{"type":13,"tag":53,"props":178,"children":179},{"style":71},[180],{"type":18,"value":181},",\n",{"type":13,"tag":53,"props":183,"children":184},{"class":55,"line":86},[185,190,194,199],{"type":13,"tag":53,"props":186,"children":187},{"style":71},[188],{"type":18,"value":189}," size",{"type":13,"tag":53,"props":191,"children":192},{"style":60},[193],{"type":18,"value":161},{"type":13,"tag":53,"props":195,"children":196},{"style":140},[197],{"type":18,"value":198}," u32",{"type":13,"tag":53,"props":200,"children":201},{"style":71},[202],{"type":18,"value":181},{"type":13,"tag":53,"props":204,"children":205},{"class":55,"line":100},[206,211,215,219,223,228],{"type":13,"tag":53,"props":207,"children":208},{"style":71},[209],{"type":18,"value":210}," index_type",{"type":13,"tag":53,"props":212,"children":213},{"style":60},[214],{"type":18,"value":161},{"type":13,"tag":53,"props":216,"children":217},{"style":140},[218],{"type":18,"value":166},{"type":13,"tag":53,"props":220,"children":221},{"style":60},[222],{"type":18,"value":171},{"type":13,"tag":53,"props":224,"children":225},{"style":140},[226],{"type":18,"value":227},"IndexType",{"type":13,"tag":53,"props":229,"children":230},{"style":71},[231],{"type":18,"value":181},{"type":13,"tag":53,"props":233,"children":234},{"class":55,"line":109},[235],{"type":13,"tag":53,"props":236,"children":237},{"style":71},[238],{"type":18,"value":239},"}\n",{"type":13,"tag":241,"props":242,"children":243},"ul",{},[244,265,276],{"type":13,"tag":245,"props":246,"children":247},"li",{},[248,254,256,263],{"type":13,"tag":21,"props":249,"children":251},{"className":250},[],[252],{"type":18,"value":253},"bufferAddress",{"type":18,"value":255}," specifies a physical address of the ",{"type":13,"tag":257,"props":258,"children":260},"a",{"href":259},"/man/VkBuffer",[261],{"type":18,"value":262},"VkBuffer",{"type":18,"value":264},"\nused as index buffer.",{"type":13,"tag":245,"props":266,"children":267},{},[268,274],{"type":13,"tag":21,"props":269,"children":271},{"className":270},[],[272],{"type":18,"value":273},"size",{"type":18,"value":275}," is the byte size range which is available for this operation\nfrom the provided address.",{"type":13,"tag":245,"props":277,"children":278},{},[279,285,287,293,295,301,303,308,310,314,316,322,323,329,331,336,337,343],{"type":13,"tag":21,"props":280,"children":282},{"className":281},[],[283],{"type":18,"value":284},"indexType",{"type":18,"value":286}," is a ",{"type":13,"tag":257,"props":288,"children":290},{"href":289},"/man/VkIndexType",[291],{"type":18,"value":292},"VkIndexType",{"type":18,"value":294}," value specifying how indices are\ntreated.\nInstead of the Vulkan enum values, a custom ",{"type":13,"tag":21,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"uint32_t",{"type":18,"value":302}," value ",{"type":13,"tag":304,"props":305,"children":307},"normative",{"type":306},"can",[],{"type":18,"value":309}," be\nmapped to ",{"type":13,"tag":257,"props":311,"children":312},{"href":289},[313],{"type":18,"value":292},{"type":18,"value":315}," by specifying the\n",{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"VkIndirectCommandsLayoutTokenNV",{"type":18,"value":171},{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"pIndexTypes",{"type":18,"value":330}," and\n",{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":321},{"type":18,"value":171},{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"pIndexTypeValues",{"type":18,"value":344}," arrays.",{"type":13,"tag":346,"props":347,"children":349},"validity-group",{"name":348},"Valid Usage",[350,374,401],{"type":13,"tag":351,"props":352,"children":354},"validity-field",{"name":353},"VUID-VkBindIndexBufferIndirectCommandNV-None-02946",[355],{"type":13,"tag":14,"props":356,"children":357},{},[358,360,364,366,372],{"type":18,"value":359},"The buffer’s usage flag from which the address was acquired ",{"type":13,"tag":304,"props":361,"children":363},{"type":362},"must",[],{"type":18,"value":365}," have\nthe ",{"type":13,"tag":21,"props":367,"children":369},{"className":368},[],[370],{"type":18,"value":371},"VK_BUFFER_USAGE_INDEX_BUFFER_BIT",{"type":18,"value":373}," bit set",{"type":13,"tag":351,"props":375,"children":377},{"name":376},"VUID-VkBindIndexBufferIndirectCommandNV-bufferAddress-02947",[378],{"type":13,"tag":14,"props":379,"children":380},{},[381,382,387,389,392,394,399],{"type":18,"value":19},{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":253},{"type":18,"value":388}," ",{"type":13,"tag":304,"props":390,"children":391},{"type":362},[],{"type":18,"value":393}," be aligned to the ",{"type":13,"tag":21,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":284},{"type":18,"value":400}," used",{"type":13,"tag":351,"props":402,"children":404},{"name":403},"VUID-VkBindIndexBufferIndirectCommandNV-None-02948",[405],{"type":13,"tag":14,"props":406,"children":407},{},[408,410,413,415,421],{"type":18,"value":409},"Each element of the buffer from which the address was acquired and that\nis non-sparse ",{"type":13,"tag":304,"props":411,"children":412},{"type":362},[],{"type":18,"value":414}," be bound completely and contiguously to a single\n",{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"VkDeviceMemory",{"type":18,"value":422}," object",{"type":13,"tag":346,"props":424,"children":426},{"name":425},"Valid Usage (Implicit)",[427],{"type":13,"tag":351,"props":428,"children":430},{"name":429},"VUID-VkBindIndexBufferIndirectCommandNV-indexType-parameter",[431],{"type":13,"tag":14,"props":432,"children":433},{},[434,439,440,443,445,449],{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":284},{"type":18,"value":388},{"type":13,"tag":304,"props":441,"children":442},{"type":362},[],{"type":18,"value":444}," be a valid ",{"type":13,"tag":257,"props":446,"children":447},{"href":289},[448],{"type":18,"value":292},{"type":18,"value":450}," value",{"type":13,"tag":452,"props":453,"children":454},"style",{},[455],{"type":18,"value":456},"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":47,"searchDepth":77,"depth":77,"links":458},[],"markdown",1729612434186]