Axiom.Scripting.Compiler.ScriptCompiler.PassTranslator._translateVertexProgramRef C# (CSharp) Method

_translateVertexProgramRef() protected method

protected _translateVertexProgramRef ( ScriptCompiler compiler, Axiom.Scripting.Compiler.AST.ObjectAbstractNode node ) : void
compiler ScriptCompiler
node Axiom.Scripting.Compiler.AST.ObjectAbstractNode
return void
			protected void _translateVertexProgramRef( ScriptCompiler compiler, ObjectAbstractNode node )
			{
				string createdProgramName;
				Pass pass = _commonProgramChecks( compiler, node, out createdProgramName );

				if ( pass == null )
					return;

				pass.SetVertexProgram( createdProgramName );
				if ( pass.VertexProgram.IsSupported )
				{
#warning this need GpuProgramParametersShared implementation
					//GpuProgramParametersShared parameters = pass.VertexProgramParameters;
					//GpuProgramTranslator.TranslateProgramParameters( compiler, parameters, node );
				}
			}