[{"data":1,"prerenderedAt":438},["ShallowReactive",2],{"W4SG8JFkVp":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":437,"_id":4},"VkVertexInputBindingDescription","Structure specifying vertex input binding description","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":435},"root",[12,28,243,290,401,429],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","Each vertex input binding is specified by the\n",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure, defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,112],{"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 VkVertexInputBindingDescription {\n uint32_t binding;\n uint32_t stride;\n VkVertexInputRate inputRate;\n} VkVertexInputBindingDescription;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,94,103],{"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}," VkVertexInputBindingDescription {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," uint32_t",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," binding;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85,89],{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":75},{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," stride;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},4,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkVertexInputRate inputRate;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},5,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111},"} VkVertexInputBindingDescription;\n",{"type":13,"tag":33,"props":113,"children":118},{"className":114,"code":115,"filename":116,"language":117,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct VertexInputBindingDescription {\n binding: u32, // Vertex buffer binding id\n stride: u32, // Distance between vertices in bytes (0 = no advancement)\n input_rate: vk::VertexInputRate, // The rate at which the vertex data is consumed\n}\n","Rust","rs",[119],{"type":13,"tag":21,"props":120,"children":121},{"__ignoreMap":39},[122,145,174,199,235],{"type":13,"tag":45,"props":123,"children":124},{"class":47,"line":48},[125,130,134,140],{"type":13,"tag":45,"props":126,"children":127},{"style":52},[128],{"type":18,"value":129},"pub",{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":60},{"type":13,"tag":45,"props":135,"children":137},{"style":136},"--shiki-default:#953800;--shiki-dark:#FFA657",[138],{"type":18,"value":139}," VertexInputBindingDescription",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," {\n",{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":69},[148,153,158,163,168],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152}," binding",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157},":",{"type":13,"tag":45,"props":159,"children":160},{"style":136},[161],{"type":18,"value":162}," u32",{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167},", ",{"type":13,"tag":45,"props":169,"children":171},{"style":170},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[172],{"type":18,"value":173},"// Vertex buffer binding id\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":83},[177,182,186,190,194],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," stride",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":157},{"type":13,"tag":45,"props":187,"children":188},{"style":136},[189],{"type":18,"value":162},{"type":13,"tag":45,"props":191,"children":192},{"style":63},[193],{"type":18,"value":167},{"type":13,"tag":45,"props":195,"children":196},{"style":170},[197],{"type":18,"value":198},"// Distance between vertices in bytes (0 = no advancement)\n",{"type":13,"tag":45,"props":200,"children":201},{"class":47,"line":96},[202,207,211,216,221,226,230],{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":206}," input_rate",{"type":13,"tag":45,"props":208,"children":209},{"style":52},[210],{"type":18,"value":157},{"type":13,"tag":45,"props":212,"children":213},{"style":136},[214],{"type":18,"value":215}," vk",{"type":13,"tag":45,"props":217,"children":218},{"style":52},[219],{"type":18,"value":220},"::",{"type":13,"tag":45,"props":222,"children":223},{"style":136},[224],{"type":18,"value":225},"VertexInputRate",{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":167},{"type":13,"tag":45,"props":231,"children":232},{"style":170},[233],{"type":18,"value":234},"// The rate at which the vertex data is consumed\n",{"type":13,"tag":45,"props":236,"children":237},{"class":47,"line":105},[238],{"type":13,"tag":45,"props":239,"children":240},{"style":63},[241],{"type":18,"value":242},"}\n",{"type":13,"tag":244,"props":245,"children":246},"ul",{},[247,259,270],{"type":13,"tag":248,"props":249,"children":250},"li",{},[251,257],{"type":13,"tag":21,"props":252,"children":254},{"className":253},[],[255],{"type":18,"value":256},"binding",{"type":18,"value":258}," is the binding number that this structure describes.",{"type":13,"tag":248,"props":260,"children":261},{},[262,268],{"type":13,"tag":21,"props":263,"children":265},{"className":264},[],[266],{"type":18,"value":267},"stride",{"type":18,"value":269}," is the byte stride between consecutive elements within the\nbuffer.",{"type":13,"tag":248,"props":271,"children":272},{},[273,279,281,288],{"type":13,"tag":21,"props":274,"children":276},{"className":275},[],[277],{"type":18,"value":278},"inputRate",{"type":18,"value":280}," is a ",{"type":13,"tag":282,"props":283,"children":285},"a",{"href":284},"/man/VkVertexInputRate",[286],{"type":18,"value":287},"VkVertexInputRate",{"type":18,"value":289}," value specifying whether\nvertex attribute addressing is a function of the vertex index or of the\ninstance index.",{"type":13,"tag":291,"props":292,"children":294},"validity-group",{"name":293},"Valid Usage",[295,330,360],{"type":13,"tag":296,"props":297,"children":299},"validity-field",{"name":298},"VUID-VkVertexInputBindingDescription-binding-00618",[300],{"type":13,"tag":14,"props":301,"children":302},{},[303,308,310,315,317,323,324],{"type":13,"tag":21,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":256},{"type":18,"value":309}," ",{"type":13,"tag":311,"props":312,"children":314},"normative",{"type":313},"must",[],{"type":18,"value":316}," be less than\n",{"type":13,"tag":21,"props":318,"children":320},{"className":319},[],[321],{"type":18,"value":322},"VkPhysicalDeviceLimits",{"type":18,"value":220},{"type":13,"tag":21,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"maxVertexInputBindings",{"type":13,"tag":296,"props":331,"children":333},{"name":332},"VUID-VkVertexInputBindingDescription-stride-00619",[334],{"type":13,"tag":14,"props":335,"children":336},{},[337,342,343,346,348,353,354],{"type":13,"tag":21,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":267},{"type":18,"value":309},{"type":13,"tag":311,"props":344,"children":345},{"type":313},[],{"type":18,"value":347}," be less than or equal to\n",{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":322},{"type":18,"value":220},{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"maxVertexInputBindingStride",{"type":13,"tag":296,"props":361,"children":363},{"name":362},"VUID-VkVertexInputBindingDescription-stride-04456",[364],{"type":13,"tag":14,"props":365,"children":366},{},[367,369,375,377,382,383,386,388,394,395],{"type":18,"value":368},"If the ",{"type":13,"tag":282,"props":370,"children":372},{"href":371},"/extensions/VK_KHR_portability_subset",[373],{"type":18,"value":374},"VK_KHR_portability_subset",{"type":18,"value":376}," extension is enabled,\n",{"type":13,"tag":21,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":267},{"type":18,"value":309},{"type":13,"tag":311,"props":384,"children":385},{"type":313},[],{"type":18,"value":387}," be a multiple of, and at least as large as,\n",{"type":13,"tag":282,"props":389,"children":391},{"href":390},"/man/VkPhysicalDevicePortabilitySubsetPropertiesKHR",[392],{"type":18,"value":393},"VkPhysicalDevicePortabilitySubsetPropertiesKHR",{"type":18,"value":220},{"type":13,"tag":21,"props":396,"children":398},{"className":397},[],[399],{"type":18,"value":400},"minVertexInputBindingStrideAlignment",{"type":13,"tag":291,"props":402,"children":404},{"name":403},"Valid Usage (Implicit)",[405],{"type":13,"tag":296,"props":406,"children":408},{"name":407},"VUID-VkVertexInputBindingDescription-inputRate-parameter",[409],{"type":13,"tag":14,"props":410,"children":411},{},[412,417,418,421,423,427],{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":278},{"type":18,"value":309},{"type":13,"tag":311,"props":419,"children":420},{"type":313},[],{"type":18,"value":422}," be a valid ",{"type":13,"tag":282,"props":424,"children":425},{"href":284},[426],{"type":18,"value":287},{"type":18,"value":428}," value",{"type":13,"tag":430,"props":431,"children":432},"style",{},[433],{"type":18,"value":434},"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":436},[],"markdown",1725732590924]