|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| bool Flint::PrimitivePipeline::initialize | ( | SDL_GPUDevice * | device, |
| ShaderFormat | shaderFormat, | ||
| SDL_GPUTextureFormat | swapchainFormat ) |
Initialize the primitive pipeline with a shader
| device | GPU device |
| shader | Shader containing vertex and fragment shaders |
| swapchainFormat | Format of the swapchain/render target |