WIP: Start on squiggly underlines
This commit is contained in:
parent
a890787923
commit
52594fe250
4 changed files with 141 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue