[{"data":1,"prerenderedAt":1563},["ShallowReactive",2],{"$f7GMalZUpZSlmLjcDKzpSnOGFaF_QYTiCc4wIbMOmj2U":3},{"title":4,"description":5,"parent":6,"extendedby":7,"type":10,"xrefs":11,"body":12,"_type":1562,"_id":4},"VkBufferViewCreateInfo","Structure specifying parameters of a newly created buffer view","VK_VERSION_1_0",[8,9],"VkBufferUsageFlags2CreateInfo","VkExportMetalObjectCreateInfoEXT","structs",[],{"type":13,"children":14,"toc":1560},"root",[15,31,409,566,571,634,1382,1554],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is defined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,152],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkBufferViewCreateInfo {\n VkStructureType sType;\n const void* pNext;\n VkBufferViewCreateFlags flags;\n VkBuffer buffer;\n VkFormat format;\n VkDeviceSize offset;\n VkDeviceSize range;\n} VkBufferViewCreateInfo;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,98,107,116,125,134,143],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkBufferViewCreateInfo {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88,93],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," const",{"type":16,"tag":48,"props":89,"children":90},{"style":55},[91],{"type":21,"value":92}," void*",{"type":16,"tag":48,"props":94,"children":95},{"style":66},[96],{"type":21,"value":97}," pNext;\n",{"type":16,"tag":48,"props":99,"children":101},{"class":50,"line":100},4,[102],{"type":16,"tag":48,"props":103,"children":104},{"style":66},[105],{"type":21,"value":106}," VkBufferViewCreateFlags flags;\n",{"type":16,"tag":48,"props":108,"children":110},{"class":50,"line":109},5,[111],{"type":16,"tag":48,"props":112,"children":113},{"style":66},[114],{"type":21,"value":115}," VkBuffer buffer;\n",{"type":16,"tag":48,"props":117,"children":119},{"class":50,"line":118},6,[120],{"type":16,"tag":48,"props":121,"children":122},{"style":66},[123],{"type":21,"value":124}," VkFormat format;\n",{"type":16,"tag":48,"props":126,"children":128},{"class":50,"line":127},7,[129],{"type":16,"tag":48,"props":130,"children":131},{"style":66},[132],{"type":21,"value":133}," VkDeviceSize offset;\n",{"type":16,"tag":48,"props":135,"children":137},{"class":50,"line":136},8,[138],{"type":16,"tag":48,"props":139,"children":140},{"style":66},[141],{"type":21,"value":142}," VkDeviceSize range;\n",{"type":16,"tag":48,"props":144,"children":146},{"class":50,"line":145},9,[147],{"type":16,"tag":48,"props":148,"children":149},{"style":66},[150],{"type":21,"value":151},"} VkBufferViewCreateInfo;\n",{"type":16,"tag":36,"props":153,"children":158},{"className":154,"code":155,"filename":156,"language":157,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BufferViewCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::BufferViewCreateFlags,\n buffer: vk::Buffer,\n format: vk::Format, \u002F\u002F Optionally specifies format of elements\n offset: vk::DeviceSize, \u002F\u002F Specified in bytes\n range: vk::DeviceSize, \u002F\u002F View size specified in bytes\n}\n","Rust","rs",[159],{"type":16,"tag":24,"props":160,"children":161},{"__ignoreMap":42},[162,185,218,240,269,298,334,368,401],{"type":16,"tag":48,"props":163,"children":164},{"class":50,"line":51},[165,170,174,180],{"type":16,"tag":48,"props":166,"children":167},{"style":55},[168],{"type":21,"value":169},"pub",{"type":16,"tag":48,"props":171,"children":172},{"style":55},[173],{"type":21,"value":63},{"type":16,"tag":48,"props":175,"children":177},{"style":176},"--shiki-default:#953800;--shiki-dark:#FFA657",[178],{"type":21,"value":179}," BufferViewCreateInfo",{"type":16,"tag":48,"props":181,"children":182},{"style":66},[183],{"type":21,"value":184}," {\n",{"type":16,"tag":48,"props":186,"children":187},{"class":50,"line":72},[188,193,198,203,208,213],{"type":16,"tag":48,"props":189,"children":190},{"style":66},[191],{"type":21,"value":192}," s_type",{"type":16,"tag":48,"props":194,"children":195},{"style":55},[196],{"type":21,"value":197},":",{"type":16,"tag":48,"props":199,"children":200},{"style":176},[201],{"type":21,"value":202}," vk",{"type":16,"tag":48,"props":204,"children":205},{"style":55},[206],{"type":21,"value":207},"::",{"type":16,"tag":48,"props":209,"children":210},{"style":176},[211],{"type":21,"value":212},"StructureType",{"type":16,"tag":48,"props":214,"children":215},{"style":66},[216],{"type":21,"value":217},",\n",{"type":16,"tag":48,"props":219,"children":220},{"class":50,"line":81},[221,226,230,235],{"type":16,"tag":48,"props":222,"children":223},{"style":66},[224],{"type":21,"value":225}," p_next",{"type":16,"tag":48,"props":227,"children":228},{"style":55},[229],{"type":21,"value":197},{"type":16,"tag":48,"props":231,"children":232},{"style":55},[233],{"type":21,"value":234}," *const",{"type":16,"tag":48,"props":236,"children":237},{"style":66},[238],{"type":21,"value":239}," c_void,\n",{"type":16,"tag":48,"props":241,"children":242},{"class":50,"line":100},[243,248,252,256,260,265],{"type":16,"tag":48,"props":244,"children":245},{"style":66},[246],{"type":21,"value":247}," flags",{"type":16,"tag":48,"props":249,"children":250},{"style":55},[251],{"type":21,"value":197},{"type":16,"tag":48,"props":253,"children":254},{"style":176},[255],{"type":21,"value":202},{"type":16,"tag":48,"props":257,"children":258},{"style":55},[259],{"type":21,"value":207},{"type":16,"tag":48,"props":261,"children":262},{"style":176},[263],{"type":21,"value":264},"BufferViewCreateFlags",{"type":16,"tag":48,"props":266,"children":267},{"style":66},[268],{"type":21,"value":217},{"type":16,"tag":48,"props":270,"children":271},{"class":50,"line":109},[272,277,281,285,289,294],{"type":16,"tag":48,"props":273,"children":274},{"style":66},[275],{"type":21,"value":276}," buffer",{"type":16,"tag":48,"props":278,"children":279},{"style":55},[280],{"type":21,"value":197},{"type":16,"tag":48,"props":282,"children":283},{"style":176},[284],{"type":21,"value":202},{"type":16,"tag":48,"props":286,"children":287},{"style":55},[288],{"type":21,"value":207},{"type":16,"tag":48,"props":290,"children":291},{"style":176},[292],{"type":21,"value":293},"Buffer",{"type":16,"tag":48,"props":295,"children":296},{"style":66},[297],{"type":21,"value":217},{"type":16,"tag":48,"props":299,"children":300},{"class":50,"line":118},[301,306,310,314,318,323,328],{"type":16,"tag":48,"props":302,"children":303},{"style":66},[304],{"type":21,"value":305}," format",{"type":16,"tag":48,"props":307,"children":308},{"style":55},[309],{"type":21,"value":197},{"type":16,"tag":48,"props":311,"children":312},{"style":176},[313],{"type":21,"value":202},{"type":16,"tag":48,"props":315,"children":316},{"style":55},[317],{"type":21,"value":207},{"type":16,"tag":48,"props":319,"children":320},{"style":176},[321],{"type":21,"value":322},"Format",{"type":16,"tag":48,"props":324,"children":325},{"style":66},[326],{"type":21,"value":327},", ",{"type":16,"tag":48,"props":329,"children":331},{"style":330},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[332],{"type":21,"value":333},"\u002F\u002F Optionally specifies format of elements\n",{"type":16,"tag":48,"props":335,"children":336},{"class":50,"line":127},[337,342,346,350,354,359,363],{"type":16,"tag":48,"props":338,"children":339},{"style":66},[340],{"type":21,"value":341}," offset",{"type":16,"tag":48,"props":343,"children":344},{"style":55},[345],{"type":21,"value":197},{"type":16,"tag":48,"props":347,"children":348},{"style":176},[349],{"type":21,"value":202},{"type":16,"tag":48,"props":351,"children":352},{"style":55},[353],{"type":21,"value":207},{"type":16,"tag":48,"props":355,"children":356},{"style":176},[357],{"type":21,"value":358},"DeviceSize",{"type":16,"tag":48,"props":360,"children":361},{"style":66},[362],{"type":21,"value":327},{"type":16,"tag":48,"props":364,"children":365},{"style":330},[366],{"type":21,"value":367},"\u002F\u002F Specified in bytes\n",{"type":16,"tag":48,"props":369,"children":370},{"class":50,"line":136},[371,376,380,384,388,392,396],{"type":16,"tag":48,"props":372,"children":373},{"style":66},[374],{"type":21,"value":375}," range",{"type":16,"tag":48,"props":377,"children":378},{"style":55},[379],{"type":21,"value":197},{"type":16,"tag":48,"props":381,"children":382},{"style":176},[383],{"type":21,"value":202},{"type":16,"tag":48,"props":385,"children":386},{"style":55},[387],{"type":21,"value":207},{"type":16,"tag":48,"props":389,"children":390},{"style":176},[391],{"type":21,"value":358},{"type":16,"tag":48,"props":393,"children":394},{"style":66},[395],{"type":21,"value":327},{"type":16,"tag":48,"props":397,"children":398},{"style":330},[399],{"type":21,"value":400},"\u002F\u002F View size specified in bytes\n",{"type":16,"tag":48,"props":402,"children":403},{"class":50,"line":145},[404],{"type":16,"tag":48,"props":405,"children":406},{"style":66},[407],{"type":21,"value":408},"}\n",{"type":16,"tag":410,"props":411,"children":412},"ul",{},[413,434,453,464,482,500,511],{"type":16,"tag":414,"props":415,"children":416},"li",{},[417,423,425,432],{"type":16,"tag":24,"props":418,"children":420},{"className":419},[],[421],{"type":21,"value":422},"sType",{"type":21,"value":424}," is a ",{"type":16,"tag":426,"props":427,"children":429},"a",{"href":428},"\u002Fman\u002FVkStructureType",[430],{"type":21,"value":431},"VkStructureType",{"type":21,"value":433}," value identifying this structure.",{"type":16,"tag":414,"props":435,"children":436},{},[437,443,445,451],{"type":16,"tag":24,"props":438,"children":440},{"className":439},[],[441],{"type":21,"value":442},"pNext",{"type":21,"value":444}," is ",{"type":16,"tag":24,"props":446,"children":448},{"className":447},[],[449],{"type":21,"value":450},"NULL",{"type":21,"value":452}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":414,"props":454,"children":455},{},[456,462],{"type":16,"tag":24,"props":457,"children":459},{"className":458},[],[460],{"type":21,"value":461},"flags",{"type":21,"value":463}," is reserved for future use.",{"type":16,"tag":414,"props":465,"children":466},{},[467,473,474,480],{"type":16,"tag":24,"props":468,"children":470},{"className":469},[],[471],{"type":21,"value":472},"buffer",{"type":21,"value":424},{"type":16,"tag":426,"props":475,"children":477},{"href":476},"\u002Fman\u002FVkBuffer",[478],{"type":21,"value":479},"VkBuffer",{"type":21,"value":481}," on which the view will be created.",{"type":16,"tag":414,"props":483,"children":484},{},[485,491,492,498],{"type":16,"tag":24,"props":486,"children":488},{"className":487},[],[489],{"type":21,"value":490},"format",{"type":21,"value":424},{"type":16,"tag":426,"props":493,"children":495},{"href":494},"\u002Fman\u002FVkFormat",[496],{"type":21,"value":497},"VkFormat",{"type":21,"value":499}," describing the format of the data\nelements in the buffer.",{"type":16,"tag":414,"props":501,"children":502},{},[503,509],{"type":16,"tag":24,"props":504,"children":506},{"className":505},[],[507],{"type":21,"value":508},"offset",{"type":21,"value":510}," is an offset in bytes from the base address of the buffer.\nAccesses to the buffer view from shaders use addressing that is relative\nto this starting offset.",{"type":16,"tag":414,"props":512,"children":513},{},[514,520,522,527,529,535,537,542,544,549,551,557,559,564],{"type":16,"tag":24,"props":515,"children":517},{"className":516},[],[518],{"type":21,"value":519},"range",{"type":21,"value":521}," is a size in bytes of the buffer view.\nIf ",{"type":16,"tag":24,"props":523,"children":525},{"className":524},[],[526],{"type":21,"value":519},{"type":21,"value":528}," is equal to ",{"type":16,"tag":24,"props":530,"children":532},{"className":531},[],[533],{"type":21,"value":534},"VK_WHOLE_SIZE",{"type":21,"value":536},", the range from\n",{"type":16,"tag":24,"props":538,"children":540},{"className":539},[],[541],{"type":21,"value":508},{"type":21,"value":543}," to the end of the buffer is used.\nIf ",{"type":16,"tag":24,"props":545,"children":547},{"className":546},[],[548],{"type":21,"value":534},{"type":21,"value":550}," is used and the remaining size of the buffer is\nnot a multiple of the ",{"type":16,"tag":426,"props":552,"children":554},{"href":553},"\u002Fchapters\u002Fformats#texel-block-size",[555],{"type":21,"value":556},"texel block size",{"type":21,"value":558}," of\n",{"type":16,"tag":24,"props":560,"children":562},{"className":561},[],[563],{"type":21,"value":490},{"type":21,"value":565},", the nearest smaller multiple is used.",{"type":16,"tag":567,"props":568,"children":570},"anchor",{"id":569},"resources-buffer-views-usage",[],{"type":16,"tag":17,"props":572,"children":573},{},[574,576,582,584,589,591,596,598,603,605,611,613,619,620,625,627,632],{"type":21,"value":575},"The buffer view has a ",{"type":16,"tag":577,"props":578,"children":579},"em",{},[580],{"type":21,"value":581},"buffer view usage",{"type":21,"value":583}," identifying which descriptor types\ncan be created from it.\nThis usage\n",{"type":16,"tag":585,"props":586,"children":588},"normative",{"type":587},"can",[],{"type":21,"value":590}," be defined by including the ",{"type":16,"tag":426,"props":592,"children":594},{"href":593},"\u002Fman\u002FVkBufferUsageFlags2CreateInfo",[595],{"type":21,"value":8},{"type":21,"value":597},"\nstructure in the ",{"type":16,"tag":24,"props":599,"children":601},{"className":600},[],[602],{"type":21,"value":442},{"type":21,"value":604}," chain, and specifying the ",{"type":16,"tag":24,"props":606,"children":608},{"className":607},[],[609],{"type":21,"value":610},"usage",{"type":21,"value":612}," value\nthere.\nIf this structure is not included, it\nis equal to the ",{"type":16,"tag":426,"props":614,"children":616},{"href":615},"\u002Fman\u002FVkBufferCreateInfo",[617],{"type":21,"value":618},"VkBufferCreateInfo",{"type":21,"value":207},{"type":16,"tag":24,"props":621,"children":623},{"className":622},[],[624],{"type":21,"value":610},{"type":21,"value":626}," value used to create\n",{"type":16,"tag":24,"props":628,"children":630},{"className":629},[],[631],{"type":21,"value":472},{"type":21,"value":633},".",{"type":16,"tag":635,"props":636,"children":638},"validity-group",{"name":637},"Valid Usage",[639,665,704,740,800,844,907,941,988,1028,1056,1114,1165,1206,1251,1322],{"type":16,"tag":640,"props":641,"children":643},"validity-field",{"name":642},"VUID-VkBufferViewCreateInfo-offset-00925",[644],{"type":16,"tag":17,"props":645,"children":646},{},[647,652,654,658,660],{"type":16,"tag":24,"props":648,"children":650},{"className":649},[],[651],{"type":21,"value":508},{"type":21,"value":653}," ",{"type":16,"tag":585,"props":655,"children":657},{"type":656},"must",[],{"type":21,"value":659}," be less than the size of ",{"type":16,"tag":24,"props":661,"children":663},{"className":662},[],[664],{"type":21,"value":472},{"type":16,"tag":640,"props":666,"children":668},{"name":667},"VUID-VkBufferViewCreateInfo-range-00928",[669],{"type":16,"tag":17,"props":670,"children":671},{},[672,674,679,681,686,687,692,693,696,698],{"type":21,"value":673},"If ",{"type":16,"tag":24,"props":675,"children":677},{"className":676},[],[678],{"type":21,"value":519},{"type":21,"value":680}," is not equal to ",{"type":16,"tag":24,"props":682,"children":684},{"className":683},[],[685],{"type":21,"value":534},{"type":21,"value":327},{"type":16,"tag":24,"props":688,"children":690},{"className":689},[],[691],{"type":21,"value":519},{"type":21,"value":653},{"type":16,"tag":585,"props":694,"children":695},{"type":656},[],{"type":21,"value":697}," be\ngreater than ",{"type":16,"tag":24,"props":699,"children":701},{"className":700},[],[702],{"type":21,"value":703},"0",{"type":16,"tag":640,"props":705,"children":707},{"name":706},"VUID-VkBufferViewCreateInfo-range-00929",[708],{"type":16,"tag":17,"props":709,"children":710},{},[711,712,717,718,723,724,729,730,733,735],{"type":21,"value":673},{"type":16,"tag":24,"props":713,"children":715},{"className":714},[],[716],{"type":21,"value":519},{"type":21,"value":680},{"type":16,"tag":24,"props":719,"children":721},{"className":720},[],[722],{"type":21,"value":534},{"type":21,"value":327},{"type":16,"tag":24,"props":725,"children":727},{"className":726},[],[728],{"type":21,"value":519},{"type":21,"value":653},{"type":16,"tag":585,"props":731,"children":732},{"type":656},[],{"type":21,"value":734}," be\nan integer multiple of the texel block size of ",{"type":16,"tag":24,"props":736,"children":738},{"className":737},[],[739],{"type":21,"value":490},{"type":16,"tag":640,"props":741,"children":743},{"name":742},"VUID-VkBufferViewCreateInfo-range-00930",[744],{"type":16,"tag":17,"props":745,"children":746},{},[747,748,753,754,759,761,766,768,774,776,781,782,785,787,793,794],{"type":21,"value":673},{"type":16,"tag":24,"props":749,"children":751},{"className":750},[],[752],{"type":21,"value":519},{"type":21,"value":680},{"type":16,"tag":24,"props":755,"children":757},{"className":756},[],[758],{"type":21,"value":534},{"type":21,"value":760},", the number of texel\nbuffer elements given by (⌊",{"type":16,"tag":24,"props":762,"children":764},{"className":763},[],[765],{"type":21,"value":519},{"type":21,"value":767}," \u002F (texel block\nsize)⌋ × (texels per block)) where texel block size and\ntexels per block are as defined in the ",{"type":16,"tag":426,"props":769,"children":771},{"href":770},"\u002F404#formats-compatibility",[772],{"type":21,"value":773},"Compatible Formats",{"type":21,"value":775}," table for ",{"type":16,"tag":24,"props":777,"children":779},{"className":778},[],[780],{"type":21,"value":490},{"type":21,"value":327},{"type":16,"tag":585,"props":783,"children":784},{"type":656},[],{"type":21,"value":786}," be less than or equal\nto ",{"type":16,"tag":24,"props":788,"children":790},{"className":789},[],[791],{"type":21,"value":792},"VkPhysicalDeviceLimits",{"type":21,"value":207},{"type":16,"tag":24,"props":795,"children":797},{"className":796},[],[798],{"type":21,"value":799},"maxTexelBufferElements",{"type":16,"tag":640,"props":801,"children":803},{"name":802},"VUID-VkBufferViewCreateInfo-offset-00931",[804],{"type":16,"tag":17,"props":805,"children":806},{},[807,808,813,814,819,821,826,828,833,834,837,839],{"type":21,"value":673},{"type":16,"tag":24,"props":809,"children":811},{"className":810},[],[812],{"type":21,"value":519},{"type":21,"value":680},{"type":16,"tag":24,"props":815,"children":817},{"className":816},[],[818],{"type":21,"value":534},{"type":21,"value":820},", the sum of\n",{"type":16,"tag":24,"props":822,"children":824},{"className":823},[],[825],{"type":21,"value":508},{"type":21,"value":827}," and ",{"type":16,"tag":24,"props":829,"children":831},{"className":830},[],[832],{"type":21,"value":519},{"type":21,"value":653},{"type":16,"tag":585,"props":835,"children":836},{"type":656},[],{"type":21,"value":838}," be less than or equal to the size of\n",{"type":16,"tag":24,"props":840,"children":842},{"className":841},[],[843],{"type":21,"value":472},{"type":16,"tag":640,"props":845,"children":847},{"name":846},"VUID-VkBufferViewCreateInfo-range-04059",[848],{"type":16,"tag":17,"props":849,"children":850},{},[851,852,857,858,863,865,870,872,877,879,883,885,890,891,894,896,901,902],{"type":21,"value":673},{"type":16,"tag":24,"props":853,"children":855},{"className":854},[],[856],{"type":21,"value":519},{"type":21,"value":528},{"type":16,"tag":24,"props":859,"children":861},{"className":860},[],[862],{"type":21,"value":534},{"type":21,"value":864},", the number of texel\nbuffer elements given by (⌊(size - ",{"type":16,"tag":24,"props":866,"children":868},{"className":867},[],[869],{"type":21,"value":508},{"type":21,"value":871},") \u002F (texel\nblock size)⌋ × (texels per block)) where size is the size\nof ",{"type":16,"tag":24,"props":873,"children":875},{"className":874},[],[876],{"type":21,"value":472},{"type":21,"value":878},", and texel block size and texels per block are as\ndefined in the ",{"type":16,"tag":426,"props":880,"children":881},{"href":770},[882],{"type":21,"value":773},{"type":21,"value":884}," table for\n",{"type":16,"tag":24,"props":886,"children":888},{"className":887},[],[889],{"type":21,"value":490},{"type":21,"value":327},{"type":16,"tag":585,"props":892,"children":893},{"type":656},[],{"type":21,"value":895}," be less than or equal to\n",{"type":16,"tag":24,"props":897,"children":899},{"className":898},[],[900],{"type":21,"value":792},{"type":21,"value":207},{"type":16,"tag":24,"props":903,"children":905},{"className":904},[],[906],{"type":21,"value":799},{"type":16,"tag":640,"props":908,"children":910},{"name":909},"VUID-VkBufferViewCreateInfo-buffer-00932",[911],{"type":16,"tag":17,"props":912,"children":913},{},[914,919,920,923,925,931,933,939],{"type":16,"tag":24,"props":915,"children":917},{"className":916},[],[918],{"type":21,"value":472},{"type":21,"value":653},{"type":16,"tag":585,"props":921,"children":922},{"type":656},[],{"type":21,"value":924}," have been created with at least one of the\n",{"type":16,"tag":24,"props":926,"children":928},{"className":927},[],[929],{"type":21,"value":930},"VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT",{"type":21,"value":932}," or\n",{"type":16,"tag":24,"props":934,"children":936},{"className":935},[],[937],{"type":21,"value":938},"VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT",{"type":21,"value":940}," usage flags set",{"type":16,"tag":640,"props":942,"children":944},{"name":943},"VUID-VkBufferViewCreateInfo-format-08778",[945],{"type":16,"tag":17,"props":946,"children":947},{},[948,950,955,957,962,964,970,971,976,977,980,982],{"type":21,"value":949},"If the ",{"type":16,"tag":426,"props":951,"children":953},{"href":952},"\u002Fman\u002FVkBufferViewCreateInfo#resources-buffer-views-usage",[954],{"type":21,"value":581},{"type":21,"value":956}," contains\n",{"type":16,"tag":24,"props":958,"children":960},{"className":959},[],[961],{"type":21,"value":930},{"type":21,"value":963},", then\n",{"type":16,"tag":426,"props":965,"children":967},{"href":966},"\u002Fchapters\u002Fresources#resources-buffer-view-format-features",[968],{"type":21,"value":969},"format features",{"type":21,"value":558},{"type":16,"tag":24,"props":972,"children":974},{"className":973},[],[975],{"type":21,"value":490},{"type":21,"value":653},{"type":16,"tag":585,"props":978,"children":979},{"type":656},[],{"type":21,"value":981}," contain\n",{"type":16,"tag":24,"props":983,"children":985},{"className":984},[],[986],{"type":21,"value":987},"VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT",{"type":16,"tag":640,"props":989,"children":991},{"name":990},"VUID-VkBufferViewCreateInfo-format-08779",[992],{"type":16,"tag":17,"props":993,"children":994},{},[995,996,1000,1001,1006,1007,1011,1012,1017,1018,1021,1022],{"type":21,"value":949},{"type":16,"tag":426,"props":997,"children":998},{"href":952},[999],{"type":21,"value":581},{"type":21,"value":956},{"type":16,"tag":24,"props":1002,"children":1004},{"className":1003},[],[1005],{"type":21,"value":938},{"type":21,"value":963},{"type":16,"tag":426,"props":1008,"children":1009},{"href":966},[1010],{"type":21,"value":969},{"type":21,"value":558},{"type":16,"tag":24,"props":1013,"children":1015},{"className":1014},[],[1016],{"type":21,"value":490},{"type":21,"value":653},{"type":16,"tag":585,"props":1019,"children":1020},{"type":656},[],{"type":21,"value":981},{"type":16,"tag":24,"props":1023,"children":1025},{"className":1024},[],[1026],{"type":21,"value":1027},"VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT",{"type":16,"tag":640,"props":1029,"children":1031},{"name":1030},"VUID-VkBufferViewCreateInfo-buffer-00935",[1032],{"type":16,"tag":17,"props":1033,"children":1034},{},[1035,1036,1041,1043,1046,1048,1054],{"type":21,"value":673},{"type":16,"tag":24,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":21,"value":472},{"type":21,"value":1042}," is non-sparse then it ",{"type":16,"tag":585,"props":1044,"children":1045},{"type":656},[],{"type":21,"value":1047}," be bound completely and\ncontiguously to a single ",{"type":16,"tag":24,"props":1049,"children":1051},{"className":1050},[],[1052],{"type":21,"value":1053},"VkDeviceMemory",{"type":21,"value":1055}," object",{"type":16,"tag":640,"props":1057,"children":1059},{"name":1058},"VUID-VkBufferViewCreateInfo-buffer-02750",[1060],{"type":16,"tag":17,"props":1061,"children":1062},{},[1063,1064,1069,1071,1076,1078,1083,1084,1087,1089,1094,1096,1102,1104],{"type":21,"value":673},{"type":16,"tag":24,"props":1065,"children":1067},{"className":1066},[],[1068],{"type":21,"value":472},{"type":21,"value":1070}," was created with the\n",{"type":16,"tag":24,"props":1072,"children":1074},{"className":1073},[],[1075],{"type":21,"value":938},{"type":21,"value":1077}," usage flag set,\n",{"type":16,"tag":24,"props":1079,"children":1081},{"className":1080},[],[1082],{"type":21,"value":508},{"type":21,"value":653},{"type":16,"tag":585,"props":1085,"children":1086},{"type":656},[],{"type":21,"value":1088}," be a multiple of the effective alignment requirement\nof ",{"type":16,"tag":24,"props":1090,"children":1092},{"className":1091},[],[1093],{"type":21,"value":490},{"type":21,"value":1095}," for ",{"type":16,"tag":24,"props":1097,"children":1099},{"className":1098},[],[1100],{"type":21,"value":1101},"VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER",{"type":21,"value":1103}," as\ndefined by\n",{"type":16,"tag":426,"props":1105,"children":1107},{"href":1106},"\u002Fman\u002FVkPhysicalDeviceLimits#limits-minTexelBufferOffsetAlignment",[1108],{"type":16,"tag":24,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":21,"value":1113},"minTexelBufferOffsetAlignment",{"type":16,"tag":640,"props":1115,"children":1117},{"name":1116},"VUID-VkBufferViewCreateInfo-buffer-02751",[1118],{"type":16,"tag":17,"props":1119,"children":1120},{},[1121,1122,1127,1128,1133,1134,1139,1140,1143,1144,1149,1150,1156,1157],{"type":21,"value":673},{"type":16,"tag":24,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":21,"value":472},{"type":21,"value":1070},{"type":16,"tag":24,"props":1129,"children":1131},{"className":1130},[],[1132],{"type":21,"value":930},{"type":21,"value":1077},{"type":16,"tag":24,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":21,"value":508},{"type":21,"value":653},{"type":16,"tag":585,"props":1141,"children":1142},{"type":656},[],{"type":21,"value":1088},{"type":16,"tag":24,"props":1145,"children":1147},{"className":1146},[],[1148],{"type":21,"value":490},{"type":21,"value":1095},{"type":16,"tag":24,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":21,"value":1155},"VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER",{"type":21,"value":1103},{"type":16,"tag":426,"props":1158,"children":1159},{"href":1106},[1160],{"type":16,"tag":24,"props":1161,"children":1163},{"className":1162},[],[1164],{"type":21,"value":1113},{"type":16,"tag":640,"props":1166,"children":1168},{"name":1167},"VUID-VkBufferViewCreateInfo-pNext-06782",[1169],{"type":16,"tag":17,"props":1170,"children":1171},{},[1172,1173,1178,1180,1185,1187,1193,1195,1198,1200],{"type":21,"value":949},{"type":16,"tag":24,"props":1174,"children":1176},{"className":1175},[],[1177],{"type":21,"value":442},{"type":21,"value":1179}," chain includes a\n",{"type":16,"tag":426,"props":1181,"children":1183},{"href":1182},"\u002Fman\u002FVkExportMetalObjectCreateInfoEXT",[1184],{"type":21,"value":9},{"type":21,"value":1186}," structure, its\n",{"type":16,"tag":24,"props":1188,"children":1190},{"className":1189},[],[1191],{"type":21,"value":1192},"exportObjectType",{"type":21,"value":1194}," member ",{"type":16,"tag":585,"props":1196,"children":1197},{"type":656},[],{"type":21,"value":1199}," be\n",{"type":16,"tag":24,"props":1201,"children":1203},{"className":1202},[],[1204],{"type":21,"value":1205},"VK_EXPORT_METAL_OBJECT_TYPE_METAL_TEXTURE_BIT_EXT",{"type":16,"tag":640,"props":1207,"children":1209},{"name":1208},"VUID-VkBufferViewCreateInfo-pNext-08780",[1210],{"type":16,"tag":17,"props":1211,"children":1212},{},[1213,1214,1219,1221,1225,1227,1232,1233,1236,1238,1244,1245],{"type":21,"value":949},{"type":16,"tag":24,"props":1215,"children":1217},{"className":1216},[],[1218],{"type":21,"value":442},{"type":21,"value":1220}," chain includes a ",{"type":16,"tag":426,"props":1222,"children":1223},{"href":593},[1224],{"type":21,"value":8},{"type":21,"value":1226},",\nits ",{"type":16,"tag":24,"props":1228,"children":1230},{"className":1229},[],[1231],{"type":21,"value":610},{"type":21,"value":653},{"type":16,"tag":585,"props":1234,"children":1235},{"type":656},[],{"type":21,"value":1237}," not contain any other bit than\n",{"type":16,"tag":24,"props":1239,"children":1241},{"className":1240},[],[1242],{"type":21,"value":1243},"VK_BUFFER_USAGE_2_UNIFORM_TEXEL_BUFFER_BIT",{"type":21,"value":932},{"type":16,"tag":24,"props":1246,"children":1248},{"className":1247},[],[1249],{"type":21,"value":1250},"VK_BUFFER_USAGE_2_STORAGE_TEXEL_BUFFER_BIT",{"type":16,"tag":640,"props":1252,"children":1254},{"name":1253},"VUID-VkBufferViewCreateInfo-pNext-08781",[1255],{"type":16,"tag":17,"props":1256,"children":1257},{},[1258,1259,1264,1265,1269,1270,1275,1276,1279,1281,1285,1286,1291,1293,1297,1298,1303,1305,1309,1310,1315,1317],{"type":21,"value":949},{"type":16,"tag":24,"props":1260,"children":1262},{"className":1261},[],[1263],{"type":21,"value":442},{"type":21,"value":1220},{"type":16,"tag":426,"props":1266,"children":1267},{"href":593},[1268],{"type":21,"value":8},{"type":21,"value":1226},{"type":16,"tag":24,"props":1271,"children":1273},{"className":1272},[],[1274],{"type":21,"value":610},{"type":21,"value":653},{"type":16,"tag":585,"props":1277,"children":1278},{"type":656},[],{"type":21,"value":1280}," be a subset of the\n",{"type":16,"tag":426,"props":1282,"children":1283},{"href":615},[1284],{"type":21,"value":618},{"type":21,"value":207},{"type":16,"tag":24,"props":1287,"children":1289},{"className":1288},[],[1290],{"type":21,"value":610},{"type":21,"value":1292}," specified or\n",{"type":16,"tag":426,"props":1294,"children":1295},{"href":593},[1296],{"type":21,"value":8},{"type":21,"value":207},{"type":16,"tag":24,"props":1299,"children":1301},{"className":1300},[],[1302],{"type":21,"value":610},{"type":21,"value":1304}," from\n",{"type":16,"tag":426,"props":1306,"children":1307},{"href":615},[1308],{"type":21,"value":618},{"type":21,"value":207},{"type":16,"tag":24,"props":1311,"children":1313},{"className":1312},[],[1314],{"type":21,"value":442},{"type":21,"value":1316}," when creating ",{"type":16,"tag":24,"props":1318,"children":1320},{"className":1319},[],[1321],{"type":21,"value":472},{"type":16,"tag":640,"props":1323,"children":1325},{"name":1324},"VUID-VkBufferViewCreateInfo-None-12278",[1326],{"type":16,"tag":17,"props":1327,"children":1328},{},[1329,1331,1341,1343,1348,1349,1352,1354,1360,1361,1367,1368,1374,1376],{"type":21,"value":1330},"If\nVulkan 1.3 is not supported and the ",{"type":16,"tag":426,"props":1332,"children":1334},{"href":1333},"\u002Fman\u002FVkPhysicalDeviceYcbcr2Plane444FormatsFeaturesEXT#features-ycbcr2plane444Formats",[1335],{"type":16,"tag":24,"props":1336,"children":1338},{"className":1337},[],[1339],{"type":21,"value":1340},"ycbcr2plane444Formats",{"type":21,"value":1342}," feature is not enabled, ",{"type":16,"tag":24,"props":1344,"children":1346},{"className":1345},[],[1347],{"type":21,"value":490},{"type":21,"value":653},{"type":16,"tag":585,"props":1350,"children":1351},{"type":656},[],{"type":21,"value":1353}," not be ",{"type":16,"tag":24,"props":1355,"children":1357},{"className":1356},[],[1358],{"type":21,"value":1359},"VK_FORMAT_G8_B8R8_2PLANE_444_UNORM",{"type":21,"value":327},{"type":16,"tag":24,"props":1362,"children":1364},{"className":1363},[],[1365],{"type":21,"value":1366},"VK_FORMAT_G10X6_B10X6R10X6_2PLANE_444_UNORM_3PACK16",{"type":21,"value":327},{"type":16,"tag":24,"props":1369,"children":1371},{"className":1370},[],[1372],{"type":21,"value":1373},"VK_FORMAT_G12X4_B12X4R12X4_2PLANE_444_UNORM_3PACK16",{"type":21,"value":1375},", or ",{"type":16,"tag":24,"props":1377,"children":1379},{"className":1378},[],[1380],{"type":21,"value":1381},"VK_FORMAT_G16_B16R16_2PLANE_444_UNORM",{"type":16,"tag":635,"props":1383,"children":1385},{"name":1384},"Valid Usage (Implicit)",[1386,1410,1455,1485,1507,1531],{"type":16,"tag":640,"props":1387,"children":1389},{"name":1388},"VUID-VkBufferViewCreateInfo-sType-sType",[1390],{"type":16,"tag":17,"props":1391,"children":1392},{},[1393,1398,1399,1402,1404],{"type":16,"tag":24,"props":1394,"children":1396},{"className":1395},[],[1397],{"type":21,"value":422},{"type":21,"value":653},{"type":16,"tag":585,"props":1400,"children":1401},{"type":656},[],{"type":21,"value":1403}," be ",{"type":16,"tag":24,"props":1405,"children":1407},{"className":1406},[],[1408],{"type":21,"value":1409},"VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO",{"type":16,"tag":640,"props":1411,"children":1413},{"name":1412},"VUID-VkBufferViewCreateInfo-pNext-pNext",[1414],{"type":16,"tag":17,"props":1415,"children":1416},{},[1417,1419,1424,1426,1431,1433,1436,1438,1443,1445,1449,1451],{"type":21,"value":1418},"Each ",{"type":16,"tag":24,"props":1420,"children":1422},{"className":1421},[],[1423],{"type":21,"value":442},{"type":21,"value":1425}," member of any structure (including this one) in the ",{"type":16,"tag":24,"props":1427,"children":1429},{"className":1428},[],[1430],{"type":21,"value":442},{"type":21,"value":1432}," chain ",{"type":16,"tag":585,"props":1434,"children":1435},{"type":656},[],{"type":21,"value":1437}," be either ",{"type":16,"tag":24,"props":1439,"children":1441},{"className":1440},[],[1442],{"type":21,"value":450},{"type":21,"value":1444}," or a pointer to a valid instance of ",{"type":16,"tag":426,"props":1446,"children":1447},{"href":593},[1448],{"type":21,"value":8},{"type":21,"value":1450}," or ",{"type":16,"tag":426,"props":1452,"children":1453},{"href":1182},[1454],{"type":21,"value":9},{"type":16,"tag":640,"props":1456,"children":1458},{"name":1457},"VUID-VkBufferViewCreateInfo-sType-unique",[1459],{"type":16,"tag":17,"props":1460,"children":1461},{},[1462,1463,1468,1470,1475,1476,1479,1481],{"type":21,"value":22},{"type":16,"tag":24,"props":1464,"children":1466},{"className":1465},[],[1467],{"type":21,"value":422},{"type":21,"value":1469}," value of each structure in the ",{"type":16,"tag":24,"props":1471,"children":1473},{"className":1472},[],[1474],{"type":21,"value":442},{"type":21,"value":1432},{"type":16,"tag":585,"props":1477,"children":1478},{"type":656},[],{"type":21,"value":1480}," be unique, with the exception of structures of type ",{"type":16,"tag":426,"props":1482,"children":1483},{"href":1182},[1484],{"type":21,"value":9},{"type":16,"tag":640,"props":1486,"children":1488},{"name":1487},"VUID-VkBufferViewCreateInfo-flags-zerobitmask",[1489],{"type":16,"tag":17,"props":1490,"children":1491},{},[1492,1497,1498,1501,1502],{"type":16,"tag":24,"props":1493,"children":1495},{"className":1494},[],[1496],{"type":21,"value":461},{"type":21,"value":653},{"type":16,"tag":585,"props":1499,"children":1500},{"type":656},[],{"type":21,"value":1403},{"type":16,"tag":24,"props":1503,"children":1505},{"className":1504},[],[1506],{"type":21,"value":703},{"type":16,"tag":640,"props":1508,"children":1510},{"name":1509},"VUID-VkBufferViewCreateInfo-buffer-parameter",[1511],{"type":16,"tag":17,"props":1512,"children":1513},{},[1514,1519,1520,1523,1525,1529],{"type":16,"tag":24,"props":1515,"children":1517},{"className":1516},[],[1518],{"type":21,"value":472},{"type":21,"value":653},{"type":16,"tag":585,"props":1521,"children":1522},{"type":656},[],{"type":21,"value":1524}," be a valid ",{"type":16,"tag":426,"props":1526,"children":1527},{"href":476},[1528],{"type":21,"value":479},{"type":21,"value":1530}," handle",{"type":16,"tag":640,"props":1532,"children":1534},{"name":1533},"VUID-VkBufferViewCreateInfo-format-parameter",[1535],{"type":16,"tag":17,"props":1536,"children":1537},{},[1538,1543,1544,1547,1548,1552],{"type":16,"tag":24,"props":1539,"children":1541},{"className":1540},[],[1542],{"type":21,"value":490},{"type":21,"value":653},{"type":16,"tag":585,"props":1545,"children":1546},{"type":656},[],{"type":21,"value":1524},{"type":16,"tag":426,"props":1549,"children":1550},{"href":494},[1551],{"type":21,"value":497},{"type":21,"value":1553}," value",{"type":16,"tag":1555,"props":1556,"children":1557},"style",{},[1558],{"type":21,"value":1559},"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":42,"searchDepth":72,"depth":72,"links":1561},[],"markdown",1781265440310]