WIP: Start on squiggly underlines

This commit is contained in:
Antonio Scandurra 2022-01-26 13:07:39 +01:00
parent a890787923
commit 52594fe250
4 changed files with 141 additions and 3 deletions

View file

@ -104,3 +104,18 @@ typedef struct
vector_uchar4 border_color;
float corner_radius;
} GPUIImage;
typedef enum
{
GPUIUnderlineInputIndexVertices = 0,
GPUIUnderlineInputIndexUnderlines = 1,
GPUIUnderlineInputIndexUniforms = 2,
} GPUIUnderlineInputIndex;
typedef struct
{
vector_float2 origin;
vector_float2 size;
float thickness;
vector_uchar4 color;
} GPUIUnderline;