Axiom.Demos.DeferredShadingSystem.MaterialGenerator.GetVertexShader C# (CSharp) Метод

GetVertexShader() защищенный Метод

protected GetVertexShader ( UInt32 permutation ) : Axiom.Graphics.GpuProgram
permutation System.UInt32
Результат Axiom.Graphics.GpuProgram
        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;
        }