[{"data":1,"prerenderedAt":398},["ShallowReactive",2],{"pdtpSASay9":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":397,"_id":4},"VkAttachmentStoreOp","Specify how contents of an attachment are treated at the end of the subpass where it is last used","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":395},"root",[12,46,289,369,389],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,44],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkAttachmentDescription",[25],{"type":18,"value":26},"VkAttachmentDescription",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"storeOp",{"type":18,"value":37}," and\n",{"type":13,"tag":30,"props":39,"children":41},{"className":40},[],[42],{"type":18,"value":43},"stencilStoreOp",{"type":18,"value":45},", specifying how the contents of the attachment are\ntreated, are:",{"type":13,"tag":47,"props":48,"children":49},"code-group",{},[50,141],{"type":13,"tag":51,"props":52,"children":58},"pre",{"className":53,"code":54,"filename":55,"language":56,"meta":57,"style":57},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkAttachmentStoreOp {\n VK_ATTACHMENT_STORE_OP_STORE = 0,\n VK_ATTACHMENT_STORE_OP_DONT_CARE = 1,\n} VkAttachmentStoreOp;\n","C","c","",[59],{"type":13,"tag":30,"props":60,"children":61},{"__ignoreMap":57},[62,85,110,132],{"type":13,"tag":63,"props":64,"children":67},"span",{"class":65,"line":66},"line",1,[68,74,79],{"type":13,"tag":63,"props":69,"children":71},{"style":70},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[72],{"type":18,"value":73},"typedef",{"type":13,"tag":63,"props":75,"children":76},{"style":70},[77],{"type":18,"value":78}," enum",{"type":13,"tag":63,"props":80,"children":82},{"style":81},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[83],{"type":18,"value":84}," VkAttachmentStoreOp {\n",{"type":13,"tag":63,"props":86,"children":88},{"class":65,"line":87},2,[89,94,99,105],{"type":13,"tag":63,"props":90,"children":91},{"style":81},[92],{"type":18,"value":93}," VK_ATTACHMENT_STORE_OP_STORE ",{"type":13,"tag":63,"props":95,"children":96},{"style":70},[97],{"type":18,"value":98},"=",{"type":13,"tag":63,"props":100,"children":102},{"style":101},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[103],{"type":18,"value":104}," 0",{"type":13,"tag":63,"props":106,"children":107},{"style":81},[108],{"type":18,"value":109},",\n",{"type":13,"tag":63,"props":111,"children":113},{"class":65,"line":112},3,[114,119,123,128],{"type":13,"tag":63,"props":115,"children":116},{"style":81},[117],{"type":18,"value":118}," VK_ATTACHMENT_STORE_OP_DONT_CARE ",{"type":13,"tag":63,"props":120,"children":121},{"style":70},[122],{"type":18,"value":98},{"type":13,"tag":63,"props":124,"children":125},{"style":101},[126],{"type":18,"value":127}," 1",{"type":13,"tag":63,"props":129,"children":130},{"style":81},[131],{"type":18,"value":109},{"type":13,"tag":63,"props":133,"children":135},{"class":65,"line":134},4,[136],{"type":13,"tag":63,"props":137,"children":138},{"style":81},[139],{"type":18,"value":140},"} VkAttachmentStoreOp;\n",{"type":13,"tag":51,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":57,"style":57},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AttachmentStoreOp(u32);\nimpl AttachmentStoreOp {\n pub const STORE: Self = 0;\n pub const DONT_CARE: Self = 1;\n}\n","Rust","rs",[148],{"type":13,"tag":30,"props":149,"children":150},{"__ignoreMap":57},[151,185,202,244,280],{"type":13,"tag":63,"props":152,"children":153},{"class":65,"line":66},[154,159,164,170,175,180],{"type":13,"tag":63,"props":155,"children":156},{"style":70},[157],{"type":18,"value":158},"pub",{"type":13,"tag":63,"props":160,"children":161},{"style":70},[162],{"type":18,"value":163}," struct",{"type":13,"tag":63,"props":165,"children":167},{"style":166},"--shiki-default:#953800;--shiki-dark:#FFA657",[168],{"type":18,"value":169}," AttachmentStoreOp",{"type":13,"tag":63,"props":171,"children":172},{"style":81},[173],{"type":18,"value":174},"(",{"type":13,"tag":63,"props":176,"children":177},{"style":166},[178],{"type":18,"value":179},"u32",{"type":13,"tag":63,"props":181,"children":182},{"style":81},[183],{"type":18,"value":184},");\n",{"type":13,"tag":63,"props":186,"children":187},{"class":65,"line":87},[188,193,197],{"type":13,"tag":63,"props":189,"children":190},{"style":70},[191],{"type":18,"value":192},"impl",{"type":13,"tag":63,"props":194,"children":195},{"style":166},[196],{"type":18,"value":169},{"type":13,"tag":63,"props":198,"children":199},{"style":81},[200],{"type":18,"value":201}," {\n",{"type":13,"tag":63,"props":203,"children":204},{"class":65,"line":112},[205,210,215,220,225,230,235,239],{"type":13,"tag":63,"props":206,"children":207},{"style":70},[208],{"type":18,"value":209}," pub",{"type":13,"tag":63,"props":211,"children":212},{"style":70},[213],{"type":18,"value":214}," const",{"type":13,"tag":63,"props":216,"children":217},{"style":101},[218],{"type":18,"value":219}," STORE",{"type":13,"tag":63,"props":221,"children":222},{"style":70},[223],{"type":18,"value":224},":",{"type":13,"tag":63,"props":226,"children":227},{"style":101},[228],{"type":18,"value":229}," Self",{"type":13,"tag":63,"props":231,"children":232},{"style":70},[233],{"type":18,"value":234}," =",{"type":13,"tag":63,"props":236,"children":237},{"style":101},[238],{"type":18,"value":104},{"type":13,"tag":63,"props":240,"children":241},{"style":81},[242],{"type":18,"value":243},";\n",{"type":13,"tag":63,"props":245,"children":246},{"class":65,"line":134},[247,251,255,260,264,268,272,276],{"type":13,"tag":63,"props":248,"children":249},{"style":70},[250],{"type":18,"value":209},{"type":13,"tag":63,"props":252,"children":253},{"style":70},[254],{"type":18,"value":214},{"type":13,"tag":63,"props":256,"children":257},{"style":101},[258],{"type":18,"value":259}," DONT_CARE",{"type":13,"tag":63,"props":261,"children":262},{"style":70},[263],{"type":18,"value":224},{"type":13,"tag":63,"props":265,"children":266},{"style":101},[267],{"type":18,"value":229},{"type":13,"tag":63,"props":269,"children":270},{"style":70},[271],{"type":18,"value":234},{"type":13,"tag":63,"props":273,"children":274},{"style":101},[275],{"type":18,"value":127},{"type":13,"tag":63,"props":277,"children":278},{"style":81},[279],{"type":18,"value":243},{"type":13,"tag":63,"props":281,"children":283},{"class":65,"line":282},5,[284],{"type":13,"tag":63,"props":285,"children":286},{"style":81},[287],{"type":18,"value":288},"}\n",{"type":13,"tag":290,"props":291,"children":292},"ul",{},[293,321,351],{"type":13,"tag":294,"props":295,"children":296},"li",{},[297,303,305,311,313,319],{"type":13,"tag":30,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":302},"VK_ATTACHMENT_STORE_OP_STORE",{"type":18,"value":304}," specifies the contents generated\nduring the render pass and within the render area are written to memory.\nFor attachments with a depth/stencil format, this uses the access type\n",{"type":13,"tag":30,"props":306,"children":308},{"className":307},[],[309],{"type":18,"value":310},"VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT",{"type":18,"value":312},".\nFor attachments with a color format, this uses the access type\n",{"type":13,"tag":30,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT",{"type":18,"value":320},".",{"type":13,"tag":294,"props":322,"children":323},{},[324,330,332,337,339,344,345,350],{"type":13,"tag":30,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"VK_ATTACHMENT_STORE_OP_DONT_CARE",{"type":18,"value":331}," specifies the contents within the\nrender area are not needed after rendering, and ",{"type":13,"tag":333,"props":334,"children":336},"normative",{"type":335},"may",[],{"type":18,"value":338}," be discarded; the\ncontents of the attachment will be undefined: inside the render area.\nFor attachments with a depth/stencil format, this uses the access type\n",{"type":13,"tag":30,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":310},{"type":18,"value":312},{"type":13,"tag":30,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":318},{"type":18,"value":320},{"type":13,"tag":294,"props":352,"children":353},{},[354,360,362,367],{"type":13,"tag":30,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":359},"VK_ATTACHMENT_STORE_OP_NONE",{"type":18,"value":361}," specifies the contents within the\nrender area are not accessed by the store operation as long as no values\nare written to the attachment during the render pass.\nIf values are written during the render pass, this behaves identically\nto ",{"type":13,"tag":30,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":329},{"type":18,"value":368}," and with matching access\nsemantics.",{"type":13,"tag":370,"props":371,"children":372},"note",{},[373],{"type":13,"tag":14,"props":374,"children":375},{},[376,381,383,387],{"type":13,"tag":30,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":329},{"type":18,"value":382}," ",{"type":13,"tag":333,"props":384,"children":386},{"type":385},"can",[],{"type":18,"value":388}," cause contents generated during\nprevious render passes to be discarded before reaching memory, even if no\nwrite to the attachment occurs during the current render pass.",{"type":13,"tag":390,"props":391,"children":392},"style",{},[393],{"type":18,"value":394},"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":57,"searchDepth":87,"depth":87,"links":396},[],"markdown",1729612433681]