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

◆ configurePipeline()

virtual bool Flint::Pipeline::configurePipeline ( SDL_GPUGraphicsPipelineCreateInfo & pipelineInfo)
inlineprotectedvirtual

Subclass hook to customize the pipeline create-info before submission.

Called from initialize() just before SDL_CreateGPUGraphicsPipeline(). Override to change the vertex-attribute layout or any other state that PipelineConfig does not expose.

Parameters
pipelineInfoPartially populated create-info struct.
Returns
true to proceed, false to abort pipeline creation.

Reimplemented in Flint::BatchPipeline.

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