Axiom.RenderSystems.OpenGL.GLSL.GLSLProgram.CmdAttach.Set C# (CSharp) Method

Set() public method

public Set ( object target, string shaderNames ) : void
target object
shaderNames string
return void
            public void Set(object target, string shaderNames)
            {
                //get all the shader program names: there could be more than one
                var vecShaderNames = shaderNames.Split(" \t".ToCharArray());
                var t = (GLSLProgram)target;

                foreach (var name in vecShaderNames)
                {
                    t.AttachChildShader(name);
                }
            }
        }
GLSLProgram.CmdAttach