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

18 lines
264 B
HLSL
Raw Normal View History

2014-02-07 11:09:59 +01:00
struct Vertex2DIn
{
float2 Pos : Position;
};
cbuffer EveryObject2D : register(c0)
{
float4x4 Translation;
};
struct Pixel2DIn
{
float4 Pos : SV_Position;
float2 Uv : TEXCOORD;
};
Texture2D Material : register(t0);
SamplerState LinearSampler : register(s0);