mql5/Scripts/Examples/Remnant 3D/Shaders/vertex.hlsl

18 lines
254 B
HLSL
Raw Permalink Normal View History

struct VSInput
{
float4 position : POSITION;
};
struct PSInput
{
float4 position : SV_POSITION;
};
PSInput VSMain(VSInput input)
{
PSInput output;
output.position=(input.position);
return(output);
}