Skip to content

FiniteRenderAttachmentDescriptionInfo

The FiniteRenderAttachmentDescriptionInfo struct provides information for creating a VkAttachmentDecription.

typedef struct FiniteRenderAttachmentDescriptionInfo FiniteRenderAttachmentDescriptionInfo;
struct FiniteRenderAttachmentDescriptionInfo {
VkAttachmentDescriptionFlags flags;
VkFormat format;
VkSampleCountFlagBits samples;
VkAttachmentLoadOp loadOp;
VkAttachmentStoreOp storeOp;
VkAttachmentLoadOp stencilLoadOp;
VkAttachmentStoreOp stencilStoreOp;
VkImageLayout initialLayout;
VkImageLayout finalLayout;
};
TypeDecription
VkAttachmentDescriptionFlags flagsFlags for the AttachmentDescription.
VkFormat formatThe format of the image view.
VkSampleCountFlagBits samplesThe number of VkSamples in the images.
VkAttachmentLoadOp loadOpWhat to do when loading attachments
VkAttachmentStoreOp storeOpWhat to do when storing attachments
VkAttachmentLoadOp stencilLoadOpWhat to do with stencil data when loading attachments
VkAttachmentStoreOp stencilStoreOpWhat to do with stencil data when storing attachments
VkImageLayout initialLayoutThe layout the attachment is currently at.
VkImageLayout finalLayoutThe layout the attachment should be at when finished.

This struct should be created manually and used as a params finite_render_create_render_pass