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