[{"data":1,"prerenderedAt":536},["ShallowReactive",2],{"VrAl1hRx8l":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":535,"_id":4},"VkPhysicalDeviceVertexAttributeDivisorProperties","Structure describing max value of vertex attribute divisor that can be supported by an implementation","VK_VERSION_1_4","structs",[],{"type":10,"children":11,"toc":533},"root",[12,28,275,280,345,459,494,527],{"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 is\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,122],{"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 VkPhysicalDeviceVertexAttributeDivisorProperties {\n VkStructureType sType;\n void* pNext;\n uint32_t maxVertexAttribDivisor;\n VkBool32 supportsNonZeroFirstInstance;\n} VkPhysicalDeviceVertexAttributeDivisorProperties;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104,113],{"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}," VkPhysicalDeviceVertexAttributeDivisorProperties {\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}," VkStructureType sType;\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}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," uint32_t",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," maxVertexAttribDivisor;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkBool32 supportsNonZeroFirstInstance;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121},"} VkPhysicalDeviceVertexAttributeDivisorProperties;\n",{"type":13,"tag":33,"props":123,"children":128},{"className":124,"code":125,"filename":126,"language":127,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceVertexAttributeDivisorProperties {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n max_vertex_attrib_divisor: u32, // max value of vertex attribute divisor\n supports_non_zero_first_instance: vk::Bool32,\n}\n","Rust","rs",[129],{"type":13,"tag":21,"props":130,"children":131},{"__ignoreMap":39},[132,155,188,210,238,267],{"type":13,"tag":45,"props":133,"children":134},{"class":47,"line":48},[135,140,144,150],{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},"pub",{"type":13,"tag":45,"props":141,"children":142},{"style":52},[143],{"type":18,"value":60},{"type":13,"tag":45,"props":145,"children":147},{"style":146},"--shiki-default:#953800;--shiki-dark:#FFA657",[148],{"type":18,"value":149}," PhysicalDeviceVertexAttributeDivisorProperties",{"type":13,"tag":45,"props":151,"children":152},{"style":63},[153],{"type":18,"value":154}," {\n",{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":69},[158,163,168,173,178,183],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," s_type",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},":",{"type":13,"tag":45,"props":169,"children":170},{"style":146},[171],{"type":18,"value":172}," vk",{"type":13,"tag":45,"props":174,"children":175},{"style":52},[176],{"type":18,"value":177},"::",{"type":13,"tag":45,"props":179,"children":180},{"style":146},[181],{"type":18,"value":182},"StructureType",{"type":13,"tag":45,"props":184,"children":185},{"style":63},[186],{"type":18,"value":187},",\n",{"type":13,"tag":45,"props":189,"children":190},{"class":47,"line":78},[191,196,200,205],{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," p_next",{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":167},{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204}," *mut",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209}," c_void,\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":92},[213,218,222,227,232],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," max_vertex_attrib_divisor",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":167},{"type":13,"tag":45,"props":223,"children":224},{"style":146},[225],{"type":18,"value":226}," u32",{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231},", ",{"type":13,"tag":45,"props":233,"children":235},{"style":234},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[236],{"type":18,"value":237},"// max value of vertex attribute divisor\n",{"type":13,"tag":45,"props":239,"children":240},{"class":47,"line":106},[241,246,250,254,258,263],{"type":13,"tag":45,"props":242,"children":243},{"style":63},[244],{"type":18,"value":245}," supports_non_zero_first_instance",{"type":13,"tag":45,"props":247,"children":248},{"style":52},[249],{"type":18,"value":167},{"type":13,"tag":45,"props":251,"children":252},{"style":146},[253],{"type":18,"value":172},{"type":13,"tag":45,"props":255,"children":256},{"style":52},[257],{"type":18,"value":177},{"type":13,"tag":45,"props":259,"children":260},{"style":146},[261],{"type":18,"value":262},"Bool32",{"type":13,"tag":45,"props":264,"children":265},{"style":63},[266],{"type":18,"value":187},{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":115},[270],{"type":13,"tag":45,"props":271,"children":272},{"style":63},[273],{"type":18,"value":274},"}\n",{"type":13,"tag":14,"props":276,"children":277},{},[278],{"type":18,"value":279},"or the equivalent",{"type":13,"tag":29,"props":281,"children":282},{},[283,302],{"type":13,"tag":33,"props":284,"children":286},{"className":35,"code":285,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceVertexAttributeDivisorProperties VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR;\n",[287],{"type":13,"tag":21,"props":288,"children":289},{"__ignoreMap":39},[290],{"type":13,"tag":45,"props":291,"children":292},{"class":47,"line":48},[293,297],{"type":13,"tag":45,"props":294,"children":295},{"style":52},[296],{"type":18,"value":55},{"type":13,"tag":45,"props":298,"children":299},{"style":63},[300],{"type":18,"value":301}," VkPhysicalDeviceVertexAttributeDivisorProperties VkPhysicalDeviceVertexAttributeDivisorPropertiesKHR;\n",{"type":13,"tag":33,"props":303,"children":305},{"className":124,"code":304,"filename":126,"language":127,"meta":39,"style":39},"type PhysicalDeviceVertexAttributeDivisorPropertiesKHR = vk::PhysicalDeviceVertexAttributeDivisorProperties;\n",[306],{"type":13,"tag":21,"props":307,"children":308},{"__ignoreMap":39},[309],{"type":13,"tag":45,"props":310,"children":311},{"class":47,"line":48},[312,317,322,327,331,335,340],{"type":13,"tag":45,"props":313,"children":314},{"style":52},[315],{"type":18,"value":316},"type",{"type":13,"tag":45,"props":318,"children":319},{"style":146},[320],{"type":18,"value":321}," PhysicalDeviceVertexAttributeDivisorPropertiesKHR",{"type":13,"tag":45,"props":323,"children":324},{"style":52},[325],{"type":18,"value":326}," =",{"type":13,"tag":45,"props":328,"children":329},{"style":146},[330],{"type":18,"value":172},{"type":13,"tag":45,"props":332,"children":333},{"style":52},[334],{"type":18,"value":177},{"type":13,"tag":45,"props":336,"children":337},{"style":146},[338],{"type":18,"value":339},"PhysicalDeviceVertexAttributeDivisorProperties",{"type":13,"tag":45,"props":341,"children":342},{"style":63},[343],{"type":18,"value":344},";\n",{"type":13,"tag":346,"props":347,"children":348},"ul",{},[349,370,389,405],{"type":13,"tag":350,"props":351,"children":352},"li",{},[353,359,361,368],{"type":13,"tag":21,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":358},"sType",{"type":18,"value":360}," is a ",{"type":13,"tag":362,"props":363,"children":365},"a",{"href":364},"/man/VkStructureType",[366],{"type":18,"value":367},"VkStructureType",{"type":18,"value":369}," value identifying this structure.",{"type":13,"tag":350,"props":371,"children":372},{},[373,379,381,387],{"type":13,"tag":21,"props":374,"children":376},{"className":375},[],[377],{"type":18,"value":378},"pNext",{"type":18,"value":380}," is ",{"type":13,"tag":21,"props":382,"children":384},{"className":383},[],[385],{"type":18,"value":386},"NULL",{"type":18,"value":388}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":350,"props":390,"children":391},{},[392,397,403],{"type":13,"tag":393,"props":394,"children":396},"anchor",{"id":395},"limits-maxVertexAttribDivisor",[],{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"maxVertexAttribDivisor",{"type":18,"value":404}," is the maximum value of the number of\ninstances that will repeat the value of vertex attribute data when\ninstanced rendering is enabled.",{"type":13,"tag":350,"props":406,"children":407},{},[408,412,418,420,426,428,434,436,442,443,449,451,457],{"type":13,"tag":393,"props":409,"children":411},{"id":410},"limits-supportsNonZeroFirstInstance",[],{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"supportsNonZeroFirstInstance",{"type":18,"value":419}," specifies whether a non-zero value\nfor the ",{"type":13,"tag":21,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":425},"firstInstance",{"type":18,"value":427}," parameter of ",{"type":13,"tag":362,"props":429,"children":431},{"href":430},"/chapters/drawing#drawing",[432],{"type":18,"value":433},"drawing commands",{"type":18,"value":435},"\nis supported when\n",{"type":13,"tag":362,"props":437,"children":439},{"href":438},"/man/VkVertexInputBindingDivisorDescription",[440],{"type":18,"value":441},"VkVertexInputBindingDivisorDescription",{"type":18,"value":177},{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":448},"divisor",{"type":18,"value":450}," is not ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"1",{"type":18,"value":458},".",{"type":13,"tag":14,"props":460,"children":461},{},[462,464,469,471,476,478,484,486,492],{"type":18,"value":463},"If the ",{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":4},{"type":18,"value":470}," structure is included in the ",{"type":13,"tag":21,"props":472,"children":474},{"className":473},[],[475],{"type":18,"value":378},{"type":18,"value":477}," chain of the\n",{"type":13,"tag":362,"props":479,"children":481},{"href":480},"/man/VkPhysicalDeviceProperties2",[482],{"type":18,"value":483},"VkPhysicalDeviceProperties2",{"type":18,"value":485}," structure passed to\n",{"type":13,"tag":362,"props":487,"children":489},{"href":488},"/man/vkGetPhysicalDeviceProperties2",[490],{"type":18,"value":491},"vkGetPhysicalDeviceProperties2",{"type":18,"value":493},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":495,"props":496,"children":498},"validity-group",{"name":497},"Valid Usage (Implicit)",[499],{"type":13,"tag":500,"props":501,"children":503},"validity-field",{"name":502},"VUID-VkPhysicalDeviceVertexAttributeDivisorProperties-sType-sType",[504],{"type":13,"tag":14,"props":505,"children":506},{},[507,512,514,519,521],{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":358},{"type":18,"value":513}," ",{"type":13,"tag":515,"props":516,"children":518},"normative",{"type":517},"must",[],{"type":18,"value":520}," be ",{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES",{"type":13,"tag":528,"props":529,"children":530},"style",{},[531],{"type":18,"value":532},"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":534},[],"markdown",1744876564616]