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