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