|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
| bool Flint::BatchPipeline::initialize | ( | SDL_GPUDevice * | device, |
| ShaderFormat | shaderFormat, | ||
| SDL_GPUTextureFormat | swapchainFormat ) |
Initialize the batch pipeline with shader assets and swapchain target formats.
Loads the batch vertex/fragment shaders and builds the underlying GPU pipeline with standard alpha blending enabled.
| device | Pointer to the active SDL GPU device. |
| shaderFormat | Active GPU shader format (e.g., SPIR-V, MSL, DXBC). |
| swapchainFormat | Target render pass color format. |