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

Vertex uniforms for the UI pipeline. More...

#include <flint/graphics/pipelines/ui-pipeline.h>

+ Collaboration diagram for Flint::UIVertexUniforms:

Public Attributes

float screenSize [2]
 
float offset [2]
 

Detailed Description

Vertex uniforms for the UI pipeline.

  • screenSize: render-target dimensions in pixels, used for pixel-to-NDC conversion.
  • offset: optional screen-space translation applied before conversion.

Definition at line 15 of file ui-pipeline.h.


The documentation for this struct was generated from the following file: