struct VSOut { float4 position : SV_POSITION; float2 texcoord : TEXCOORD; }; VSOut VS( VSIn vertex ) { VSOut output; output.position = vertex.position; output.texcoord = vertex.texcoord; return output; }