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,
  VK_ATTACHMENT_STORE_OP_NONE_QCOM: 1000301000
};
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. VkAttachmentStoreOp.VK_ATTACHMENT_STORE_OP_NONE_QCOM specifies that the contents within the render area were not written during rendering, and may not be written to memory. If the attachment was written to during the renderpass, the contents of the attachment will be undefined inside the render area.