protected GpuProgram GetPixelShader( MaterialPermutation permutation )
{
GpuProgram program = null;
if ( this._psCache.ContainsKey( permutation ) )
{
program = this._psCache[ permutation ];
}
else
{
// Create it
program = this._generator.GeneratePixelShader( permutation );
this._psCache.Add( permutation, program );
}
return program;
}