added ui rendering
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user