Creating a pipeline
Pipeline manager
In this tutorial, we will be using the pipeline manager, which is an additional Daxa feature that has to be explicitly imported with the header <daxa/utils/pipeline_manager.hpp>
and also has to be enabled in our Vcpkg manifest. Both of these steps are already done in the sample code.
A pipeline manager is responsible for managing and executing different render pipelines which we will define later on. This replaces the traditional command recording.
We have to provide the pipeline manager with the device we want to use, our shader directories as well as the shader language. In this tutorial, we will be using GLSL.
Rasterization Pipeline
We now can create our first pipeline. For a rasterization pipeline, we need to provide the shaders we want to use, the color attachments (Similar to the OpenGL g-buffers) and the size of our push constant (We will explain this in the next section).