20 lines
361 B
HLSL
20 lines
361 B
HLSL
#ifndef XC_UNIVERSAL_INPUT_INCLUDED
|
|
#define XC_UNIVERSAL_INPUT_INCLUDED
|
|
|
|
struct Attributes
|
|
{
|
|
float3 positionOS : POSITION;
|
|
float3 normalOS : NORMAL;
|
|
float2 texcoord : TEXCOORD0;
|
|
};
|
|
|
|
struct Varyings
|
|
{
|
|
float4 positionCS : SV_POSITION;
|
|
float3 normalWS : TEXCOORD0;
|
|
float2 texcoord : TEXCOORD1;
|
|
float3 positionWS : TEXCOORD2;
|
|
};
|
|
|
|
#endif
|