Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Abstraction: Render pass #23

Open
Nielsbishere opened this issue Jun 23, 2020 · 0 comments
Open

Abstraction: Render pass #23

Nielsbishere opened this issue Jun 23, 2020 · 0 comments

Comments

@Nielsbishere
Copy link
Collaborator

A renderpass is defined as:
BeginRenderPass: Framebuffer & RenderPass
(N-1) x NextSubPass
... //Render calls for that subpass
EndRenderPass

The render pass has to define what layouts it comes from and goes towards. It also has to specify if it clears, doesn't care or keeps color/depth/stencil.
It has to define what outputs and inputs each subpass takes and how every subpass treats them.

It links to the frame buffer passed to BeginRenderPass by using the output parameters from the subpass.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant