added ui rendering

This commit is contained in:
2025-07-14 21:56:10 +03:00
parent 7c2b65d079
commit d6100a8752
17 changed files with 254 additions and 33 deletions

View File

@@ -3,6 +3,7 @@
struct VertexOutput
{
float4 position: SV_Position;
float2 uv: TEXCOORD0;
}
#include "shader_base.h"
@@ -11,8 +12,11 @@ DECLARE_CONSTANTS()
int2 resolution;
uint2 size;
int2 position;
int8_t character;
float4 color;
float2 glyphPos;
float2 glyphSize;
uint font;
};
DECLARE_TEXTURES(0);
DECLARE_TEXTURES(29);