[{"data":1,"prerenderedAt":591},["ShallowReactive",2],{"ibWQLjO62S":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":590,"_id":4},"VkImageCompressionFlagBitsEXT","Bitmask specifying image compression controls","VK_EXT_image_compression_control","enums",[],{"type":10,"children":11,"toc":588},"root",[12,38,413,499,555,582],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkImageCompressionControlEXT",[25],{"type":18,"value":26},"VkImageCompressionControlEXT",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"flags",{"type":18,"value":37},",\nspecifying compression controls for an image, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,190],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkImageCompressionFlagBitsEXT {\n VK_IMAGE_COMPRESSION_DEFAULT_EXT = 0,\n VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT = 0x00000001,\n VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT = 0x00000002,\n VK_IMAGE_COMPRESSION_DISABLED_EXT = 0x00000004,\n} VkImageCompressionFlagBitsEXT;\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,102,129,155,181],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":68},{"style":62},[69],{"type":18,"value":70}," enum",{"type":13,"tag":55,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":18,"value":76}," VkImageCompressionFlagBitsEXT {\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81,86,91,97],{"type":13,"tag":55,"props":82,"children":83},{"style":73},[84],{"type":18,"value":85}," VK_IMAGE_COMPRESSION_DEFAULT_EXT ",{"type":13,"tag":55,"props":87,"children":88},{"style":62},[89],{"type":18,"value":90},"=",{"type":13,"tag":55,"props":92,"children":94},{"style":93},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[95],{"type":18,"value":96}," 0",{"type":13,"tag":55,"props":98,"children":99},{"style":73},[100],{"type":18,"value":101},",\n",{"type":13,"tag":55,"props":103,"children":105},{"class":57,"line":104},3,[106,111,115,120,125],{"type":13,"tag":55,"props":107,"children":108},{"style":73},[109],{"type":18,"value":110}," VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT ",{"type":13,"tag":55,"props":112,"children":113},{"style":62},[114],{"type":18,"value":90},{"type":13,"tag":55,"props":116,"children":117},{"style":62},[118],{"type":18,"value":119}," 0x",{"type":13,"tag":55,"props":121,"children":122},{"style":93},[123],{"type":18,"value":124},"00000001",{"type":13,"tag":55,"props":126,"children":127},{"style":73},[128],{"type":18,"value":101},{"type":13,"tag":55,"props":130,"children":132},{"class":57,"line":131},4,[133,138,142,146,151],{"type":13,"tag":55,"props":134,"children":135},{"style":73},[136],{"type":18,"value":137}," VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT ",{"type":13,"tag":55,"props":139,"children":140},{"style":62},[141],{"type":18,"value":90},{"type":13,"tag":55,"props":143,"children":144},{"style":62},[145],{"type":18,"value":119},{"type":13,"tag":55,"props":147,"children":148},{"style":93},[149],{"type":18,"value":150},"00000002",{"type":13,"tag":55,"props":152,"children":153},{"style":73},[154],{"type":18,"value":101},{"type":13,"tag":55,"props":156,"children":158},{"class":57,"line":157},5,[159,164,168,172,177],{"type":13,"tag":55,"props":160,"children":161},{"style":73},[162],{"type":18,"value":163}," VK_IMAGE_COMPRESSION_DISABLED_EXT ",{"type":13,"tag":55,"props":165,"children":166},{"style":62},[167],{"type":18,"value":90},{"type":13,"tag":55,"props":169,"children":170},{"style":62},[171],{"type":18,"value":119},{"type":13,"tag":55,"props":173,"children":174},{"style":93},[175],{"type":18,"value":176},"00000004",{"type":13,"tag":55,"props":178,"children":179},{"style":73},[180],{"type":18,"value":101},{"type":13,"tag":55,"props":182,"children":184},{"class":57,"line":183},6,[185],{"type":13,"tag":55,"props":186,"children":187},{"style":73},[188],{"type":18,"value":189},"} VkImageCompressionFlagBitsEXT;\n",{"type":13,"tag":43,"props":191,"children":196},{"className":192,"code":193,"filename":194,"language":195,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageCompressionFlagBitsEXT(u32);\nimpl ImageCompressionFlagBitsEXT {\n pub const DEFAULT: Self = 0;\n pub const FIXED_RATE_DEFAULT: Self = 0x00000001;\n pub const FIXED_RATE_EXPLICIT: Self = 0x00000002;\n pub const DISABLED: Self = 0x00000004;\n}\n","Rust","rs",[197],{"type":13,"tag":30,"props":198,"children":199},{"__ignoreMap":49},[200,234,251,293,330,367,404],{"type":13,"tag":55,"props":201,"children":202},{"class":57,"line":58},[203,208,213,219,224,229],{"type":13,"tag":55,"props":204,"children":205},{"style":62},[206],{"type":18,"value":207},"pub",{"type":13,"tag":55,"props":209,"children":210},{"style":62},[211],{"type":18,"value":212}," struct",{"type":13,"tag":55,"props":214,"children":216},{"style":215},"--shiki-default:#953800;--shiki-dark:#FFA657",[217],{"type":18,"value":218}," ImageCompressionFlagBitsEXT",{"type":13,"tag":55,"props":220,"children":221},{"style":73},[222],{"type":18,"value":223},"(",{"type":13,"tag":55,"props":225,"children":226},{"style":215},[227],{"type":18,"value":228},"u32",{"type":13,"tag":55,"props":230,"children":231},{"style":73},[232],{"type":18,"value":233},");\n",{"type":13,"tag":55,"props":235,"children":236},{"class":57,"line":79},[237,242,246],{"type":13,"tag":55,"props":238,"children":239},{"style":62},[240],{"type":18,"value":241},"impl",{"type":13,"tag":55,"props":243,"children":244},{"style":215},[245],{"type":18,"value":218},{"type":13,"tag":55,"props":247,"children":248},{"style":73},[249],{"type":18,"value":250}," {\n",{"type":13,"tag":55,"props":252,"children":253},{"class":57,"line":104},[254,259,264,269,274,279,284,288],{"type":13,"tag":55,"props":255,"children":256},{"style":62},[257],{"type":18,"value":258}," pub",{"type":13,"tag":55,"props":260,"children":261},{"style":62},[262],{"type":18,"value":263}," const",{"type":13,"tag":55,"props":265,"children":266},{"style":93},[267],{"type":18,"value":268}," DEFAULT",{"type":13,"tag":55,"props":270,"children":271},{"style":62},[272],{"type":18,"value":273},":",{"type":13,"tag":55,"props":275,"children":276},{"style":93},[277],{"type":18,"value":278}," Self",{"type":13,"tag":55,"props":280,"children":281},{"style":62},[282],{"type":18,"value":283}," =",{"type":13,"tag":55,"props":285,"children":286},{"style":93},[287],{"type":18,"value":96},{"type":13,"tag":55,"props":289,"children":290},{"style":73},[291],{"type":18,"value":292},";\n",{"type":13,"tag":55,"props":294,"children":295},{"class":57,"line":131},[296,300,304,309,313,317,321,326],{"type":13,"tag":55,"props":297,"children":298},{"style":62},[299],{"type":18,"value":258},{"type":13,"tag":55,"props":301,"children":302},{"style":62},[303],{"type":18,"value":263},{"type":13,"tag":55,"props":305,"children":306},{"style":93},[307],{"type":18,"value":308}," FIXED_RATE_DEFAULT",{"type":13,"tag":55,"props":310,"children":311},{"style":62},[312],{"type":18,"value":273},{"type":13,"tag":55,"props":314,"children":315},{"style":93},[316],{"type":18,"value":278},{"type":13,"tag":55,"props":318,"children":319},{"style":62},[320],{"type":18,"value":283},{"type":13,"tag":55,"props":322,"children":323},{"style":93},[324],{"type":18,"value":325}," 0x00000001",{"type":13,"tag":55,"props":327,"children":328},{"style":73},[329],{"type":18,"value":292},{"type":13,"tag":55,"props":331,"children":332},{"class":57,"line":157},[333,337,341,346,350,354,358,363],{"type":13,"tag":55,"props":334,"children":335},{"style":62},[336],{"type":18,"value":258},{"type":13,"tag":55,"props":338,"children":339},{"style":62},[340],{"type":18,"value":263},{"type":13,"tag":55,"props":342,"children":343},{"style":93},[344],{"type":18,"value":345}," FIXED_RATE_EXPLICIT",{"type":13,"tag":55,"props":347,"children":348},{"style":62},[349],{"type":18,"value":273},{"type":13,"tag":55,"props":351,"children":352},{"style":93},[353],{"type":18,"value":278},{"type":13,"tag":55,"props":355,"children":356},{"style":62},[357],{"type":18,"value":283},{"type":13,"tag":55,"props":359,"children":360},{"style":93},[361],{"type":18,"value":362}," 0x00000002",{"type":13,"tag":55,"props":364,"children":365},{"style":73},[366],{"type":18,"value":292},{"type":13,"tag":55,"props":368,"children":369},{"class":57,"line":183},[370,374,378,383,387,391,395,400],{"type":13,"tag":55,"props":371,"children":372},{"style":62},[373],{"type":18,"value":258},{"type":13,"tag":55,"props":375,"children":376},{"style":62},[377],{"type":18,"value":263},{"type":13,"tag":55,"props":379,"children":380},{"style":93},[381],{"type":18,"value":382}," DISABLED",{"type":13,"tag":55,"props":384,"children":385},{"style":62},[386],{"type":18,"value":273},{"type":13,"tag":55,"props":388,"children":389},{"style":93},[390],{"type":18,"value":278},{"type":13,"tag":55,"props":392,"children":393},{"style":62},[394],{"type":18,"value":283},{"type":13,"tag":55,"props":396,"children":397},{"style":93},[398],{"type":18,"value":399}," 0x00000004",{"type":13,"tag":55,"props":401,"children":402},{"style":73},[403],{"type":18,"value":292},{"type":13,"tag":55,"props":405,"children":407},{"class":57,"line":406},7,[408],{"type":13,"tag":55,"props":409,"children":410},{"style":73},[411],{"type":18,"value":412},"}\n",{"type":13,"tag":414,"props":415,"children":416},"ul",{},[417,436,453,482],{"type":13,"tag":418,"props":419,"children":420},"li",{},[421,427,429,434],{"type":13,"tag":30,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":426},"VK_IMAGE_COMPRESSION_DEFAULT_EXT",{"type":18,"value":428}," specifies that the default image\ncompression setting is used.\nImplementations ",{"type":13,"tag":430,"props":431,"children":433},"normative",{"type":432},"must",[],{"type":18,"value":435}," not apply fixed-rate compression.",{"type":13,"tag":418,"props":437,"children":438},{},[439,445,447,451],{"type":13,"tag":30,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":444},"VK_IMAGE_COMPRESSION_FIXED_RATE_DEFAULT_EXT",{"type":18,"value":446}," specifies that the\nimplementation ",{"type":13,"tag":430,"props":448,"children":450},{"type":449},"may",[],{"type":18,"value":452}," choose any supported fixed-rate compression setting\nin an implementation-defined manner based on the properties of the\nimage.",{"type":13,"tag":418,"props":454,"children":455},{},[456,462,464,467,469,473,474,480],{"type":13,"tag":30,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":461},"VK_IMAGE_COMPRESSION_FIXED_RATE_EXPLICIT_EXT",{"type":18,"value":463}," specifies that\nfixed-rate compression ",{"type":13,"tag":430,"props":465,"children":466},{"type":449},[],{"type":18,"value":468}," be used and that the allowed compression\nrates are specified by\n",{"type":13,"tag":21,"props":470,"children":471},{"href":23},[472],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":475,"children":477},{"className":476},[],[478],{"type":18,"value":479},"pFixedRateFlags",{"type":18,"value":481},".",{"type":13,"tag":418,"props":483,"children":484},{},[485,491,493,497],{"type":13,"tag":30,"props":486,"children":488},{"className":487},[],[489],{"type":18,"value":490},"VK_IMAGE_COMPRESSION_DISABLED_EXT",{"type":18,"value":492}," specifies that all lossless and\nfixed-rate compression ",{"type":13,"tag":430,"props":494,"children":496},{"type":495},"should",[],{"type":18,"value":498}," be disabled.",{"type":13,"tag":14,"props":500,"children":501},{},[502,504,508,509,514,516,521,523,529,535,537,542,544,549,553],{"type":18,"value":503},"If ",{"type":13,"tag":21,"props":505,"children":506},{"href":23},[507],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":510,"children":512},{"className":511},[],[513],{"type":18,"value":35},{"type":18,"value":515}," is\n",{"type":13,"tag":30,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":461},{"type":18,"value":522},", then the ",{"type":13,"tag":30,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":528},"i",{"type":13,"tag":530,"props":531,"children":532},"sup",{},[533],{"type":18,"value":534},"th",{"type":18,"value":536},"\nmember of the ",{"type":13,"tag":30,"props":538,"children":540},{"className":539},[],[541],{"type":18,"value":479},{"type":18,"value":543}," array specifies the allowed compression\nrates for the image’s ",{"type":13,"tag":30,"props":545,"children":547},{"className":546},[],[548],{"type":18,"value":528},{"type":13,"tag":530,"props":550,"children":551},{},[552],{"type":18,"value":534},{"type":18,"value":554}," plane.",{"type":13,"tag":556,"props":557,"children":558},"note",{},[559],{"type":13,"tag":14,"props":560,"children":561},{},[562,563,568,570,574,575,580],{"type":18,"value":503},{"type":13,"tag":30,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":490},{"type":18,"value":569}," is included in\n",{"type":13,"tag":21,"props":571,"children":572},{"href":23},[573],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":576,"children":578},{"className":577},[],[579],{"type":18,"value":35},{"type":18,"value":581},", both lossless and\nfixed-rate compression will be disabled.\nThis is likely to have a negative impact on performance and is only intended\nto be used for debugging purposes.",{"type":13,"tag":583,"props":584,"children":585},"style",{},[586],{"type":18,"value":587},"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":49,"searchDepth":79,"depth":79,"links":589},[],"markdown",1725732556839]