[{"data":1,"prerenderedAt":448},["ShallowReactive",2],{"XSt35eKpYd":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":447,"_id":4},"vkGetGeneratedCommandsMemoryRequirementsEXT","Retrieve the buffer allocation requirements for generated commands","VK_EXT_device_generated_commands","protos",[],{"type":10,"children":11,"toc":445},"root",[12,28,299,352,357,439],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","With ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/extensions/VK_EXT_device_generated_commands",[25],{"type":18,"value":6},{"type":18,"value":27},", to retrieve the memory size\nand alignment requirements of a particular execution state call:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,140],{"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","void vkGetGeneratedCommandsMemoryRequirementsEXT(\n VkDevice device,\n const VkGeneratedCommandsMemoryRequirementsInfoEXT* pInfo,\n VkMemoryRequirements2* pMemoryRequirements);\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,69,89,117],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,63],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"void",{"type":13,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":18,"value":62}," vkGetGeneratedCommandsMemoryRequirementsEXT",{"type":13,"tag":46,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":18,"value":68},"(\n",{"type":13,"tag":46,"props":70,"children":72},{"class":48,"line":71},2,[73,78,84],{"type":13,"tag":46,"props":74,"children":75},{"style":65},[76],{"type":18,"value":77}," VkDevice ",{"type":13,"tag":46,"props":79,"children":81},{"style":80},"--shiki-default:#953800;--shiki-dark:#FFA657",[82],{"type":18,"value":83},"device",{"type":13,"tag":46,"props":85,"children":86},{"style":65},[87],{"type":18,"value":88},",\n",{"type":13,"tag":46,"props":90,"children":92},{"class":48,"line":91},3,[93,98,103,108,113],{"type":13,"tag":46,"props":94,"children":95},{"style":53},[96],{"type":18,"value":97}," const",{"type":13,"tag":46,"props":99,"children":100},{"style":65},[101],{"type":18,"value":102}," VkGeneratedCommandsMemoryRequirementsInfoEXT",{"type":13,"tag":46,"props":104,"children":105},{"style":53},[106],{"type":18,"value":107},"*",{"type":13,"tag":46,"props":109,"children":110},{"style":80},[111],{"type":18,"value":112}," pInfo",{"type":13,"tag":46,"props":114,"children":115},{"style":65},[116],{"type":18,"value":88},{"type":13,"tag":46,"props":118,"children":120},{"class":48,"line":119},4,[121,126,130,135],{"type":13,"tag":46,"props":122,"children":123},{"style":65},[124],{"type":18,"value":125}," VkMemoryRequirements2",{"type":13,"tag":46,"props":127,"children":128},{"style":53},[129],{"type":18,"value":107},{"type":13,"tag":46,"props":131,"children":132},{"style":80},[133],{"type":18,"value":134}," pMemoryRequirements",{"type":13,"tag":46,"props":136,"children":137},{"style":65},[138],{"type":18,"value":139},");\n",{"type":13,"tag":33,"props":141,"children":146},{"className":142,"code":143,"filename":144,"language":145,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_generated_commands_memory_requirements_ext(\n device: crate :: vk :: vk::Device,\n p_info: *const vk::GeneratedCommandsMemoryRequirementsInfoEXT,\n p_memory_requirements: *mut vk::MemoryRequirements2,\n);\n","Rust","rs",[147],{"type":13,"tag":42,"props":148,"children":149},{"__ignoreMap":39},[150,172,223,257,291],{"type":13,"tag":46,"props":151,"children":152},{"class":48,"line":49},[153,158,163,168],{"type":13,"tag":46,"props":154,"children":155},{"style":53},[156],{"type":18,"value":157},"pub",{"type":13,"tag":46,"props":159,"children":160},{"style":53},[161],{"type":18,"value":162}," fn",{"type":13,"tag":46,"props":164,"children":165},{"style":59},[166],{"type":18,"value":167}," get_generated_commands_memory_requirements_ext",{"type":13,"tag":46,"props":169,"children":170},{"style":65},[171],{"type":18,"value":68},{"type":13,"tag":46,"props":173,"children":174},{"class":48,"line":71},[175,180,185,190,195,200,205,210,214,219],{"type":13,"tag":46,"props":176,"children":177},{"style":65},[178],{"type":18,"value":179}," device",{"type":13,"tag":46,"props":181,"children":182},{"style":53},[183],{"type":18,"value":184},":",{"type":13,"tag":46,"props":186,"children":187},{"style":53},[188],{"type":18,"value":189}," crate",{"type":13,"tag":46,"props":191,"children":192},{"style":53},[193],{"type":18,"value":194}," ::",{"type":13,"tag":46,"props":196,"children":197},{"style":65},[198],{"type":18,"value":199}," vk ",{"type":13,"tag":46,"props":201,"children":202},{"style":53},[203],{"type":18,"value":204},"::",{"type":13,"tag":46,"props":206,"children":207},{"style":80},[208],{"type":18,"value":209}," vk",{"type":13,"tag":46,"props":211,"children":212},{"style":53},[213],{"type":18,"value":204},{"type":13,"tag":46,"props":215,"children":216},{"style":80},[217],{"type":18,"value":218},"Device",{"type":13,"tag":46,"props":220,"children":221},{"style":65},[222],{"type":18,"value":88},{"type":13,"tag":46,"props":224,"children":225},{"class":48,"line":91},[226,231,235,240,244,248,253],{"type":13,"tag":46,"props":227,"children":228},{"style":65},[229],{"type":18,"value":230}," p_info",{"type":13,"tag":46,"props":232,"children":233},{"style":53},[234],{"type":18,"value":184},{"type":13,"tag":46,"props":236,"children":237},{"style":53},[238],{"type":18,"value":239}," *const",{"type":13,"tag":46,"props":241,"children":242},{"style":80},[243],{"type":18,"value":209},{"type":13,"tag":46,"props":245,"children":246},{"style":53},[247],{"type":18,"value":204},{"type":13,"tag":46,"props":249,"children":250},{"style":80},[251],{"type":18,"value":252},"GeneratedCommandsMemoryRequirementsInfoEXT",{"type":13,"tag":46,"props":254,"children":255},{"style":65},[256],{"type":18,"value":88},{"type":13,"tag":46,"props":258,"children":259},{"class":48,"line":119},[260,265,269,274,278,282,287],{"type":13,"tag":46,"props":261,"children":262},{"style":65},[263],{"type":18,"value":264}," p_memory_requirements",{"type":13,"tag":46,"props":266,"children":267},{"style":53},[268],{"type":18,"value":184},{"type":13,"tag":46,"props":270,"children":271},{"style":53},[272],{"type":18,"value":273}," *mut",{"type":13,"tag":46,"props":275,"children":276},{"style":80},[277],{"type":18,"value":209},{"type":13,"tag":46,"props":279,"children":280},{"style":53},[281],{"type":18,"value":204},{"type":13,"tag":46,"props":283,"children":284},{"style":80},[285],{"type":18,"value":286},"MemoryRequirements2",{"type":13,"tag":46,"props":288,"children":289},{"style":65},[290],{"type":18,"value":88},{"type":13,"tag":46,"props":292,"children":294},{"class":48,"line":293},5,[295],{"type":13,"tag":46,"props":296,"children":297},{"style":65},[298],{"type":18,"value":139},{"type":13,"tag":300,"props":301,"children":302},"ul",{},[303,314,333],{"type":13,"tag":304,"props":305,"children":306},"li",{},[307,312],{"type":13,"tag":42,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":83},{"type":18,"value":313}," is the logical device that owns the buffer.",{"type":13,"tag":304,"props":315,"children":316},{},[317,323,325,331],{"type":13,"tag":42,"props":318,"children":320},{"className":319},[],[321],{"type":18,"value":322},"pInfo",{"type":18,"value":324}," is a pointer to a\n",{"type":13,"tag":21,"props":326,"children":328},{"href":327},"/man/VkGeneratedCommandsMemoryRequirementsInfoEXT",[329],{"type":18,"value":330},"VkGeneratedCommandsMemoryRequirementsInfoEXT",{"type":18,"value":332}," structure containing\nparameters required for the memory requirements query.",{"type":13,"tag":304,"props":334,"children":335},{},[336,342,344,350],{"type":13,"tag":42,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"pMemoryRequirements",{"type":18,"value":343}," is a pointer to a ",{"type":13,"tag":21,"props":345,"children":347},{"href":346},"/man/VkMemoryRequirements2",[348],{"type":18,"value":349},"VkMemoryRequirements2",{"type":18,"value":351},"\nstructure in which the memory requirements of the buffer object are\nreturned.",{"type":13,"tag":14,"props":353,"children":354},{},[355],{"type":18,"value":356},"If the size returned is zero, the preprocessing step can be skipped for this\nlayout.",{"type":13,"tag":358,"props":359,"children":361},"validity-group",{"name":360},"Valid Usage (Implicit)",[362,392,416],{"type":13,"tag":363,"props":364,"children":366},"validity-field",{"name":365},"VUID-vkGetGeneratedCommandsMemoryRequirementsEXT-device-parameter",[367],{"type":13,"tag":14,"props":368,"children":369},{},[370,375,377,382,384,390],{"type":13,"tag":42,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":83},{"type":18,"value":376}," ",{"type":13,"tag":378,"props":379,"children":381},"normative",{"type":380},"must",[],{"type":18,"value":383}," be a valid ",{"type":13,"tag":21,"props":385,"children":387},{"href":386},"/man/VkDevice",[388],{"type":18,"value":389},"VkDevice",{"type":18,"value":391}," handle",{"type":13,"tag":363,"props":393,"children":395},{"name":394},"VUID-vkGetGeneratedCommandsMemoryRequirementsEXT-pInfo-parameter",[396],{"type":13,"tag":14,"props":397,"children":398},{},[399,404,405,408,410,414],{"type":13,"tag":42,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":322},{"type":18,"value":376},{"type":13,"tag":378,"props":406,"children":407},{"type":380},[],{"type":18,"value":409}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":411,"children":412},{"href":327},[413],{"type":18,"value":330},{"type":18,"value":415}," structure",{"type":13,"tag":363,"props":417,"children":419},{"name":418},"VUID-vkGetGeneratedCommandsMemoryRequirementsEXT-pMemoryRequirements-parameter",[420],{"type":13,"tag":14,"props":421,"children":422},{},[423,428,429,432,434,438],{"type":13,"tag":42,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":341},{"type":18,"value":376},{"type":13,"tag":378,"props":430,"children":431},{"type":380},[],{"type":18,"value":433}," be a valid pointer to a ",{"type":13,"tag":21,"props":435,"children":436},{"href":346},[437],{"type":18,"value":349},{"type":18,"value":415},{"type":13,"tag":440,"props":441,"children":442},"style",{},[443],{"type":18,"value":444},"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":446},[],"markdown",1729612515323]