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