[{"data":1,"prerenderedAt":311},["ShallowReactive",2],{"hoevVkR0II":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":310,"_id":4},"VkIndirectCommandsIndexBufferTokenEXT","Structure specifying layout token info for a single index buffer command token","VK_EXT_device_generated_commands","structs",[],{"type":10,"children":11,"toc":308},"root",[12,36,157,173,211,272,302],{"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\nlayout token info for the\n",{"type":13,"tag":21,"props":29,"children":31},{"className":30},[],[32],{"type":18,"value":33},"VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_EXT",{"type":18,"value":35}," token.",{"type":13,"tag":37,"props":38,"children":39},"code-group",{},[40,93],{"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 VkIndirectCommandsIndexBufferTokenEXT {\n VkIndirectCommandsInputModeFlagBitsEXT mode;\n} VkIndirectCommandsIndexBufferTokenEXT;\n","C","c","",[49],{"type":13,"tag":21,"props":50,"children":51},{"__ignoreMap":47},[52,75,84],{"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}," VkIndirectCommandsIndexBufferTokenEXT {\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}," VkIndirectCommandsInputModeFlagBitsEXT mode;\n",{"type":13,"tag":53,"props":85,"children":87},{"class":55,"line":86},3,[88],{"type":13,"tag":53,"props":89,"children":90},{"style":71},[91],{"type":18,"value":92},"} VkIndirectCommandsIndexBufferTokenEXT;\n",{"type":13,"tag":41,"props":94,"children":99},{"className":95,"code":96,"filename":97,"language":98,"meta":47,"style":47},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct IndirectCommandsIndexBufferTokenEXT {\n mode: IndirectCommandsInputModeFlagsEXT,\n}\n","Rust","rs",[100],{"type":13,"tag":21,"props":101,"children":102},{"__ignoreMap":47},[103,126,149],{"type":13,"tag":53,"props":104,"children":105},{"class":55,"line":56},[106,111,115,121],{"type":13,"tag":53,"props":107,"children":108},{"style":60},[109],{"type":18,"value":110},"pub",{"type":13,"tag":53,"props":112,"children":113},{"style":60},[114],{"type":18,"value":68},{"type":13,"tag":53,"props":116,"children":118},{"style":117},"--shiki-default:#953800;--shiki-dark:#FFA657",[119],{"type":18,"value":120}," IndirectCommandsIndexBufferTokenEXT",{"type":13,"tag":53,"props":122,"children":123},{"style":71},[124],{"type":18,"value":125}," {\n",{"type":13,"tag":53,"props":127,"children":128},{"class":55,"line":77},[129,134,139,144],{"type":13,"tag":53,"props":130,"children":131},{"style":71},[132],{"type":18,"value":133}," mode",{"type":13,"tag":53,"props":135,"children":136},{"style":60},[137],{"type":18,"value":138},":",{"type":13,"tag":53,"props":140,"children":141},{"style":117},[142],{"type":18,"value":143}," IndirectCommandsInputModeFlagsEXT",{"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":86},[152],{"type":13,"tag":53,"props":153,"children":154},{"style":71},[155],{"type":18,"value":156},"}\n",{"type":13,"tag":158,"props":159,"children":160},"ul",{},[161],{"type":13,"tag":162,"props":163,"children":164},"li",{},[165,171],{"type":13,"tag":21,"props":166,"children":168},{"className":167},[],[169],{"type":18,"value":170},"mode",{"type":18,"value":172}," specifies the mode to use with this token.",{"type":13,"tag":14,"props":174,"children":175},{},[176,178,184,186,192,194,201,203,209],{"type":18,"value":177},"This allows for easy layering of Vulkan atop other APIs.\nWhen ",{"type":13,"tag":21,"props":179,"children":181},{"className":180},[],[182],{"type":18,"value":183},"VK_INDIRECT_COMMANDS_INPUT_MODE_DXGI_INDEX_BUFFER_EXT",{"type":18,"value":185}," is\nspecified, the indirect buffer can contain a ",{"type":13,"tag":21,"props":187,"children":189},{"className":188},[],[190],{"type":18,"value":191},"D3D12_INDEX_BUFFER_VIEW",{"type":18,"value":193},"\ninstead of ",{"type":13,"tag":195,"props":196,"children":198},"a",{"href":197},"/man/VkBindIndexBufferIndirectCommandEXT",[199],{"type":18,"value":200},"VkBindIndexBufferIndirectCommandEXT",{"type":18,"value":202}," as D3D’s DXGI format\nvalue is mapped to the ",{"type":13,"tag":195,"props":204,"children":206},{"href":205},"/man/VkIndexType",[207],{"type":18,"value":208},"VkIndexType",{"type":18,"value":210},".\nIt works as both structs are otherwise binary compatible.",{"type":13,"tag":212,"props":213,"children":215},"validity-group",{"name":214},"Valid Usage",[216,238],{"type":13,"tag":217,"props":218,"children":220},"validity-field",{"name":219},"VUID-VkIndirectCommandsIndexBufferTokenEXT-mode-11135",[221],{"type":13,"tag":14,"props":222,"children":223},{},[224,229,231,236],{"type":13,"tag":21,"props":225,"children":227},{"className":226},[],[228],{"type":18,"value":170},{"type":18,"value":230}," ",{"type":13,"tag":232,"props":233,"children":235},"normative",{"type":234},"must",[],{"type":18,"value":237}," be non-zero",{"type":13,"tag":217,"props":239,"children":241},{"name":240},"VUID-VkIndirectCommandsIndexBufferTokenEXT-mode-11136",[242],{"type":13,"tag":14,"props":243,"children":244},{},[245,250,251,254,256,262,264,270],{"type":13,"tag":21,"props":246,"children":248},{"className":247},[],[249],{"type":18,"value":170},{"type":18,"value":230},{"type":13,"tag":232,"props":252,"children":253},{"type":234},[],{"type":18,"value":255}," be one of the bits supported in\n[",{"type":13,"tag":195,"props":257,"children":259},{"href":258},"/man/VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT",[260],{"type":18,"value":261},"VkPhysicalDeviceDeviceGeneratedCommandsPropertiesEXT",{"type":18,"value":263},"::",{"type":13,"tag":21,"props":265,"children":267},{"className":266},[],[268],{"type":18,"value":269},"supportedIndirectCommandsInputModes",{"type":18,"value":271},"](xref::limits-supportedIndirectCommandsInputModes)",{"type":13,"tag":212,"props":273,"children":275},{"name":274},"Valid Usage (Implicit)",[276],{"type":13,"tag":217,"props":277,"children":279},{"name":278},"VUID-VkIndirectCommandsIndexBufferTokenEXT-mode-parameter",[280],{"type":13,"tag":14,"props":281,"children":282},{},[283,288,289,292,294,300],{"type":13,"tag":21,"props":284,"children":286},{"className":285},[],[287],{"type":18,"value":170},{"type":18,"value":230},{"type":13,"tag":232,"props":290,"children":291},{"type":234},[],{"type":18,"value":293}," be a valid ",{"type":13,"tag":195,"props":295,"children":297},{"href":296},"/man/VkIndirectCommandsInputModeFlagBitsEXT",[298],{"type":18,"value":299},"VkIndirectCommandsInputModeFlagBitsEXT",{"type":18,"value":301}," value",{"type":13,"tag":303,"props":304,"children":305},"style",{},[306],{"type":18,"value":307},"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":309},[],"markdown",1729612454492]