[{"data":1,"prerenderedAt":736},["ShallowReactive",2],{"$f8oDmrBb-k-HLSMyS3vUoWWxsW9ylHcHUUqnLJxDcGAk":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":735,"_id":4},"VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT","Structure describing ASTC 3D features that can be supported by an implementation","VK_EXT_texture_compression_astc_3d",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":733},"root",[15,31,236,241,614,697,727],{"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\ndefined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,111],{"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 VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT {\n VkStructureType sType;\n void* pNext;\n VkBool32 textureCompressionASTC_3D;\n} VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,93,102],{"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}," VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT {\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],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," void*",{"type":16,"tag":48,"props":89,"children":90},{"style":66},[91],{"type":21,"value":92}," pNext;\n",{"type":16,"tag":48,"props":94,"children":96},{"class":50,"line":95},4,[97],{"type":16,"tag":48,"props":98,"children":99},{"style":66},[100],{"type":21,"value":101}," VkBool32 textureCompressionASTC_3D;\n",{"type":16,"tag":48,"props":103,"children":105},{"class":50,"line":104},5,[106],{"type":16,"tag":48,"props":107,"children":108},{"style":66},[109],{"type":21,"value":110},"} VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT;\n",{"type":16,"tag":36,"props":112,"children":117},{"className":113,"code":114,"filename":115,"language":116,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceTextureCompressionASTC3DFeaturesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n texture_compression_astc_3d: vk::Bool32,\n}\n","Rust","rs",[118],{"type":16,"tag":24,"props":119,"children":120},{"__ignoreMap":42},[121,144,177,199,228],{"type":16,"tag":48,"props":122,"children":123},{"class":50,"line":51},[124,129,133,139],{"type":16,"tag":48,"props":125,"children":126},{"style":55},[127],{"type":21,"value":128},"pub",{"type":16,"tag":48,"props":130,"children":131},{"style":55},[132],{"type":21,"value":63},{"type":16,"tag":48,"props":134,"children":136},{"style":135},"--shiki-default:#953800;--shiki-dark:#FFA657",[137],{"type":21,"value":138}," PhysicalDeviceTextureCompressionASTC3DFeaturesEXT",{"type":16,"tag":48,"props":140,"children":141},{"style":66},[142],{"type":21,"value":143}," {\n",{"type":16,"tag":48,"props":145,"children":146},{"class":50,"line":72},[147,152,157,162,167,172],{"type":16,"tag":48,"props":148,"children":149},{"style":66},[150],{"type":21,"value":151}," s_type",{"type":16,"tag":48,"props":153,"children":154},{"style":55},[155],{"type":21,"value":156},":",{"type":16,"tag":48,"props":158,"children":159},{"style":135},[160],{"type":21,"value":161}," vk",{"type":16,"tag":48,"props":163,"children":164},{"style":55},[165],{"type":21,"value":166},"::",{"type":16,"tag":48,"props":168,"children":169},{"style":135},[170],{"type":21,"value":171},"StructureType",{"type":16,"tag":48,"props":173,"children":174},{"style":66},[175],{"type":21,"value":176},",\n",{"type":16,"tag":48,"props":178,"children":179},{"class":50,"line":81},[180,185,189,194],{"type":16,"tag":48,"props":181,"children":182},{"style":66},[183],{"type":21,"value":184}," p_next",{"type":16,"tag":48,"props":186,"children":187},{"style":55},[188],{"type":21,"value":156},{"type":16,"tag":48,"props":190,"children":191},{"style":55},[192],{"type":21,"value":193}," *mut",{"type":16,"tag":48,"props":195,"children":196},{"style":66},[197],{"type":21,"value":198}," c_void,\n",{"type":16,"tag":48,"props":200,"children":201},{"class":50,"line":95},[202,207,211,215,219,224],{"type":16,"tag":48,"props":203,"children":204},{"style":66},[205],{"type":21,"value":206}," texture_compression_astc_3d",{"type":16,"tag":48,"props":208,"children":209},{"style":55},[210],{"type":21,"value":156},{"type":16,"tag":48,"props":212,"children":213},{"style":135},[214],{"type":21,"value":161},{"type":16,"tag":48,"props":216,"children":217},{"style":55},[218],{"type":21,"value":166},{"type":16,"tag":48,"props":220,"children":221},{"style":135},[222],{"type":21,"value":223},"Bool32",{"type":16,"tag":48,"props":225,"children":226},{"style":66},[227],{"type":21,"value":176},{"type":16,"tag":48,"props":229,"children":230},{"class":50,"line":104},[231],{"type":16,"tag":48,"props":232,"children":233},{"style":66},[234],{"type":21,"value":235},"}\n",{"type":16,"tag":17,"props":237,"children":238},{},[239],{"type":21,"value":240},"This structure describes the following feature:",{"type":16,"tag":242,"props":243,"children":244},"ul",{},[245,266,285],{"type":16,"tag":246,"props":247,"children":248},"li",{},[249,255,257,264],{"type":16,"tag":24,"props":250,"children":252},{"className":251},[],[253],{"type":21,"value":254},"sType",{"type":21,"value":256}," is a ",{"type":16,"tag":258,"props":259,"children":261},"a",{"href":260},"/man/VkStructureType",[262],{"type":21,"value":263},"VkStructureType",{"type":21,"value":265}," value identifying this structure.",{"type":16,"tag":246,"props":267,"children":268},{},[269,275,277,283],{"type":16,"tag":24,"props":270,"children":272},{"className":271},[],[273],{"type":21,"value":274},"pNext",{"type":21,"value":276}," is ",{"type":16,"tag":24,"props":278,"children":280},{"className":279},[],[281],{"type":21,"value":282},"NULL",{"type":21,"value":284}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":246,"props":286,"children":287},{},[288,293,295,301,303,309,310,316,318,324,326,331,333,339,341],{"type":16,"tag":289,"props":290,"children":292},"anchor",{"id":291},"features-textureCompressionASTC\\_3D",[],{"type":21,"value":294}," ",{"type":16,"tag":24,"props":296,"children":298},{"className":297},[],[299],{"type":21,"value":300},"textureCompressionASTC_3D",{"type":21,"value":302},"\nindicates whether all of the ASTC 3D compressed texture formats are\nsupported.\nIf this feature is enabled, then the\n",{"type":16,"tag":24,"props":304,"children":306},{"className":305},[],[307],{"type":21,"value":308},"VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT",{"type":21,"value":176},{"type":16,"tag":24,"props":311,"children":313},{"className":312},[],[314],{"type":21,"value":315},"VK_FORMAT_FEATURE_BLIT_SRC_BIT",{"type":21,"value":317}," and\n",{"type":16,"tag":24,"props":319,"children":321},{"className":320},[],[322],{"type":21,"value":323},"VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT",{"type":21,"value":325}," features ",{"type":16,"tag":327,"props":328,"children":330},"normative",{"type":329},"must",[],{"type":21,"value":332},"\nbe supported in ",{"type":16,"tag":24,"props":334,"children":336},{"className":335},[],[337],{"type":21,"value":338},"optimalTilingFeatures",{"type":21,"value":340}," for the following formats:",{"type":16,"tag":242,"props":342,"children":343},{},[344,353,362,371,380,389,398,407,416,425,434,443,452,461,470,479,488,497,506,515,524,533,542,551,560,569,578,587,596,605],{"type":16,"tag":246,"props":345,"children":346},{},[347],{"type":16,"tag":24,"props":348,"children":350},{"className":349},[],[351],{"type":21,"value":352},"VK_FORMAT_ASTC_3x3x3_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":354,"children":355},{},[356],{"type":16,"tag":24,"props":357,"children":359},{"className":358},[],[360],{"type":21,"value":361},"VK_FORMAT_ASTC_3x3x3_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":363,"children":364},{},[365],{"type":16,"tag":24,"props":366,"children":368},{"className":367},[],[369],{"type":21,"value":370},"VK_FORMAT_ASTC_3x3x3_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":372,"children":373},{},[374],{"type":16,"tag":24,"props":375,"children":377},{"className":376},[],[378],{"type":21,"value":379},"VK_FORMAT_ASTC_4x3x3_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":381,"children":382},{},[383],{"type":16,"tag":24,"props":384,"children":386},{"className":385},[],[387],{"type":21,"value":388},"VK_FORMAT_ASTC_4x3x3_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":390,"children":391},{},[392],{"type":16,"tag":24,"props":393,"children":395},{"className":394},[],[396],{"type":21,"value":397},"VK_FORMAT_ASTC_4x3x3_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":399,"children":400},{},[401],{"type":16,"tag":24,"props":402,"children":404},{"className":403},[],[405],{"type":21,"value":406},"VK_FORMAT_ASTC_4x4x3_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":408,"children":409},{},[410],{"type":16,"tag":24,"props":411,"children":413},{"className":412},[],[414],{"type":21,"value":415},"VK_FORMAT_ASTC_4x4x3_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":417,"children":418},{},[419],{"type":16,"tag":24,"props":420,"children":422},{"className":421},[],[423],{"type":21,"value":424},"VK_FORMAT_ASTC_4x4x3_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":426,"children":427},{},[428],{"type":16,"tag":24,"props":429,"children":431},{"className":430},[],[432],{"type":21,"value":433},"VK_FORMAT_ASTC_4x4x4_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":435,"children":436},{},[437],{"type":16,"tag":24,"props":438,"children":440},{"className":439},[],[441],{"type":21,"value":442},"VK_FORMAT_ASTC_4x4x4_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":444,"children":445},{},[446],{"type":16,"tag":24,"props":447,"children":449},{"className":448},[],[450],{"type":21,"value":451},"VK_FORMAT_ASTC_4x4x4_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":453,"children":454},{},[455],{"type":16,"tag":24,"props":456,"children":458},{"className":457},[],[459],{"type":21,"value":460},"VK_FORMAT_ASTC_5x4x4_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":462,"children":463},{},[464],{"type":16,"tag":24,"props":465,"children":467},{"className":466},[],[468],{"type":21,"value":469},"VK_FORMAT_ASTC_5x4x4_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":471,"children":472},{},[473],{"type":16,"tag":24,"props":474,"children":476},{"className":475},[],[477],{"type":21,"value":478},"VK_FORMAT_ASTC_5x4x4_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":480,"children":481},{},[482],{"type":16,"tag":24,"props":483,"children":485},{"className":484},[],[486],{"type":21,"value":487},"VK_FORMAT_ASTC_5x5x4_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":489,"children":490},{},[491],{"type":16,"tag":24,"props":492,"children":494},{"className":493},[],[495],{"type":21,"value":496},"VK_FORMAT_ASTC_5x5x4_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":498,"children":499},{},[500],{"type":16,"tag":24,"props":501,"children":503},{"className":502},[],[504],{"type":21,"value":505},"VK_FORMAT_ASTC_5x5x4_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":507,"children":508},{},[509],{"type":16,"tag":24,"props":510,"children":512},{"className":511},[],[513],{"type":21,"value":514},"VK_FORMAT_ASTC_5x5x5_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":516,"children":517},{},[518],{"type":16,"tag":24,"props":519,"children":521},{"className":520},[],[522],{"type":21,"value":523},"VK_FORMAT_ASTC_5x5x5_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":525,"children":526},{},[527],{"type":16,"tag":24,"props":528,"children":530},{"className":529},[],[531],{"type":21,"value":532},"VK_FORMAT_ASTC_5x5x5_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":534,"children":535},{},[536],{"type":16,"tag":24,"props":537,"children":539},{"className":538},[],[540],{"type":21,"value":541},"VK_FORMAT_ASTC_6x5x5_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":543,"children":544},{},[545],{"type":16,"tag":24,"props":546,"children":548},{"className":547},[],[549],{"type":21,"value":550},"VK_FORMAT_ASTC_6x5x5_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":552,"children":553},{},[554],{"type":16,"tag":24,"props":555,"children":557},{"className":556},[],[558],{"type":21,"value":559},"VK_FORMAT_ASTC_6x5x5_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":561,"children":562},{},[563],{"type":16,"tag":24,"props":564,"children":566},{"className":565},[],[567],{"type":21,"value":568},"VK_FORMAT_ASTC_6x6x5_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":570,"children":571},{},[572],{"type":16,"tag":24,"props":573,"children":575},{"className":574},[],[576],{"type":21,"value":577},"VK_FORMAT_ASTC_6x6x5_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":579,"children":580},{},[581],{"type":16,"tag":24,"props":582,"children":584},{"className":583},[],[585],{"type":21,"value":586},"VK_FORMAT_ASTC_6x6x5_SFLOAT_BLOCK_EXT",{"type":16,"tag":246,"props":588,"children":589},{},[590],{"type":16,"tag":24,"props":591,"children":593},{"className":592},[],[594],{"type":21,"value":595},"VK_FORMAT_ASTC_6x6x6_UNORM_BLOCK_EXT",{"type":16,"tag":246,"props":597,"children":598},{},[599],{"type":16,"tag":24,"props":600,"children":602},{"className":601},[],[603],{"type":21,"value":604},"VK_FORMAT_ASTC_6x6x6_SRGB_BLOCK_EXT",{"type":16,"tag":246,"props":606,"children":607},{},[608],{"type":16,"tag":24,"props":609,"children":611},{"className":610},[],[612],{"type":21,"value":613},"VK_FORMAT_ASTC_6x6x6_SFLOAT_BLOCK_EXT",{"type":16,"tag":17,"props":615,"children":616},{},[617,619,625,627,632,634,639,641,647,649,655,657,662,664,667,669,675,677,682,684,689,691,695],{"type":21,"value":618},"If the ",{"type":16,"tag":24,"props":620,"children":622},{"className":621},[],[623],{"type":21,"value":624},"VkPhysicalDeviceTextureCompressionASTC3DFeatures",{"type":21,"value":626}," structure is included in the ",{"type":16,"tag":24,"props":628,"children":630},{"className":629},[],[631],{"type":21,"value":274},{"type":21,"value":633}," chain of the\n",{"type":16,"tag":258,"props":635,"children":637},{"href":636},"/man/VkPhysicalDeviceFeatures2",[638],{"type":21,"value":8},{"type":21,"value":640}," structure passed to\n",{"type":16,"tag":258,"props":642,"children":644},{"href":643},"/man/vkGetPhysicalDeviceFeatures2",[645],{"type":21,"value":646},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":648},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":258,"props":650,"children":652},{"href":651},"/man/VkDevice",[653],{"type":21,"value":654},"VkDevice",{"type":21,"value":656}," with any features\ndescribed by ",{"type":16,"tag":24,"props":658,"children":660},{"className":659},[],[661],{"type":21,"value":624},{"type":21,"value":663},", it ",{"type":16,"tag":327,"props":665,"children":666},{"type":329},[],{"type":21,"value":668}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":670,"children":672},{"className":671},[],[673],{"type":21,"value":674},"VK_TRUE",{"type":21,"value":676},", to the ",{"type":16,"tag":24,"props":678,"children":680},{"className":679},[],[681],{"type":21,"value":274},{"type":21,"value":683},"\nchain of ",{"type":16,"tag":258,"props":685,"children":687},{"href":686},"/man/VkDeviceCreateInfo",[688],{"type":21,"value":9},{"type":21,"value":690}," when creating the ",{"type":16,"tag":258,"props":692,"children":693},{"href":651},[694],{"type":21,"value":654},{"type":21,"value":696},".",{"type":16,"tag":698,"props":699,"children":701},"validity-group",{"name":700},"Valid Usage (Implicit)",[702],{"type":16,"tag":703,"props":704,"children":706},"validity-field",{"name":705},"VUID-VkPhysicalDeviceTextureCompressionASTC3DFeaturesEXT-sType-sType",[707],{"type":16,"tag":17,"props":708,"children":709},{},[710,715,716,719,721],{"type":16,"tag":24,"props":711,"children":713},{"className":712},[],[714],{"type":21,"value":254},{"type":21,"value":294},{"type":16,"tag":327,"props":717,"children":718},{"type":329},[],{"type":21,"value":720}," be ",{"type":16,"tag":24,"props":722,"children":724},{"className":723},[],[725],{"type":21,"value":726},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_3D_FEATURES_EXT",{"type":16,"tag":728,"props":729,"children":730},"style",{},[731],{"type":21,"value":732},"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":734},[],"markdown",1773121603313]