Expand description
Description of the steps of the rendering process, and the images used as input or output.
§Render passes and framebuffers
There are two concepts in Vulkan:
- A render pass describes the overall process of drawing a frame. It is subdivided into one or more subpasses.
- A framebuffer contains the list of image views that are attached during the drawing of each subpass.
Render passes are typically created at initialization only (for example during a loading screen) because they can be costly, while framebuffers can be created and destroyed either at initialization or during the frame.
Consequently you can create graphics pipelines from a render pass object alone.
A Framebuffer
object is only needed when you actually add draw commands to a command buffer.
Structs§
- Attachment
Description - Describes an attachment that will be used in a render pass.
- Attachment
Description Flags - Flags specifying additional properties of a render pass attachment description.
- Attachment
Reference - A reference to an attachment in a subpass description of a render pass.
- Framebuffer
- The image views that are attached to a render pass during drawing.
- Framebuffer
Create Flags - Flags specifying additional properties of a framebuffer.
- Framebuffer
Create Info - Parameters to create a new
Framebuffer
. - Render
Pass - An object representing the discrete steps in which rendering is done.
- Render
Pass Create Flags - Flags specifying additional properties of a render pass.
- Render
Pass Create Info - Parameters to create a new
RenderPass
. - Resolve
Modes - A set of
ResolveMode
values. - Subpass
- Represents a subpass within a
RenderPass
object. - Subpass
Dependency - A dependency between two subpasses of a render pass.
- Subpass
Description - Describes one of the subpasses of a render pass.
- Subpass
Description Flags - Flags specifying additional properties of a render pass subpass description.
Enums§
- Attachment
Load Op - Describes what the implementation should do with an attachment at the start of the subpass.
- Attachment
Store Op - Describes what the implementation should do with an attachment after all the subpasses have completed.
- Resolve
Mode - Possible resolve modes for attachments.