|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
|
overrideprotectedvirtual |
Configure pipeline vertex layout, shader stages, and blend states.
Attribute Layout (28-byte stride, matching BatchVertex):
location = 0): Position (FLOAT2, offset 0)location = 1): UV (FLOAT2, offset 8)location = 2): Color (UBYTE4_NORM, offset 16)location = 3): ShapeParams (FLOAT2, offset 20)Blend State: Configures standard non-premultiplied alpha blending for color target attachments:
SRC_ALPHAONE_MINUS_SRC_ALPHAADDONEONE_MINUS_SRC_ALPHAADD| pipelineInfo | Pipeline creation descriptor structure to populate. |
Reimplemented from Flint::Pipeline.