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

◆ buildVertexUniforms()

static UIVertexUniforms Flint::UIPipeline::buildVertexUniforms ( float screenWidth,
float screenHeight,
float offsetX = 0.0f,
float offsetY = 0.0f )
static

Build a UIVertexUniforms value.

Parameters
screenWidthRender-target width in pixels.
screenHeightRender-target height in pixels.
offsetXHorizontal translation offset (default 0).
offsetYVertical translation offset (default 0).