[{"data":1,"prerenderedAt":662},["ShallowReactive",2],{"T4uDWkKddJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":661,"_id":4},"VkPhysicalDeviceTextureCompressionASTCHDRFeatures","Structure describing ASTC HDR features that can be supported by an implementation","VK_VERSION_1_3","structs",[],{"type":10,"children":11,"toc":659},"root",[12,28,233,238,303,308,562,623,653],{"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\ndefined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,108],{"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 VkPhysicalDeviceTextureCompressionASTCHDRFeatures {\n VkStructureType sType;\n void* pNext;\n VkBool32 textureCompressionASTC_HDR;\n} VkPhysicalDeviceTextureCompressionASTCHDRFeatures;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkPhysicalDeviceTextureCompressionASTCHDRFeatures {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkBool32 textureCompressionASTC_HDR;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107},"} VkPhysicalDeviceTextureCompressionASTCHDRFeatures;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceTextureCompressionASTCHDRFeatures {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n texture_compression_astc_hdr: vk::Bool32,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," PhysicalDeviceTextureCompressionASTCHDRFeatures",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," texture_compression_astc_hdr",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"Bool32",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":14,"props":234,"children":235},{},[236],{"type":18,"value":237},"or the equivalent",{"type":13,"tag":29,"props":239,"children":240},{},[241,260],{"type":13,"tag":33,"props":242,"children":244},{"className":35,"code":243,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceTextureCompressionASTCHDRFeatures VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT;\n",[245],{"type":13,"tag":21,"props":246,"children":247},{"__ignoreMap":39},[248],{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":48},[251,255],{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":55},{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," VkPhysicalDeviceTextureCompressionASTCHDRFeatures VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT;\n",{"type":13,"tag":33,"props":261,"children":263},{"className":110,"code":262,"filename":112,"language":113,"meta":39,"style":39},"type PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT = vk::PhysicalDeviceTextureCompressionASTCHDRFeatures;\n",[264],{"type":13,"tag":21,"props":265,"children":266},{"__ignoreMap":39},[267],{"type":13,"tag":45,"props":268,"children":269},{"class":47,"line":48},[270,275,280,285,289,293,298],{"type":13,"tag":45,"props":271,"children":272},{"style":52},[273],{"type":18,"value":274},"type",{"type":13,"tag":45,"props":276,"children":277},{"style":132},[278],{"type":18,"value":279}," PhysicalDeviceTextureCompressionASTCHDRFeaturesEXT",{"type":13,"tag":45,"props":281,"children":282},{"style":52},[283],{"type":18,"value":284}," =",{"type":13,"tag":45,"props":286,"children":287},{"style":132},[288],{"type":18,"value":158},{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":163},{"type":13,"tag":45,"props":294,"children":295},{"style":132},[296],{"type":18,"value":297},"PhysicalDeviceTextureCompressionASTCHDRFeatures",{"type":13,"tag":45,"props":299,"children":300},{"style":63},[301],{"type":18,"value":302},";\n",{"type":13,"tag":14,"props":304,"children":305},{},[306],{"type":18,"value":307},"This structure describes the following feature:",{"type":13,"tag":309,"props":310,"children":311},"ul",{},[312,333,352],{"type":13,"tag":313,"props":314,"children":315},"li",{},[316,322,324,331],{"type":13,"tag":21,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":321},"sType",{"type":18,"value":323}," is a ",{"type":13,"tag":325,"props":326,"children":328},"a",{"href":327},"/man/VkStructureType",[329],{"type":18,"value":330},"VkStructureType",{"type":18,"value":332}," value identifying this structure.",{"type":13,"tag":313,"props":334,"children":335},{},[336,342,344,350],{"type":13,"tag":21,"props":337,"children":339},{"className":338},[],[340],{"type":18,"value":341},"pNext",{"type":18,"value":343}," is ",{"type":13,"tag":21,"props":345,"children":347},{"className":346},[],[348],{"type":18,"value":349},"NULL",{"type":18,"value":351}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":313,"props":353,"children":354},{},[355,360,366,368,374,375,381,383,389,391,396,398,404,406,535,539,541,547,548,554,556,560],{"type":13,"tag":356,"props":357,"children":359},"anchor",{"id":358},"features-textureCompressionASTC\\_HDR",[],{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"textureCompressionASTC_HDR",{"type":18,"value":367}," indicates whether all of the ASTC HDR\ncompressed texture formats are supported.\nIf this feature is enabled, then the\n",{"type":13,"tag":21,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT",{"type":18,"value":173},{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":380},"VK_FORMAT_FEATURE_BLIT_SRC_BIT",{"type":18,"value":382}," and\n",{"type":13,"tag":21,"props":384,"children":386},{"className":385},[],[387],{"type":18,"value":388},"VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT",{"type":18,"value":390}," features ",{"type":13,"tag":392,"props":393,"children":395},"normative",{"type":394},"must",[],{"type":18,"value":397},"\nbe supported in ",{"type":13,"tag":21,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"optimalTilingFeatures",{"type":18,"value":405}," for the following formats:",{"type":13,"tag":309,"props":407,"children":408},{},[409,418,427,436,445,454,463,472,481,490,499,508,517,526],{"type":13,"tag":313,"props":410,"children":411},{},[412],{"type":13,"tag":21,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK",{"type":13,"tag":313,"props":419,"children":420},{},[421],{"type":13,"tag":21,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK",{"type":13,"tag":313,"props":428,"children":429},{},[430],{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":435},"VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK",{"type":13,"tag":313,"props":437,"children":438},{},[439],{"type":13,"tag":21,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":444},"VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK",{"type":13,"tag":313,"props":446,"children":447},{},[448],{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK",{"type":13,"tag":313,"props":455,"children":456},{},[457],{"type":13,"tag":21,"props":458,"children":460},{"className":459},[],[461],{"type":18,"value":462},"VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK",{"type":13,"tag":313,"props":464,"children":465},{},[466],{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK",{"type":13,"tag":313,"props":473,"children":474},{},[475],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":480},"VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK",{"type":13,"tag":313,"props":482,"children":483},{},[484],{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK",{"type":13,"tag":313,"props":491,"children":492},{},[493],{"type":13,"tag":21,"props":494,"children":496},{"className":495},[],[497],{"type":18,"value":498},"VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK",{"type":13,"tag":313,"props":500,"children":501},{},[502],{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":507},"VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK",{"type":13,"tag":313,"props":509,"children":510},{},[511],{"type":13,"tag":21,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":516},"VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK",{"type":13,"tag":313,"props":518,"children":519},{},[520],{"type":13,"tag":21,"props":521,"children":523},{"className":522},[],[524],{"type":18,"value":525},"VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK",{"type":13,"tag":313,"props":527,"children":528},{},[529],{"type":13,"tag":21,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":534},"VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK",{"type":13,"tag":536,"props":537,"children":538},"br",{},[],{"type":18,"value":540},"To query for additional properties, or if the feature is not enabled,\n",{"type":13,"tag":325,"props":542,"children":544},{"href":543},"/man/vkGetPhysicalDeviceFormatProperties",[545],{"type":18,"value":546},"vkGetPhysicalDeviceFormatProperties",{"type":18,"value":382},{"type":13,"tag":325,"props":549,"children":551},{"href":550},"/man/vkGetPhysicalDeviceImageFormatProperties",[552],{"type":18,"value":553},"vkGetPhysicalDeviceImageFormatProperties",{"type":18,"value":555}," ",{"type":13,"tag":392,"props":557,"children":559},{"type":558},"can",[],{"type":18,"value":561}," be used to check for\nsupported properties of individual formats as normal.",{"type":13,"tag":14,"props":563,"children":564},{},[565,567,572,574,579,581,587,589,595,597,602,603,606,608,613,615,621],{"type":18,"value":566},"If the ",{"type":13,"tag":21,"props":568,"children":570},{"className":569},[],[571],{"type":18,"value":4},{"type":18,"value":573}," structure is included in the ",{"type":13,"tag":21,"props":575,"children":577},{"className":576},[],[578],{"type":18,"value":341},{"type":18,"value":580}," chain of the\n",{"type":13,"tag":325,"props":582,"children":584},{"href":583},"/man/VkPhysicalDeviceFeatures2",[585],{"type":18,"value":586},"VkPhysicalDeviceFeatures2",{"type":18,"value":588}," structure passed to\n",{"type":13,"tag":325,"props":590,"children":592},{"href":591},"/man/vkGetPhysicalDeviceFeatures2",[593],{"type":18,"value":594},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":596},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":21,"props":598,"children":600},{"className":599},[],[601],{"type":18,"value":4},{"type":18,"value":555},{"type":13,"tag":392,"props":604,"children":605},{"type":558},[],{"type":18,"value":607}," also be used in the ",{"type":13,"tag":21,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":341},{"type":18,"value":614}," chain of\n",{"type":13,"tag":325,"props":616,"children":618},{"href":617},"/man/VkDeviceCreateInfo",[619],{"type":18,"value":620},"VkDeviceCreateInfo",{"type":18,"value":622}," to selectively enable these features.",{"type":13,"tag":624,"props":625,"children":627},"validity-group",{"name":626},"Valid Usage (Implicit)",[628],{"type":13,"tag":629,"props":630,"children":632},"validity-field",{"name":631},"VUID-VkPhysicalDeviceTextureCompressionASTCHDRFeatures-sType-sType",[633],{"type":13,"tag":14,"props":634,"children":635},{},[636,641,642,645,647],{"type":13,"tag":21,"props":637,"children":639},{"className":638},[],[640],{"type":18,"value":321},{"type":18,"value":555},{"type":13,"tag":392,"props":643,"children":644},{"type":394},[],{"type":18,"value":646}," be ",{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":652},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES",{"type":13,"tag":654,"props":655,"children":656},"style",{},[657],{"type":18,"value":658},"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":660},[],"markdown",1725732575534]