yum/DisInfo

Simple HLSL text rendering utilities.

git clone https://git.yummers.dev/yum/DisInfo

yumInitial commita5e0aaf

master
411 B24 linesraw
1#ifndef __INTERPOLATORS_INC__
2#define __INTERPOLATORS_INC__
3
4struct appdata
5{
6  float4 position : POSITION;
7  float2 uv : TEXCOORD0;
8  float3 normal : NORMAL;
9};
10
11struct v2f
12{
13  float4 position : SV_POSITION;
14  float2 uv : TEXCOORD0;
15  float3 normal : TEXCOORD1;
16  float4 worldPos : TEXCOORD2;
17
18  #if defined(VERTEXLIGHT_ON)
19  float3 vertexLightColor : TEXCOORD3;
20  #endif
21};
22
23#endif  // __INTERPOLATORS_INC__
24