You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
28 lines
701 B
Plaintext
28 lines
701 B
Plaintext
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
/*=============================================================================
|
|
ScreenVertexShader.usf: Filter vertex shader source.
|
|
=============================================================================*/
|
|
|
|
#include "Common.usf"
|
|
|
|
void Main(
|
|
float2 InPosition : ATTRIBUTE0,
|
|
float2 InUV : ATTRIBUTE1,
|
|
out FScreenVertexOutput Output
|
|
)
|
|
{
|
|
DrawRectangle( float4( InPosition, 0, 1 ), InUV, Output.Position, Output.UV);
|
|
}
|
|
|
|
|
|
void MainForGS(
|
|
float2 InPosition : ATTRIBUTE0,
|
|
float2 InUV : ATTRIBUTE1,
|
|
out FScreenVertexOutput Output
|
|
)
|
|
{
|
|
// this is just a wrapper of the normal function
|
|
Main(InPosition, InUV, Output);
|
|
}
|