/*============================================================================= SimpleElementVertexShader.hlsl: Vertex shader for drawing simple elements. Copyright 1998-2010 Epic Games, Inc. All Rights Reserved. =============================================================================*/ #include "Common.usf" float4x4 Transform; void Main( in float4 InPosition : POSITION, in float2 InTextureCoordinate : TEXCOORD0, in float4 InColor : COLOR0, in float4 InHitProxyId : COLOR1, out float2 OutTextureCoordinate : TEXCOORD0, out float4 OutColor : TEXCOORD1, out float4 OutHitProxyId : COLOR1, out float4 OutPosition : SV_Position ) { OutPosition = MulMatrix(Transform,InPosition); OutTextureCoordinate = InTextureCoordinate; OutColor = InColor; OutHitProxyId = InHitProxyId FCOLOR_COMPONENT_SWIZZLE; }