[{"data":1,"prerenderedAt":628},["ShallowReactive",2],{"cmMWEJk445":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":627,"_id":4},"VkImageCompressionControlEXT","Specify image compression properties","VK_EXT_image_compression_control","structs",[],{"type":10,"children":11,"toc":625},"root",[12,45,57,355,474,491,582,610,619],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43],{"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}," list of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkImageCreateInfo",[34],{"type":18,"value":35},"VkImageCreateInfo",{"type":18,"value":37}," includes a\n",{"type":13,"tag":21,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then that structure describes\ncompression controls for this image.",{"type":13,"tag":14,"props":46,"children":47},{},[48,50,55],{"type":18,"value":49},"The ",{"type":13,"tag":21,"props":51,"children":53},{"className":52},[],[54],{"type":18,"value":4},{"type":18,"value":56}," structure is defined as:",{"type":13,"tag":58,"props":59,"children":60},"code-group",{},[61,175],{"type":13,"tag":62,"props":63,"children":69},"pre",{"className":64,"code":65,"filename":66,"language":67,"meta":68,"style":68},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImageCompressionControlEXT {\n VkStructureType sType;\n const void* pNext;\n VkImageCompressionFlagsEXT flags;\n uint32_t compressionControlPlaneCount;\n VkImageCompressionFixedRateFlagsEXT* pFixedRateFlags;\n} VkImageCompressionControlEXT;\n","C","c","",[70],{"type":13,"tag":21,"props":71,"children":72},{"__ignoreMap":68},[73,96,105,124,133,147,166],{"type":13,"tag":74,"props":75,"children":78},"span",{"class":76,"line":77},"line",1,[79,85,90],{"type":13,"tag":74,"props":80,"children":82},{"style":81},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[83],{"type":18,"value":84},"typedef",{"type":13,"tag":74,"props":86,"children":87},{"style":81},[88],{"type":18,"value":89}," struct",{"type":13,"tag":74,"props":91,"children":93},{"style":92},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[94],{"type":18,"value":95}," VkImageCompressionControlEXT {\n",{"type":13,"tag":74,"props":97,"children":99},{"class":76,"line":98},2,[100],{"type":13,"tag":74,"props":101,"children":102},{"style":92},[103],{"type":18,"value":104}," VkStructureType sType;\n",{"type":13,"tag":74,"props":106,"children":108},{"class":76,"line":107},3,[109,114,119],{"type":13,"tag":74,"props":110,"children":111},{"style":81},[112],{"type":18,"value":113}," const",{"type":13,"tag":74,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," void*",{"type":13,"tag":74,"props":120,"children":121},{"style":92},[122],{"type":18,"value":123}," pNext;\n",{"type":13,"tag":74,"props":125,"children":127},{"class":76,"line":126},4,[128],{"type":13,"tag":74,"props":129,"children":130},{"style":92},[131],{"type":18,"value":132}," VkImageCompressionFlagsEXT flags;\n",{"type":13,"tag":74,"props":134,"children":136},{"class":76,"line":135},5,[137,142],{"type":13,"tag":74,"props":138,"children":139},{"style":81},[140],{"type":18,"value":141}," uint32_t",{"type":13,"tag":74,"props":143,"children":144},{"style":92},[145],{"type":18,"value":146}," compressionControlPlaneCount;\n",{"type":13,"tag":74,"props":148,"children":150},{"class":76,"line":149},6,[151,156,161],{"type":13,"tag":74,"props":152,"children":153},{"style":92},[154],{"type":18,"value":155}," VkImageCompressionFixedRateFlagsEXT",{"type":13,"tag":74,"props":157,"children":158},{"style":81},[159],{"type":18,"value":160},"*",{"type":13,"tag":74,"props":162,"children":163},{"style":92},[164],{"type":18,"value":165}," pFixedRateFlags;\n",{"type":13,"tag":74,"props":167,"children":169},{"class":76,"line":168},7,[170],{"type":13,"tag":74,"props":171,"children":172},{"style":92},[173],{"type":18,"value":174},"} VkImageCompressionControlEXT;\n",{"type":13,"tag":62,"props":176,"children":181},{"className":177,"code":178,"filename":179,"language":180,"meta":68,"style":68},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageCompressionControlEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::ImageCompressionFlagsEXT,\n compression_control_plane_count: u32,\n p_fixed_rate_flags: *mut vk::ImageCompressionFixedRateFlagsEXT,\n}\n","Rust","rs",[182],{"type":13,"tag":21,"props":183,"children":184},{"__ignoreMap":68},[185,208,241,263,292,313,347],{"type":13,"tag":74,"props":186,"children":187},{"class":76,"line":77},[188,193,197,203],{"type":13,"tag":74,"props":189,"children":190},{"style":81},[191],{"type":18,"value":192},"pub",{"type":13,"tag":74,"props":194,"children":195},{"style":81},[196],{"type":18,"value":89},{"type":13,"tag":74,"props":198,"children":200},{"style":199},"--shiki-default:#953800;--shiki-dark:#FFA657",[201],{"type":18,"value":202}," ImageCompressionControlEXT",{"type":13,"tag":74,"props":204,"children":205},{"style":92},[206],{"type":18,"value":207}," {\n",{"type":13,"tag":74,"props":209,"children":210},{"class":76,"line":98},[211,216,221,226,231,236],{"type":13,"tag":74,"props":212,"children":213},{"style":92},[214],{"type":18,"value":215}," s_type",{"type":13,"tag":74,"props":217,"children":218},{"style":81},[219],{"type":18,"value":220},":",{"type":13,"tag":74,"props":222,"children":223},{"style":199},[224],{"type":18,"value":225}," vk",{"type":13,"tag":74,"props":227,"children":228},{"style":81},[229],{"type":18,"value":230},"::",{"type":13,"tag":74,"props":232,"children":233},{"style":199},[234],{"type":18,"value":235},"StructureType",{"type":13,"tag":74,"props":237,"children":238},{"style":92},[239],{"type":18,"value":240},",\n",{"type":13,"tag":74,"props":242,"children":243},{"class":76,"line":107},[244,249,253,258],{"type":13,"tag":74,"props":245,"children":246},{"style":92},[247],{"type":18,"value":248}," p_next",{"type":13,"tag":74,"props":250,"children":251},{"style":81},[252],{"type":18,"value":220},{"type":13,"tag":74,"props":254,"children":255},{"style":81},[256],{"type":18,"value":257}," *const",{"type":13,"tag":74,"props":259,"children":260},{"style":92},[261],{"type":18,"value":262}," c_void,\n",{"type":13,"tag":74,"props":264,"children":265},{"class":76,"line":126},[266,271,275,279,283,288],{"type":13,"tag":74,"props":267,"children":268},{"style":92},[269],{"type":18,"value":270}," flags",{"type":13,"tag":74,"props":272,"children":273},{"style":81},[274],{"type":18,"value":220},{"type":13,"tag":74,"props":276,"children":277},{"style":199},[278],{"type":18,"value":225},{"type":13,"tag":74,"props":280,"children":281},{"style":81},[282],{"type":18,"value":230},{"type":13,"tag":74,"props":284,"children":285},{"style":199},[286],{"type":18,"value":287},"ImageCompressionFlagsEXT",{"type":13,"tag":74,"props":289,"children":290},{"style":92},[291],{"type":18,"value":240},{"type":13,"tag":74,"props":293,"children":294},{"class":76,"line":135},[295,300,304,309],{"type":13,"tag":74,"props":296,"children":297},{"style":92},[298],{"type":18,"value":299}," compression_control_plane_count",{"type":13,"tag":74,"props":301,"children":302},{"style":81},[303],{"type":18,"value":220},{"type":13,"tag":74,"props":305,"children":306},{"style":199},[307],{"type":18,"value":308}," u32",{"type":13,"tag":74,"props":310,"children":311},{"style":92},[312],{"type":18,"value":240},{"type":13,"tag":74,"props":314,"children":315},{"class":76,"line":149},[316,321,325,330,334,338,343],{"type":13,"tag":74,"props":317,"children":318},{"style":92},[319],{"type":18,"value":320}," p_fixed_rate_flags",{"type":13,"tag":74,"props":322,"children":323},{"style":81},[324],{"type":18,"value":220},{"type":13,"tag":74,"props":326,"children":327},{"style":81},[328],{"type":18,"value":329}," *mut",{"type":13,"tag":74,"props":331,"children":332},{"style":199},[333],{"type":18,"value":225},{"type":13,"tag":74,"props":335,"children":336},{"style":81},[337],{"type":18,"value":230},{"type":13,"tag":74,"props":339,"children":340},{"style":199},[341],{"type":18,"value":342},"ImageCompressionFixedRateFlagsEXT",{"type":13,"tag":74,"props":344,"children":345},{"style":92},[346],{"type":18,"value":240},{"type":13,"tag":74,"props":348,"children":349},{"class":76,"line":168},[350],{"type":13,"tag":74,"props":351,"children":352},{"style":92},[353],{"type":18,"value":354},"}\n",{"type":13,"tag":356,"props":357,"children":358},"ul",{},[359,379,397,416,435],{"type":13,"tag":360,"props":361,"children":362},"li",{},[363,369,371,377],{"type":13,"tag":21,"props":364,"children":366},{"className":365},[],[367],{"type":18,"value":368},"sType",{"type":18,"value":370}," is a ",{"type":13,"tag":30,"props":372,"children":374},{"href":373},"/man/VkStructureType",[375],{"type":18,"value":376},"VkStructureType",{"type":18,"value":378}," value identifying this structure.",{"type":13,"tag":360,"props":380,"children":381},{},[382,387,389,395],{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":26},{"type":18,"value":388}," is ",{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"NULL",{"type":18,"value":396}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":360,"props":398,"children":399},{},[400,406,408,414],{"type":13,"tag":21,"props":401,"children":403},{"className":402},[],[404],{"type":18,"value":405},"flags",{"type":18,"value":407}," is a bitmask of ",{"type":13,"tag":30,"props":409,"children":411},{"href":410},"/man/VkImageCompressionFlagBitsEXT",[412],{"type":18,"value":413},"VkImageCompressionFlagBitsEXT",{"type":18,"value":415},"\ndescribing compression controls for the image.",{"type":13,"tag":360,"props":417,"children":418},{},[419,425,427,433],{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":424},"compressionControlPlaneCount",{"type":18,"value":426}," is the number of entries in the\n",{"type":13,"tag":21,"props":428,"children":430},{"className":429},[],[431],{"type":18,"value":432},"pFixedRateFlags",{"type":18,"value":434}," array.",{"type":13,"tag":360,"props":436,"children":437},{},[438,443,444,449,451,457,459,464,466,472],{"type":13,"tag":21,"props":439,"children":441},{"className":440},[],[442],{"type":18,"value":432},{"type":18,"value":388},{"type":13,"tag":21,"props":445,"children":447},{"className":446},[],[448],{"type":18,"value":394},{"type":18,"value":450}," or a pointer to an array of\n",{"type":13,"tag":30,"props":452,"children":454},{"href":453},"/man/VkImageCompressionFixedRateFlagsEXT",[455],{"type":18,"value":456},"VkImageCompressionFixedRateFlagsEXT",{"type":18,"value":458}," bitfields describing allowed\nfixed-rate compression rates of each image plane.\nIt is ignored if ",{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":405},{"type":18,"value":465}," does not include\n",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT",{"type":18,"value":473},".",{"type":13,"tag":14,"props":475,"children":476},{},[477,479,484,486,489],{"type":18,"value":478},"If enabled, fixed-rate compression is done in an implementation-defined\nmanner and ",{"type":13,"tag":480,"props":481,"children":483},"normative",{"type":482},"may",[],{"type":18,"value":485}," be applied at block granularity.\nIn that case, a write to an individual texel ",{"type":13,"tag":480,"props":487,"children":488},{"type":482},[],{"type":18,"value":490}," modify the value of other\ntexels in the same block.",{"type":13,"tag":492,"props":493,"children":495},"validity-group",{"name":494},"Valid Usage",[496,544],{"type":13,"tag":497,"props":498,"children":500},"validity-field",{"name":499},"VUID-VkImageCompressionControlEXT-flags-06747",[501],{"type":13,"tag":14,"props":502,"children":503},{},[504,509,511,515,517,523,524,530,531,536,538],{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":405},{"type":18,"value":510}," ",{"type":13,"tag":480,"props":512,"children":514},{"type":513},"must",[],{"type":18,"value":516}," be one of ",{"type":13,"tag":21,"props":518,"children":520},{"className":519},[],[521],{"type":18,"value":522},"VK_IMAGE_COMPRESSION_DEFAULT_EXT",{"type":18,"value":240},{"type":13,"tag":21,"props":525,"children":527},{"className":526},[],[528],{"type":18,"value":529},"VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT",{"type":18,"value":240},{"type":13,"tag":21,"props":532,"children":534},{"className":533},[],[535],{"type":18,"value":471},{"type":18,"value":537},", or\n",{"type":13,"tag":21,"props":539,"children":541},{"className":540},[],[542],{"type":18,"value":543},"VK_IMAGE_COMPRESSION_DISABLED_EXT",{"type":13,"tag":497,"props":545,"children":547},{"name":546},"VUID-VkImageCompressionControlEXT-flags-06748",[548],{"type":13,"tag":14,"props":549,"children":550},{},[551,553,558,560,565,566,571,572,575,577],{"type":18,"value":552},"If ",{"type":13,"tag":21,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":405},{"type":18,"value":559}," includes\n",{"type":13,"tag":21,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":471},{"type":18,"value":240},{"type":13,"tag":21,"props":567,"children":569},{"className":568},[],[570],{"type":18,"value":432},{"type":18,"value":510},{"type":13,"tag":480,"props":573,"children":574},{"type":513},[],{"type":18,"value":576}," not be ",{"type":13,"tag":21,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":394},{"type":13,"tag":492,"props":583,"children":585},{"name":584},"Valid Usage (Implicit)",[586],{"type":13,"tag":497,"props":587,"children":589},{"name":588},"VUID-VkImageCompressionControlEXT-sType-sType",[590],{"type":13,"tag":14,"props":591,"children":592},{},[593,598,599,602,604],{"type":13,"tag":21,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":368},{"type":18,"value":510},{"type":13,"tag":480,"props":600,"children":601},{"type":513},[],{"type":18,"value":603}," be ",{"type":13,"tag":21,"props":605,"children":607},{"className":606},[],[608],{"type":18,"value":609},"VK_STRUCTURE_TYPE_IMAGE_COMPRESSION_CONTROL_EXT",{"type":13,"tag":611,"props":612,"children":613},"note",{},[614],{"type":13,"tag":14,"props":615,"children":616},{},[617],{"type":18,"value":618},"Some combinations of compression properties may not be supported.\nFor example, some implementations may not support different fixed-rate\ncompression rates per plane of a multi-planar format and will not be able to\nenable fixed-rate compression for any plane if the requested rates differ.",{"type":13,"tag":620,"props":621,"children":622},"style",{},[623],{"type":18,"value":624},"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":68,"searchDepth":98,"depth":98,"links":626},[],"markdown",1729612451521]