Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ initialize()

bool Flint::UIPipeline::initialize ( SDL_GPUDevice * device,
ShaderFormat shaderFormat,
SDL_GPUTextureFormat swapchainFormat )

Create the GPU graphics pipeline with alpha blending enabled.

Parameters
deviceSDL GPU device.
shaderFormatBackend shader format (SPIRV, MSL, DXIL).
swapchainFormatColor-target format matching the swap chain.
Returns
true on success.