VkAttachmentStoreOp | NVK Search
  1. No Results
Categories
VkAttachmentStoreOp Specify how contents of an attachment are treated at the end of a subpass Stub
VkAttachmentStoreOp = {
  VK_ATTACHMENT_STORE_OP_STORE: 0,
  VK_ATTACHMENT_STORE_OP_DONT_CARE: 1
};
Properties VkAttachmentStoreOp.VK_ATTACHMENT_STORE_OP_STORE specifies the contents generated during the render pass and within the render area are written to memory. For attachments with a depth/stencil format, this uses the access type VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT. VkAttachmentStoreOp.VK_ATTACHMENT_STORE_OP_DONT_CARE specifies the contents within the render area are not needed after rendering, and may be discarded; the contents of the attachment will be undefined inside the render area. For attachments with a depth/stencil format, this uses the access type VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT.