In the directx post process sample the downfilter FX has the following code in it:
//-----------------------------------------------------------------------------
// Technique: PostProcess
// Desc: Performs post-processing effect that down-filters.
//-----------------------------------------------------------------------------
technique PostProcess
{
pass p0
<
float fScaleX = 0.25f;
float fScaleY = 0.25f;
>
{
VertexShader = null;
PixelShader = compile ps_2_0 DownFilter();
ZEnable = false;
}
}
I'm just curious, the pass is declared with angle brackets and those two float values. What does it do exactly?