[{"data":1,"prerenderedAt":577},["ShallowReactive",2],{"bE8DXQJK0P":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":576,"_id":4},"VkPipelineVertexInputDivisorStateCreateInfoKHR","Structure specifying vertex attributes assignment during instanced rendering","VK_KHR_vertex_attribute_divisor","structs",[],{"type":10,"children":11,"toc":574},"root",[12,57,69,332,337,402,481,568],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,32,34,40,42,48,50,55],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPhysicalDeviceVertexAttributeDivisorFeaturesKHR#features-vertexAttributeInstanceRateDivisor",[25],{"type":13,"tag":26,"props":27,"children":29},"code",{"className":28},[],[30],{"type":18,"value":31},"vertexAttributeInstanceRateDivisor",{"type":18,"value":33}," feature is enabled and the\n",{"type":13,"tag":26,"props":35,"children":37},{"className":36},[],[38],{"type":18,"value":39},"pNext",{"type":18,"value":41}," chain of ",{"type":13,"tag":21,"props":43,"children":45},{"href":44},"/man/VkPipelineVertexInputStateCreateInfo",[46],{"type":18,"value":47},"VkPipelineVertexInputStateCreateInfo",{"type":18,"value":49}," includes a\n",{"type":13,"tag":26,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure, then that\nstructure controls how vertex attributes are assigned to an instance when\ninstanced rendering is enabled.",{"type":13,"tag":14,"props":58,"children":59},{},[60,62,67],{"type":18,"value":61},"The ",{"type":13,"tag":26,"props":63,"children":65},{"className":64},[],[66],{"type":18,"value":4},{"type":18,"value":68}," structure is\ndefined as:",{"type":13,"tag":70,"props":71,"children":72},"code-group",{},[73,182],{"type":13,"tag":74,"props":75,"children":81},"pre",{"className":76,"code":77,"filename":78,"language":79,"meta":80,"style":80},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineVertexInputDivisorStateCreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n uint32_t vertexBindingDivisorCount;\n const VkVertexInputBindingDivisorDescriptionKHR* pVertexBindingDivisors;\n} VkPipelineVertexInputDivisorStateCreateInfoKHR;\n","C","c","",[82],{"type":13,"tag":26,"props":83,"children":84},{"__ignoreMap":80},[85,108,117,136,150,173],{"type":13,"tag":86,"props":87,"children":90},"span",{"class":88,"line":89},"line",1,[91,97,102],{"type":13,"tag":86,"props":92,"children":94},{"style":93},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[95],{"type":18,"value":96},"typedef",{"type":13,"tag":86,"props":98,"children":99},{"style":93},[100],{"type":18,"value":101}," struct",{"type":13,"tag":86,"props":103,"children":105},{"style":104},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[106],{"type":18,"value":107}," VkPipelineVertexInputDivisorStateCreateInfoKHR {\n",{"type":13,"tag":86,"props":109,"children":111},{"class":88,"line":110},2,[112],{"type":13,"tag":86,"props":113,"children":114},{"style":104},[115],{"type":18,"value":116}," VkStructureType sType;\n",{"type":13,"tag":86,"props":118,"children":120},{"class":88,"line":119},3,[121,126,131],{"type":13,"tag":86,"props":122,"children":123},{"style":93},[124],{"type":18,"value":125}," const",{"type":13,"tag":86,"props":127,"children":128},{"style":93},[129],{"type":18,"value":130}," void*",{"type":13,"tag":86,"props":132,"children":133},{"style":104},[134],{"type":18,"value":135}," pNext;\n",{"type":13,"tag":86,"props":137,"children":139},{"class":88,"line":138},4,[140,145],{"type":13,"tag":86,"props":141,"children":142},{"style":93},[143],{"type":18,"value":144}," uint32_t",{"type":13,"tag":86,"props":146,"children":147},{"style":104},[148],{"type":18,"value":149}," vertexBindingDivisorCount;\n",{"type":13,"tag":86,"props":151,"children":153},{"class":88,"line":152},5,[154,158,163,168],{"type":13,"tag":86,"props":155,"children":156},{"style":93},[157],{"type":18,"value":125},{"type":13,"tag":86,"props":159,"children":160},{"style":104},[161],{"type":18,"value":162}," VkVertexInputBindingDivisorDescriptionKHR",{"type":13,"tag":86,"props":164,"children":165},{"style":93},[166],{"type":18,"value":167},"*",{"type":13,"tag":86,"props":169,"children":170},{"style":104},[171],{"type":18,"value":172}," pVertexBindingDivisors;\n",{"type":13,"tag":86,"props":174,"children":176},{"class":88,"line":175},6,[177],{"type":13,"tag":86,"props":178,"children":179},{"style":104},[180],{"type":18,"value":181},"} VkPipelineVertexInputDivisorStateCreateInfoKHR;\n",{"type":13,"tag":74,"props":183,"children":188},{"className":184,"code":185,"filename":186,"language":187,"meta":80,"style":80},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineVertexInputDivisorStateCreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n vertex_binding_divisor_count: u32,\n p_vertex_binding_divisors: *const vk::VertexInputBindingDivisorDescriptionKHR,\n}\n","Rust","rs",[189],{"type":13,"tag":26,"props":190,"children":191},{"__ignoreMap":80},[192,215,248,270,291,324],{"type":13,"tag":86,"props":193,"children":194},{"class":88,"line":89},[195,200,204,210],{"type":13,"tag":86,"props":196,"children":197},{"style":93},[198],{"type":18,"value":199},"pub",{"type":13,"tag":86,"props":201,"children":202},{"style":93},[203],{"type":18,"value":101},{"type":13,"tag":86,"props":205,"children":207},{"style":206},"--shiki-default:#953800;--shiki-dark:#FFA657",[208],{"type":18,"value":209}," PipelineVertexInputDivisorStateCreateInfoKHR",{"type":13,"tag":86,"props":211,"children":212},{"style":104},[213],{"type":18,"value":214}," {\n",{"type":13,"tag":86,"props":216,"children":217},{"class":88,"line":110},[218,223,228,233,238,243],{"type":13,"tag":86,"props":219,"children":220},{"style":104},[221],{"type":18,"value":222}," s_type",{"type":13,"tag":86,"props":224,"children":225},{"style":93},[226],{"type":18,"value":227},":",{"type":13,"tag":86,"props":229,"children":230},{"style":206},[231],{"type":18,"value":232}," vk",{"type":13,"tag":86,"props":234,"children":235},{"style":93},[236],{"type":18,"value":237},"::",{"type":13,"tag":86,"props":239,"children":240},{"style":206},[241],{"type":18,"value":242},"StructureType",{"type":13,"tag":86,"props":244,"children":245},{"style":104},[246],{"type":18,"value":247},",\n",{"type":13,"tag":86,"props":249,"children":250},{"class":88,"line":119},[251,256,260,265],{"type":13,"tag":86,"props":252,"children":253},{"style":104},[254],{"type":18,"value":255}," p_next",{"type":13,"tag":86,"props":257,"children":258},{"style":93},[259],{"type":18,"value":227},{"type":13,"tag":86,"props":261,"children":262},{"style":93},[263],{"type":18,"value":264}," *const",{"type":13,"tag":86,"props":266,"children":267},{"style":104},[268],{"type":18,"value":269}," c_void,\n",{"type":13,"tag":86,"props":271,"children":272},{"class":88,"line":138},[273,278,282,287],{"type":13,"tag":86,"props":274,"children":275},{"style":104},[276],{"type":18,"value":277}," vertex_binding_divisor_count",{"type":13,"tag":86,"props":279,"children":280},{"style":93},[281],{"type":18,"value":227},{"type":13,"tag":86,"props":283,"children":284},{"style":206},[285],{"type":18,"value":286}," u32",{"type":13,"tag":86,"props":288,"children":289},{"style":104},[290],{"type":18,"value":247},{"type":13,"tag":86,"props":292,"children":293},{"class":88,"line":152},[294,299,303,307,311,315,320],{"type":13,"tag":86,"props":295,"children":296},{"style":104},[297],{"type":18,"value":298}," p_vertex_binding_divisors",{"type":13,"tag":86,"props":300,"children":301},{"style":93},[302],{"type":18,"value":227},{"type":13,"tag":86,"props":304,"children":305},{"style":93},[306],{"type":18,"value":264},{"type":13,"tag":86,"props":308,"children":309},{"style":206},[310],{"type":18,"value":232},{"type":13,"tag":86,"props":312,"children":313},{"style":93},[314],{"type":18,"value":237},{"type":13,"tag":86,"props":316,"children":317},{"style":206},[318],{"type":18,"value":319},"VertexInputBindingDivisorDescriptionKHR",{"type":13,"tag":86,"props":321,"children":322},{"style":104},[323],{"type":18,"value":247},{"type":13,"tag":86,"props":325,"children":326},{"class":88,"line":175},[327],{"type":13,"tag":86,"props":328,"children":329},{"style":104},[330],{"type":18,"value":331},"}\n",{"type":13,"tag":14,"props":333,"children":334},{},[335],{"type":18,"value":336},"or the equivalent",{"type":13,"tag":70,"props":338,"children":339},{},[340,359],{"type":13,"tag":74,"props":341,"children":343},{"className":76,"code":342,"filename":78,"language":79,"meta":80,"style":80},"typedef VkPipelineVertexInputDivisorStateCreateInfoKHR VkPipelineVertexInputDivisorStateCreateInfoEXT;\n",[344],{"type":13,"tag":26,"props":345,"children":346},{"__ignoreMap":80},[347],{"type":13,"tag":86,"props":348,"children":349},{"class":88,"line":89},[350,354],{"type":13,"tag":86,"props":351,"children":352},{"style":93},[353],{"type":18,"value":96},{"type":13,"tag":86,"props":355,"children":356},{"style":104},[357],{"type":18,"value":358}," VkPipelineVertexInputDivisorStateCreateInfoKHR VkPipelineVertexInputDivisorStateCreateInfoEXT;\n",{"type":13,"tag":74,"props":360,"children":362},{"className":184,"code":361,"filename":186,"language":187,"meta":80,"style":80},"type PipelineVertexInputDivisorStateCreateInfoEXT = vk::PipelineVertexInputDivisorStateCreateInfoKHR;\n",[363],{"type":13,"tag":26,"props":364,"children":365},{"__ignoreMap":80},[366],{"type":13,"tag":86,"props":367,"children":368},{"class":88,"line":89},[369,374,379,384,388,392,397],{"type":13,"tag":86,"props":370,"children":371},{"style":93},[372],{"type":18,"value":373},"type",{"type":13,"tag":86,"props":375,"children":376},{"style":206},[377],{"type":18,"value":378}," PipelineVertexInputDivisorStateCreateInfoEXT",{"type":13,"tag":86,"props":380,"children":381},{"style":93},[382],{"type":18,"value":383}," =",{"type":13,"tag":86,"props":385,"children":386},{"style":206},[387],{"type":18,"value":232},{"type":13,"tag":86,"props":389,"children":390},{"style":93},[391],{"type":18,"value":237},{"type":13,"tag":86,"props":393,"children":394},{"style":206},[395],{"type":18,"value":396},"PipelineVertexInputDivisorStateCreateInfoKHR",{"type":13,"tag":86,"props":398,"children":399},{"style":104},[400],{"type":18,"value":401},";\n",{"type":13,"tag":403,"props":404,"children":405},"ul",{},[406,426,444,463],{"type":13,"tag":407,"props":408,"children":409},"li",{},[410,416,418,424],{"type":13,"tag":26,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":415},"sType",{"type":18,"value":417}," is a ",{"type":13,"tag":21,"props":419,"children":421},{"href":420},"/man/VkStructureType",[422],{"type":18,"value":423},"VkStructureType",{"type":18,"value":425}," value identifying this structure.",{"type":13,"tag":407,"props":427,"children":428},{},[429,434,436,442],{"type":13,"tag":26,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":39},{"type":18,"value":435}," is ",{"type":13,"tag":26,"props":437,"children":439},{"className":438},[],[440],{"type":18,"value":441},"NULL",{"type":18,"value":443}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":407,"props":445,"children":446},{},[447,453,455,461],{"type":13,"tag":26,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":452},"vertexBindingDivisorCount",{"type":18,"value":454}," is the number of elements in the\n",{"type":13,"tag":26,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"pVertexBindingDivisors",{"type":18,"value":462}," array.",{"type":13,"tag":407,"props":464,"children":465},{},[466,471,473,479],{"type":13,"tag":26,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":460},{"type":18,"value":472}," is a pointer to an array of\n",{"type":13,"tag":21,"props":474,"children":476},{"href":475},"/man/VkVertexInputBindingDivisorDescriptionKHR",[477],{"type":18,"value":478},"VkVertexInputBindingDivisorDescriptionKHR",{"type":18,"value":480}," structures specifying\nthe divisor value for each binding.",{"type":13,"tag":482,"props":483,"children":485},"validity-group",{"name":484},"Valid Usage (Implicit)",[486,514,544],{"type":13,"tag":487,"props":488,"children":490},"validity-field",{"name":489},"VUID-VkPipelineVertexInputDivisorStateCreateInfoKHR-sType-sType",[491],{"type":13,"tag":14,"props":492,"children":493},{},[494,499,501,506,508],{"type":13,"tag":26,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":415},{"type":18,"value":500}," ",{"type":13,"tag":502,"props":503,"children":505},"normative",{"type":504},"must",[],{"type":18,"value":507}," be ",{"type":13,"tag":26,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR",{"type":13,"tag":487,"props":515,"children":517},{"name":516},"VUID-VkPipelineVertexInputDivisorStateCreateInfoKHR-pVertexBindingDivisors-parameter",[518],{"type":13,"tag":14,"props":519,"children":520},{},[521,526,527,530,532,537,538,542],{"type":13,"tag":26,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":460},{"type":18,"value":500},{"type":13,"tag":502,"props":528,"children":529},{"type":504},[],{"type":18,"value":531}," be a valid pointer to an array of ",{"type":13,"tag":26,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":452},{"type":18,"value":500},{"type":13,"tag":21,"props":539,"children":540},{"href":475},[541],{"type":18,"value":478},{"type":18,"value":543}," structures",{"type":13,"tag":487,"props":545,"children":547},{"name":546},"VUID-VkPipelineVertexInputDivisorStateCreateInfoKHR-vertexBindingDivisorCount-arraylength",[548],{"type":13,"tag":14,"props":549,"children":550},{},[551,556,557,560,562],{"type":13,"tag":26,"props":552,"children":554},{"className":553},[],[555],{"type":18,"value":452},{"type":18,"value":500},{"type":13,"tag":502,"props":558,"children":559},{"type":504},[],{"type":18,"value":561}," be greater than ",{"type":13,"tag":26,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":567},"0",{"type":13,"tag":569,"props":570,"children":571},"style",{},[572],{"type":18,"value":573},"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":80,"searchDepth":110,"depth":110,"links":575},[],"markdown",1725732579917]