<!--
===========================================================================
Copyright 2015 Autodesk, Inc. All rights reserved.

Use of this software is subject to the terms of the Autodesk license
agreement provided at the time of installation or download, or which
otherwise accompanies this software in either electronic or hard copy form.
===========================================================================
-->

<fragment uiName="floatConstant" name="floatConstant" type="plumbing" class="ShadeFragment" version="1.0">
	<description><![CDATA[Constant float shade fragment]]></description>
	<properties>
		<float name="inFloat" />
	</properties>
	<values>
		<float name="inFloat" value="1.0" />
	</values>
	<outputs>
		<float  name="outFloat" />
	</outputs>
	<implementation>
	<implementation render="OGSRenderer" language="Cg" lang_version="2.1">
		<function_name val="floatConstant" />
		<source>
		<![CDATA[
float floatConstant(float inFloat) 
{ 
	return inFloat; 
}
		]]>
		</source>
	</implementation>
	<implementation render="OGSRenderer" language="HLSL" lang_version="11.0">
		<function_name val="floatConstant" />
		<source>
		<![CDATA[
float floatConstant(float inFloat)
{ 
	return inFloat; 
}
		]]>
		</source>
		</implementation>
		<implementation render="OGSRenderer" language="GLSL" lang_version="3.0">
			<function_name val="floatConstant" />
			<source>
				<![CDATA[
float floatConstant(float inFloat)
{ 
	return inFloat; 
}
		]]>
		</source>
	</implementation>
	</implementation>
</fragment>
