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

◆ initialize()

virtual bool Flint::Pipeline::initialize ( Shader * shader,
const PipelineConfig & config )
inlinevirtual

Create the underlying SDL GPU graphics pipeline.

Applies config to build vertex input state, rasterizer state, depth state, and blend state. Calls configurePipeline() to let subclasses inject additional state before pipeline creation.

Parameters
shaderValid Shader with both vertex and fragment stages loaded.
configPipeline configuration parameters.
Returns
true on success, false if creation fails.

Definition at line 70 of file pipeline-base.h.