[{"data":1,"prerenderedAt":429},["ShallowReactive",2],{"2oTOA2RRL6":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":428,"_id":4},"VkAttachmentLoadOp","Specify how contents of an attachment are treated at the beginning of the subpass where it is first used","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":426},"root",[12,27,329,420],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25],{"type":18,"value":19},"text","Load operations that ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be used for a render pass are:",{"type":13,"tag":28,"props":29,"children":30},"code-group",{},[31,145],{"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 VkAttachmentLoadOp {\n VK_ATTACHMENT_LOAD_OP_LOAD = 0,\n VK_ATTACHMENT_LOAD_OP_CLEAR = 1,\n VK_ATTACHMENT_LOAD_OP_DONT_CARE = 2,\n} VkAttachmentLoadOp;\n","C","c","",[40],{"type":13,"tag":41,"props":42,"children":43},"code",{"__ignoreMap":38},[44,67,92,114,136],{"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}," VkAttachmentLoadOp {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76,81,87],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VK_ATTACHMENT_LOAD_OP_LOAD ",{"type":13,"tag":45,"props":77,"children":78},{"style":52},[79],{"type":18,"value":80},"=",{"type":13,"tag":45,"props":82,"children":84},{"style":83},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[85],{"type":18,"value":86}," 0",{"type":13,"tag":45,"props":88,"children":89},{"style":63},[90],{"type":18,"value":91},",\n",{"type":13,"tag":45,"props":93,"children":95},{"class":47,"line":94},3,[96,101,105,110],{"type":13,"tag":45,"props":97,"children":98},{"style":63},[99],{"type":18,"value":100}," VK_ATTACHMENT_LOAD_OP_CLEAR ",{"type":13,"tag":45,"props":102,"children":103},{"style":52},[104],{"type":18,"value":80},{"type":13,"tag":45,"props":106,"children":107},{"style":83},[108],{"type":18,"value":109}," 1",{"type":13,"tag":45,"props":111,"children":112},{"style":63},[113],{"type":18,"value":91},{"type":13,"tag":45,"props":115,"children":117},{"class":47,"line":116},4,[118,123,127,132],{"type":13,"tag":45,"props":119,"children":120},{"style":63},[121],{"type":18,"value":122}," VK_ATTACHMENT_LOAD_OP_DONT_CARE ",{"type":13,"tag":45,"props":124,"children":125},{"style":52},[126],{"type":18,"value":80},{"type":13,"tag":45,"props":128,"children":129},{"style":83},[130],{"type":18,"value":131}," 2",{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":91},{"type":13,"tag":45,"props":137,"children":139},{"class":47,"line":138},5,[140],{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144},"} VkAttachmentLoadOp;\n",{"type":13,"tag":32,"props":146,"children":151},{"className":147,"code":148,"filename":149,"language":150,"meta":38,"style":38},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AttachmentLoadOp(u32);\nimpl AttachmentLoadOp {\n pub const LOAD: Self = 0;\n pub const CLEAR: Self = 1;\n pub const DONT_CARE: Self = 2;\n}\n","Rust","rs",[152],{"type":13,"tag":41,"props":153,"children":154},{"__ignoreMap":38},[155,189,206,248,284,320],{"type":13,"tag":45,"props":156,"children":157},{"class":47,"line":48},[158,163,168,174,179,184],{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":162},"pub",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167}," struct",{"type":13,"tag":45,"props":169,"children":171},{"style":170},"--shiki-default:#953800;--shiki-dark:#FFA657",[172],{"type":18,"value":173}," AttachmentLoadOp",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},"(",{"type":13,"tag":45,"props":180,"children":181},{"style":170},[182],{"type":18,"value":183},"u32",{"type":13,"tag":45,"props":185,"children":186},{"style":63},[187],{"type":18,"value":188},");\n",{"type":13,"tag":45,"props":190,"children":191},{"class":47,"line":69},[192,197,201],{"type":13,"tag":45,"props":193,"children":194},{"style":52},[195],{"type":18,"value":196},"impl",{"type":13,"tag":45,"props":198,"children":199},{"style":170},[200],{"type":18,"value":173},{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205}," {\n",{"type":13,"tag":45,"props":207,"children":208},{"class":47,"line":94},[209,214,219,224,229,234,239,243],{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213}," pub",{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":218}," const",{"type":13,"tag":45,"props":220,"children":221},{"style":83},[222],{"type":18,"value":223}," LOAD",{"type":13,"tag":45,"props":225,"children":226},{"style":52},[227],{"type":18,"value":228},":",{"type":13,"tag":45,"props":230,"children":231},{"style":83},[232],{"type":18,"value":233}," Self",{"type":13,"tag":45,"props":235,"children":236},{"style":52},[237],{"type":18,"value":238}," =",{"type":13,"tag":45,"props":240,"children":241},{"style":83},[242],{"type":18,"value":86},{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247},";\n",{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":116},[251,255,259,264,268,272,276,280],{"type":13,"tag":45,"props":252,"children":253},{"style":52},[254],{"type":18,"value":213},{"type":13,"tag":45,"props":256,"children":257},{"style":52},[258],{"type":18,"value":218},{"type":13,"tag":45,"props":260,"children":261},{"style":83},[262],{"type":18,"value":263}," CLEAR",{"type":13,"tag":45,"props":265,"children":266},{"style":52},[267],{"type":18,"value":228},{"type":13,"tag":45,"props":269,"children":270},{"style":83},[271],{"type":18,"value":233},{"type":13,"tag":45,"props":273,"children":274},{"style":52},[275],{"type":18,"value":238},{"type":13,"tag":45,"props":277,"children":278},{"style":83},[279],{"type":18,"value":109},{"type":13,"tag":45,"props":281,"children":282},{"style":63},[283],{"type":18,"value":247},{"type":13,"tag":45,"props":285,"children":286},{"class":47,"line":138},[287,291,295,300,304,308,312,316],{"type":13,"tag":45,"props":288,"children":289},{"style":52},[290],{"type":18,"value":213},{"type":13,"tag":45,"props":292,"children":293},{"style":52},[294],{"type":18,"value":218},{"type":13,"tag":45,"props":296,"children":297},{"style":83},[298],{"type":18,"value":299}," DONT_CARE",{"type":13,"tag":45,"props":301,"children":302},{"style":52},[303],{"type":18,"value":228},{"type":13,"tag":45,"props":305,"children":306},{"style":83},[307],{"type":18,"value":233},{"type":13,"tag":45,"props":309,"children":310},{"style":52},[311],{"type":18,"value":238},{"type":13,"tag":45,"props":313,"children":314},{"style":83},[315],{"type":18,"value":131},{"type":13,"tag":45,"props":317,"children":318},{"style":63},[319],{"type":18,"value":247},{"type":13,"tag":45,"props":321,"children":323},{"class":47,"line":322},6,[324],{"type":13,"tag":45,"props":325,"children":326},{"style":63},[327],{"type":18,"value":328},"}\n",{"type":13,"tag":330,"props":331,"children":332},"ul",{},[333,361,386,409],{"type":13,"tag":334,"props":335,"children":336},"li",{},[337,343,345,351,353,359],{"type":13,"tag":41,"props":338,"children":340},{"className":339},[],[341],{"type":18,"value":342},"VK_ATTACHMENT_LOAD_OP_LOAD",{"type":18,"value":344}," specifies that the previous contents of\nthe image within the render area will be preserved as the initial\nvalues.\nFor attachments with a depth/stencil format, this uses the access type\n",{"type":13,"tag":41,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":350},"VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT",{"type":18,"value":352},".\nFor attachments with a color format, this uses the access type\n",{"type":13,"tag":41,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":358},"VK_ACCESS_COLOR_ATTACHMENT_READ_BIT",{"type":18,"value":360},".",{"type":13,"tag":334,"props":362,"children":363},{},[364,370,372,378,379,385],{"type":13,"tag":41,"props":365,"children":367},{"className":366},[],[368],{"type":18,"value":369},"VK_ATTACHMENT_LOAD_OP_CLEAR",{"type":18,"value":371}," specifies that the contents within the\nrender area will be cleared to a uniform value, which is specified when\na render pass instance is begun.\nFor attachments with a depth/stencil format, this uses the access type\n",{"type":13,"tag":41,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT",{"type":18,"value":352},{"type":13,"tag":41,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT",{"type":18,"value":360},{"type":13,"tag":334,"props":387,"children":388},{},[389,395,397,402,403,408],{"type":13,"tag":41,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"VK_ATTACHMENT_LOAD_OP_DONT_CARE",{"type":18,"value":396}," specifies that the previous\ncontents within the area need not be preserved; the contents of the\nattachment will be undefined: inside the render area.\nFor attachments with a depth/stencil format, this uses the access type\n",{"type":13,"tag":41,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":377},{"type":18,"value":352},{"type":13,"tag":41,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":384},{"type":18,"value":360},{"type":13,"tag":334,"props":410,"children":411},{},[412,418],{"type":13,"tag":41,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":417},"VK_ATTACHMENT_LOAD_OP_NONE_KHR",{"type":18,"value":419}," specifies that the previous\ncontents of the image will be undefined: inside the render pass.\nNo access type is used as the image is not accessed.",{"type":13,"tag":421,"props":422,"children":423},"style",{},[424],{"type":18,"value":425},"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":427},[],"markdown",1725732539313]