[{"data":1,"prerenderedAt":340},["ShallowReactive",2],{"lnvnaFgda1":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":339,"_id":4},"VkDrawIndirectCountIndirectCommandEXT","Structure specifying input data for a single draw-type command token","VK_EXT_device_generated_commands","structs",[],{"type":10,"children":11,"toc":337},"root",[12,28,227,274,279,331],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"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\ninput data for all draw-type tokens.",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,112],{"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 VkDrawIndirectCountIndirectCommandEXT {\n VkDeviceAddress bufferAddress;\n uint32_t stride;\n uint32_t commandCount;\n} VkDrawIndirectCountIndirectCommandEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,103],{"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}," VkDrawIndirectCountIndirectCommandEXT {\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}," VkDeviceAddress bufferAddress;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," uint32_t",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," stride;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,98],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":84},{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," commandCount;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},5,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111},"} VkDrawIndirectCountIndirectCommandEXT;\n",{"type":13,"tag":33,"props":113,"children":118},{"className":114,"code":115,"filename":116,"language":117,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DrawIndirectCountIndirectCommandEXT {\n buffer_address: vk::DeviceAddress,\n stride: u32,\n command_count: u32,\n}\n","Rust","rs",[119],{"type":13,"tag":21,"props":120,"children":121},{"__ignoreMap":39},[122,145,178,199,219],{"type":13,"tag":45,"props":123,"children":124},{"class":47,"line":48},[125,130,134,140],{"type":13,"tag":45,"props":126,"children":127},{"style":52},[128],{"type":18,"value":129},"pub",{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":60},{"type":13,"tag":45,"props":135,"children":137},{"style":136},"--shiki-default:#953800;--shiki-dark:#FFA657",[138],{"type":18,"value":139}," DrawIndirectCountIndirectCommandEXT",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," {\n",{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":69},[148,153,158,163,168,173],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152}," buffer_address",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157},":",{"type":13,"tag":45,"props":159,"children":160},{"style":136},[161],{"type":18,"value":162}," vk",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},"::",{"type":13,"tag":45,"props":169,"children":170},{"style":136},[171],{"type":18,"value":172},"DeviceAddress",{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177},",\n",{"type":13,"tag":45,"props":179,"children":180},{"class":47,"line":78},[181,186,190,195],{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," stride",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":157},{"type":13,"tag":45,"props":191,"children":192},{"style":136},[193],{"type":18,"value":194}," u32",{"type":13,"tag":45,"props":196,"children":197},{"style":63},[198],{"type":18,"value":177},{"type":13,"tag":45,"props":200,"children":201},{"class":47,"line":92},[202,207,211,215],{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":206}," command_count",{"type":13,"tag":45,"props":208,"children":209},{"style":52},[210],{"type":18,"value":157},{"type":13,"tag":45,"props":212,"children":213},{"style":136},[214],{"type":18,"value":194},{"type":13,"tag":45,"props":216,"children":217},{"style":63},[218],{"type":18,"value":177},{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":105},[222],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226},"}\n",{"type":13,"tag":228,"props":229,"children":230},"ul",{},[231,252,263],{"type":13,"tag":232,"props":233,"children":234},"li",{},[235,241,243,250],{"type":13,"tag":21,"props":236,"children":238},{"className":237},[],[239],{"type":18,"value":240},"bufferAddress",{"type":18,"value":242}," specifies a physical address of the ",{"type":13,"tag":244,"props":245,"children":247},"a",{"href":246},"/man/VkBuffer",[248],{"type":18,"value":249},"VkBuffer",{"type":18,"value":251},"\nused for draw commands.",{"type":13,"tag":232,"props":253,"children":254},{},[255,261],{"type":13,"tag":21,"props":256,"children":258},{"className":257},[],[259],{"type":18,"value":260},"stride",{"type":18,"value":262}," is the byte size stride for the command arguments",{"type":13,"tag":232,"props":264,"children":265},{},[266,272],{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"commandCount",{"type":18,"value":273}," is the number of commands to execute",{"type":13,"tag":14,"props":275,"children":276},{},[277],{"type":18,"value":278},"The corresponding indirect draw struct data will be read from the buffer\naddress.",{"type":13,"tag":280,"props":281,"children":283},"validity-group",{"name":282},"Valid Usage",[284,309],{"type":13,"tag":285,"props":286,"children":288},"validity-field",{"name":287},"VUID-VkDrawIndirectCountIndirectCommandEXT-None-11122",[289],{"type":13,"tag":14,"props":290,"children":291},{},[292,294,299,301,307],{"type":18,"value":293},"The buffer’s usage flag from which the address was acquired ",{"type":13,"tag":295,"props":296,"children":298},"normative",{"type":297},"must",[],{"type":18,"value":300}," have\nthe ",{"type":13,"tag":21,"props":302,"children":304},{"className":303},[],[305],{"type":18,"value":306},"VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT",{"type":18,"value":308}," bit set",{"type":13,"tag":285,"props":310,"children":312},{"name":311},"VUID-VkDrawIndirectCountIndirectCommandEXT-None-11123",[313],{"type":13,"tag":14,"props":314,"children":315},{},[316,318,321,323,329],{"type":18,"value":317},"Each element of the buffer from which the address was acquired and that\nis non-sparse ",{"type":13,"tag":295,"props":319,"children":320},{"type":297},[],{"type":18,"value":322}," be bound completely and contiguously to a single\n",{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"VkDeviceMemory",{"type":18,"value":330}," object",{"type":13,"tag":332,"props":333,"children":334},"style",{},[335],{"type":18,"value":336},"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":338},[],"markdown",1729612446092]