[{"data":1,"prerenderedAt":438},["ShallowReactive",2],{"jQMkFd85TP":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":437,"_id":4},"VkBufferUsageFlags2CreateInfoKHR","Extended buffer usage flags","VK_KHR_maintenance5","structs",[],{"type":10,"children":11,"toc":435},"root",[12,28,238,301,348,429],{"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 defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,113],{"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 VkBufferUsageFlags2CreateInfoKHR {\n VkStructureType sType;\n const void* pNext;\n VkBufferUsageFlags2KHR usage;\n} VkBufferUsageFlags2CreateInfoKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104],{"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}," VkBufferUsageFlags2CreateInfoKHR {\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,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkBufferUsageFlags2KHR usage;\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},"} VkBufferUsageFlags2CreateInfoKHR;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BufferUsageFlags2CreateInfoKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n usage: vk::BufferUsageFlags2KHR,\n}\n","Rust","rs",[120],{"type":13,"tag":21,"props":121,"children":122},{"__ignoreMap":39},[123,146,179,201,230],{"type":13,"tag":45,"props":124,"children":125},{"class":47,"line":48},[126,131,135,141],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130},"pub",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":60},{"type":13,"tag":45,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," BufferUsageFlags2CreateInfoKHR",{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":69},[149,154,159,164,169,174],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," s_type",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},":",{"type":13,"tag":45,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," vk",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":168},"::",{"type":13,"tag":45,"props":170,"children":171},{"style":137},[172],{"type":18,"value":173},"StructureType",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},",\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":78},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," p_next",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":158},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195}," *const",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," c_void,\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":97},[204,209,213,217,221,226],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," usage",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":158},{"type":13,"tag":45,"props":214,"children":215},{"style":137},[216],{"type":18,"value":163},{"type":13,"tag":45,"props":218,"children":219},{"style":52},[220],{"type":18,"value":168},{"type":13,"tag":45,"props":222,"children":223},{"style":137},[224],{"type":18,"value":225},"BufferUsageFlags2KHR",{"type":13,"tag":45,"props":227,"children":228},{"style":63},[229],{"type":18,"value":178},{"type":13,"tag":45,"props":231,"children":232},{"class":47,"line":106},[233],{"type":13,"tag":45,"props":234,"children":235},{"style":63},[236],{"type":18,"value":237},"}\n",{"type":13,"tag":239,"props":240,"children":241},"ul",{},[242,263,282],{"type":13,"tag":243,"props":244,"children":245},"li",{},[246,252,254,261],{"type":13,"tag":21,"props":247,"children":249},{"className":248},[],[250],{"type":18,"value":251},"sType",{"type":18,"value":253}," is a ",{"type":13,"tag":255,"props":256,"children":258},"a",{"href":257},"/man/VkStructureType",[259],{"type":18,"value":260},"VkStructureType",{"type":18,"value":262}," value identifying this structure.",{"type":13,"tag":243,"props":264,"children":265},{},[266,272,274,280],{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"pNext",{"type":18,"value":273}," is ",{"type":13,"tag":21,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"NULL",{"type":18,"value":281}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":243,"props":283,"children":284},{},[285,291,293,299],{"type":13,"tag":21,"props":286,"children":288},{"className":287},[],[289],{"type":18,"value":290},"usage",{"type":18,"value":292}," is a bitmask of ",{"type":13,"tag":255,"props":294,"children":296},{"href":295},"/man/VkBufferUsageFlagBits2KHR",[297],{"type":18,"value":298},"VkBufferUsageFlagBits2KHR",{"type":18,"value":300}," specifying\nallowed usages of the buffer.",{"type":13,"tag":14,"props":302,"children":303},{},[304,306,311,313,318,320,325,327,332,334,339,341,346],{"type":18,"value":305},"If this structure is included in the ",{"type":13,"tag":21,"props":307,"children":309},{"className":308},[],[310],{"type":18,"value":271},{"type":18,"value":312}," chain of a buffer creation\nstructure, ",{"type":13,"tag":21,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":290},{"type":18,"value":319}," is used instead of the corresponding ",{"type":13,"tag":21,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":290},{"type":18,"value":326},"\nvalue passed in that creation structure, allowing additional usage flags to\nbe specified.\nIf this structure is included in the ",{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":271},{"type":18,"value":333}," chain of a buffer query\nstructure, the usage flags of the buffer are returned in ",{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":290},{"type":18,"value":340}," of this\nstructure, and the usage flags representable in ",{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":290},{"type":18,"value":347}," of the buffer\nquery structure are also returned in that field.",{"type":13,"tag":349,"props":350,"children":352},"validity-group",{"name":351},"Valid Usage (Implicit)",[353,381,405],{"type":13,"tag":354,"props":355,"children":357},"validity-field",{"name":356},"VUID-VkBufferUsageFlags2CreateInfoKHR-sType-sType",[358],{"type":13,"tag":14,"props":359,"children":360},{},[361,366,368,373,375],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":251},{"type":18,"value":367}," ",{"type":13,"tag":369,"props":370,"children":372},"normative",{"type":371},"must",[],{"type":18,"value":374}," be ",{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR",{"type":13,"tag":354,"props":382,"children":384},{"name":383},"VUID-VkBufferUsageFlags2CreateInfoKHR-usage-parameter",[385],{"type":13,"tag":14,"props":386,"children":387},{},[388,393,394,397,399,403],{"type":13,"tag":21,"props":389,"children":391},{"className":390},[],[392],{"type":18,"value":290},{"type":18,"value":367},{"type":13,"tag":369,"props":395,"children":396},{"type":371},[],{"type":18,"value":398}," be a valid combination of ",{"type":13,"tag":255,"props":400,"children":401},{"href":295},[402],{"type":18,"value":298},{"type":18,"value":404}," values",{"type":13,"tag":354,"props":406,"children":408},{"name":407},"VUID-VkBufferUsageFlags2CreateInfoKHR-usage-requiredbitmask",[409],{"type":13,"tag":14,"props":410,"children":411},{},[412,417,418,421,423],{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":290},{"type":18,"value":367},{"type":13,"tag":369,"props":419,"children":420},{"type":371},[],{"type":18,"value":422}," not be ",{"type":13,"tag":21,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"0",{"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",1725732541518]