23 lines
282 B
Plaintext
23 lines
282 B
Plaintext
#pragma once
|
|
|
|
struct VertexOutput
|
|
{
|
|
float4 position: SV_Position;
|
|
float2 uv: TEXCOORD0;
|
|
}
|
|
#include "shader_base.h"
|
|
|
|
DECLARE_CONSTANTS()
|
|
{
|
|
int2 resolution;
|
|
uint2 size;
|
|
int2 position;
|
|
float4 fontColor;
|
|
float2 glyphPos;
|
|
float2 glyphSize;
|
|
uint font;
|
|
};
|
|
|
|
DECLARE_TEXTURES(29);
|
|
|