[{"data":1,"prerenderedAt":622},["ShallowReactive",2],{"UQMu2kMASO":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":621,"_id":4},"vkCreateIndirectCommandsLayoutEXT","Create an indirect command layout object","VK_EXT_device_generated_commands","protos",[],{"type":10,"children":11,"toc":619},"root",[12,28,381,452,493,613],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","Indirect command layouts for ",{"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}," are\ncreated by:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,165],{"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","VkResult vkCreateIndirectCommandsLayoutEXT(\n VkDevice device,\n const VkIndirectCommandsLayoutCreateInfoEXT* pCreateInfo,\n const VkAllocationCallbacks* pAllocator,\n VkIndirectCommandsLayoutEXT* pIndirectCommandsLayout);\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,67,87,116,142],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[55],{"type":18,"value":56},"VkResult ",{"type":13,"tag":46,"props":58,"children":60},{"style":59},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[61],{"type":18,"value":4},{"type":13,"tag":46,"props":63,"children":64},{"style":53},[65],{"type":18,"value":66},"(\n",{"type":13,"tag":46,"props":68,"children":70},{"class":48,"line":69},2,[71,76,82],{"type":13,"tag":46,"props":72,"children":73},{"style":53},[74],{"type":18,"value":75}," VkDevice ",{"type":13,"tag":46,"props":77,"children":79},{"style":78},"--shiki-default:#953800;--shiki-dark:#FFA657",[80],{"type":18,"value":81},"device",{"type":13,"tag":46,"props":83,"children":84},{"style":53},[85],{"type":18,"value":86},",\n",{"type":13,"tag":46,"props":88,"children":90},{"class":48,"line":89},3,[91,97,102,107,112],{"type":13,"tag":46,"props":92,"children":94},{"style":93},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[95],{"type":18,"value":96}," const",{"type":13,"tag":46,"props":98,"children":99},{"style":53},[100],{"type":18,"value":101}," VkIndirectCommandsLayoutCreateInfoEXT",{"type":13,"tag":46,"props":103,"children":104},{"style":93},[105],{"type":18,"value":106},"*",{"type":13,"tag":46,"props":108,"children":109},{"style":78},[110],{"type":18,"value":111}," pCreateInfo",{"type":13,"tag":46,"props":113,"children":114},{"style":53},[115],{"type":18,"value":86},{"type":13,"tag":46,"props":117,"children":119},{"class":48,"line":118},4,[120,124,129,133,138],{"type":13,"tag":46,"props":121,"children":122},{"style":93},[123],{"type":18,"value":96},{"type":13,"tag":46,"props":125,"children":126},{"style":53},[127],{"type":18,"value":128}," VkAllocationCallbacks",{"type":13,"tag":46,"props":130,"children":131},{"style":93},[132],{"type":18,"value":106},{"type":13,"tag":46,"props":134,"children":135},{"style":78},[136],{"type":18,"value":137}," pAllocator",{"type":13,"tag":46,"props":139,"children":140},{"style":53},[141],{"type":18,"value":86},{"type":13,"tag":46,"props":143,"children":145},{"class":48,"line":144},5,[146,151,155,160],{"type":13,"tag":46,"props":147,"children":148},{"style":53},[149],{"type":18,"value":150}," VkIndirectCommandsLayoutEXT",{"type":13,"tag":46,"props":152,"children":153},{"style":93},[154],{"type":18,"value":106},{"type":13,"tag":46,"props":156,"children":157},{"style":78},[158],{"type":18,"value":159}," pIndirectCommandsLayout",{"type":13,"tag":46,"props":161,"children":162},{"style":53},[163],{"type":18,"value":164},");\n",{"type":13,"tag":33,"props":166,"children":171},{"className":167,"code":168,"filename":169,"language":170,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn create_indirect_commands_layout_ext(\n device: crate :: vk :: vk::Device,\n p_create_info: *const vk::IndirectCommandsLayoutCreateInfoEXT,\n p_allocator: *const vk::AllocationCallbacks,\n p_indirect_commands_layout: *mut vk::IndirectCommandsLayoutEXT,\n) -> vk::Result;\n","Rust","rs",[172],{"type":13,"tag":42,"props":173,"children":174},{"__ignoreMap":39},[175,197,248,282,315,349],{"type":13,"tag":46,"props":176,"children":177},{"class":48,"line":49},[178,183,188,193],{"type":13,"tag":46,"props":179,"children":180},{"style":93},[181],{"type":18,"value":182},"pub",{"type":13,"tag":46,"props":184,"children":185},{"style":93},[186],{"type":18,"value":187}," fn",{"type":13,"tag":46,"props":189,"children":190},{"style":59},[191],{"type":18,"value":192}," create_indirect_commands_layout_ext",{"type":13,"tag":46,"props":194,"children":195},{"style":53},[196],{"type":18,"value":66},{"type":13,"tag":46,"props":198,"children":199},{"class":48,"line":69},[200,205,210,215,220,225,230,235,239,244],{"type":13,"tag":46,"props":201,"children":202},{"style":53},[203],{"type":18,"value":204}," device",{"type":13,"tag":46,"props":206,"children":207},{"style":93},[208],{"type":18,"value":209},":",{"type":13,"tag":46,"props":211,"children":212},{"style":93},[213],{"type":18,"value":214}," crate",{"type":13,"tag":46,"props":216,"children":217},{"style":93},[218],{"type":18,"value":219}," ::",{"type":13,"tag":46,"props":221,"children":222},{"style":53},[223],{"type":18,"value":224}," vk ",{"type":13,"tag":46,"props":226,"children":227},{"style":93},[228],{"type":18,"value":229},"::",{"type":13,"tag":46,"props":231,"children":232},{"style":78},[233],{"type":18,"value":234}," vk",{"type":13,"tag":46,"props":236,"children":237},{"style":93},[238],{"type":18,"value":229},{"type":13,"tag":46,"props":240,"children":241},{"style":78},[242],{"type":18,"value":243},"Device",{"type":13,"tag":46,"props":245,"children":246},{"style":53},[247],{"type":18,"value":86},{"type":13,"tag":46,"props":249,"children":250},{"class":48,"line":89},[251,256,260,265,269,273,278],{"type":13,"tag":46,"props":252,"children":253},{"style":53},[254],{"type":18,"value":255}," p_create_info",{"type":13,"tag":46,"props":257,"children":258},{"style":93},[259],{"type":18,"value":209},{"type":13,"tag":46,"props":261,"children":262},{"style":93},[263],{"type":18,"value":264}," *const",{"type":13,"tag":46,"props":266,"children":267},{"style":78},[268],{"type":18,"value":234},{"type":13,"tag":46,"props":270,"children":271},{"style":93},[272],{"type":18,"value":229},{"type":13,"tag":46,"props":274,"children":275},{"style":78},[276],{"type":18,"value":277},"IndirectCommandsLayoutCreateInfoEXT",{"type":13,"tag":46,"props":279,"children":280},{"style":53},[281],{"type":18,"value":86},{"type":13,"tag":46,"props":283,"children":284},{"class":48,"line":118},[285,290,294,298,302,306,311],{"type":13,"tag":46,"props":286,"children":287},{"style":53},[288],{"type":18,"value":289}," p_allocator",{"type":13,"tag":46,"props":291,"children":292},{"style":93},[293],{"type":18,"value":209},{"type":13,"tag":46,"props":295,"children":296},{"style":93},[297],{"type":18,"value":264},{"type":13,"tag":46,"props":299,"children":300},{"style":78},[301],{"type":18,"value":234},{"type":13,"tag":46,"props":303,"children":304},{"style":93},[305],{"type":18,"value":229},{"type":13,"tag":46,"props":307,"children":308},{"style":78},[309],{"type":18,"value":310},"AllocationCallbacks",{"type":13,"tag":46,"props":312,"children":313},{"style":53},[314],{"type":18,"value":86},{"type":13,"tag":46,"props":316,"children":317},{"class":48,"line":144},[318,323,327,332,336,340,345],{"type":13,"tag":46,"props":319,"children":320},{"style":53},[321],{"type":18,"value":322}," p_indirect_commands_layout",{"type":13,"tag":46,"props":324,"children":325},{"style":93},[326],{"type":18,"value":209},{"type":13,"tag":46,"props":328,"children":329},{"style":93},[330],{"type":18,"value":331}," *mut",{"type":13,"tag":46,"props":333,"children":334},{"style":78},[335],{"type":18,"value":234},{"type":13,"tag":46,"props":337,"children":338},{"style":93},[339],{"type":18,"value":229},{"type":13,"tag":46,"props":341,"children":342},{"style":78},[343],{"type":18,"value":344},"IndirectCommandsLayoutEXT",{"type":13,"tag":46,"props":346,"children":347},{"style":53},[348],{"type":18,"value":86},{"type":13,"tag":46,"props":350,"children":352},{"class":48,"line":351},6,[353,358,363,367,371,376],{"type":13,"tag":46,"props":354,"children":355},{"style":53},[356],{"type":18,"value":357},") ",{"type":13,"tag":46,"props":359,"children":360},{"style":93},[361],{"type":18,"value":362},"->",{"type":13,"tag":46,"props":364,"children":365},{"style":78},[366],{"type":18,"value":234},{"type":13,"tag":46,"props":368,"children":369},{"style":93},[370],{"type":18,"value":229},{"type":13,"tag":46,"props":372,"children":373},{"style":78},[374],{"type":18,"value":375},"Result",{"type":13,"tag":46,"props":377,"children":378},{"style":53},[379],{"type":18,"value":380},";\n",{"type":13,"tag":382,"props":383,"children":384},"ul",{},[385,396,415,434],{"type":13,"tag":386,"props":387,"children":388},"li",{},[389,394],{"type":13,"tag":42,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":81},{"type":18,"value":395}," is the logical device that creates the indirect command\nlayout.",{"type":13,"tag":386,"props":397,"children":398},{},[399,405,407,413],{"type":13,"tag":42,"props":400,"children":402},{"className":401},[],[403],{"type":18,"value":404},"pCreateInfo",{"type":18,"value":406}," is a pointer to a\n",{"type":13,"tag":21,"props":408,"children":410},{"href":409},"/man/VkIndirectCommandsLayoutCreateInfoEXT",[411],{"type":18,"value":412},"VkIndirectCommandsLayoutCreateInfoEXT",{"type":18,"value":414}," structure containing\nparameters affecting creation of the indirect command layout.",{"type":13,"tag":386,"props":416,"children":417},{},[418,424,426,432],{"type":13,"tag":42,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":423},"pAllocator",{"type":18,"value":425}," controls host memory allocation as described in the\n",{"type":13,"tag":21,"props":427,"children":429},{"href":428},"/chapters/memory#memory-allocation",[430],{"type":18,"value":431},"Memory Allocation",{"type":18,"value":433}," chapter.",{"type":13,"tag":386,"props":435,"children":436},{},[437,443,444,450],{"type":13,"tag":42,"props":438,"children":440},{"className":439},[],[441],{"type":18,"value":442},"pIndirectCommandsLayout",{"type":18,"value":406},{"type":13,"tag":42,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":449},"VkIndirectCommandsLayoutEXT",{"type":18,"value":451}," handle in which the resulting indirect\ncommand layout is returned.",{"type":13,"tag":453,"props":454,"children":456},"validity-group",{"name":455},"Valid Usage",[457],{"type":13,"tag":458,"props":459,"children":461},"validity-field",{"name":460},"VUID-vkCreateIndirectCommandsLayoutEXT-deviceGeneratedCommands-11089",[462],{"type":13,"tag":14,"props":463,"children":464},{},[465,467,484,486,491],{"type":18,"value":466},"The ",{"type":13,"tag":21,"props":468,"children":470},{"href":469},"/man/VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT#features-deviceGeneratedCommands",[471,477,478],{"type":13,"tag":42,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":476},"VkPhysicalDeviceDeviceGeneratedCommandsFeaturesEXT",{"type":18,"value":229},{"type":13,"tag":42,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"deviceGeneratedCommands",{"type":18,"value":485},"\nfeature ",{"type":13,"tag":487,"props":488,"children":490},"normative",{"type":489},"must",[],{"type":18,"value":492}," be enabled",{"type":13,"tag":453,"props":494,"children":496},{"name":495},"Valid Usage (Implicit)",[497,524,548,589],{"type":13,"tag":458,"props":498,"children":500},{"name":499},"VUID-vkCreateIndirectCommandsLayoutEXT-device-parameter",[501],{"type":13,"tag":14,"props":502,"children":503},{},[504,509,511,514,516,522],{"type":13,"tag":42,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":81},{"type":18,"value":510}," ",{"type":13,"tag":487,"props":512,"children":513},{"type":489},[],{"type":18,"value":515}," be a valid ",{"type":13,"tag":21,"props":517,"children":519},{"href":518},"/man/VkDevice",[520],{"type":18,"value":521},"VkDevice",{"type":18,"value":523}," handle",{"type":13,"tag":458,"props":525,"children":527},{"name":526},"VUID-vkCreateIndirectCommandsLayoutEXT-pCreateInfo-parameter",[528],{"type":13,"tag":14,"props":529,"children":530},{},[531,536,537,540,542,546],{"type":13,"tag":42,"props":532,"children":534},{"className":533},[],[535],{"type":18,"value":404},{"type":18,"value":510},{"type":13,"tag":487,"props":538,"children":539},{"type":489},[],{"type":18,"value":541}," be a valid pointer to a valid ",{"type":13,"tag":21,"props":543,"children":544},{"href":409},[545],{"type":18,"value":412},{"type":18,"value":547}," structure",{"type":13,"tag":458,"props":549,"children":551},{"name":550},"VUID-vkCreateIndirectCommandsLayoutEXT-pAllocator-parameter",[552],{"type":13,"tag":14,"props":553,"children":554},{},[555,557,562,564,570,572,577,578,581,582,588],{"type":18,"value":556},"If ",{"type":13,"tag":42,"props":558,"children":560},{"className":559},[],[561],{"type":18,"value":423},{"type":18,"value":563}," is not ",{"type":13,"tag":42,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":569},"NULL",{"type":18,"value":571},", ",{"type":13,"tag":42,"props":573,"children":575},{"className":574},[],[576],{"type":18,"value":423},{"type":18,"value":510},{"type":13,"tag":487,"props":579,"children":580},{"type":489},[],{"type":18,"value":541},{"type":13,"tag":21,"props":583,"children":585},{"href":584},"/man/VkAllocationCallbacks",[586],{"type":18,"value":587},"VkAllocationCallbacks",{"type":18,"value":547},{"type":13,"tag":458,"props":590,"children":592},{"name":591},"VUID-vkCreateIndirectCommandsLayoutEXT-pIndirectCommandsLayout-parameter",[593],{"type":13,"tag":14,"props":594,"children":595},{},[596,601,602,605,607,612],{"type":13,"tag":42,"props":597,"children":599},{"className":598},[],[600],{"type":18,"value":442},{"type":18,"value":510},{"type":13,"tag":487,"props":603,"children":604},{"type":489},[],{"type":18,"value":606}," be a valid pointer to a ",{"type":13,"tag":21,"props":608,"children":610},{"href":609},"/man/VkIndirectCommandsLayoutEXT",[611],{"type":18,"value":449},{"type":18,"value":523},{"type":13,"tag":614,"props":615,"children":616},"style",{},[617],{"type":18,"value":618},"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":620},[],"markdown",1729612509555]