|
Flint Engine
Modular C++20 2D game engine powered by SDL3
|
Configuration parameters for Pipeline::initialize(). More...
#include <flint/graphics/pipelines/pipeline-base.h>
Collaboration diagram for Flint::PipelineConfig:Public Attributes | |
| Uint32 | vertexStride = sizeof(float) * 4 |
| bool | enableBlending = true |
| SDL_GPUBlendFactor | srcColorBlend = SDL_GPU_BLENDFACTOR_SRC_ALPHA |
| SDL_GPUBlendFactor | dstColorBlend = SDL_GPU_BLENDFACTOR_ONE_MINUS_SRC_ALPHA |
| SDL_GPUBlendFactor | srcAlphaBlend = SDL_GPU_BLENDFACTOR_ONE |
| SDL_GPUBlendFactor | dstAlphaBlend = SDL_GPU_BLENDFACTOR_ZERO |
| bool | enableDepthTest = false |
| bool | enableDepthWrite = false |
| SDL_GPUCullMode | cullMode = SDL_GPU_CULLMODE_NONE |
| SDL_GPUFillMode | fillMode = SDL_GPU_FILLMODE_FILL |
| SDL_GPUTextureFormat | colorFormat = SDL_GPU_TEXTUREFORMAT_B8G8R8A8_UNORM |
Configuration parameters for Pipeline::initialize().
Provides sensible defaults (alpha blending, no depth test, fill mode). Override individual fields before passing to Pipeline::initialize().
Definition at line 16 of file pipeline-base.h.