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