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