[{"data":1,"prerenderedAt":642},["ShallowReactive",2],{"zKePXbNfOm":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":641,"_id":4},"VkPipelineVertexInputDivisorStateCreateInfo","Structure specifying vertex attributes assignment during instanced rendering","VK_VERSION_1_4","structs",[],{"type":10,"children":11,"toc":639},"root",[12,57,69,332,337,402,406,467,546,633],{"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/VkPhysicalDeviceVertexAttributeDivisorFeatures#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 defined\nas:",{"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 VkPipelineVertexInputDivisorStateCreateInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t vertexBindingDivisorCount;\n const VkVertexInputBindingDivisorDescription* pVertexBindingDivisors;\n} VkPipelineVertexInputDivisorStateCreateInfo;\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}," VkPipelineVertexInputDivisorStateCreateInfo {\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}," VkVertexInputBindingDivisorDescription",{"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},"} VkPipelineVertexInputDivisorStateCreateInfo;\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 PipelineVertexInputDivisorStateCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n vertex_binding_divisor_count: u32,\n p_vertex_binding_divisors: *const vk::VertexInputBindingDivisorDescription,\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}," PipelineVertexInputDivisorStateCreateInfo",{"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},"VertexInputBindingDivisorDescription",{"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 VkPipelineVertexInputDivisorStateCreateInfo VkPipelineVertexInputDivisorStateCreateInfoKHR;\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}," VkPipelineVertexInputDivisorStateCreateInfo VkPipelineVertexInputDivisorStateCreateInfoKHR;\n",{"type":13,"tag":74,"props":360,"children":362},{"className":184,"code":361,"filename":186,"language":187,"meta":80,"style":80},"type PipelineVertexInputDivisorStateCreateInfoKHR = vk::PipelineVertexInputDivisorStateCreateInfo;\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}," PipelineVertexInputDivisorStateCreateInfoKHR",{"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},"PipelineVertexInputDivisorStateCreateInfo",{"type":13,"tag":86,"props":398,"children":399},{"style":104},[400],{"type":18,"value":401},";\n",{"type":13,"tag":14,"props":403,"children":404},{},[405],{"type":18,"value":336},{"type":13,"tag":70,"props":407,"children":408},{},[409,428],{"type":13,"tag":74,"props":410,"children":412},{"className":76,"code":411,"filename":78,"language":79,"meta":80,"style":80},"typedef VkPipelineVertexInputDivisorStateCreateInfo VkPipelineVertexInputDivisorStateCreateInfoEXT;\n",[413],{"type":13,"tag":26,"props":414,"children":415},{"__ignoreMap":80},[416],{"type":13,"tag":86,"props":417,"children":418},{"class":88,"line":89},[419,423],{"type":13,"tag":86,"props":420,"children":421},{"style":93},[422],{"type":18,"value":96},{"type":13,"tag":86,"props":424,"children":425},{"style":104},[426],{"type":18,"value":427}," VkPipelineVertexInputDivisorStateCreateInfo VkPipelineVertexInputDivisorStateCreateInfoEXT;\n",{"type":13,"tag":74,"props":429,"children":431},{"className":184,"code":430,"filename":186,"language":187,"meta":80,"style":80},"type PipelineVertexInputDivisorStateCreateInfoEXT = vk::PipelineVertexInputDivisorStateCreateInfo;\n",[432],{"type":13,"tag":26,"props":433,"children":434},{"__ignoreMap":80},[435],{"type":13,"tag":86,"props":436,"children":437},{"class":88,"line":89},[438,442,447,451,455,459,463],{"type":13,"tag":86,"props":439,"children":440},{"style":93},[441],{"type":18,"value":373},{"type":13,"tag":86,"props":443,"children":444},{"style":206},[445],{"type":18,"value":446}," PipelineVertexInputDivisorStateCreateInfoEXT",{"type":13,"tag":86,"props":448,"children":449},{"style":93},[450],{"type":18,"value":383},{"type":13,"tag":86,"props":452,"children":453},{"style":206},[454],{"type":18,"value":232},{"type":13,"tag":86,"props":456,"children":457},{"style":93},[458],{"type":18,"value":237},{"type":13,"tag":86,"props":460,"children":461},{"style":206},[462],{"type":18,"value":396},{"type":13,"tag":86,"props":464,"children":465},{"style":104},[466],{"type":18,"value":401},{"type":13,"tag":468,"props":469,"children":470},"ul",{},[471,491,509,528],{"type":13,"tag":472,"props":473,"children":474},"li",{},[475,481,483,489],{"type":13,"tag":26,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":480},"sType",{"type":18,"value":482}," is a ",{"type":13,"tag":21,"props":484,"children":486},{"href":485},"/man/VkStructureType",[487],{"type":18,"value":488},"VkStructureType",{"type":18,"value":490}," value identifying this structure.",{"type":13,"tag":472,"props":492,"children":493},{},[494,499,501,507],{"type":13,"tag":26,"props":495,"children":497},{"className":496},[],[498],{"type":18,"value":39},{"type":18,"value":500}," is ",{"type":13,"tag":26,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":506},"NULL",{"type":18,"value":508}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":472,"props":510,"children":511},{},[512,518,520,526],{"type":13,"tag":26,"props":513,"children":515},{"className":514},[],[516],{"type":18,"value":517},"vertexBindingDivisorCount",{"type":18,"value":519}," is the number of elements in the\n",{"type":13,"tag":26,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":525},"pVertexBindingDivisors",{"type":18,"value":527}," array.",{"type":13,"tag":472,"props":529,"children":530},{},[531,536,538,544],{"type":13,"tag":26,"props":532,"children":534},{"className":533},[],[535],{"type":18,"value":525},{"type":18,"value":537}," is a pointer to an array of\n",{"type":13,"tag":21,"props":539,"children":541},{"href":540},"/man/VkVertexInputBindingDivisorDescription",[542],{"type":18,"value":543},"VkVertexInputBindingDivisorDescription",{"type":18,"value":545}," structures specifying the\ndivisor value for each binding.",{"type":13,"tag":547,"props":548,"children":550},"validity-group",{"name":549},"Valid Usage (Implicit)",[551,579,609],{"type":13,"tag":552,"props":553,"children":555},"validity-field",{"name":554},"VUID-VkPipelineVertexInputDivisorStateCreateInfo-sType-sType",[556],{"type":13,"tag":14,"props":557,"children":558},{},[559,564,566,571,573],{"type":13,"tag":26,"props":560,"children":562},{"className":561},[],[563],{"type":18,"value":480},{"type":18,"value":565}," ",{"type":13,"tag":567,"props":568,"children":570},"normative",{"type":569},"must",[],{"type":18,"value":572}," be ",{"type":13,"tag":26,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":578},"VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO",{"type":13,"tag":552,"props":580,"children":582},{"name":581},"VUID-VkPipelineVertexInputDivisorStateCreateInfo-pVertexBindingDivisors-parameter",[583],{"type":13,"tag":14,"props":584,"children":585},{},[586,591,592,595,597,602,603,607],{"type":13,"tag":26,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":525},{"type":18,"value":565},{"type":13,"tag":567,"props":593,"children":594},{"type":569},[],{"type":18,"value":596}," be a valid pointer to an array of ",{"type":13,"tag":26,"props":598,"children":600},{"className":599},[],[601],{"type":18,"value":517},{"type":18,"value":565},{"type":13,"tag":21,"props":604,"children":605},{"href":540},[606],{"type":18,"value":543},{"type":18,"value":608}," structures",{"type":13,"tag":552,"props":610,"children":612},{"name":611},"VUID-VkPipelineVertexInputDivisorStateCreateInfo-vertexBindingDivisorCount-arraylength",[613],{"type":13,"tag":14,"props":614,"children":615},{},[616,621,622,625,627],{"type":13,"tag":26,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":517},{"type":18,"value":565},{"type":13,"tag":567,"props":623,"children":624},{"type":569},[],{"type":18,"value":626}," be greater than ",{"type":13,"tag":26,"props":628,"children":630},{"className":629},[],[631],{"type":18,"value":632},"0",{"type":13,"tag":634,"props":635,"children":636},"style",{},[637],{"type":18,"value":638},"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":640},[],"markdown",1744876567769]