<!--
Copyright 2016 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="OffscreenTarget_0_0" name="NPR_OffscreenTarget_Imp" type="sceneEffect" class="ScriptFragment" version="1.0" feature_level="20" >
    <description>
<![CDATA[
Temporary offscreen target creator]]>
</description>
    <properties>
        <float4  name="viewport" />
        <target  name="finalDesc" />
    </properties>
    <values>
<float4 name="viewport" value="0.000000,0.000000,1.000000,1.000000"  />
    </values>
    <outputs>
        <target  name="output" />
    </outputs>
    <parametershare>
    </parametershare>
    <implementation render="OGS" language="ScriptInterpreter" version="0.1" >
        <scriptCommands>
            <AcquireTarget name="localdepth" format="@finalDesc.format" size="@finalDesc.size" relSize="1.0,1.0" msaa="@finalDesc.NumMSAASamples" />
            <SetParameter name="@output" value="localdepth" />
        </scriptCommands>
    </implementation>
</fragment>

