vulkan-3.6.11.1: Bindings to the Vulkan graphics API.

Synopsis

# Documentation

VkAttachmentLoadOp - Specify how contents of an attachment are treated at the beginning of a subpass

AttachmentDescription, AttachmentDescription2

Constructors

 pattern ATTACHMENT_LOAD_OP_LOAD :: AttachmentLoadOp ATTACHMENT_LOAD_OP_LOAD specifies that the previous contents of the image within the render area will be preserved. For attachments with a depth/stencil format, this uses the access type ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT. For attachments with a color format, this uses the access type ACCESS_COLOR_ATTACHMENT_READ_BIT. pattern ATTACHMENT_LOAD_OP_CLEAR :: AttachmentLoadOp ATTACHMENT_LOAD_OP_CLEAR specifies that the contents within the render area will be cleared to a uniform value, which is specified when a render pass instance is begun. For attachments with a depth/stencil format, this uses the access type ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type ACCESS_COLOR_ATTACHMENT_WRITE_BIT. pattern ATTACHMENT_LOAD_OP_DONT_CARE :: AttachmentLoadOp ATTACHMENT_LOAD_OP_DONT_CARE specifies that the previous contents within the area need not be preserved; the contents of the attachment will be undefined inside the render area. For attachments with a depth/stencil format, this uses the access type ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT. For attachments with a color format, this uses the access type ACCESS_COLOR_ATTACHMENT_WRITE_BIT.