Danbias/Code/OysterGraphics/Shader/Passes/2D/Text/Header.hlsli

20 lines
294 B
HLSL
Raw Normal View History

2014-02-11 13:29:19 +01:00
#include "../Header.hlsli"
2014-02-12 09:24:37 +01:00
cbuffer TextPerObject : register(b0)
2014-02-11 13:29:19 +01:00
{
float4x4 gWorld;
};
Texture2D g_tex1 : register(t0);
struct Text2DIn
{
float Pos : Position;
int off : Offset;
float coff : CharOffset;
};
struct TEXT_VS_OUT
{
float4 pos : SV_POSITION;
float2 texCoord : TEXCOORD;
};